users_and_accounts

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for users and accounts API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new users and accounts API client.

func (*Client) ControllersPublicV1ProxySetSlAccountKeyBssaccount

func (a *Client) ControllersPublicV1ProxySetSlAccountKeyBssaccount(params *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) (*ControllersPublicV1ProxySetSlAccountKeyBssaccountOK, error)

ControllersPublicV1ProxySetSlAccountKeyBssaccount sets the i b m cloud infrastructure account user ID and API key for linked i b m cloud account

If no request body is provided, retrieve the user name and API key for the IBM Cloud infrastructure account that is linked to the current IBM Cloud account. Then enter the information in the VMware Solutions account settings. If a request body is provided, set the provided user name and API key for the IBM Cloud infrastructure account in the VMware Solutions account settings.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest

type ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest struct {
	/*Global transaction ID for request correlation.
	 */
	XGlobalTransactionID string

	Payload *models.Error
}

ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest handles this case with default header values.

Bad request. Check your request parameters.

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest() *ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest

NewControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest creates a ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest with default headers values

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest) Error

type ControllersPublicV1ProxySetSlAccountKeyBssaccountOK

type ControllersPublicV1ProxySetSlAccountKeyBssaccountOK struct {
	/*Global transaction ID for request correlation.
	 */
	XGlobalTransactionID string

	Payload *models.AccountInfraCredentials
}

ControllersPublicV1ProxySetSlAccountKeyBssaccountOK handles this case with default header values.

Success. The request has been successfully performed.

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountOK

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountOK() *ControllersPublicV1ProxySetSlAccountKeyBssaccountOK

NewControllersPublicV1ProxySetSlAccountKeyBssaccountOK creates a ControllersPublicV1ProxySetSlAccountKeyBssaccountOK with default headers values

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountOK) Error

type ControllersPublicV1ProxySetSlAccountKeyBssaccountParams

type ControllersPublicV1ProxySetSlAccountKeyBssaccountParams struct {

	/*Authorization
	  Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.

	*/
	Authorization string
	/*InfraAccount
	  The IBM Cloud infrastructure account information. The provided IBM Cloud infrastructure account ID should be consistent with the provided user name and API key.

	*/
	InfraAccount *models.InfraCredentials
	/*RetrieveOnly
	  Whether to only retrieve the IBM Cloud infrastructure API user information.

	*/
	RetrieveOnly *bool
	/*XGlobalTransactionID
	  Global transaction ID for request correlation.

	*/
	XGlobalTransactionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ControllersPublicV1ProxySetSlAccountKeyBssaccountParams contains all the parameters to send to the API endpoint for the controllers public v1 proxy set sl account key bssaccount operation typically these are written to a http.Request

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParams

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParams() *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams

NewControllersPublicV1ProxySetSlAccountKeyBssaccountParams creates a new ControllersPublicV1ProxySetSlAccountKeyBssaccountParams object with the default values initialized.

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithContext

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithContext(ctx context.Context) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams

NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithContext creates a new ControllersPublicV1ProxySetSlAccountKeyBssaccountParams object with the default values initialized, and the ability to set a context for a request

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithHTTPClient

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithHTTPClient(client *http.Client) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams

NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithHTTPClient creates a new ControllersPublicV1ProxySetSlAccountKeyBssaccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithTimeout

func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithTimeout(timeout time.Duration) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams

NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithTimeout creates a new ControllersPublicV1ProxySetSlAccountKeyBssaccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetAuthorization

func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetContext

SetContext adds the context to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetInfraAccount

SetInfraAccount adds the infraAccount to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetRetrieveOnly

func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetRetrieveOnly(retrieveOnly *bool)

SetRetrieveOnly adds the retrieveOnly to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetTimeout

SetTimeout adds the timeout to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetXGlobalTransactionID

func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetXGlobalTransactionID(xGlobalTransactionID *string)

SetXGlobalTransactionID adds the xGlobalTransactionId to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithAuthorization

WithAuthorization adds the authorization to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithContext

WithContext adds the context to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithInfraAccount

WithInfraAccount adds the infraAccount to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithRetrieveOnly

WithRetrieveOnly adds the retrieveOnly to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithTimeout

WithTimeout adds the timeout to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithXGlobalTransactionID

WithXGlobalTransactionID adds the xGlobalTransactionID to the controllers public v1 proxy set sl account key bssaccount params

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ControllersPublicV1ProxySetSlAccountKeyBssaccountReader

type ControllersPublicV1ProxySetSlAccountKeyBssaccountReader struct {
	// contains filtered or unexported fields
}

ControllersPublicV1ProxySetSlAccountKeyBssaccountReader is a Reader for the ControllersPublicV1ProxySetSlAccountKeyBssaccount structure.

func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountReader) ReadResponse

func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL