Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateManagedAccount(params *CreateManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateManagedAccountCreated, error)
- func (a *Client) DeleteManagedAccount(params *DeleteManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteManagedAccountNoContent, error)
- func (a *Client) GetManagedAccount(params *GetManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetManagedAccountOK, error)
- func (a *Client) GetManagedAccounts(params *GetManagedAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetManagedAccountsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateManagedAccount(params *UpdateManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateManagedAccountOK, error)
- type ClientOption
- type ClientService
- type CreateManagedAccountBadRequest
- func (o *CreateManagedAccountBadRequest) Code() int
- func (o *CreateManagedAccountBadRequest) Error() string
- func (o *CreateManagedAccountBadRequest) GetPayload() *models.Errors
- func (o *CreateManagedAccountBadRequest) IsClientError() bool
- func (o *CreateManagedAccountBadRequest) IsCode(code int) bool
- func (o *CreateManagedAccountBadRequest) IsRedirect() bool
- func (o *CreateManagedAccountBadRequest) IsServerError() bool
- func (o *CreateManagedAccountBadRequest) IsSuccess() bool
- func (o *CreateManagedAccountBadRequest) String() string
- type CreateManagedAccountCreated
- func (o *CreateManagedAccountCreated) Code() int
- func (o *CreateManagedAccountCreated) Error() string
- func (o *CreateManagedAccountCreated) GetPayload() *models.ManagedAccount
- func (o *CreateManagedAccountCreated) IsClientError() bool
- func (o *CreateManagedAccountCreated) IsCode(code int) bool
- func (o *CreateManagedAccountCreated) IsRedirect() bool
- func (o *CreateManagedAccountCreated) IsServerError() bool
- func (o *CreateManagedAccountCreated) IsSuccess() bool
- func (o *CreateManagedAccountCreated) String() string
- type CreateManagedAccountParams
- func NewCreateManagedAccountParams() *CreateManagedAccountParams
- func NewCreateManagedAccountParamsWithContext(ctx context.Context) *CreateManagedAccountParams
- func NewCreateManagedAccountParamsWithHTTPClient(client *http.Client) *CreateManagedAccountParams
- func NewCreateManagedAccountParamsWithTimeout(timeout time.Duration) *CreateManagedAccountParams
- func (o *CreateManagedAccountParams) SetContext(ctx context.Context)
- func (o *CreateManagedAccountParams) SetCreateManagedAccount(createManagedAccount *models.CreateManagedAccount)
- func (o *CreateManagedAccountParams) SetDefaults()
- func (o *CreateManagedAccountParams) SetHTTPClient(client *http.Client)
- func (o *CreateManagedAccountParams) SetTimeout(timeout time.Duration)
- func (o *CreateManagedAccountParams) WithContext(ctx context.Context) *CreateManagedAccountParams
- func (o *CreateManagedAccountParams) WithCreateManagedAccount(createManagedAccount *models.CreateManagedAccount) *CreateManagedAccountParams
- func (o *CreateManagedAccountParams) WithDefaults() *CreateManagedAccountParams
- func (o *CreateManagedAccountParams) WithHTTPClient(client *http.Client) *CreateManagedAccountParams
- func (o *CreateManagedAccountParams) WithTimeout(timeout time.Duration) *CreateManagedAccountParams
- func (o *CreateManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateManagedAccountReader
- type DeleteManagedAccountNoContent
- func (o *DeleteManagedAccountNoContent) Code() int
- func (o *DeleteManagedAccountNoContent) Error() string
- func (o *DeleteManagedAccountNoContent) GetPayload() *models.ManagedAccount
- func (o *DeleteManagedAccountNoContent) IsClientError() bool
- func (o *DeleteManagedAccountNoContent) IsCode(code int) bool
- func (o *DeleteManagedAccountNoContent) IsRedirect() bool
- func (o *DeleteManagedAccountNoContent) IsServerError() bool
- func (o *DeleteManagedAccountNoContent) IsSuccess() bool
- func (o *DeleteManagedAccountNoContent) String() string
- type DeleteManagedAccountNotFound
- func (o *DeleteManagedAccountNotFound) Code() int
- func (o *DeleteManagedAccountNotFound) Error() string
- func (o *DeleteManagedAccountNotFound) GetPayload() *models.Errors
- func (o *DeleteManagedAccountNotFound) IsClientError() bool
- func (o *DeleteManagedAccountNotFound) IsCode(code int) bool
- func (o *DeleteManagedAccountNotFound) IsRedirect() bool
- func (o *DeleteManagedAccountNotFound) IsServerError() bool
- func (o *DeleteManagedAccountNotFound) IsSuccess() bool
- func (o *DeleteManagedAccountNotFound) String() string
- type DeleteManagedAccountParams
- func NewDeleteManagedAccountParams() *DeleteManagedAccountParams
- func NewDeleteManagedAccountParamsWithContext(ctx context.Context) *DeleteManagedAccountParams
- func NewDeleteManagedAccountParamsWithHTTPClient(client *http.Client) *DeleteManagedAccountParams
- func NewDeleteManagedAccountParamsWithTimeout(timeout time.Duration) *DeleteManagedAccountParams
- func (o *DeleteManagedAccountParams) SetContext(ctx context.Context)
- func (o *DeleteManagedAccountParams) SetDefaults()
- func (o *DeleteManagedAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteManagedAccountParams) SetManagedAccountToken(managedAccountToken string)
- func (o *DeleteManagedAccountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteManagedAccountParams) WithContext(ctx context.Context) *DeleteManagedAccountParams
- func (o *DeleteManagedAccountParams) WithDefaults() *DeleteManagedAccountParams
- func (o *DeleteManagedAccountParams) WithHTTPClient(client *http.Client) *DeleteManagedAccountParams
- func (o *DeleteManagedAccountParams) WithManagedAccountToken(managedAccountToken string) *DeleteManagedAccountParams
- func (o *DeleteManagedAccountParams) WithTimeout(timeout time.Duration) *DeleteManagedAccountParams
- func (o *DeleteManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteManagedAccountReader
- type GetManagedAccountNotFound
- func (o *GetManagedAccountNotFound) Code() int
- func (o *GetManagedAccountNotFound) Error() string
- func (o *GetManagedAccountNotFound) GetPayload() *models.Errors
- func (o *GetManagedAccountNotFound) IsClientError() bool
- func (o *GetManagedAccountNotFound) IsCode(code int) bool
- func (o *GetManagedAccountNotFound) IsRedirect() bool
- func (o *GetManagedAccountNotFound) IsServerError() bool
- func (o *GetManagedAccountNotFound) IsSuccess() bool
- func (o *GetManagedAccountNotFound) String() string
- type GetManagedAccountOK
- func (o *GetManagedAccountOK) Code() int
- func (o *GetManagedAccountOK) Error() string
- func (o *GetManagedAccountOK) GetPayload() *models.ManagedAccount
- func (o *GetManagedAccountOK) IsClientError() bool
- func (o *GetManagedAccountOK) IsCode(code int) bool
- func (o *GetManagedAccountOK) IsRedirect() bool
- func (o *GetManagedAccountOK) IsServerError() bool
- func (o *GetManagedAccountOK) IsSuccess() bool
- func (o *GetManagedAccountOK) String() string
- type GetManagedAccountParams
- func NewGetManagedAccountParams() *GetManagedAccountParams
- func NewGetManagedAccountParamsWithContext(ctx context.Context) *GetManagedAccountParams
- func NewGetManagedAccountParamsWithHTTPClient(client *http.Client) *GetManagedAccountParams
- func NewGetManagedAccountParamsWithTimeout(timeout time.Duration) *GetManagedAccountParams
- func (o *GetManagedAccountParams) SetContext(ctx context.Context)
- func (o *GetManagedAccountParams) SetDefaults()
- func (o *GetManagedAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetManagedAccountParams) SetManagedAccountToken(managedAccountToken string)
- func (o *GetManagedAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetManagedAccountParams) WithContext(ctx context.Context) *GetManagedAccountParams
- func (o *GetManagedAccountParams) WithDefaults() *GetManagedAccountParams
- func (o *GetManagedAccountParams) WithHTTPClient(client *http.Client) *GetManagedAccountParams
- func (o *GetManagedAccountParams) WithManagedAccountToken(managedAccountToken string) *GetManagedAccountParams
- func (o *GetManagedAccountParams) WithTimeout(timeout time.Duration) *GetManagedAccountParams
- func (o *GetManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManagedAccountReader
- type GetManagedAccountsOK
- func (o *GetManagedAccountsOK) Code() int
- func (o *GetManagedAccountsOK) Error() string
- func (o *GetManagedAccountsOK) GetPayload() *models.ManagedAccounts
- func (o *GetManagedAccountsOK) IsClientError() bool
- func (o *GetManagedAccountsOK) IsCode(code int) bool
- func (o *GetManagedAccountsOK) IsRedirect() bool
- func (o *GetManagedAccountsOK) IsServerError() bool
- func (o *GetManagedAccountsOK) IsSuccess() bool
- func (o *GetManagedAccountsOK) String() string
- type GetManagedAccountsParams
- func NewGetManagedAccountsParams() *GetManagedAccountsParams
- func NewGetManagedAccountsParamsWithContext(ctx context.Context) *GetManagedAccountsParams
- func NewGetManagedAccountsParamsWithHTTPClient(client *http.Client) *GetManagedAccountsParams
- func NewGetManagedAccountsParamsWithTimeout(timeout time.Duration) *GetManagedAccountsParams
- func (o *GetManagedAccountsParams) SetContext(ctx context.Context)
- func (o *GetManagedAccountsParams) SetDefaults()
- func (o *GetManagedAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetManagedAccountsParams) SetLimit(limit *int32)
- func (o *GetManagedAccountsParams) SetPage(page *int32)
- func (o *GetManagedAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetManagedAccountsParams) WithContext(ctx context.Context) *GetManagedAccountsParams
- func (o *GetManagedAccountsParams) WithDefaults() *GetManagedAccountsParams
- func (o *GetManagedAccountsParams) WithHTTPClient(client *http.Client) *GetManagedAccountsParams
- func (o *GetManagedAccountsParams) WithLimit(limit *int32) *GetManagedAccountsParams
- func (o *GetManagedAccountsParams) WithPage(page *int32) *GetManagedAccountsParams
- func (o *GetManagedAccountsParams) WithTimeout(timeout time.Duration) *GetManagedAccountsParams
- func (o *GetManagedAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManagedAccountsReader
- type UpdateManagedAccountBadRequest
- func (o *UpdateManagedAccountBadRequest) Code() int
- func (o *UpdateManagedAccountBadRequest) Error() string
- func (o *UpdateManagedAccountBadRequest) GetPayload() *models.Errors
- func (o *UpdateManagedAccountBadRequest) IsClientError() bool
- func (o *UpdateManagedAccountBadRequest) IsCode(code int) bool
- func (o *UpdateManagedAccountBadRequest) IsRedirect() bool
- func (o *UpdateManagedAccountBadRequest) IsServerError() bool
- func (o *UpdateManagedAccountBadRequest) IsSuccess() bool
- func (o *UpdateManagedAccountBadRequest) String() string
- type UpdateManagedAccountNotFound
- func (o *UpdateManagedAccountNotFound) Code() int
- func (o *UpdateManagedAccountNotFound) Error() string
- func (o *UpdateManagedAccountNotFound) GetPayload() *models.Errors
- func (o *UpdateManagedAccountNotFound) IsClientError() bool
- func (o *UpdateManagedAccountNotFound) IsCode(code int) bool
- func (o *UpdateManagedAccountNotFound) IsRedirect() bool
- func (o *UpdateManagedAccountNotFound) IsServerError() bool
- func (o *UpdateManagedAccountNotFound) IsSuccess() bool
- func (o *UpdateManagedAccountNotFound) String() string
- type UpdateManagedAccountOK
- func (o *UpdateManagedAccountOK) Code() int
- func (o *UpdateManagedAccountOK) Error() string
- func (o *UpdateManagedAccountOK) GetPayload() *models.ManagedAccount
- func (o *UpdateManagedAccountOK) IsClientError() bool
- func (o *UpdateManagedAccountOK) IsCode(code int) bool
- func (o *UpdateManagedAccountOK) IsRedirect() bool
- func (o *UpdateManagedAccountOK) IsServerError() bool
- func (o *UpdateManagedAccountOK) IsSuccess() bool
- func (o *UpdateManagedAccountOK) String() string
- type UpdateManagedAccountParams
- func NewUpdateManagedAccountParams() *UpdateManagedAccountParams
- func NewUpdateManagedAccountParamsWithContext(ctx context.Context) *UpdateManagedAccountParams
- func NewUpdateManagedAccountParamsWithHTTPClient(client *http.Client) *UpdateManagedAccountParams
- func NewUpdateManagedAccountParamsWithTimeout(timeout time.Duration) *UpdateManagedAccountParams
- func (o *UpdateManagedAccountParams) SetContext(ctx context.Context)
- func (o *UpdateManagedAccountParams) SetDefaults()
- func (o *UpdateManagedAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateManagedAccountParams) SetManagedAccountToken(managedAccountToken string)
- func (o *UpdateManagedAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateManagedAccountParams) SetUpdateManagedAccount(updateManagedAccount *models.UpdateManagedAccount)
- func (o *UpdateManagedAccountParams) WithContext(ctx context.Context) *UpdateManagedAccountParams
- func (o *UpdateManagedAccountParams) WithDefaults() *UpdateManagedAccountParams
- func (o *UpdateManagedAccountParams) WithHTTPClient(client *http.Client) *UpdateManagedAccountParams
- func (o *UpdateManagedAccountParams) WithManagedAccountToken(managedAccountToken string) *UpdateManagedAccountParams
- func (o *UpdateManagedAccountParams) WithTimeout(timeout time.Duration) *UpdateManagedAccountParams
- func (o *UpdateManagedAccountParams) WithUpdateManagedAccount(updateManagedAccount *models.UpdateManagedAccount) *UpdateManagedAccountParams
- func (o *UpdateManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateManagedAccountReader
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 managed accounts API
func (*Client) CreateManagedAccount ¶
func (a *Client) CreateManagedAccount(params *CreateManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateManagedAccountCreated, error)
CreateManagedAccount Create a Managed Account.
func (*Client) DeleteManagedAccount ¶
func (a *Client) DeleteManagedAccount(params *DeleteManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteManagedAccountNoContent, error)
DeleteManagedAccount Delete a Managed Account.
func (*Client) GetManagedAccount ¶
func (a *Client) GetManagedAccount(params *GetManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManagedAccountOK, error)
GetManagedAccount Return a Managed Account.
func (*Client) GetManagedAccounts ¶
func (a *Client) GetManagedAccounts(params *GetManagedAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManagedAccountsOK, error)
GetManagedAccounts Returns a list of managed accounts.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateManagedAccount ¶
func (a *Client) UpdateManagedAccount(params *UpdateManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateManagedAccountOK, error)
UpdateManagedAccount Update a Managed Account.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { CreateManagedAccount(params *CreateManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateManagedAccountCreated, error) DeleteManagedAccount(params *DeleteManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteManagedAccountNoContent, error) GetManagedAccount(params *GetManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManagedAccountOK, error) GetManagedAccounts(params *GetManagedAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetManagedAccountsOK, error) UpdateManagedAccount(params *UpdateManagedAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateManagedAccountOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new managed accounts API client.
func NewClientWithBasicAuth ¶ added in v0.0.33
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new managed accounts API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.0.33
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new managed accounts API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CreateManagedAccountBadRequest ¶
CreateManagedAccountBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewCreateManagedAccountBadRequest ¶
func NewCreateManagedAccountBadRequest() *CreateManagedAccountBadRequest
NewCreateManagedAccountBadRequest creates a CreateManagedAccountBadRequest with default headers values
func (*CreateManagedAccountBadRequest) Code ¶
func (o *CreateManagedAccountBadRequest) Code() int
Code gets the status code for the create managed account bad request response
func (*CreateManagedAccountBadRequest) Error ¶
func (o *CreateManagedAccountBadRequest) Error() string
func (*CreateManagedAccountBadRequest) GetPayload ¶
func (o *CreateManagedAccountBadRequest) GetPayload() *models.Errors
func (*CreateManagedAccountBadRequest) IsClientError ¶
func (o *CreateManagedAccountBadRequest) IsClientError() bool
IsClientError returns true when this create managed account bad request response has a 4xx status code
func (*CreateManagedAccountBadRequest) IsCode ¶
func (o *CreateManagedAccountBadRequest) IsCode(code int) bool
IsCode returns true when this create managed account bad request response a status code equal to that given
func (*CreateManagedAccountBadRequest) IsRedirect ¶
func (o *CreateManagedAccountBadRequest) IsRedirect() bool
IsRedirect returns true when this create managed account bad request response has a 3xx status code
func (*CreateManagedAccountBadRequest) IsServerError ¶
func (o *CreateManagedAccountBadRequest) IsServerError() bool
IsServerError returns true when this create managed account bad request response has a 5xx status code
func (*CreateManagedAccountBadRequest) IsSuccess ¶
func (o *CreateManagedAccountBadRequest) IsSuccess() bool
IsSuccess returns true when this create managed account bad request response has a 2xx status code
func (*CreateManagedAccountBadRequest) String ¶
func (o *CreateManagedAccountBadRequest) String() string
type CreateManagedAccountCreated ¶
type CreateManagedAccountCreated struct {
Payload *models.ManagedAccount
}
CreateManagedAccountCreated describes a response with status code 201, with default header values.
CreateManagedAccountCreated create managed account created
func NewCreateManagedAccountCreated ¶
func NewCreateManagedAccountCreated() *CreateManagedAccountCreated
NewCreateManagedAccountCreated creates a CreateManagedAccountCreated with default headers values
func (*CreateManagedAccountCreated) Code ¶
func (o *CreateManagedAccountCreated) Code() int
Code gets the status code for the create managed account created response
func (*CreateManagedAccountCreated) Error ¶
func (o *CreateManagedAccountCreated) Error() string
func (*CreateManagedAccountCreated) GetPayload ¶
func (o *CreateManagedAccountCreated) GetPayload() *models.ManagedAccount
func (*CreateManagedAccountCreated) IsClientError ¶
func (o *CreateManagedAccountCreated) IsClientError() bool
IsClientError returns true when this create managed account created response has a 4xx status code
func (*CreateManagedAccountCreated) IsCode ¶
func (o *CreateManagedAccountCreated) IsCode(code int) bool
IsCode returns true when this create managed account created response a status code equal to that given
func (*CreateManagedAccountCreated) IsRedirect ¶
func (o *CreateManagedAccountCreated) IsRedirect() bool
IsRedirect returns true when this create managed account created response has a 3xx status code
func (*CreateManagedAccountCreated) IsServerError ¶
func (o *CreateManagedAccountCreated) IsServerError() bool
IsServerError returns true when this create managed account created response has a 5xx status code
func (*CreateManagedAccountCreated) IsSuccess ¶
func (o *CreateManagedAccountCreated) IsSuccess() bool
IsSuccess returns true when this create managed account created response has a 2xx status code
func (*CreateManagedAccountCreated) String ¶
func (o *CreateManagedAccountCreated) String() string
type CreateManagedAccountParams ¶
type CreateManagedAccountParams struct { // CreateManagedAccount. CreateManagedAccount *models.CreateManagedAccount Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateManagedAccountParams contains all the parameters to send to the API endpoint
for the create managed account operation. Typically these are written to a http.Request.
func NewCreateManagedAccountParams ¶
func NewCreateManagedAccountParams() *CreateManagedAccountParams
NewCreateManagedAccountParams creates a new CreateManagedAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateManagedAccountParamsWithContext ¶
func NewCreateManagedAccountParamsWithContext(ctx context.Context) *CreateManagedAccountParams
NewCreateManagedAccountParamsWithContext creates a new CreateManagedAccountParams object with the ability to set a context for a request.
func NewCreateManagedAccountParamsWithHTTPClient ¶
func NewCreateManagedAccountParamsWithHTTPClient(client *http.Client) *CreateManagedAccountParams
NewCreateManagedAccountParamsWithHTTPClient creates a new CreateManagedAccountParams object with the ability to set a custom HTTPClient for a request.
func NewCreateManagedAccountParamsWithTimeout ¶
func NewCreateManagedAccountParamsWithTimeout(timeout time.Duration) *CreateManagedAccountParams
NewCreateManagedAccountParamsWithTimeout creates a new CreateManagedAccountParams object with the ability to set a timeout on a request.
func (*CreateManagedAccountParams) SetContext ¶
func (o *CreateManagedAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the create managed account params
func (*CreateManagedAccountParams) SetCreateManagedAccount ¶
func (o *CreateManagedAccountParams) SetCreateManagedAccount(createManagedAccount *models.CreateManagedAccount)
SetCreateManagedAccount adds the createManagedAccount to the create managed account params
func (*CreateManagedAccountParams) SetDefaults ¶
func (o *CreateManagedAccountParams) SetDefaults()
SetDefaults hydrates default values in the create managed account params (not the query body).
All values with no default are reset to their zero value.
func (*CreateManagedAccountParams) SetHTTPClient ¶
func (o *CreateManagedAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create managed account params
func (*CreateManagedAccountParams) SetTimeout ¶
func (o *CreateManagedAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create managed account params
func (*CreateManagedAccountParams) WithContext ¶
func (o *CreateManagedAccountParams) WithContext(ctx context.Context) *CreateManagedAccountParams
WithContext adds the context to the create managed account params
func (*CreateManagedAccountParams) WithCreateManagedAccount ¶
func (o *CreateManagedAccountParams) WithCreateManagedAccount(createManagedAccount *models.CreateManagedAccount) *CreateManagedAccountParams
WithCreateManagedAccount adds the createManagedAccount to the create managed account params
func (*CreateManagedAccountParams) WithDefaults ¶
func (o *CreateManagedAccountParams) WithDefaults() *CreateManagedAccountParams
WithDefaults hydrates default values in the create managed account params (not the query body).
All values with no default are reset to their zero value.
func (*CreateManagedAccountParams) WithHTTPClient ¶
func (o *CreateManagedAccountParams) WithHTTPClient(client *http.Client) *CreateManagedAccountParams
WithHTTPClient adds the HTTPClient to the create managed account params
func (*CreateManagedAccountParams) WithTimeout ¶
func (o *CreateManagedAccountParams) WithTimeout(timeout time.Duration) *CreateManagedAccountParams
WithTimeout adds the timeout to the create managed account params
func (*CreateManagedAccountParams) WriteToRequest ¶
func (o *CreateManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateManagedAccountReader ¶
type CreateManagedAccountReader struct {
// contains filtered or unexported fields
}
CreateManagedAccountReader is a Reader for the CreateManagedAccount structure.
func (*CreateManagedAccountReader) ReadResponse ¶
func (o *CreateManagedAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteManagedAccountNoContent ¶
type DeleteManagedAccountNoContent struct {
Payload *models.ManagedAccount
}
DeleteManagedAccountNoContent describes a response with status code 204, with default header values.
DeleteManagedAccountNoContent delete managed account no content
func NewDeleteManagedAccountNoContent ¶
func NewDeleteManagedAccountNoContent() *DeleteManagedAccountNoContent
NewDeleteManagedAccountNoContent creates a DeleteManagedAccountNoContent with default headers values
func (*DeleteManagedAccountNoContent) Code ¶
func (o *DeleteManagedAccountNoContent) Code() int
Code gets the status code for the delete managed account no content response
func (*DeleteManagedAccountNoContent) Error ¶
func (o *DeleteManagedAccountNoContent) Error() string
func (*DeleteManagedAccountNoContent) GetPayload ¶
func (o *DeleteManagedAccountNoContent) GetPayload() *models.ManagedAccount
func (*DeleteManagedAccountNoContent) IsClientError ¶
func (o *DeleteManagedAccountNoContent) IsClientError() bool
IsClientError returns true when this delete managed account no content response has a 4xx status code
func (*DeleteManagedAccountNoContent) IsCode ¶
func (o *DeleteManagedAccountNoContent) IsCode(code int) bool
IsCode returns true when this delete managed account no content response a status code equal to that given
func (*DeleteManagedAccountNoContent) IsRedirect ¶
func (o *DeleteManagedAccountNoContent) IsRedirect() bool
IsRedirect returns true when this delete managed account no content response has a 3xx status code
func (*DeleteManagedAccountNoContent) IsServerError ¶
func (o *DeleteManagedAccountNoContent) IsServerError() bool
IsServerError returns true when this delete managed account no content response has a 5xx status code
func (*DeleteManagedAccountNoContent) IsSuccess ¶
func (o *DeleteManagedAccountNoContent) IsSuccess() bool
IsSuccess returns true when this delete managed account no content response has a 2xx status code
func (*DeleteManagedAccountNoContent) String ¶
func (o *DeleteManagedAccountNoContent) String() string
type DeleteManagedAccountNotFound ¶
DeleteManagedAccountNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteManagedAccountNotFound ¶
func NewDeleteManagedAccountNotFound() *DeleteManagedAccountNotFound
NewDeleteManagedAccountNotFound creates a DeleteManagedAccountNotFound with default headers values
func (*DeleteManagedAccountNotFound) Code ¶
func (o *DeleteManagedAccountNotFound) Code() int
Code gets the status code for the delete managed account not found response
func (*DeleteManagedAccountNotFound) Error ¶
func (o *DeleteManagedAccountNotFound) Error() string
func (*DeleteManagedAccountNotFound) GetPayload ¶
func (o *DeleteManagedAccountNotFound) GetPayload() *models.Errors
func (*DeleteManagedAccountNotFound) IsClientError ¶
func (o *DeleteManagedAccountNotFound) IsClientError() bool
IsClientError returns true when this delete managed account not found response has a 4xx status code
func (*DeleteManagedAccountNotFound) IsCode ¶
func (o *DeleteManagedAccountNotFound) IsCode(code int) bool
IsCode returns true when this delete managed account not found response a status code equal to that given
func (*DeleteManagedAccountNotFound) IsRedirect ¶
func (o *DeleteManagedAccountNotFound) IsRedirect() bool
IsRedirect returns true when this delete managed account not found response has a 3xx status code
func (*DeleteManagedAccountNotFound) IsServerError ¶
func (o *DeleteManagedAccountNotFound) IsServerError() bool
IsServerError returns true when this delete managed account not found response has a 5xx status code
func (*DeleteManagedAccountNotFound) IsSuccess ¶
func (o *DeleteManagedAccountNotFound) IsSuccess() bool
IsSuccess returns true when this delete managed account not found response has a 2xx status code
func (*DeleteManagedAccountNotFound) String ¶
func (o *DeleteManagedAccountNotFound) String() string
type DeleteManagedAccountParams ¶
type DeleteManagedAccountParams struct { // ManagedAccountToken. ManagedAccountToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteManagedAccountParams contains all the parameters to send to the API endpoint
for the delete managed account operation. Typically these are written to a http.Request.
func NewDeleteManagedAccountParams ¶
func NewDeleteManagedAccountParams() *DeleteManagedAccountParams
NewDeleteManagedAccountParams creates a new DeleteManagedAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteManagedAccountParamsWithContext ¶
func NewDeleteManagedAccountParamsWithContext(ctx context.Context) *DeleteManagedAccountParams
NewDeleteManagedAccountParamsWithContext creates a new DeleteManagedAccountParams object with the ability to set a context for a request.
func NewDeleteManagedAccountParamsWithHTTPClient ¶
func NewDeleteManagedAccountParamsWithHTTPClient(client *http.Client) *DeleteManagedAccountParams
NewDeleteManagedAccountParamsWithHTTPClient creates a new DeleteManagedAccountParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteManagedAccountParamsWithTimeout ¶
func NewDeleteManagedAccountParamsWithTimeout(timeout time.Duration) *DeleteManagedAccountParams
NewDeleteManagedAccountParamsWithTimeout creates a new DeleteManagedAccountParams object with the ability to set a timeout on a request.
func (*DeleteManagedAccountParams) SetContext ¶
func (o *DeleteManagedAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the delete managed account params
func (*DeleteManagedAccountParams) SetDefaults ¶
func (o *DeleteManagedAccountParams) SetDefaults()
SetDefaults hydrates default values in the delete managed account params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteManagedAccountParams) SetHTTPClient ¶
func (o *DeleteManagedAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete managed account params
func (*DeleteManagedAccountParams) SetManagedAccountToken ¶
func (o *DeleteManagedAccountParams) SetManagedAccountToken(managedAccountToken string)
SetManagedAccountToken adds the managedAccountToken to the delete managed account params
func (*DeleteManagedAccountParams) SetTimeout ¶
func (o *DeleteManagedAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete managed account params
func (*DeleteManagedAccountParams) WithContext ¶
func (o *DeleteManagedAccountParams) WithContext(ctx context.Context) *DeleteManagedAccountParams
WithContext adds the context to the delete managed account params
func (*DeleteManagedAccountParams) WithDefaults ¶
func (o *DeleteManagedAccountParams) WithDefaults() *DeleteManagedAccountParams
WithDefaults hydrates default values in the delete managed account params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteManagedAccountParams) WithHTTPClient ¶
func (o *DeleteManagedAccountParams) WithHTTPClient(client *http.Client) *DeleteManagedAccountParams
WithHTTPClient adds the HTTPClient to the delete managed account params
func (*DeleteManagedAccountParams) WithManagedAccountToken ¶
func (o *DeleteManagedAccountParams) WithManagedAccountToken(managedAccountToken string) *DeleteManagedAccountParams
WithManagedAccountToken adds the managedAccountToken to the delete managed account params
func (*DeleteManagedAccountParams) WithTimeout ¶
func (o *DeleteManagedAccountParams) WithTimeout(timeout time.Duration) *DeleteManagedAccountParams
WithTimeout adds the timeout to the delete managed account params
func (*DeleteManagedAccountParams) WriteToRequest ¶
func (o *DeleteManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteManagedAccountReader ¶
type DeleteManagedAccountReader struct {
// contains filtered or unexported fields
}
DeleteManagedAccountReader is a Reader for the DeleteManagedAccount structure.
func (*DeleteManagedAccountReader) ReadResponse ¶
func (o *DeleteManagedAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetManagedAccountNotFound ¶
GetManagedAccountNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetManagedAccountNotFound ¶
func NewGetManagedAccountNotFound() *GetManagedAccountNotFound
NewGetManagedAccountNotFound creates a GetManagedAccountNotFound with default headers values
func (*GetManagedAccountNotFound) Code ¶
func (o *GetManagedAccountNotFound) Code() int
Code gets the status code for the get managed account not found response
func (*GetManagedAccountNotFound) Error ¶
func (o *GetManagedAccountNotFound) Error() string
func (*GetManagedAccountNotFound) GetPayload ¶
func (o *GetManagedAccountNotFound) GetPayload() *models.Errors
func (*GetManagedAccountNotFound) IsClientError ¶
func (o *GetManagedAccountNotFound) IsClientError() bool
IsClientError returns true when this get managed account not found response has a 4xx status code
func (*GetManagedAccountNotFound) IsCode ¶
func (o *GetManagedAccountNotFound) IsCode(code int) bool
IsCode returns true when this get managed account not found response a status code equal to that given
func (*GetManagedAccountNotFound) IsRedirect ¶
func (o *GetManagedAccountNotFound) IsRedirect() bool
IsRedirect returns true when this get managed account not found response has a 3xx status code
func (*GetManagedAccountNotFound) IsServerError ¶
func (o *GetManagedAccountNotFound) IsServerError() bool
IsServerError returns true when this get managed account not found response has a 5xx status code
func (*GetManagedAccountNotFound) IsSuccess ¶
func (o *GetManagedAccountNotFound) IsSuccess() bool
IsSuccess returns true when this get managed account not found response has a 2xx status code
func (*GetManagedAccountNotFound) String ¶
func (o *GetManagedAccountNotFound) String() string
type GetManagedAccountOK ¶
type GetManagedAccountOK struct {
Payload *models.ManagedAccount
}
GetManagedAccountOK describes a response with status code 200, with default header values.
GetManagedAccountOK get managed account o k
func NewGetManagedAccountOK ¶
func NewGetManagedAccountOK() *GetManagedAccountOK
NewGetManagedAccountOK creates a GetManagedAccountOK with default headers values
func (*GetManagedAccountOK) Code ¶
func (o *GetManagedAccountOK) Code() int
Code gets the status code for the get managed account o k response
func (*GetManagedAccountOK) Error ¶
func (o *GetManagedAccountOK) Error() string
func (*GetManagedAccountOK) GetPayload ¶
func (o *GetManagedAccountOK) GetPayload() *models.ManagedAccount
func (*GetManagedAccountOK) IsClientError ¶
func (o *GetManagedAccountOK) IsClientError() bool
IsClientError returns true when this get managed account o k response has a 4xx status code
func (*GetManagedAccountOK) IsCode ¶
func (o *GetManagedAccountOK) IsCode(code int) bool
IsCode returns true when this get managed account o k response a status code equal to that given
func (*GetManagedAccountOK) IsRedirect ¶
func (o *GetManagedAccountOK) IsRedirect() bool
IsRedirect returns true when this get managed account o k response has a 3xx status code
func (*GetManagedAccountOK) IsServerError ¶
func (o *GetManagedAccountOK) IsServerError() bool
IsServerError returns true when this get managed account o k response has a 5xx status code
func (*GetManagedAccountOK) IsSuccess ¶
func (o *GetManagedAccountOK) IsSuccess() bool
IsSuccess returns true when this get managed account o k response has a 2xx status code
func (*GetManagedAccountOK) String ¶
func (o *GetManagedAccountOK) String() string
type GetManagedAccountParams ¶
type GetManagedAccountParams struct { // ManagedAccountToken. ManagedAccountToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetManagedAccountParams contains all the parameters to send to the API endpoint
for the get managed account operation. Typically these are written to a http.Request.
func NewGetManagedAccountParams ¶
func NewGetManagedAccountParams() *GetManagedAccountParams
NewGetManagedAccountParams creates a new GetManagedAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetManagedAccountParamsWithContext ¶
func NewGetManagedAccountParamsWithContext(ctx context.Context) *GetManagedAccountParams
NewGetManagedAccountParamsWithContext creates a new GetManagedAccountParams object with the ability to set a context for a request.
func NewGetManagedAccountParamsWithHTTPClient ¶
func NewGetManagedAccountParamsWithHTTPClient(client *http.Client) *GetManagedAccountParams
NewGetManagedAccountParamsWithHTTPClient creates a new GetManagedAccountParams object with the ability to set a custom HTTPClient for a request.
func NewGetManagedAccountParamsWithTimeout ¶
func NewGetManagedAccountParamsWithTimeout(timeout time.Duration) *GetManagedAccountParams
NewGetManagedAccountParamsWithTimeout creates a new GetManagedAccountParams object with the ability to set a timeout on a request.
func (*GetManagedAccountParams) SetContext ¶
func (o *GetManagedAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get managed account params
func (*GetManagedAccountParams) SetDefaults ¶
func (o *GetManagedAccountParams) SetDefaults()
SetDefaults hydrates default values in the get managed account params (not the query body).
All values with no default are reset to their zero value.
func (*GetManagedAccountParams) SetHTTPClient ¶
func (o *GetManagedAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get managed account params
func (*GetManagedAccountParams) SetManagedAccountToken ¶
func (o *GetManagedAccountParams) SetManagedAccountToken(managedAccountToken string)
SetManagedAccountToken adds the managedAccountToken to the get managed account params
func (*GetManagedAccountParams) SetTimeout ¶
func (o *GetManagedAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get managed account params
func (*GetManagedAccountParams) WithContext ¶
func (o *GetManagedAccountParams) WithContext(ctx context.Context) *GetManagedAccountParams
WithContext adds the context to the get managed account params
func (*GetManagedAccountParams) WithDefaults ¶
func (o *GetManagedAccountParams) WithDefaults() *GetManagedAccountParams
WithDefaults hydrates default values in the get managed account params (not the query body).
All values with no default are reset to their zero value.
func (*GetManagedAccountParams) WithHTTPClient ¶
func (o *GetManagedAccountParams) WithHTTPClient(client *http.Client) *GetManagedAccountParams
WithHTTPClient adds the HTTPClient to the get managed account params
func (*GetManagedAccountParams) WithManagedAccountToken ¶
func (o *GetManagedAccountParams) WithManagedAccountToken(managedAccountToken string) *GetManagedAccountParams
WithManagedAccountToken adds the managedAccountToken to the get managed account params
func (*GetManagedAccountParams) WithTimeout ¶
func (o *GetManagedAccountParams) WithTimeout(timeout time.Duration) *GetManagedAccountParams
WithTimeout adds the timeout to the get managed account params
func (*GetManagedAccountParams) WriteToRequest ¶
func (o *GetManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetManagedAccountReader ¶
type GetManagedAccountReader struct {
// contains filtered or unexported fields
}
GetManagedAccountReader is a Reader for the GetManagedAccount structure.
func (*GetManagedAccountReader) ReadResponse ¶
func (o *GetManagedAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetManagedAccountsOK ¶
type GetManagedAccountsOK struct {
Payload *models.ManagedAccounts
}
GetManagedAccountsOK describes a response with status code 200, with default header values.
GetManagedAccountsOK get managed accounts o k
func NewGetManagedAccountsOK ¶
func NewGetManagedAccountsOK() *GetManagedAccountsOK
NewGetManagedAccountsOK creates a GetManagedAccountsOK with default headers values
func (*GetManagedAccountsOK) Code ¶
func (o *GetManagedAccountsOK) Code() int
Code gets the status code for the get managed accounts o k response
func (*GetManagedAccountsOK) Error ¶
func (o *GetManagedAccountsOK) Error() string
func (*GetManagedAccountsOK) GetPayload ¶
func (o *GetManagedAccountsOK) GetPayload() *models.ManagedAccounts
func (*GetManagedAccountsOK) IsClientError ¶
func (o *GetManagedAccountsOK) IsClientError() bool
IsClientError returns true when this get managed accounts o k response has a 4xx status code
func (*GetManagedAccountsOK) IsCode ¶
func (o *GetManagedAccountsOK) IsCode(code int) bool
IsCode returns true when this get managed accounts o k response a status code equal to that given
func (*GetManagedAccountsOK) IsRedirect ¶
func (o *GetManagedAccountsOK) IsRedirect() bool
IsRedirect returns true when this get managed accounts o k response has a 3xx status code
func (*GetManagedAccountsOK) IsServerError ¶
func (o *GetManagedAccountsOK) IsServerError() bool
IsServerError returns true when this get managed accounts o k response has a 5xx status code
func (*GetManagedAccountsOK) IsSuccess ¶
func (o *GetManagedAccountsOK) IsSuccess() bool
IsSuccess returns true when this get managed accounts o k response has a 2xx status code
func (*GetManagedAccountsOK) String ¶
func (o *GetManagedAccountsOK) String() string
type GetManagedAccountsParams ¶
type GetManagedAccountsParams struct { /* Limit. The amount of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetManagedAccountsParams contains all the parameters to send to the API endpoint
for the get managed accounts operation. Typically these are written to a http.Request.
func NewGetManagedAccountsParams ¶
func NewGetManagedAccountsParams() *GetManagedAccountsParams
NewGetManagedAccountsParams creates a new GetManagedAccountsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetManagedAccountsParamsWithContext ¶
func NewGetManagedAccountsParamsWithContext(ctx context.Context) *GetManagedAccountsParams
NewGetManagedAccountsParamsWithContext creates a new GetManagedAccountsParams object with the ability to set a context for a request.
func NewGetManagedAccountsParamsWithHTTPClient ¶
func NewGetManagedAccountsParamsWithHTTPClient(client *http.Client) *GetManagedAccountsParams
NewGetManagedAccountsParamsWithHTTPClient creates a new GetManagedAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetManagedAccountsParamsWithTimeout ¶
func NewGetManagedAccountsParamsWithTimeout(timeout time.Duration) *GetManagedAccountsParams
NewGetManagedAccountsParamsWithTimeout creates a new GetManagedAccountsParams object with the ability to set a timeout on a request.
func (*GetManagedAccountsParams) SetContext ¶
func (o *GetManagedAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get managed accounts params
func (*GetManagedAccountsParams) SetDefaults ¶
func (o *GetManagedAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get managed accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetManagedAccountsParams) SetHTTPClient ¶
func (o *GetManagedAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get managed accounts params
func (*GetManagedAccountsParams) SetLimit ¶
func (o *GetManagedAccountsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get managed accounts params
func (*GetManagedAccountsParams) SetPage ¶
func (o *GetManagedAccountsParams) SetPage(page *int32)
SetPage adds the page to the get managed accounts params
func (*GetManagedAccountsParams) SetTimeout ¶
func (o *GetManagedAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get managed accounts params
func (*GetManagedAccountsParams) WithContext ¶
func (o *GetManagedAccountsParams) WithContext(ctx context.Context) *GetManagedAccountsParams
WithContext adds the context to the get managed accounts params
func (*GetManagedAccountsParams) WithDefaults ¶
func (o *GetManagedAccountsParams) WithDefaults() *GetManagedAccountsParams
WithDefaults hydrates default values in the get managed accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetManagedAccountsParams) WithHTTPClient ¶
func (o *GetManagedAccountsParams) WithHTTPClient(client *http.Client) *GetManagedAccountsParams
WithHTTPClient adds the HTTPClient to the get managed accounts params
func (*GetManagedAccountsParams) WithLimit ¶
func (o *GetManagedAccountsParams) WithLimit(limit *int32) *GetManagedAccountsParams
WithLimit adds the limit to the get managed accounts params
func (*GetManagedAccountsParams) WithPage ¶
func (o *GetManagedAccountsParams) WithPage(page *int32) *GetManagedAccountsParams
WithPage adds the page to the get managed accounts params
func (*GetManagedAccountsParams) WithTimeout ¶
func (o *GetManagedAccountsParams) WithTimeout(timeout time.Duration) *GetManagedAccountsParams
WithTimeout adds the timeout to the get managed accounts params
func (*GetManagedAccountsParams) WriteToRequest ¶
func (o *GetManagedAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetManagedAccountsReader ¶
type GetManagedAccountsReader struct {
// contains filtered or unexported fields
}
GetManagedAccountsReader is a Reader for the GetManagedAccounts structure.
func (*GetManagedAccountsReader) ReadResponse ¶
func (o *GetManagedAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateManagedAccountBadRequest ¶
UpdateManagedAccountBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateManagedAccountBadRequest ¶
func NewUpdateManagedAccountBadRequest() *UpdateManagedAccountBadRequest
NewUpdateManagedAccountBadRequest creates a UpdateManagedAccountBadRequest with default headers values
func (*UpdateManagedAccountBadRequest) Code ¶
func (o *UpdateManagedAccountBadRequest) Code() int
Code gets the status code for the update managed account bad request response
func (*UpdateManagedAccountBadRequest) Error ¶
func (o *UpdateManagedAccountBadRequest) Error() string
func (*UpdateManagedAccountBadRequest) GetPayload ¶
func (o *UpdateManagedAccountBadRequest) GetPayload() *models.Errors
func (*UpdateManagedAccountBadRequest) IsClientError ¶
func (o *UpdateManagedAccountBadRequest) IsClientError() bool
IsClientError returns true when this update managed account bad request response has a 4xx status code
func (*UpdateManagedAccountBadRequest) IsCode ¶
func (o *UpdateManagedAccountBadRequest) IsCode(code int) bool
IsCode returns true when this update managed account bad request response a status code equal to that given
func (*UpdateManagedAccountBadRequest) IsRedirect ¶
func (o *UpdateManagedAccountBadRequest) IsRedirect() bool
IsRedirect returns true when this update managed account bad request response has a 3xx status code
func (*UpdateManagedAccountBadRequest) IsServerError ¶
func (o *UpdateManagedAccountBadRequest) IsServerError() bool
IsServerError returns true when this update managed account bad request response has a 5xx status code
func (*UpdateManagedAccountBadRequest) IsSuccess ¶
func (o *UpdateManagedAccountBadRequest) IsSuccess() bool
IsSuccess returns true when this update managed account bad request response has a 2xx status code
func (*UpdateManagedAccountBadRequest) String ¶
func (o *UpdateManagedAccountBadRequest) String() string
type UpdateManagedAccountNotFound ¶
UpdateManagedAccountNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateManagedAccountNotFound ¶
func NewUpdateManagedAccountNotFound() *UpdateManagedAccountNotFound
NewUpdateManagedAccountNotFound creates a UpdateManagedAccountNotFound with default headers values
func (*UpdateManagedAccountNotFound) Code ¶
func (o *UpdateManagedAccountNotFound) Code() int
Code gets the status code for the update managed account not found response
func (*UpdateManagedAccountNotFound) Error ¶
func (o *UpdateManagedAccountNotFound) Error() string
func (*UpdateManagedAccountNotFound) GetPayload ¶
func (o *UpdateManagedAccountNotFound) GetPayload() *models.Errors
func (*UpdateManagedAccountNotFound) IsClientError ¶
func (o *UpdateManagedAccountNotFound) IsClientError() bool
IsClientError returns true when this update managed account not found response has a 4xx status code
func (*UpdateManagedAccountNotFound) IsCode ¶
func (o *UpdateManagedAccountNotFound) IsCode(code int) bool
IsCode returns true when this update managed account not found response a status code equal to that given
func (*UpdateManagedAccountNotFound) IsRedirect ¶
func (o *UpdateManagedAccountNotFound) IsRedirect() bool
IsRedirect returns true when this update managed account not found response has a 3xx status code
func (*UpdateManagedAccountNotFound) IsServerError ¶
func (o *UpdateManagedAccountNotFound) IsServerError() bool
IsServerError returns true when this update managed account not found response has a 5xx status code
func (*UpdateManagedAccountNotFound) IsSuccess ¶
func (o *UpdateManagedAccountNotFound) IsSuccess() bool
IsSuccess returns true when this update managed account not found response has a 2xx status code
func (*UpdateManagedAccountNotFound) String ¶
func (o *UpdateManagedAccountNotFound) String() string
type UpdateManagedAccountOK ¶
type UpdateManagedAccountOK struct {
Payload *models.ManagedAccount
}
UpdateManagedAccountOK describes a response with status code 200, with default header values.
UpdateManagedAccountOK update managed account o k
func NewUpdateManagedAccountOK ¶
func NewUpdateManagedAccountOK() *UpdateManagedAccountOK
NewUpdateManagedAccountOK creates a UpdateManagedAccountOK with default headers values
func (*UpdateManagedAccountOK) Code ¶
func (o *UpdateManagedAccountOK) Code() int
Code gets the status code for the update managed account o k response
func (*UpdateManagedAccountOK) Error ¶
func (o *UpdateManagedAccountOK) Error() string
func (*UpdateManagedAccountOK) GetPayload ¶
func (o *UpdateManagedAccountOK) GetPayload() *models.ManagedAccount
func (*UpdateManagedAccountOK) IsClientError ¶
func (o *UpdateManagedAccountOK) IsClientError() bool
IsClientError returns true when this update managed account o k response has a 4xx status code
func (*UpdateManagedAccountOK) IsCode ¶
func (o *UpdateManagedAccountOK) IsCode(code int) bool
IsCode returns true when this update managed account o k response a status code equal to that given
func (*UpdateManagedAccountOK) IsRedirect ¶
func (o *UpdateManagedAccountOK) IsRedirect() bool
IsRedirect returns true when this update managed account o k response has a 3xx status code
func (*UpdateManagedAccountOK) IsServerError ¶
func (o *UpdateManagedAccountOK) IsServerError() bool
IsServerError returns true when this update managed account o k response has a 5xx status code
func (*UpdateManagedAccountOK) IsSuccess ¶
func (o *UpdateManagedAccountOK) IsSuccess() bool
IsSuccess returns true when this update managed account o k response has a 2xx status code
func (*UpdateManagedAccountOK) String ¶
func (o *UpdateManagedAccountOK) String() string
type UpdateManagedAccountParams ¶
type UpdateManagedAccountParams struct { // ManagedAccountToken. ManagedAccountToken string // UpdateManagedAccount. UpdateManagedAccount *models.UpdateManagedAccount Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateManagedAccountParams contains all the parameters to send to the API endpoint
for the update managed account operation. Typically these are written to a http.Request.
func NewUpdateManagedAccountParams ¶
func NewUpdateManagedAccountParams() *UpdateManagedAccountParams
NewUpdateManagedAccountParams creates a new UpdateManagedAccountParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateManagedAccountParamsWithContext ¶
func NewUpdateManagedAccountParamsWithContext(ctx context.Context) *UpdateManagedAccountParams
NewUpdateManagedAccountParamsWithContext creates a new UpdateManagedAccountParams object with the ability to set a context for a request.
func NewUpdateManagedAccountParamsWithHTTPClient ¶
func NewUpdateManagedAccountParamsWithHTTPClient(client *http.Client) *UpdateManagedAccountParams
NewUpdateManagedAccountParamsWithHTTPClient creates a new UpdateManagedAccountParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateManagedAccountParamsWithTimeout ¶
func NewUpdateManagedAccountParamsWithTimeout(timeout time.Duration) *UpdateManagedAccountParams
NewUpdateManagedAccountParamsWithTimeout creates a new UpdateManagedAccountParams object with the ability to set a timeout on a request.
func (*UpdateManagedAccountParams) SetContext ¶
func (o *UpdateManagedAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update managed account params
func (*UpdateManagedAccountParams) SetDefaults ¶
func (o *UpdateManagedAccountParams) SetDefaults()
SetDefaults hydrates default values in the update managed account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateManagedAccountParams) SetHTTPClient ¶
func (o *UpdateManagedAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update managed account params
func (*UpdateManagedAccountParams) SetManagedAccountToken ¶
func (o *UpdateManagedAccountParams) SetManagedAccountToken(managedAccountToken string)
SetManagedAccountToken adds the managedAccountToken to the update managed account params
func (*UpdateManagedAccountParams) SetTimeout ¶
func (o *UpdateManagedAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update managed account params
func (*UpdateManagedAccountParams) SetUpdateManagedAccount ¶
func (o *UpdateManagedAccountParams) SetUpdateManagedAccount(updateManagedAccount *models.UpdateManagedAccount)
SetUpdateManagedAccount adds the updateManagedAccount to the update managed account params
func (*UpdateManagedAccountParams) WithContext ¶
func (o *UpdateManagedAccountParams) WithContext(ctx context.Context) *UpdateManagedAccountParams
WithContext adds the context to the update managed account params
func (*UpdateManagedAccountParams) WithDefaults ¶
func (o *UpdateManagedAccountParams) WithDefaults() *UpdateManagedAccountParams
WithDefaults hydrates default values in the update managed account params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateManagedAccountParams) WithHTTPClient ¶
func (o *UpdateManagedAccountParams) WithHTTPClient(client *http.Client) *UpdateManagedAccountParams
WithHTTPClient adds the HTTPClient to the update managed account params
func (*UpdateManagedAccountParams) WithManagedAccountToken ¶
func (o *UpdateManagedAccountParams) WithManagedAccountToken(managedAccountToken string) *UpdateManagedAccountParams
WithManagedAccountToken adds the managedAccountToken to the update managed account params
func (*UpdateManagedAccountParams) WithTimeout ¶
func (o *UpdateManagedAccountParams) WithTimeout(timeout time.Duration) *UpdateManagedAccountParams
WithTimeout adds the timeout to the update managed account params
func (*UpdateManagedAccountParams) WithUpdateManagedAccount ¶
func (o *UpdateManagedAccountParams) WithUpdateManagedAccount(updateManagedAccount *models.UpdateManagedAccount) *UpdateManagedAccountParams
WithUpdateManagedAccount adds the updateManagedAccount to the update managed account params
func (*UpdateManagedAccountParams) WriteToRequest ¶
func (o *UpdateManagedAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateManagedAccountReader ¶
type UpdateManagedAccountReader struct {
// contains filtered or unexported fields
}
UpdateManagedAccountReader is a Reader for the UpdateManagedAccount structure.
func (*UpdateManagedAccountReader) ReadResponse ¶
func (o *UpdateManagedAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_managed_account_parameters.go
- create_managed_account_responses.go
- delete_managed_account_parameters.go
- delete_managed_account_responses.go
- get_managed_account_parameters.go
- get_managed_account_responses.go
- get_managed_accounts_parameters.go
- get_managed_accounts_responses.go
- managed_accounts_client.go
- update_managed_account_parameters.go
- update_managed_account_responses.go