Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAwsAccountByID(params *GetAwsAccountByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAwsAccountByIDOK, error)
- func (a *Client) GetAwsAccounts(params *GetAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAwsAccountsOK, error)
- func (a *Client) PutAwsAccount(params *PutAwsAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutAwsAccountOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAwsAccountByIDOK
- type GetAwsAccountByIDParams
- func NewGetAwsAccountByIDParams() *GetAwsAccountByIDParams
- func NewGetAwsAccountByIDParamsWithContext(ctx context.Context) *GetAwsAccountByIDParams
- func NewGetAwsAccountByIDParamsWithHTTPClient(client *http.Client) *GetAwsAccountByIDParams
- func NewGetAwsAccountByIDParamsWithTimeout(timeout time.Duration) *GetAwsAccountByIDParams
- func (o *GetAwsAccountByIDParams) SetContext(ctx context.Context)
- func (o *GetAwsAccountByIDParams) SetDefaults()
- func (o *GetAwsAccountByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAwsAccountByIDParams) SetID(id int32)
- func (o *GetAwsAccountByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAwsAccountByIDParams) WithContext(ctx context.Context) *GetAwsAccountByIDParams
- func (o *GetAwsAccountByIDParams) WithDefaults() *GetAwsAccountByIDParams
- func (o *GetAwsAccountByIDParams) WithHTTPClient(client *http.Client) *GetAwsAccountByIDParams
- func (o *GetAwsAccountByIDParams) WithID(id int32) *GetAwsAccountByIDParams
- func (o *GetAwsAccountByIDParams) WithTimeout(timeout time.Duration) *GetAwsAccountByIDParams
- func (o *GetAwsAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAwsAccountByIDReader
- type GetAwsAccountsOK
- type GetAwsAccountsParams
- func NewGetAwsAccountsParams() *GetAwsAccountsParams
- func NewGetAwsAccountsParamsWithContext(ctx context.Context) *GetAwsAccountsParams
- func NewGetAwsAccountsParamsWithHTTPClient(client *http.Client) *GetAwsAccountsParams
- func NewGetAwsAccountsParamsWithTimeout(timeout time.Duration) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) SetConsumerID(consumerID *int32)
- func (o *GetAwsAccountsParams) SetContext(ctx context.Context)
- func (o *GetAwsAccountsParams) SetCustomerTenantType(customerTenantType *string)
- func (o *GetAwsAccountsParams) SetDefaults()
- func (o *GetAwsAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetAwsAccountsParams) SetOrganizationID(organizationID *int32)
- func (o *GetAwsAccountsParams) SetPage(page *int32)
- func (o *GetAwsAccountsParams) SetPageSize(pageSize *int32)
- func (o *GetAwsAccountsParams) SetPublisherID(publisherID *int32)
- func (o *GetAwsAccountsParams) SetSearch(search *string)
- func (o *GetAwsAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetAwsAccountsParams) WithConsumerID(consumerID *int32) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithContext(ctx context.Context) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithCustomerTenantType(customerTenantType *string) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithDefaults() *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithHTTPClient(client *http.Client) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithOrganizationID(organizationID *int32) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithPage(page *int32) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithPageSize(pageSize *int32) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithPublisherID(publisherID *int32) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithSearch(search *string) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WithTimeout(timeout time.Duration) *GetAwsAccountsParams
- func (o *GetAwsAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAwsAccountsReader
- type PutAwsAccountOK
- type PutAwsAccountParams
- func (o *PutAwsAccountParams) SetAwsAccount(awsAccount *models.AwsAccount)
- func (o *PutAwsAccountParams) SetContext(ctx context.Context)
- func (o *PutAwsAccountParams) SetDefaults()
- func (o *PutAwsAccountParams) SetHTTPClient(client *http.Client)
- func (o *PutAwsAccountParams) SetID(id int32)
- func (o *PutAwsAccountParams) SetTimeout(timeout time.Duration)
- func (o *PutAwsAccountParams) WithAwsAccount(awsAccount *models.AwsAccount) *PutAwsAccountParams
- func (o *PutAwsAccountParams) WithContext(ctx context.Context) *PutAwsAccountParams
- func (o *PutAwsAccountParams) WithDefaults() *PutAwsAccountParams
- func (o *PutAwsAccountParams) WithHTTPClient(client *http.Client) *PutAwsAccountParams
- func (o *PutAwsAccountParams) WithID(id int32) *PutAwsAccountParams
- func (o *PutAwsAccountParams) WithTimeout(timeout time.Duration) *PutAwsAccountParams
- func (o *PutAwsAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutAwsAccountReader
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 aws accounts API
func (*Client) GetAwsAccountByID ¶
func (a *Client) GetAwsAccountByID(params *GetAwsAccountByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAwsAccountByIDOK, error)
GetAwsAccountByID get aws account by Id API
func (*Client) GetAwsAccounts ¶
func (a *Client) GetAwsAccounts(params *GetAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAwsAccountsOK, error)
GetAwsAccounts get aws accounts API
func (*Client) PutAwsAccount ¶
func (a *Client) PutAwsAccount(params *PutAwsAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAwsAccountOK, error)
PutAwsAccount put aws account API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAwsAccountByID(params *GetAwsAccountByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAwsAccountByIDOK, error) GetAwsAccounts(params *GetAwsAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAwsAccountsOK, error) PutAwsAccount(params *PutAwsAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutAwsAccountOK, 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 aws accounts API client.
type GetAwsAccountByIDOK ¶
type GetAwsAccountByIDOK struct {
Payload *models.AwsAccount
}
GetAwsAccountByIDOK describes a response with status code 200, with default header values.
Success
func NewGetAwsAccountByIDOK ¶
func NewGetAwsAccountByIDOK() *GetAwsAccountByIDOK
NewGetAwsAccountByIDOK creates a GetAwsAccountByIDOK with default headers values
func (*GetAwsAccountByIDOK) Error ¶
func (o *GetAwsAccountByIDOK) Error() string
func (*GetAwsAccountByIDOK) GetPayload ¶
func (o *GetAwsAccountByIDOK) GetPayload() *models.AwsAccount
type GetAwsAccountByIDParams ¶
type GetAwsAccountByIDParams struct { // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAwsAccountByIDParams contains all the parameters to send to the API endpoint
for the get aws account by Id operation. Typically these are written to a http.Request.
func NewGetAwsAccountByIDParams ¶
func NewGetAwsAccountByIDParams() *GetAwsAccountByIDParams
NewGetAwsAccountByIDParams creates a new GetAwsAccountByIDParams 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 NewGetAwsAccountByIDParamsWithContext ¶
func NewGetAwsAccountByIDParamsWithContext(ctx context.Context) *GetAwsAccountByIDParams
NewGetAwsAccountByIDParamsWithContext creates a new GetAwsAccountByIDParams object with the ability to set a context for a request.
func NewGetAwsAccountByIDParamsWithHTTPClient ¶
func NewGetAwsAccountByIDParamsWithHTTPClient(client *http.Client) *GetAwsAccountByIDParams
NewGetAwsAccountByIDParamsWithHTTPClient creates a new GetAwsAccountByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAwsAccountByIDParamsWithTimeout ¶
func NewGetAwsAccountByIDParamsWithTimeout(timeout time.Duration) *GetAwsAccountByIDParams
NewGetAwsAccountByIDParamsWithTimeout creates a new GetAwsAccountByIDParams object with the ability to set a timeout on a request.
func (*GetAwsAccountByIDParams) SetContext ¶
func (o *GetAwsAccountByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get aws account by Id params
func (*GetAwsAccountByIDParams) SetDefaults ¶
func (o *GetAwsAccountByIDParams) SetDefaults()
SetDefaults hydrates default values in the get aws account by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAwsAccountByIDParams) SetHTTPClient ¶
func (o *GetAwsAccountByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get aws account by Id params
func (*GetAwsAccountByIDParams) SetID ¶
func (o *GetAwsAccountByIDParams) SetID(id int32)
SetID adds the id to the get aws account by Id params
func (*GetAwsAccountByIDParams) SetTimeout ¶
func (o *GetAwsAccountByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get aws account by Id params
func (*GetAwsAccountByIDParams) WithContext ¶
func (o *GetAwsAccountByIDParams) WithContext(ctx context.Context) *GetAwsAccountByIDParams
WithContext adds the context to the get aws account by Id params
func (*GetAwsAccountByIDParams) WithDefaults ¶
func (o *GetAwsAccountByIDParams) WithDefaults() *GetAwsAccountByIDParams
WithDefaults hydrates default values in the get aws account by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAwsAccountByIDParams) WithHTTPClient ¶
func (o *GetAwsAccountByIDParams) WithHTTPClient(client *http.Client) *GetAwsAccountByIDParams
WithHTTPClient adds the HTTPClient to the get aws account by Id params
func (*GetAwsAccountByIDParams) WithID ¶
func (o *GetAwsAccountByIDParams) WithID(id int32) *GetAwsAccountByIDParams
WithID adds the id to the get aws account by Id params
func (*GetAwsAccountByIDParams) WithTimeout ¶
func (o *GetAwsAccountByIDParams) WithTimeout(timeout time.Duration) *GetAwsAccountByIDParams
WithTimeout adds the timeout to the get aws account by Id params
func (*GetAwsAccountByIDParams) WriteToRequest ¶
func (o *GetAwsAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAwsAccountByIDReader ¶
type GetAwsAccountByIDReader struct {
// contains filtered or unexported fields
}
GetAwsAccountByIDReader is a Reader for the GetAwsAccountByID structure.
func (*GetAwsAccountByIDReader) ReadResponse ¶
func (o *GetAwsAccountByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAwsAccountsOK ¶
type GetAwsAccountsOK struct {
Payload *models.APICollectionOfAwsAccount
}
GetAwsAccountsOK describes a response with status code 200, with default header values.
Success
func NewGetAwsAccountsOK ¶
func NewGetAwsAccountsOK() *GetAwsAccountsOK
NewGetAwsAccountsOK creates a GetAwsAccountsOK with default headers values
func (*GetAwsAccountsOK) Error ¶
func (o *GetAwsAccountsOK) Error() string
func (*GetAwsAccountsOK) GetPayload ¶
func (o *GetAwsAccountsOK) GetPayload() *models.APICollectionOfAwsAccount
type GetAwsAccountsParams ¶
type GetAwsAccountsParams struct { // ConsumerID. // // Format: int32 ConsumerID *int32 // CustomerTenantType. CustomerTenantType *string // OrganizationID. // // Format: int32 OrganizationID *int32 // Page. // // Format: int32 Page *int32 // PageSize. // // Format: int32 PageSize *int32 // PublisherID. // // Format: int32 PublisherID *int32 // Search. Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAwsAccountsParams contains all the parameters to send to the API endpoint
for the get aws accounts operation. Typically these are written to a http.Request.
func NewGetAwsAccountsParams ¶
func NewGetAwsAccountsParams() *GetAwsAccountsParams
NewGetAwsAccountsParams creates a new GetAwsAccountsParams 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 NewGetAwsAccountsParamsWithContext ¶
func NewGetAwsAccountsParamsWithContext(ctx context.Context) *GetAwsAccountsParams
NewGetAwsAccountsParamsWithContext creates a new GetAwsAccountsParams object with the ability to set a context for a request.
func NewGetAwsAccountsParamsWithHTTPClient ¶
func NewGetAwsAccountsParamsWithHTTPClient(client *http.Client) *GetAwsAccountsParams
NewGetAwsAccountsParamsWithHTTPClient creates a new GetAwsAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAwsAccountsParamsWithTimeout ¶
func NewGetAwsAccountsParamsWithTimeout(timeout time.Duration) *GetAwsAccountsParams
NewGetAwsAccountsParamsWithTimeout creates a new GetAwsAccountsParams object with the ability to set a timeout on a request.
func (*GetAwsAccountsParams) SetConsumerID ¶
func (o *GetAwsAccountsParams) SetConsumerID(consumerID *int32)
SetConsumerID adds the consumerId to the get aws accounts params
func (*GetAwsAccountsParams) SetContext ¶
func (o *GetAwsAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get aws accounts params
func (*GetAwsAccountsParams) SetCustomerTenantType ¶
func (o *GetAwsAccountsParams) SetCustomerTenantType(customerTenantType *string)
SetCustomerTenantType adds the customerTenantType to the get aws accounts params
func (*GetAwsAccountsParams) SetDefaults ¶
func (o *GetAwsAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get aws accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetAwsAccountsParams) SetHTTPClient ¶
func (o *GetAwsAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get aws accounts params
func (*GetAwsAccountsParams) SetOrganizationID ¶
func (o *GetAwsAccountsParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the get aws accounts params
func (*GetAwsAccountsParams) SetPage ¶
func (o *GetAwsAccountsParams) SetPage(page *int32)
SetPage adds the page to the get aws accounts params
func (*GetAwsAccountsParams) SetPageSize ¶
func (o *GetAwsAccountsParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get aws accounts params
func (*GetAwsAccountsParams) SetPublisherID ¶
func (o *GetAwsAccountsParams) SetPublisherID(publisherID *int32)
SetPublisherID adds the publisherId to the get aws accounts params
func (*GetAwsAccountsParams) SetSearch ¶
func (o *GetAwsAccountsParams) SetSearch(search *string)
SetSearch adds the search to the get aws accounts params
func (*GetAwsAccountsParams) SetTimeout ¶
func (o *GetAwsAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get aws accounts params
func (*GetAwsAccountsParams) WithConsumerID ¶
func (o *GetAwsAccountsParams) WithConsumerID(consumerID *int32) *GetAwsAccountsParams
WithConsumerID adds the consumerID to the get aws accounts params
func (*GetAwsAccountsParams) WithContext ¶
func (o *GetAwsAccountsParams) WithContext(ctx context.Context) *GetAwsAccountsParams
WithContext adds the context to the get aws accounts params
func (*GetAwsAccountsParams) WithCustomerTenantType ¶
func (o *GetAwsAccountsParams) WithCustomerTenantType(customerTenantType *string) *GetAwsAccountsParams
WithCustomerTenantType adds the customerTenantType to the get aws accounts params
func (*GetAwsAccountsParams) WithDefaults ¶
func (o *GetAwsAccountsParams) WithDefaults() *GetAwsAccountsParams
WithDefaults hydrates default values in the get aws accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetAwsAccountsParams) WithHTTPClient ¶
func (o *GetAwsAccountsParams) WithHTTPClient(client *http.Client) *GetAwsAccountsParams
WithHTTPClient adds the HTTPClient to the get aws accounts params
func (*GetAwsAccountsParams) WithOrganizationID ¶
func (o *GetAwsAccountsParams) WithOrganizationID(organizationID *int32) *GetAwsAccountsParams
WithOrganizationID adds the organizationID to the get aws accounts params
func (*GetAwsAccountsParams) WithPage ¶
func (o *GetAwsAccountsParams) WithPage(page *int32) *GetAwsAccountsParams
WithPage adds the page to the get aws accounts params
func (*GetAwsAccountsParams) WithPageSize ¶
func (o *GetAwsAccountsParams) WithPageSize(pageSize *int32) *GetAwsAccountsParams
WithPageSize adds the pageSize to the get aws accounts params
func (*GetAwsAccountsParams) WithPublisherID ¶
func (o *GetAwsAccountsParams) WithPublisherID(publisherID *int32) *GetAwsAccountsParams
WithPublisherID adds the publisherID to the get aws accounts params
func (*GetAwsAccountsParams) WithSearch ¶
func (o *GetAwsAccountsParams) WithSearch(search *string) *GetAwsAccountsParams
WithSearch adds the search to the get aws accounts params
func (*GetAwsAccountsParams) WithTimeout ¶
func (o *GetAwsAccountsParams) WithTimeout(timeout time.Duration) *GetAwsAccountsParams
WithTimeout adds the timeout to the get aws accounts params
func (*GetAwsAccountsParams) WriteToRequest ¶
func (o *GetAwsAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAwsAccountsReader ¶
type GetAwsAccountsReader struct {
// contains filtered or unexported fields
}
GetAwsAccountsReader is a Reader for the GetAwsAccounts structure.
func (*GetAwsAccountsReader) ReadResponse ¶
func (o *GetAwsAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutAwsAccountOK ¶
type PutAwsAccountOK struct {
Payload *models.AwsAccount
}
PutAwsAccountOK describes a response with status code 200, with default header values.
Success
func NewPutAwsAccountOK ¶
func NewPutAwsAccountOK() *PutAwsAccountOK
NewPutAwsAccountOK creates a PutAwsAccountOK with default headers values
func (*PutAwsAccountOK) Error ¶
func (o *PutAwsAccountOK) Error() string
func (*PutAwsAccountOK) GetPayload ¶
func (o *PutAwsAccountOK) GetPayload() *models.AwsAccount
type PutAwsAccountParams ¶
type PutAwsAccountParams struct { // AwsAccount. AwsAccount *models.AwsAccount // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutAwsAccountParams contains all the parameters to send to the API endpoint
for the put aws account operation. Typically these are written to a http.Request.
func NewPutAwsAccountParams ¶
func NewPutAwsAccountParams() *PutAwsAccountParams
NewPutAwsAccountParams creates a new PutAwsAccountParams 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 NewPutAwsAccountParamsWithContext ¶
func NewPutAwsAccountParamsWithContext(ctx context.Context) *PutAwsAccountParams
NewPutAwsAccountParamsWithContext creates a new PutAwsAccountParams object with the ability to set a context for a request.
func NewPutAwsAccountParamsWithHTTPClient ¶
func NewPutAwsAccountParamsWithHTTPClient(client *http.Client) *PutAwsAccountParams
NewPutAwsAccountParamsWithHTTPClient creates a new PutAwsAccountParams object with the ability to set a custom HTTPClient for a request.
func NewPutAwsAccountParamsWithTimeout ¶
func NewPutAwsAccountParamsWithTimeout(timeout time.Duration) *PutAwsAccountParams
NewPutAwsAccountParamsWithTimeout creates a new PutAwsAccountParams object with the ability to set a timeout on a request.
func (*PutAwsAccountParams) SetAwsAccount ¶
func (o *PutAwsAccountParams) SetAwsAccount(awsAccount *models.AwsAccount)
SetAwsAccount adds the awsAccount to the put aws account params
func (*PutAwsAccountParams) SetContext ¶
func (o *PutAwsAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the put aws account params
func (*PutAwsAccountParams) SetDefaults ¶
func (o *PutAwsAccountParams) SetDefaults()
SetDefaults hydrates default values in the put aws account params (not the query body).
All values with no default are reset to their zero value.
func (*PutAwsAccountParams) SetHTTPClient ¶
func (o *PutAwsAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put aws account params
func (*PutAwsAccountParams) SetID ¶
func (o *PutAwsAccountParams) SetID(id int32)
SetID adds the id to the put aws account params
func (*PutAwsAccountParams) SetTimeout ¶
func (o *PutAwsAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put aws account params
func (*PutAwsAccountParams) WithAwsAccount ¶
func (o *PutAwsAccountParams) WithAwsAccount(awsAccount *models.AwsAccount) *PutAwsAccountParams
WithAwsAccount adds the awsAccount to the put aws account params
func (*PutAwsAccountParams) WithContext ¶
func (o *PutAwsAccountParams) WithContext(ctx context.Context) *PutAwsAccountParams
WithContext adds the context to the put aws account params
func (*PutAwsAccountParams) WithDefaults ¶
func (o *PutAwsAccountParams) WithDefaults() *PutAwsAccountParams
WithDefaults hydrates default values in the put aws account params (not the query body).
All values with no default are reset to their zero value.
func (*PutAwsAccountParams) WithHTTPClient ¶
func (o *PutAwsAccountParams) WithHTTPClient(client *http.Client) *PutAwsAccountParams
WithHTTPClient adds the HTTPClient to the put aws account params
func (*PutAwsAccountParams) WithID ¶
func (o *PutAwsAccountParams) WithID(id int32) *PutAwsAccountParams
WithID adds the id to the put aws account params
func (*PutAwsAccountParams) WithTimeout ¶
func (o *PutAwsAccountParams) WithTimeout(timeout time.Duration) *PutAwsAccountParams
WithTimeout adds the timeout to the put aws account params
func (*PutAwsAccountParams) WriteToRequest ¶
func (o *PutAwsAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutAwsAccountReader ¶
type PutAwsAccountReader struct {
// contains filtered or unexported fields
}
PutAwsAccountReader is a Reader for the PutAwsAccount structure.
func (*PutAwsAccountReader) ReadResponse ¶
func (o *PutAwsAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.