Documentation ¶
Index ¶
- type Client
- type ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest
- type ControllersPublicV1ProxySetSlAccountKeyBssaccountOK
- type ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParams() *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithContext(ctx context.Context) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithHTTPClient(client *http.Client) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func NewControllersPublicV1ProxySetSlAccountKeyBssaccountParamsWithTimeout(timeout time.Duration) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetAuthorization(authorization string)
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetContext(ctx context.Context)
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetHTTPClient(client *http.Client)
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetInfraAccount(infraAccount *models.InfraCredentials)
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetRetrieveOnly(retrieveOnly *bool)
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetTimeout(timeout time.Duration)
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetXGlobalTransactionID(xGlobalTransactionID *string)
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithAuthorization(authorization string) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithContext(ctx context.Context) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithHTTPClient(client *http.Client) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithInfraAccount(infraAccount *models.InfraCredentials) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithRetrieveOnly(retrieveOnly *bool) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithTimeout(timeout time.Duration) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithXGlobalTransactionID(xGlobalTransactionID *string) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
- func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ControllersPublicV1ProxySetSlAccountKeyBssaccountReader
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 ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountBadRequest) Error() string
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 ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountOK) Error() string
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 ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetContext(ctx context.Context)
SetContext adds the context to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetHTTPClient ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetInfraAccount ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetInfraAccount(infraAccount *models.InfraCredentials)
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 ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithAuthorization(authorization string) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
WithAuthorization adds the authorization to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithContext ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithContext(ctx context.Context) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
WithContext adds the context to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithHTTPClient ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithHTTPClient(client *http.Client) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
WithHTTPClient adds the HTTPClient to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithInfraAccount ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithInfraAccount(infraAccount *models.InfraCredentials) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
WithInfraAccount adds the infraAccount to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithRetrieveOnly ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithRetrieveOnly(retrieveOnly *bool) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
WithRetrieveOnly adds the retrieveOnly to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithTimeout ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithTimeout(timeout time.Duration) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
WithTimeout adds the timeout to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithXGlobalTransactionID ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WithXGlobalTransactionID(xGlobalTransactionID *string) *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams
WithXGlobalTransactionID adds the xGlobalTransactionID to the controllers public v1 proxy set sl account key bssaccount params
func (*ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WriteToRequest ¶
func (o *ControllersPublicV1ProxySetSlAccountKeyBssaccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.