Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAccount(params *CreateAccountParams) (*CreateAccountOK, error)
- func (a *Client) DeleteAccount(params *DeleteAccountParams) (*DeleteAccountOK, error)
- func (a *Client) GetAccount(params *GetAccountParams) (*GetAccountOK, error)
- func (a *Client) GetAccountAccessSettings(params *GetAccountAccessSettingsParams) (*GetAccountAccessSettingsOK, error)
- func (a *Client) ListAccounts(params *ListAccountsParams) (*ListAccountsOK, error)
- func (a *Client) ScanAccount(params *ScanAccountParams) (*ScanAccountOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAccount(params *UpdateAccountParams) (*UpdateAccountOK, error)
- func (a *Client) UpdateAccountSubscription(params *UpdateAccountSubscriptionParams) (*UpdateAccountSubscriptionOK, error)
- type CreateAccountBadRequest
- type CreateAccountForbidden
- type CreateAccountInternalServerError
- type CreateAccountNotFound
- type CreateAccountOK
- type CreateAccountParams
- func (o *CreateAccountParams) SetAccount(account *models.CreateAccountParamsBody)
- func (o *CreateAccountParams) SetContext(ctx context.Context)
- func (o *CreateAccountParams) SetHTTPClient(client *http.Client)
- func (o *CreateAccountParams) SetTimeout(timeout time.Duration)
- func (o *CreateAccountParams) WithAccount(account *models.CreateAccountParamsBody) *CreateAccountParams
- func (o *CreateAccountParams) WithContext(ctx context.Context) *CreateAccountParams
- func (o *CreateAccountParams) WithHTTPClient(client *http.Client) *CreateAccountParams
- func (o *CreateAccountParams) WithTimeout(timeout time.Duration) *CreateAccountParams
- func (o *CreateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAccountReader
- type CreateAccountUnauthorized
- type CreateAccountUnprocessableEntity
- type DeleteAccountOK
- type DeleteAccountParams
- func (o *DeleteAccountParams) SetAccountID(accountID string)
- func (o *DeleteAccountParams) SetContext(ctx context.Context)
- func (o *DeleteAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAccountParams) WithAccountID(accountID string) *DeleteAccountParams
- func (o *DeleteAccountParams) WithContext(ctx context.Context) *DeleteAccountParams
- func (o *DeleteAccountParams) WithHTTPClient(client *http.Client) *DeleteAccountParams
- func (o *DeleteAccountParams) WithTimeout(timeout time.Duration) *DeleteAccountParams
- func (o *DeleteAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccountReader
- type GetAccountAccessSettingsOK
- type GetAccountAccessSettingsParams
- func NewGetAccountAccessSettingsParams() *GetAccountAccessSettingsParams
- func NewGetAccountAccessSettingsParamsWithContext(ctx context.Context) *GetAccountAccessSettingsParams
- func NewGetAccountAccessSettingsParamsWithHTTPClient(client *http.Client) *GetAccountAccessSettingsParams
- func NewGetAccountAccessSettingsParamsWithTimeout(timeout time.Duration) *GetAccountAccessSettingsParams
- func (o *GetAccountAccessSettingsParams) SetAccountID(accountID string)
- func (o *GetAccountAccessSettingsParams) SetContext(ctx context.Context)
- func (o *GetAccountAccessSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountAccessSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountAccessSettingsParams) WithAccountID(accountID string) *GetAccountAccessSettingsParams
- func (o *GetAccountAccessSettingsParams) WithContext(ctx context.Context) *GetAccountAccessSettingsParams
- func (o *GetAccountAccessSettingsParams) WithHTTPClient(client *http.Client) *GetAccountAccessSettingsParams
- func (o *GetAccountAccessSettingsParams) WithTimeout(timeout time.Duration) *GetAccountAccessSettingsParams
- func (o *GetAccountAccessSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountAccessSettingsReader
- type GetAccountOK
- type GetAccountParams
- func (o *GetAccountParams) SetAccountID(accountID string)
- func (o *GetAccountParams) SetContext(ctx context.Context)
- func (o *GetAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountParams) WithAccountID(accountID string) *GetAccountParams
- func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
- func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
- func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
- func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountReader
- type ListAccountsOK
- type ListAccountsParams
- func (o *ListAccountsParams) SetContext(ctx context.Context)
- func (o *ListAccountsParams) SetHTTPClient(client *http.Client)
- func (o *ListAccountsParams) SetTimeout(timeout time.Duration)
- func (o *ListAccountsParams) WithContext(ctx context.Context) *ListAccountsParams
- func (o *ListAccountsParams) WithHTTPClient(client *http.Client) *ListAccountsParams
- func (o *ListAccountsParams) WithTimeout(timeout time.Duration) *ListAccountsParams
- func (o *ListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAccountsReader
- type ScanAccountOK
- type ScanAccountParams
- func (o *ScanAccountParams) SetAccountID(accountID string)
- func (o *ScanAccountParams) SetContext(ctx context.Context)
- func (o *ScanAccountParams) SetHTTPClient(client *http.Client)
- func (o *ScanAccountParams) SetTimeout(timeout time.Duration)
- func (o *ScanAccountParams) WithAccountID(accountID string) *ScanAccountParams
- func (o *ScanAccountParams) WithContext(ctx context.Context) *ScanAccountParams
- func (o *ScanAccountParams) WithHTTPClient(client *http.Client) *ScanAccountParams
- func (o *ScanAccountParams) WithTimeout(timeout time.Duration) *ScanAccountParams
- func (o *ScanAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ScanAccountReader
- type UpdateAccountOK
- type UpdateAccountParams
- func (o *UpdateAccountParams) SetAccountID(accountID string)
- func (o *UpdateAccountParams) SetContext(ctx context.Context)
- func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAccountParams) WithAccountID(accountID string) *UpdateAccountParams
- func (o *UpdateAccountParams) WithContext(ctx context.Context) *UpdateAccountParams
- func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams
- func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams
- func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAccountReader
- type UpdateAccountSubscriptionOK
- type UpdateAccountSubscriptionParams
- func NewUpdateAccountSubscriptionParams() *UpdateAccountSubscriptionParams
- func NewUpdateAccountSubscriptionParamsWithContext(ctx context.Context) *UpdateAccountSubscriptionParams
- func NewUpdateAccountSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateAccountSubscriptionParams
- func NewUpdateAccountSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateAccountSubscriptionParams
- func (o *UpdateAccountSubscriptionParams) SetContext(ctx context.Context)
- func (o *UpdateAccountSubscriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAccountSubscriptionParams) SetID(id string)
- func (o *UpdateAccountSubscriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAccountSubscriptionParams) WithContext(ctx context.Context) *UpdateAccountSubscriptionParams
- func (o *UpdateAccountSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateAccountSubscriptionParams
- func (o *UpdateAccountSubscriptionParams) WithID(id string) *UpdateAccountSubscriptionParams
- func (o *UpdateAccountSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateAccountSubscriptionParams
- func (o *UpdateAccountSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAccountSubscriptionReader
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 account API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new account API client.
func (*Client) CreateAccount ¶
func (a *Client) CreateAccount(params *CreateAccountParams) (*CreateAccountOK, error)
CreateAccount creates an account
This endpoint is used to register a new AWS account with Cloud Conformity.
func (*Client) DeleteAccount ¶
func (a *Client) DeleteAccount(params *DeleteAccountParams) (*DeleteAccountOK, error)
DeleteAccount deletes account
A DELETE request to this endpoint allows an ADMIN to delete the specified account.
func (*Client) GetAccount ¶
func (a *Client) GetAccount(params *GetAccountParams) (*GetAccountOK, error)
GetAccount gets account details
This endpoint allows you to get the details of the specified account.
func (*Client) GetAccountAccessSettings ¶
func (a *Client) GetAccountAccessSettings(params *GetAccountAccessSettingsParams) (*GetAccountAccessSettingsOK, error)
GetAccountAccessSettings gets account access setting
This endpoint allows ADMIN users to get the current setting Cloud Conformity uses to access the specified account.
func (*Client) ListAccounts ¶
func (a *Client) ListAccounts(params *ListAccountsParams) (*ListAccountsOK, error)
ListAccounts lists all accounts
This endpoint allows you to query all accounts that you have access to.
func (*Client) ScanAccount ¶
func (a *Client) ScanAccount(params *ScanAccountParams) (*ScanAccountOK, error)
ScanAccount scans account
This endpoint allows you to run conformity bot for the specified account.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAccount ¶
func (a *Client) UpdateAccount(params *UpdateAccountParams) (*UpdateAccountOK, error)
UpdateAccount updates account
A PATCH request to this endpoint allows changes to the account name, enviornment, and code.
func (*Client) UpdateAccountSubscription ¶
func (a *Client) UpdateAccountSubscription(params *UpdateAccountSubscriptionParams) (*UpdateAccountSubscriptionOK, error)
UpdateAccountSubscription updates account subscription
A PATCH request to this endpoint allows you to change the add-on package subscription of the specified account.
type CreateAccountBadRequest ¶
CreateAccountBadRequest handles this case with default header values.
Bad Request
func NewCreateAccountBadRequest ¶
func NewCreateAccountBadRequest() *CreateAccountBadRequest
NewCreateAccountBadRequest creates a CreateAccountBadRequest with default headers values
func (*CreateAccountBadRequest) Error ¶
func (o *CreateAccountBadRequest) Error() string
type CreateAccountForbidden ¶
CreateAccountForbidden handles this case with default header values.
Forbidden
func NewCreateAccountForbidden ¶
func NewCreateAccountForbidden() *CreateAccountForbidden
NewCreateAccountForbidden creates a CreateAccountForbidden with default headers values
func (*CreateAccountForbidden) Error ¶
func (o *CreateAccountForbidden) Error() string
type CreateAccountInternalServerError ¶
CreateAccountInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateAccountInternalServerError ¶
func NewCreateAccountInternalServerError() *CreateAccountInternalServerError
NewCreateAccountInternalServerError creates a CreateAccountInternalServerError with default headers values
func (*CreateAccountInternalServerError) Error ¶
func (o *CreateAccountInternalServerError) Error() string
type CreateAccountNotFound ¶
CreateAccountNotFound handles this case with default header values.
Not Found
func NewCreateAccountNotFound ¶
func NewCreateAccountNotFound() *CreateAccountNotFound
NewCreateAccountNotFound creates a CreateAccountNotFound with default headers values
func (*CreateAccountNotFound) Error ¶
func (o *CreateAccountNotFound) Error() string
type CreateAccountOK ¶
type CreateAccountOK struct {
Payload *models.CreateAccountOKBody
}
CreateAccountOK handles this case with default header values.
OK
func NewCreateAccountOK ¶
func NewCreateAccountOK() *CreateAccountOK
NewCreateAccountOK creates a CreateAccountOK with default headers values
func (*CreateAccountOK) Error ¶
func (o *CreateAccountOK) Error() string
type CreateAccountParams ¶
type CreateAccountParams struct { /*Account*/ Account *models.CreateAccountParamsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAccountParams contains all the parameters to send to the API endpoint for the create account operation typically these are written to a http.Request
func NewCreateAccountParams ¶
func NewCreateAccountParams() *CreateAccountParams
NewCreateAccountParams creates a new CreateAccountParams object with the default values initialized.
func NewCreateAccountParamsWithContext ¶
func NewCreateAccountParamsWithContext(ctx context.Context) *CreateAccountParams
NewCreateAccountParamsWithContext creates a new CreateAccountParams object with the default values initialized, and the ability to set a context for a request
func NewCreateAccountParamsWithHTTPClient ¶
func NewCreateAccountParamsWithHTTPClient(client *http.Client) *CreateAccountParams
NewCreateAccountParamsWithHTTPClient creates a new CreateAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateAccountParamsWithTimeout ¶
func NewCreateAccountParamsWithTimeout(timeout time.Duration) *CreateAccountParams
NewCreateAccountParamsWithTimeout creates a new CreateAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateAccountParams) SetAccount ¶
func (o *CreateAccountParams) SetAccount(account *models.CreateAccountParamsBody)
SetAccount adds the account to the create account params
func (*CreateAccountParams) SetContext ¶
func (o *CreateAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the create account params
func (*CreateAccountParams) SetHTTPClient ¶
func (o *CreateAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create account params
func (*CreateAccountParams) SetTimeout ¶
func (o *CreateAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create account params
func (*CreateAccountParams) WithAccount ¶
func (o *CreateAccountParams) WithAccount(account *models.CreateAccountParamsBody) *CreateAccountParams
WithAccount adds the account to the create account params
func (*CreateAccountParams) WithContext ¶
func (o *CreateAccountParams) WithContext(ctx context.Context) *CreateAccountParams
WithContext adds the context to the create account params
func (*CreateAccountParams) WithHTTPClient ¶
func (o *CreateAccountParams) WithHTTPClient(client *http.Client) *CreateAccountParams
WithHTTPClient adds the HTTPClient to the create account params
func (*CreateAccountParams) WithTimeout ¶
func (o *CreateAccountParams) WithTimeout(timeout time.Duration) *CreateAccountParams
WithTimeout adds the timeout to the create account params
func (*CreateAccountParams) WriteToRequest ¶
func (o *CreateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAccountReader ¶
type CreateAccountReader struct {
// contains filtered or unexported fields
}
CreateAccountReader is a Reader for the CreateAccount structure.
func (*CreateAccountReader) ReadResponse ¶
func (o *CreateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAccountUnauthorized ¶
type CreateAccountUnauthorized struct {
}CreateAccountUnauthorized handles this case with default header values.
Unauthorized
func NewCreateAccountUnauthorized ¶
func NewCreateAccountUnauthorized() *CreateAccountUnauthorized
NewCreateAccountUnauthorized creates a CreateAccountUnauthorized with default headers values
func (*CreateAccountUnauthorized) Error ¶
func (o *CreateAccountUnauthorized) Error() string
type CreateAccountUnprocessableEntity ¶
CreateAccountUnprocessableEntity handles this case with default header values.
Unprocessable Entity
func NewCreateAccountUnprocessableEntity ¶
func NewCreateAccountUnprocessableEntity() *CreateAccountUnprocessableEntity
NewCreateAccountUnprocessableEntity creates a CreateAccountUnprocessableEntity with default headers values
func (*CreateAccountUnprocessableEntity) Error ¶
func (o *CreateAccountUnprocessableEntity) Error() string
type DeleteAccountOK ¶
type DeleteAccountOK struct {
Payload *models.DeleteAccountOKBody
}
DeleteAccountOK handles this case with default header values.
OK
func NewDeleteAccountOK ¶
func NewDeleteAccountOK() *DeleteAccountOK
NewDeleteAccountOK creates a DeleteAccountOK with default headers values
func (*DeleteAccountOK) Error ¶
func (o *DeleteAccountOK) Error() string
type DeleteAccountParams ¶
type DeleteAccountParams struct { /*AccountID Account ID */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAccountParams contains all the parameters to send to the API endpoint for the delete account operation typically these are written to a http.Request
func NewDeleteAccountParams ¶
func NewDeleteAccountParams() *DeleteAccountParams
NewDeleteAccountParams creates a new DeleteAccountParams object with the default values initialized.
func NewDeleteAccountParamsWithContext ¶
func NewDeleteAccountParamsWithContext(ctx context.Context) *DeleteAccountParams
NewDeleteAccountParamsWithContext creates a new DeleteAccountParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAccountParamsWithHTTPClient ¶
func NewDeleteAccountParamsWithHTTPClient(client *http.Client) *DeleteAccountParams
NewDeleteAccountParamsWithHTTPClient creates a new DeleteAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAccountParamsWithTimeout ¶
func NewDeleteAccountParamsWithTimeout(timeout time.Duration) *DeleteAccountParams
NewDeleteAccountParamsWithTimeout creates a new DeleteAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAccountParams) SetAccountID ¶
func (o *DeleteAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the delete account params
func (*DeleteAccountParams) SetContext ¶
func (o *DeleteAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the delete account params
func (*DeleteAccountParams) SetHTTPClient ¶
func (o *DeleteAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete account params
func (*DeleteAccountParams) SetTimeout ¶
func (o *DeleteAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete account params
func (*DeleteAccountParams) WithAccountID ¶
func (o *DeleteAccountParams) WithAccountID(accountID string) *DeleteAccountParams
WithAccountID adds the accountID to the delete account params
func (*DeleteAccountParams) WithContext ¶
func (o *DeleteAccountParams) WithContext(ctx context.Context) *DeleteAccountParams
WithContext adds the context to the delete account params
func (*DeleteAccountParams) WithHTTPClient ¶
func (o *DeleteAccountParams) WithHTTPClient(client *http.Client) *DeleteAccountParams
WithHTTPClient adds the HTTPClient to the delete account params
func (*DeleteAccountParams) WithTimeout ¶
func (o *DeleteAccountParams) WithTimeout(timeout time.Duration) *DeleteAccountParams
WithTimeout adds the timeout to the delete account params
func (*DeleteAccountParams) WriteToRequest ¶
func (o *DeleteAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAccountReader ¶
type DeleteAccountReader struct {
// contains filtered or unexported fields
}
DeleteAccountReader is a Reader for the DeleteAccount structure.
func (*DeleteAccountReader) ReadResponse ¶
func (o *DeleteAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountAccessSettingsOK ¶
type GetAccountAccessSettingsOK struct { }
GetAccountAccessSettingsOK handles this case with default header values.
OK
func NewGetAccountAccessSettingsOK ¶
func NewGetAccountAccessSettingsOK() *GetAccountAccessSettingsOK
NewGetAccountAccessSettingsOK creates a GetAccountAccessSettingsOK with default headers values
func (*GetAccountAccessSettingsOK) Error ¶
func (o *GetAccountAccessSettingsOK) Error() string
type GetAccountAccessSettingsParams ¶
type GetAccountAccessSettingsParams struct { /*AccountID Account ID */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountAccessSettingsParams contains all the parameters to send to the API endpoint for the get account access settings operation typically these are written to a http.Request
func NewGetAccountAccessSettingsParams ¶
func NewGetAccountAccessSettingsParams() *GetAccountAccessSettingsParams
NewGetAccountAccessSettingsParams creates a new GetAccountAccessSettingsParams object with the default values initialized.
func NewGetAccountAccessSettingsParamsWithContext ¶
func NewGetAccountAccessSettingsParamsWithContext(ctx context.Context) *GetAccountAccessSettingsParams
NewGetAccountAccessSettingsParamsWithContext creates a new GetAccountAccessSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountAccessSettingsParamsWithHTTPClient ¶
func NewGetAccountAccessSettingsParamsWithHTTPClient(client *http.Client) *GetAccountAccessSettingsParams
NewGetAccountAccessSettingsParamsWithHTTPClient creates a new GetAccountAccessSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountAccessSettingsParamsWithTimeout ¶
func NewGetAccountAccessSettingsParamsWithTimeout(timeout time.Duration) *GetAccountAccessSettingsParams
NewGetAccountAccessSettingsParamsWithTimeout creates a new GetAccountAccessSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountAccessSettingsParams) SetAccountID ¶
func (o *GetAccountAccessSettingsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get account access settings params
func (*GetAccountAccessSettingsParams) SetContext ¶
func (o *GetAccountAccessSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get account access settings params
func (*GetAccountAccessSettingsParams) SetHTTPClient ¶
func (o *GetAccountAccessSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account access settings params
func (*GetAccountAccessSettingsParams) SetTimeout ¶
func (o *GetAccountAccessSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account access settings params
func (*GetAccountAccessSettingsParams) WithAccountID ¶
func (o *GetAccountAccessSettingsParams) WithAccountID(accountID string) *GetAccountAccessSettingsParams
WithAccountID adds the accountID to the get account access settings params
func (*GetAccountAccessSettingsParams) WithContext ¶
func (o *GetAccountAccessSettingsParams) WithContext(ctx context.Context) *GetAccountAccessSettingsParams
WithContext adds the context to the get account access settings params
func (*GetAccountAccessSettingsParams) WithHTTPClient ¶
func (o *GetAccountAccessSettingsParams) WithHTTPClient(client *http.Client) *GetAccountAccessSettingsParams
WithHTTPClient adds the HTTPClient to the get account access settings params
func (*GetAccountAccessSettingsParams) WithTimeout ¶
func (o *GetAccountAccessSettingsParams) WithTimeout(timeout time.Duration) *GetAccountAccessSettingsParams
WithTimeout adds the timeout to the get account access settings params
func (*GetAccountAccessSettingsParams) WriteToRequest ¶
func (o *GetAccountAccessSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountAccessSettingsReader ¶
type GetAccountAccessSettingsReader struct {
// contains filtered or unexported fields
}
GetAccountAccessSettingsReader is a Reader for the GetAccountAccessSettings structure.
func (*GetAccountAccessSettingsReader) ReadResponse ¶
func (o *GetAccountAccessSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountOK ¶
type GetAccountOK struct {
Payload *models.GetAccountOKBody
}
GetAccountOK handles this case with default header values.
OK
func NewGetAccountOK ¶
func NewGetAccountOK() *GetAccountOK
NewGetAccountOK creates a GetAccountOK with default headers values
func (*GetAccountOK) Error ¶
func (o *GetAccountOK) Error() string
type GetAccountParams ¶
type GetAccountParams struct { /*AccountID Account ID */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountParams contains all the parameters to send to the API endpoint for the get account operation typically these are written to a http.Request
func NewGetAccountParams ¶
func NewGetAccountParams() *GetAccountParams
NewGetAccountParams creates a new GetAccountParams object with the default values initialized.
func NewGetAccountParamsWithContext ¶
func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams
NewGetAccountParamsWithContext creates a new GetAccountParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountParamsWithHTTPClient ¶
func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams
NewGetAccountParamsWithHTTPClient creates a new GetAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountParamsWithTimeout ¶
func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams
NewGetAccountParamsWithTimeout creates a new GetAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountParams) SetAccountID ¶
func (o *GetAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get account params
func (*GetAccountParams) SetContext ¶
func (o *GetAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get account params
func (*GetAccountParams) SetHTTPClient ¶
func (o *GetAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) SetTimeout ¶
func (o *GetAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account params
func (*GetAccountParams) WithAccountID ¶
func (o *GetAccountParams) WithAccountID(accountID string) *GetAccountParams
WithAccountID adds the accountID to the get account params
func (*GetAccountParams) WithContext ¶
func (o *GetAccountParams) WithContext(ctx context.Context) *GetAccountParams
WithContext adds the context to the get account params
func (*GetAccountParams) WithHTTPClient ¶
func (o *GetAccountParams) WithHTTPClient(client *http.Client) *GetAccountParams
WithHTTPClient adds the HTTPClient to the get account params
func (*GetAccountParams) WithTimeout ¶
func (o *GetAccountParams) WithTimeout(timeout time.Duration) *GetAccountParams
WithTimeout adds the timeout to the get account params
func (*GetAccountParams) WriteToRequest ¶
func (o *GetAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountReader ¶
type GetAccountReader struct {
// contains filtered or unexported fields
}
GetAccountReader is a Reader for the GetAccount structure.
func (*GetAccountReader) ReadResponse ¶
func (o *GetAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAccountsOK ¶
type ListAccountsOK struct {
Payload *models.ListAccountsOKBody
}
ListAccountsOK handles this case with default header values.
OK
func NewListAccountsOK ¶
func NewListAccountsOK() *ListAccountsOK
NewListAccountsOK creates a ListAccountsOK with default headers values
func (*ListAccountsOK) Error ¶
func (o *ListAccountsOK) Error() string
type ListAccountsParams ¶
type ListAccountsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAccountsParams contains all the parameters to send to the API endpoint for the list accounts operation typically these are written to a http.Request
func NewListAccountsParams ¶
func NewListAccountsParams() *ListAccountsParams
NewListAccountsParams creates a new ListAccountsParams object with the default values initialized.
func NewListAccountsParamsWithContext ¶
func NewListAccountsParamsWithContext(ctx context.Context) *ListAccountsParams
NewListAccountsParamsWithContext creates a new ListAccountsParams object with the default values initialized, and the ability to set a context for a request
func NewListAccountsParamsWithHTTPClient ¶
func NewListAccountsParamsWithHTTPClient(client *http.Client) *ListAccountsParams
NewListAccountsParamsWithHTTPClient creates a new ListAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAccountsParamsWithTimeout ¶
func NewListAccountsParamsWithTimeout(timeout time.Duration) *ListAccountsParams
NewListAccountsParamsWithTimeout creates a new ListAccountsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAccountsParams) SetContext ¶
func (o *ListAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the list accounts params
func (*ListAccountsParams) SetHTTPClient ¶
func (o *ListAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list accounts params
func (*ListAccountsParams) SetTimeout ¶
func (o *ListAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list accounts params
func (*ListAccountsParams) WithContext ¶
func (o *ListAccountsParams) WithContext(ctx context.Context) *ListAccountsParams
WithContext adds the context to the list accounts params
func (*ListAccountsParams) WithHTTPClient ¶
func (o *ListAccountsParams) WithHTTPClient(client *http.Client) *ListAccountsParams
WithHTTPClient adds the HTTPClient to the list accounts params
func (*ListAccountsParams) WithTimeout ¶
func (o *ListAccountsParams) WithTimeout(timeout time.Duration) *ListAccountsParams
WithTimeout adds the timeout to the list accounts params
func (*ListAccountsParams) WriteToRequest ¶
func (o *ListAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAccountsReader ¶
type ListAccountsReader struct {
// contains filtered or unexported fields
}
ListAccountsReader is a Reader for the ListAccounts structure.
func (*ListAccountsReader) ReadResponse ¶
func (o *ListAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ScanAccountOK ¶
type ScanAccountOK struct { }
ScanAccountOK handles this case with default header values.
OK
func NewScanAccountOK ¶
func NewScanAccountOK() *ScanAccountOK
NewScanAccountOK creates a ScanAccountOK with default headers values
func (*ScanAccountOK) Error ¶
func (o *ScanAccountOK) Error() string
type ScanAccountParams ¶
type ScanAccountParams struct { /*AccountID Account ID */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ScanAccountParams contains all the parameters to send to the API endpoint for the scan account operation typically these are written to a http.Request
func NewScanAccountParams ¶
func NewScanAccountParams() *ScanAccountParams
NewScanAccountParams creates a new ScanAccountParams object with the default values initialized.
func NewScanAccountParamsWithContext ¶
func NewScanAccountParamsWithContext(ctx context.Context) *ScanAccountParams
NewScanAccountParamsWithContext creates a new ScanAccountParams object with the default values initialized, and the ability to set a context for a request
func NewScanAccountParamsWithHTTPClient ¶
func NewScanAccountParamsWithHTTPClient(client *http.Client) *ScanAccountParams
NewScanAccountParamsWithHTTPClient creates a new ScanAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewScanAccountParamsWithTimeout ¶
func NewScanAccountParamsWithTimeout(timeout time.Duration) *ScanAccountParams
NewScanAccountParamsWithTimeout creates a new ScanAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*ScanAccountParams) SetAccountID ¶
func (o *ScanAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the scan account params
func (*ScanAccountParams) SetContext ¶
func (o *ScanAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the scan account params
func (*ScanAccountParams) SetHTTPClient ¶
func (o *ScanAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the scan account params
func (*ScanAccountParams) SetTimeout ¶
func (o *ScanAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the scan account params
func (*ScanAccountParams) WithAccountID ¶
func (o *ScanAccountParams) WithAccountID(accountID string) *ScanAccountParams
WithAccountID adds the accountID to the scan account params
func (*ScanAccountParams) WithContext ¶
func (o *ScanAccountParams) WithContext(ctx context.Context) *ScanAccountParams
WithContext adds the context to the scan account params
func (*ScanAccountParams) WithHTTPClient ¶
func (o *ScanAccountParams) WithHTTPClient(client *http.Client) *ScanAccountParams
WithHTTPClient adds the HTTPClient to the scan account params
func (*ScanAccountParams) WithTimeout ¶
func (o *ScanAccountParams) WithTimeout(timeout time.Duration) *ScanAccountParams
WithTimeout adds the timeout to the scan account params
func (*ScanAccountParams) WriteToRequest ¶
func (o *ScanAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ScanAccountReader ¶
type ScanAccountReader struct {
// contains filtered or unexported fields
}
ScanAccountReader is a Reader for the ScanAccount structure.
func (*ScanAccountReader) ReadResponse ¶
func (o *ScanAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAccountOK ¶
type UpdateAccountOK struct { }
UpdateAccountOK handles this case with default header values.
OK
func NewUpdateAccountOK ¶
func NewUpdateAccountOK() *UpdateAccountOK
NewUpdateAccountOK creates a UpdateAccountOK with default headers values
func (*UpdateAccountOK) Error ¶
func (o *UpdateAccountOK) Error() string
type UpdateAccountParams ¶
type UpdateAccountParams struct { /*AccountID Account ID */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAccountParams contains all the parameters to send to the API endpoint for the update account operation typically these are written to a http.Request
func NewUpdateAccountParams ¶
func NewUpdateAccountParams() *UpdateAccountParams
NewUpdateAccountParams creates a new UpdateAccountParams object with the default values initialized.
func NewUpdateAccountParamsWithContext ¶
func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams
NewUpdateAccountParamsWithContext creates a new UpdateAccountParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateAccountParamsWithHTTPClient ¶
func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams
NewUpdateAccountParamsWithHTTPClient creates a new UpdateAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateAccountParamsWithTimeout ¶
func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams
NewUpdateAccountParamsWithTimeout creates a new UpdateAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAccountParams) SetAccountID ¶
func (o *UpdateAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the update account params
func (*UpdateAccountParams) SetContext ¶
func (o *UpdateAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update account params
func (*UpdateAccountParams) SetHTTPClient ¶
func (o *UpdateAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update account params
func (*UpdateAccountParams) SetTimeout ¶
func (o *UpdateAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update account params
func (*UpdateAccountParams) WithAccountID ¶
func (o *UpdateAccountParams) WithAccountID(accountID string) *UpdateAccountParams
WithAccountID adds the accountID to the update account params
func (*UpdateAccountParams) WithContext ¶
func (o *UpdateAccountParams) WithContext(ctx context.Context) *UpdateAccountParams
WithContext adds the context to the update account params
func (*UpdateAccountParams) WithHTTPClient ¶
func (o *UpdateAccountParams) WithHTTPClient(client *http.Client) *UpdateAccountParams
WithHTTPClient adds the HTTPClient to the update account params
func (*UpdateAccountParams) WithTimeout ¶
func (o *UpdateAccountParams) WithTimeout(timeout time.Duration) *UpdateAccountParams
WithTimeout adds the timeout to the update account params
func (*UpdateAccountParams) WriteToRequest ¶
func (o *UpdateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAccountReader ¶
type UpdateAccountReader struct {
// contains filtered or unexported fields
}
UpdateAccountReader is a Reader for the UpdateAccount structure.
func (*UpdateAccountReader) ReadResponse ¶
func (o *UpdateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAccountSubscriptionOK ¶
type UpdateAccountSubscriptionOK struct { }
UpdateAccountSubscriptionOK handles this case with default header values.
OK
func NewUpdateAccountSubscriptionOK ¶
func NewUpdateAccountSubscriptionOK() *UpdateAccountSubscriptionOK
NewUpdateAccountSubscriptionOK creates a UpdateAccountSubscriptionOK with default headers values
func (*UpdateAccountSubscriptionOK) Error ¶
func (o *UpdateAccountSubscriptionOK) Error() string
type UpdateAccountSubscriptionParams ¶
type UpdateAccountSubscriptionParams struct { /*ID Account ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAccountSubscriptionParams contains all the parameters to send to the API endpoint for the update account subscription operation typically these are written to a http.Request
func NewUpdateAccountSubscriptionParams ¶
func NewUpdateAccountSubscriptionParams() *UpdateAccountSubscriptionParams
NewUpdateAccountSubscriptionParams creates a new UpdateAccountSubscriptionParams object with the default values initialized.
func NewUpdateAccountSubscriptionParamsWithContext ¶
func NewUpdateAccountSubscriptionParamsWithContext(ctx context.Context) *UpdateAccountSubscriptionParams
NewUpdateAccountSubscriptionParamsWithContext creates a new UpdateAccountSubscriptionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateAccountSubscriptionParamsWithHTTPClient ¶
func NewUpdateAccountSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateAccountSubscriptionParams
NewUpdateAccountSubscriptionParamsWithHTTPClient creates a new UpdateAccountSubscriptionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateAccountSubscriptionParamsWithTimeout ¶
func NewUpdateAccountSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateAccountSubscriptionParams
NewUpdateAccountSubscriptionParamsWithTimeout creates a new UpdateAccountSubscriptionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAccountSubscriptionParams) SetContext ¶
func (o *UpdateAccountSubscriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the update account subscription params
func (*UpdateAccountSubscriptionParams) SetHTTPClient ¶
func (o *UpdateAccountSubscriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update account subscription params
func (*UpdateAccountSubscriptionParams) SetID ¶
func (o *UpdateAccountSubscriptionParams) SetID(id string)
SetID adds the id to the update account subscription params
func (*UpdateAccountSubscriptionParams) SetTimeout ¶
func (o *UpdateAccountSubscriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update account subscription params
func (*UpdateAccountSubscriptionParams) WithContext ¶
func (o *UpdateAccountSubscriptionParams) WithContext(ctx context.Context) *UpdateAccountSubscriptionParams
WithContext adds the context to the update account subscription params
func (*UpdateAccountSubscriptionParams) WithHTTPClient ¶
func (o *UpdateAccountSubscriptionParams) WithHTTPClient(client *http.Client) *UpdateAccountSubscriptionParams
WithHTTPClient adds the HTTPClient to the update account subscription params
func (*UpdateAccountSubscriptionParams) WithID ¶
func (o *UpdateAccountSubscriptionParams) WithID(id string) *UpdateAccountSubscriptionParams
WithID adds the id to the update account subscription params
func (*UpdateAccountSubscriptionParams) WithTimeout ¶
func (o *UpdateAccountSubscriptionParams) WithTimeout(timeout time.Duration) *UpdateAccountSubscriptionParams
WithTimeout adds the timeout to the update account subscription params
func (*UpdateAccountSubscriptionParams) WriteToRequest ¶
func (o *UpdateAccountSubscriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAccountSubscriptionReader ¶
type UpdateAccountSubscriptionReader struct {
// contains filtered or unexported fields
}
UpdateAccountSubscriptionReader is a Reader for the UpdateAccountSubscription structure.
func (*UpdateAccountSubscriptionReader) ReadResponse ¶
func (o *UpdateAccountSubscriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- account_client.go
- create_account_parameters.go
- create_account_responses.go
- delete_account_parameters.go
- delete_account_responses.go
- get_account_access_settings_parameters.go
- get_account_access_settings_responses.go
- get_account_parameters.go
- get_account_responses.go
- list_accounts_parameters.go
- list_accounts_responses.go
- scan_account_parameters.go
- scan_account_responses.go
- update_account_parameters.go
- update_account_responses.go
- update_account_subscription_parameters.go
- update_account_subscription_responses.go