Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAccount(params *CreateAccountParams) (*CreateAccountOK, error)
- func (a *Client) DeleteAccount(params *DeleteAccountParams) (*DeleteAccountOK, error)
- func (a *Client) DeleteMetadataForAccount(params *DeleteMetadataForAccountParams) (*DeleteMetadataForAccountOK, error)
- func (a *Client) GetAccountByID(params *GetAccountByIDParams) (*GetAccountByIDOK, error)
- func (a *Client) GetAllAccounts(params *GetAllAccountsParams) (*GetAllAccountsOK, error)
- func (a *Client) GetMetadataForAccount(params *GetMetadataForAccountParams) (*GetMetadataForAccountOK, error)
- func (a *Client) SetMetadataForAccount(params *SetMetadataForAccountParams) (*SetMetadataForAccountOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpsertMetadataForAccount(params *UpsertMetadataForAccountParams) (*UpsertMetadataForAccountOK, error)
- type CreateAccountDefault
- type CreateAccountOK
- type CreateAccountParams
- func (o *CreateAccountParams) SetContext(ctx context.Context)
- func (o *CreateAccountParams) SetHTTPClient(client *http.Client)
- func (o *CreateAccountParams) SetRequest(request *models.CreateAccountRequest)
- func (o *CreateAccountParams) SetTimeout(timeout time.Duration)
- func (o *CreateAccountParams) WithContext(ctx context.Context) *CreateAccountParams
- func (o *CreateAccountParams) WithHTTPClient(client *http.Client) *CreateAccountParams
- func (o *CreateAccountParams) WithRequest(request *models.CreateAccountRequest) *CreateAccountParams
- func (o *CreateAccountParams) WithTimeout(timeout time.Duration) *CreateAccountParams
- func (o *CreateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAccountReader
- type DeleteAccountDefault
- type DeleteAccountOK
- type DeleteAccountParams
- func (o *DeleteAccountParams) SetAccountID(accountID string)
- func (o *DeleteAccountParams) SetContext(ctx context.Context)
- func (o *DeleteAccountParams) SetDeleteGatewayData(deleteGatewayData bool)
- func (o *DeleteAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccountParams) SetOrganizations(organizations []string)
- 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) WithDeleteGatewayData(deleteGatewayData bool) *DeleteAccountParams
- func (o *DeleteAccountParams) WithHTTPClient(client *http.Client) *DeleteAccountParams
- func (o *DeleteAccountParams) WithOrganizations(organizations []string) *DeleteAccountParams
- func (o *DeleteAccountParams) WithTimeout(timeout time.Duration) *DeleteAccountParams
- func (o *DeleteAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccountReader
- type DeleteMetadataForAccountDefault
- type DeleteMetadataForAccountOK
- type DeleteMetadataForAccountParams
- func NewDeleteMetadataForAccountParams() *DeleteMetadataForAccountParams
- func NewDeleteMetadataForAccountParamsWithContext(ctx context.Context) *DeleteMetadataForAccountParams
- func NewDeleteMetadataForAccountParamsWithHTTPClient(client *http.Client) *DeleteMetadataForAccountParams
- func NewDeleteMetadataForAccountParamsWithTimeout(timeout time.Duration) *DeleteMetadataForAccountParams
- func (o *DeleteMetadataForAccountParams) SetAccountID(accountID string)
- func (o *DeleteMetadataForAccountParams) SetContext(ctx context.Context)
- func (o *DeleteMetadataForAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMetadataForAccountParams) SetOrganizations(organizations []string)
- func (o *DeleteMetadataForAccountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMetadataForAccountParams) WithAccountID(accountID string) *DeleteMetadataForAccountParams
- func (o *DeleteMetadataForAccountParams) WithContext(ctx context.Context) *DeleteMetadataForAccountParams
- func (o *DeleteMetadataForAccountParams) WithHTTPClient(client *http.Client) *DeleteMetadataForAccountParams
- func (o *DeleteMetadataForAccountParams) WithOrganizations(organizations []string) *DeleteMetadataForAccountParams
- func (o *DeleteMetadataForAccountParams) WithTimeout(timeout time.Duration) *DeleteMetadataForAccountParams
- func (o *DeleteMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMetadataForAccountReader
- type GetAccountByIDDefault
- type GetAccountByIDOK
- type GetAccountByIDParams
- func NewGetAccountByIDParams() *GetAccountByIDParams
- func NewGetAccountByIDParamsWithContext(ctx context.Context) *GetAccountByIDParams
- func NewGetAccountByIDParamsWithHTTPClient(client *http.Client) *GetAccountByIDParams
- func NewGetAccountByIDParamsWithTimeout(timeout time.Duration) *GetAccountByIDParams
- func (o *GetAccountByIDParams) SetAccountID(accountID string)
- func (o *GetAccountByIDParams) SetContext(ctx context.Context)
- func (o *GetAccountByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountByIDParams) SetOrganizations(organizations []string)
- func (o *GetAccountByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountByIDParams) WithAccountID(accountID string) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithContext(ctx context.Context) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithHTTPClient(client *http.Client) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithOrganizations(organizations []string) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WithTimeout(timeout time.Duration) *GetAccountByIDParams
- func (o *GetAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountByIDReader
- type GetAllAccountsDefault
- type GetAllAccountsOK
- type GetAllAccountsParams
- func NewGetAllAccountsParams() *GetAllAccountsParams
- func NewGetAllAccountsParamsWithContext(ctx context.Context) *GetAllAccountsParams
- func NewGetAllAccountsParamsWithHTTPClient(client *http.Client) *GetAllAccountsParams
- func NewGetAllAccountsParamsWithTimeout(timeout time.Duration) *GetAllAccountsParams
- func (o *GetAllAccountsParams) SetContext(ctx context.Context)
- func (o *GetAllAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetAllAccountsParams) SetID(id []string)
- func (o *GetAllAccountsParams) SetIncludeRetired(includeRetired *bool)
- func (o *GetAllAccountsParams) SetMetadata(metadata *string)
- func (o *GetAllAccountsParams) SetOffset(offset *int32)
- func (o *GetAllAccountsParams) SetOrder(order *string)
- func (o *GetAllAccountsParams) SetOrderBy(orderBy *string)
- func (o *GetAllAccountsParams) SetOrganizations(organizations []string)
- func (o *GetAllAccountsParams) SetRecords(records *int32)
- func (o *GetAllAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetAllAccountsParams) SetUsersOnly(usersOnly *bool)
- func (o *GetAllAccountsParams) WithContext(ctx context.Context) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithHTTPClient(client *http.Client) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithID(id []string) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithIncludeRetired(includeRetired *bool) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithMetadata(metadata *string) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithOffset(offset *int32) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithOrder(order *string) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithOrderBy(orderBy *string) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithOrganizations(organizations []string) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithRecords(records *int32) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithTimeout(timeout time.Duration) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WithUsersOnly(usersOnly *bool) *GetAllAccountsParams
- func (o *GetAllAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllAccountsReader
- type GetMetadataForAccountDefault
- type GetMetadataForAccountOK
- type GetMetadataForAccountParams
- func NewGetMetadataForAccountParams() *GetMetadataForAccountParams
- func NewGetMetadataForAccountParamsWithContext(ctx context.Context) *GetMetadataForAccountParams
- func NewGetMetadataForAccountParamsWithHTTPClient(client *http.Client) *GetMetadataForAccountParams
- func NewGetMetadataForAccountParamsWithTimeout(timeout time.Duration) *GetMetadataForAccountParams
- func (o *GetMetadataForAccountParams) SetAccountID(accountID string)
- func (o *GetMetadataForAccountParams) SetContext(ctx context.Context)
- func (o *GetMetadataForAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetMetadataForAccountParams) SetOrganizations(organizations []string)
- func (o *GetMetadataForAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetMetadataForAccountParams) WithAccountID(accountID string) *GetMetadataForAccountParams
- func (o *GetMetadataForAccountParams) WithContext(ctx context.Context) *GetMetadataForAccountParams
- func (o *GetMetadataForAccountParams) WithHTTPClient(client *http.Client) *GetMetadataForAccountParams
- func (o *GetMetadataForAccountParams) WithOrganizations(organizations []string) *GetMetadataForAccountParams
- func (o *GetMetadataForAccountParams) WithTimeout(timeout time.Duration) *GetMetadataForAccountParams
- func (o *GetMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetadataForAccountReader
- type SetMetadataForAccountDefault
- type SetMetadataForAccountOK
- type SetMetadataForAccountParams
- func NewSetMetadataForAccountParams() *SetMetadataForAccountParams
- func NewSetMetadataForAccountParamsWithContext(ctx context.Context) *SetMetadataForAccountParams
- func NewSetMetadataForAccountParamsWithHTTPClient(client *http.Client) *SetMetadataForAccountParams
- func NewSetMetadataForAccountParamsWithTimeout(timeout time.Duration) *SetMetadataForAccountParams
- func (o *SetMetadataForAccountParams) SetAccountID(accountID string)
- func (o *SetMetadataForAccountParams) SetContext(ctx context.Context)
- func (o *SetMetadataForAccountParams) SetHTTPClient(client *http.Client)
- func (o *SetMetadataForAccountParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *SetMetadataForAccountParams) SetOrganizations(organizations []string)
- func (o *SetMetadataForAccountParams) SetTimeout(timeout time.Duration)
- func (o *SetMetadataForAccountParams) WithAccountID(accountID string) *SetMetadataForAccountParams
- func (o *SetMetadataForAccountParams) WithContext(ctx context.Context) *SetMetadataForAccountParams
- func (o *SetMetadataForAccountParams) WithHTTPClient(client *http.Client) *SetMetadataForAccountParams
- func (o *SetMetadataForAccountParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForAccountParams
- func (o *SetMetadataForAccountParams) WithOrganizations(organizations []string) *SetMetadataForAccountParams
- func (o *SetMetadataForAccountParams) WithTimeout(timeout time.Duration) *SetMetadataForAccountParams
- func (o *SetMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetMetadataForAccountReader
- type UpsertMetadataForAccountDefault
- type UpsertMetadataForAccountOK
- type UpsertMetadataForAccountParams
- func NewUpsertMetadataForAccountParams() *UpsertMetadataForAccountParams
- func NewUpsertMetadataForAccountParamsWithContext(ctx context.Context) *UpsertMetadataForAccountParams
- func NewUpsertMetadataForAccountParamsWithHTTPClient(client *http.Client) *UpsertMetadataForAccountParams
- func NewUpsertMetadataForAccountParamsWithTimeout(timeout time.Duration) *UpsertMetadataForAccountParams
- func (o *UpsertMetadataForAccountParams) SetAccountID(accountID string)
- func (o *UpsertMetadataForAccountParams) SetContext(ctx context.Context)
- func (o *UpsertMetadataForAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpsertMetadataForAccountParams) SetMetadata(metadata models.DynamicMetadata)
- func (o *UpsertMetadataForAccountParams) SetOrganizations(organizations []string)
- func (o *UpsertMetadataForAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpsertMetadataForAccountParams) WithAccountID(accountID string) *UpsertMetadataForAccountParams
- func (o *UpsertMetadataForAccountParams) WithContext(ctx context.Context) *UpsertMetadataForAccountParams
- func (o *UpsertMetadataForAccountParams) WithHTTPClient(client *http.Client) *UpsertMetadataForAccountParams
- func (o *UpsertMetadataForAccountParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForAccountParams
- func (o *UpsertMetadataForAccountParams) WithOrganizations(organizations []string) *UpsertMetadataForAccountParams
- func (o *UpsertMetadataForAccountParams) WithTimeout(timeout time.Duration) *UpsertMetadataForAccountParams
- func (o *UpsertMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpsertMetadataForAccountReader
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 accounts API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new accounts API client.
func (*Client) CreateAccount ¶
func (a *Client) CreateAccount(params *CreateAccountParams) (*CreateAccountOK, error)
CreateAccount creates an account
{"nickname":"Create a new account","response":"createAccountResponse.html","request":"createAccountRequest.html"}
func (*Client) DeleteAccount ¶
func (a *Client) DeleteAccount(params *DeleteAccountParams) (*DeleteAccountOK, error)
DeleteAccount deletes the account specified by the account ID parameter
{"nickname":"Retire","response":"deleteAccount.html"}
func (*Client) DeleteMetadataForAccount ¶
func (a *Client) DeleteMetadataForAccount(params *DeleteMetadataForAccountParams) (*DeleteMetadataForAccountOK, error)
DeleteMetadataForAccount removes any associated metadata
{"nickname":"Clear metadata from account","request" :"deleteAccountMetadataRequest.html","response":"deleteAccountMetadataResponse.html"}
func (*Client) GetAccountByID ¶
func (a *Client) GetAccountByID(params *GetAccountByIDParams) (*GetAccountByIDOK, error)
GetAccountByID returns a single account specified by the account ID parameter
{"nickname":"Retrieve an existing account","response":"getAccountByID.html"}
func (*Client) GetAllAccounts ¶
func (a *Client) GetAllAccounts(params *GetAllAccountsParams) (*GetAllAccountsOK, error)
GetAllAccounts returns a collection of all account objects by default 10 values are returned records are returned in natural order
{"nickname":"Get all accounts","response":"getAccountAll.html"}
func (*Client) GetMetadataForAccount ¶
func (a *Client) GetMetadataForAccount(params *GetMetadataForAccountParams) (*GetMetadataForAccountOK, error)
GetMetadataForAccount retrieves any associated metadata
{"nickname":"Retrieve metadata on account","request":"getAccountMetadataRequest.html","response":"getAccountMetadataResponse.html"}
func (*Client) SetMetadataForAccount ¶
func (a *Client) SetMetadataForAccount(params *SetMetadataForAccountParams) (*SetMetadataForAccountOK, error)
SetMetadataForAccount removes any existing metadata keys and create the provided data
{"nickname":"Set metadata on account","request":"setAccountMetadataRequest.html","response":"setAccountMetadataResponse.html"}
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpsertMetadataForAccount ¶
func (a *Client) UpsertMetadataForAccount(params *UpsertMetadataForAccountParams) (*UpsertMetadataForAccountOK, error)
UpsertMetadataForAccount updates any existing metadata key values and insert any new key values no keys will be removed
{"nickname":"Upsert metadata on account","request":"upsertAccountMetadataRequest.html","response":"upsertAccountMetadataResponse.html"}
type CreateAccountDefault ¶
type CreateAccountDefault struct { Payload *models.BFError // contains filtered or unexported fields }
CreateAccountDefault handles this case with default header values.
error
func NewCreateAccountDefault ¶
func NewCreateAccountDefault(code int) *CreateAccountDefault
NewCreateAccountDefault creates a CreateAccountDefault with default headers values
func (*CreateAccountDefault) Code ¶
func (o *CreateAccountDefault) Code() int
Code gets the status code for the create account default response
func (*CreateAccountDefault) Error ¶
func (o *CreateAccountDefault) Error() string
type CreateAccountOK ¶
type CreateAccountOK struct {
Payload *models.AccountPagedMetadata
}
CreateAccountOK handles this case with default header values.
success
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 { /*Request The account object to be created. */ Request *models.CreateAccountRequest 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) 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) SetRequest ¶
func (o *CreateAccountParams) SetRequest(request *models.CreateAccountRequest)
SetRequest adds the request 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) 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) WithRequest ¶
func (o *CreateAccountParams) WithRequest(request *models.CreateAccountRequest) *CreateAccountParams
WithRequest adds the request 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 DeleteAccountDefault ¶
type DeleteAccountDefault struct { Payload *models.BFError // contains filtered or unexported fields }
DeleteAccountDefault handles this case with default header values.
error
func NewDeleteAccountDefault ¶
func NewDeleteAccountDefault(code int) *DeleteAccountDefault
NewDeleteAccountDefault creates a DeleteAccountDefault with default headers values
func (*DeleteAccountDefault) Code ¶
func (o *DeleteAccountDefault) Code() int
Code gets the status code for the delete account default response
func (*DeleteAccountDefault) Error ¶
func (o *DeleteAccountDefault) Error() string
type DeleteAccountOK ¶
type DeleteAccountOK struct {
Payload *models.AccountPagedMetadata
}
DeleteAccountOK handles this case with default header values.
success
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*/ AccountID string /*DeleteGatewayData*/ DeleteGatewayData bool /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []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) SetDeleteGatewayData ¶
func (o *DeleteAccountParams) SetDeleteGatewayData(deleteGatewayData bool)
SetDeleteGatewayData adds the deleteGatewayData 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) SetOrganizations ¶
func (o *DeleteAccountParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations 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) WithDeleteGatewayData ¶
func (o *DeleteAccountParams) WithDeleteGatewayData(deleteGatewayData bool) *DeleteAccountParams
WithDeleteGatewayData adds the deleteGatewayData 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) WithOrganizations ¶
func (o *DeleteAccountParams) WithOrganizations(organizations []string) *DeleteAccountParams
WithOrganizations adds the organizations 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 DeleteMetadataForAccountDefault ¶
type DeleteMetadataForAccountDefault struct { Payload *models.BFError // contains filtered or unexported fields }
DeleteMetadataForAccountDefault handles this case with default header values.
error
func NewDeleteMetadataForAccountDefault ¶
func NewDeleteMetadataForAccountDefault(code int) *DeleteMetadataForAccountDefault
NewDeleteMetadataForAccountDefault creates a DeleteMetadataForAccountDefault with default headers values
func (*DeleteMetadataForAccountDefault) Code ¶
func (o *DeleteMetadataForAccountDefault) Code() int
Code gets the status code for the delete metadata for account default response
func (*DeleteMetadataForAccountDefault) Error ¶
func (o *DeleteMetadataForAccountDefault) Error() string
type DeleteMetadataForAccountOK ¶
type DeleteMetadataForAccountOK struct {
Payload models.DynamicMetadata
}
DeleteMetadataForAccountOK handles this case with default header values.
success
func NewDeleteMetadataForAccountOK ¶
func NewDeleteMetadataForAccountOK() *DeleteMetadataForAccountOK
NewDeleteMetadataForAccountOK creates a DeleteMetadataForAccountOK with default headers values
func (*DeleteMetadataForAccountOK) Error ¶
func (o *DeleteMetadataForAccountOK) Error() string
type DeleteMetadataForAccountParams ¶
type DeleteMetadataForAccountParams struct { /*AccountID*/ AccountID string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMetadataForAccountParams contains all the parameters to send to the API endpoint for the delete metadata for account operation typically these are written to a http.Request
func NewDeleteMetadataForAccountParams ¶
func NewDeleteMetadataForAccountParams() *DeleteMetadataForAccountParams
NewDeleteMetadataForAccountParams creates a new DeleteMetadataForAccountParams object with the default values initialized.
func NewDeleteMetadataForAccountParamsWithContext ¶
func NewDeleteMetadataForAccountParamsWithContext(ctx context.Context) *DeleteMetadataForAccountParams
NewDeleteMetadataForAccountParamsWithContext creates a new DeleteMetadataForAccountParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteMetadataForAccountParamsWithHTTPClient ¶
func NewDeleteMetadataForAccountParamsWithHTTPClient(client *http.Client) *DeleteMetadataForAccountParams
NewDeleteMetadataForAccountParamsWithHTTPClient creates a new DeleteMetadataForAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteMetadataForAccountParamsWithTimeout ¶
func NewDeleteMetadataForAccountParamsWithTimeout(timeout time.Duration) *DeleteMetadataForAccountParams
NewDeleteMetadataForAccountParamsWithTimeout creates a new DeleteMetadataForAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteMetadataForAccountParams) SetAccountID ¶
func (o *DeleteMetadataForAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the delete metadata for account params
func (*DeleteMetadataForAccountParams) SetContext ¶
func (o *DeleteMetadataForAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the delete metadata for account params
func (*DeleteMetadataForAccountParams) SetHTTPClient ¶
func (o *DeleteMetadataForAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete metadata for account params
func (*DeleteMetadataForAccountParams) SetOrganizations ¶
func (o *DeleteMetadataForAccountParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the delete metadata for account params
func (*DeleteMetadataForAccountParams) SetTimeout ¶
func (o *DeleteMetadataForAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete metadata for account params
func (*DeleteMetadataForAccountParams) WithAccountID ¶
func (o *DeleteMetadataForAccountParams) WithAccountID(accountID string) *DeleteMetadataForAccountParams
WithAccountID adds the accountID to the delete metadata for account params
func (*DeleteMetadataForAccountParams) WithContext ¶
func (o *DeleteMetadataForAccountParams) WithContext(ctx context.Context) *DeleteMetadataForAccountParams
WithContext adds the context to the delete metadata for account params
func (*DeleteMetadataForAccountParams) WithHTTPClient ¶
func (o *DeleteMetadataForAccountParams) WithHTTPClient(client *http.Client) *DeleteMetadataForAccountParams
WithHTTPClient adds the HTTPClient to the delete metadata for account params
func (*DeleteMetadataForAccountParams) WithOrganizations ¶
func (o *DeleteMetadataForAccountParams) WithOrganizations(organizations []string) *DeleteMetadataForAccountParams
WithOrganizations adds the organizations to the delete metadata for account params
func (*DeleteMetadataForAccountParams) WithTimeout ¶
func (o *DeleteMetadataForAccountParams) WithTimeout(timeout time.Duration) *DeleteMetadataForAccountParams
WithTimeout adds the timeout to the delete metadata for account params
func (*DeleteMetadataForAccountParams) WriteToRequest ¶
func (o *DeleteMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMetadataForAccountReader ¶
type DeleteMetadataForAccountReader struct {
// contains filtered or unexported fields
}
DeleteMetadataForAccountReader is a Reader for the DeleteMetadataForAccount structure.
func (*DeleteMetadataForAccountReader) ReadResponse ¶
func (o *DeleteMetadataForAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountByIDDefault ¶
type GetAccountByIDDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetAccountByIDDefault handles this case with default header values.
error
func NewGetAccountByIDDefault ¶
func NewGetAccountByIDDefault(code int) *GetAccountByIDDefault
NewGetAccountByIDDefault creates a GetAccountByIDDefault with default headers values
func (*GetAccountByIDDefault) Code ¶
func (o *GetAccountByIDDefault) Code() int
Code gets the status code for the get account by ID default response
func (*GetAccountByIDDefault) Error ¶
func (o *GetAccountByIDDefault) Error() string
type GetAccountByIDOK ¶
type GetAccountByIDOK struct {
Payload *models.AccountPagedMetadata
}
GetAccountByIDOK handles this case with default header values.
success
func NewGetAccountByIDOK ¶
func NewGetAccountByIDOK() *GetAccountByIDOK
NewGetAccountByIDOK creates a GetAccountByIDOK with default headers values
func (*GetAccountByIDOK) Error ¶
func (o *GetAccountByIDOK) Error() string
type GetAccountByIDParams ¶
type GetAccountByIDParams struct { /*AccountID*/ AccountID string /*Organizations*/ Organizations []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountByIDParams contains all the parameters to send to the API endpoint for the get account by ID operation typically these are written to a http.Request
func NewGetAccountByIDParams ¶
func NewGetAccountByIDParams() *GetAccountByIDParams
NewGetAccountByIDParams creates a new GetAccountByIDParams object with the default values initialized.
func NewGetAccountByIDParamsWithContext ¶
func NewGetAccountByIDParamsWithContext(ctx context.Context) *GetAccountByIDParams
NewGetAccountByIDParamsWithContext creates a new GetAccountByIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountByIDParamsWithHTTPClient ¶
func NewGetAccountByIDParamsWithHTTPClient(client *http.Client) *GetAccountByIDParams
NewGetAccountByIDParamsWithHTTPClient creates a new GetAccountByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountByIDParamsWithTimeout ¶
func NewGetAccountByIDParamsWithTimeout(timeout time.Duration) *GetAccountByIDParams
NewGetAccountByIDParamsWithTimeout creates a new GetAccountByIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountByIDParams) SetAccountID ¶
func (o *GetAccountByIDParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get account by ID params
func (*GetAccountByIDParams) SetContext ¶
func (o *GetAccountByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get account by ID params
func (*GetAccountByIDParams) SetHTTPClient ¶
func (o *GetAccountByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get account by ID params
func (*GetAccountByIDParams) SetOrganizations ¶
func (o *GetAccountByIDParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get account by ID params
func (*GetAccountByIDParams) SetTimeout ¶
func (o *GetAccountByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get account by ID params
func (*GetAccountByIDParams) WithAccountID ¶
func (o *GetAccountByIDParams) WithAccountID(accountID string) *GetAccountByIDParams
WithAccountID adds the accountID to the get account by ID params
func (*GetAccountByIDParams) WithContext ¶
func (o *GetAccountByIDParams) WithContext(ctx context.Context) *GetAccountByIDParams
WithContext adds the context to the get account by ID params
func (*GetAccountByIDParams) WithHTTPClient ¶
func (o *GetAccountByIDParams) WithHTTPClient(client *http.Client) *GetAccountByIDParams
WithHTTPClient adds the HTTPClient to the get account by ID params
func (*GetAccountByIDParams) WithOrganizations ¶
func (o *GetAccountByIDParams) WithOrganizations(organizations []string) *GetAccountByIDParams
WithOrganizations adds the organizations to the get account by ID params
func (*GetAccountByIDParams) WithTimeout ¶
func (o *GetAccountByIDParams) WithTimeout(timeout time.Duration) *GetAccountByIDParams
WithTimeout adds the timeout to the get account by ID params
func (*GetAccountByIDParams) WriteToRequest ¶
func (o *GetAccountByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountByIDReader ¶
type GetAccountByIDReader struct {
// contains filtered or unexported fields
}
GetAccountByIDReader is a Reader for the GetAccountByID structure.
func (*GetAccountByIDReader) ReadResponse ¶
func (o *GetAccountByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllAccountsDefault ¶
type GetAllAccountsDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetAllAccountsDefault handles this case with default header values.
error
func NewGetAllAccountsDefault ¶
func NewGetAllAccountsDefault(code int) *GetAllAccountsDefault
NewGetAllAccountsDefault creates a GetAllAccountsDefault with default headers values
func (*GetAllAccountsDefault) Code ¶
func (o *GetAllAccountsDefault) Code() int
Code gets the status code for the get all accounts default response
func (*GetAllAccountsDefault) Error ¶
func (o *GetAllAccountsDefault) Error() string
type GetAllAccountsOK ¶
type GetAllAccountsOK struct {
Payload *models.AccountPagedMetadata
}
GetAllAccountsOK handles this case with default header values.
success
func NewGetAllAccountsOK ¶
func NewGetAllAccountsOK() *GetAllAccountsOK
NewGetAllAccountsOK creates a GetAllAccountsOK with default headers values
func (*GetAllAccountsOK) Error ¶
func (o *GetAllAccountsOK) Error() string
type GetAllAccountsParams ¶
type GetAllAccountsParams struct { /*ID A list of account IDs used to filter the output. */ ID []string /*IncludeRetired Whether retired products should be returned. */ IncludeRetired *bool /*Metadata*/ Metadata *string /*Offset The offset from the first taxation-link to return. */ Offset *int32 /*Order Ihe direction of any ordering, either ASC or DESC. */ Order *string /*OrderBy Specify a field used to order the result set. */ OrderBy *string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string /*Records The maximum number of taxation-links to return. */ Records *int32 /*UsersOnly Whether only accounts have a user should be returned. */ UsersOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllAccountsParams contains all the parameters to send to the API endpoint for the get all accounts operation typically these are written to a http.Request
func NewGetAllAccountsParams ¶
func NewGetAllAccountsParams() *GetAllAccountsParams
NewGetAllAccountsParams creates a new GetAllAccountsParams object with the default values initialized.
func NewGetAllAccountsParamsWithContext ¶
func NewGetAllAccountsParamsWithContext(ctx context.Context) *GetAllAccountsParams
NewGetAllAccountsParamsWithContext creates a new GetAllAccountsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllAccountsParamsWithHTTPClient ¶
func NewGetAllAccountsParamsWithHTTPClient(client *http.Client) *GetAllAccountsParams
NewGetAllAccountsParamsWithHTTPClient creates a new GetAllAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllAccountsParamsWithTimeout ¶
func NewGetAllAccountsParamsWithTimeout(timeout time.Duration) *GetAllAccountsParams
NewGetAllAccountsParamsWithTimeout creates a new GetAllAccountsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllAccountsParams) SetContext ¶
func (o *GetAllAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get all accounts params
func (*GetAllAccountsParams) SetHTTPClient ¶
func (o *GetAllAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all accounts params
func (*GetAllAccountsParams) SetID ¶
func (o *GetAllAccountsParams) SetID(id []string)
SetID adds the id to the get all accounts params
func (*GetAllAccountsParams) SetIncludeRetired ¶
func (o *GetAllAccountsParams) SetIncludeRetired(includeRetired *bool)
SetIncludeRetired adds the includeRetired to the get all accounts params
func (*GetAllAccountsParams) SetMetadata ¶
func (o *GetAllAccountsParams) SetMetadata(metadata *string)
SetMetadata adds the metadata to the get all accounts params
func (*GetAllAccountsParams) SetOffset ¶
func (o *GetAllAccountsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get all accounts params
func (*GetAllAccountsParams) SetOrder ¶
func (o *GetAllAccountsParams) SetOrder(order *string)
SetOrder adds the order to the get all accounts params
func (*GetAllAccountsParams) SetOrderBy ¶
func (o *GetAllAccountsParams) SetOrderBy(orderBy *string)
SetOrderBy adds the orderBy to the get all accounts params
func (*GetAllAccountsParams) SetOrganizations ¶
func (o *GetAllAccountsParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get all accounts params
func (*GetAllAccountsParams) SetRecords ¶
func (o *GetAllAccountsParams) SetRecords(records *int32)
SetRecords adds the records to the get all accounts params
func (*GetAllAccountsParams) SetTimeout ¶
func (o *GetAllAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all accounts params
func (*GetAllAccountsParams) SetUsersOnly ¶
func (o *GetAllAccountsParams) SetUsersOnly(usersOnly *bool)
SetUsersOnly adds the usersOnly to the get all accounts params
func (*GetAllAccountsParams) WithContext ¶
func (o *GetAllAccountsParams) WithContext(ctx context.Context) *GetAllAccountsParams
WithContext adds the context to the get all accounts params
func (*GetAllAccountsParams) WithHTTPClient ¶
func (o *GetAllAccountsParams) WithHTTPClient(client *http.Client) *GetAllAccountsParams
WithHTTPClient adds the HTTPClient to the get all accounts params
func (*GetAllAccountsParams) WithID ¶
func (o *GetAllAccountsParams) WithID(id []string) *GetAllAccountsParams
WithID adds the id to the get all accounts params
func (*GetAllAccountsParams) WithIncludeRetired ¶
func (o *GetAllAccountsParams) WithIncludeRetired(includeRetired *bool) *GetAllAccountsParams
WithIncludeRetired adds the includeRetired to the get all accounts params
func (*GetAllAccountsParams) WithMetadata ¶
func (o *GetAllAccountsParams) WithMetadata(metadata *string) *GetAllAccountsParams
WithMetadata adds the metadata to the get all accounts params
func (*GetAllAccountsParams) WithOffset ¶
func (o *GetAllAccountsParams) WithOffset(offset *int32) *GetAllAccountsParams
WithOffset adds the offset to the get all accounts params
func (*GetAllAccountsParams) WithOrder ¶
func (o *GetAllAccountsParams) WithOrder(order *string) *GetAllAccountsParams
WithOrder adds the order to the get all accounts params
func (*GetAllAccountsParams) WithOrderBy ¶
func (o *GetAllAccountsParams) WithOrderBy(orderBy *string) *GetAllAccountsParams
WithOrderBy adds the orderBy to the get all accounts params
func (*GetAllAccountsParams) WithOrganizations ¶
func (o *GetAllAccountsParams) WithOrganizations(organizations []string) *GetAllAccountsParams
WithOrganizations adds the organizations to the get all accounts params
func (*GetAllAccountsParams) WithRecords ¶
func (o *GetAllAccountsParams) WithRecords(records *int32) *GetAllAccountsParams
WithRecords adds the records to the get all accounts params
func (*GetAllAccountsParams) WithTimeout ¶
func (o *GetAllAccountsParams) WithTimeout(timeout time.Duration) *GetAllAccountsParams
WithTimeout adds the timeout to the get all accounts params
func (*GetAllAccountsParams) WithUsersOnly ¶
func (o *GetAllAccountsParams) WithUsersOnly(usersOnly *bool) *GetAllAccountsParams
WithUsersOnly adds the usersOnly to the get all accounts params
func (*GetAllAccountsParams) WriteToRequest ¶
func (o *GetAllAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllAccountsReader ¶
type GetAllAccountsReader struct {
// contains filtered or unexported fields
}
GetAllAccountsReader is a Reader for the GetAllAccounts structure.
func (*GetAllAccountsReader) ReadResponse ¶
func (o *GetAllAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMetadataForAccountDefault ¶
type GetMetadataForAccountDefault struct { Payload *models.BFError // contains filtered or unexported fields }
GetMetadataForAccountDefault handles this case with default header values.
error
func NewGetMetadataForAccountDefault ¶
func NewGetMetadataForAccountDefault(code int) *GetMetadataForAccountDefault
NewGetMetadataForAccountDefault creates a GetMetadataForAccountDefault with default headers values
func (*GetMetadataForAccountDefault) Code ¶
func (o *GetMetadataForAccountDefault) Code() int
Code gets the status code for the get metadata for account default response
func (*GetMetadataForAccountDefault) Error ¶
func (o *GetMetadataForAccountDefault) Error() string
type GetMetadataForAccountOK ¶
type GetMetadataForAccountOK struct {
Payload models.DynamicMetadata
}
GetMetadataForAccountOK handles this case with default header values.
success
func NewGetMetadataForAccountOK ¶
func NewGetMetadataForAccountOK() *GetMetadataForAccountOK
NewGetMetadataForAccountOK creates a GetMetadataForAccountOK with default headers values
func (*GetMetadataForAccountOK) Error ¶
func (o *GetMetadataForAccountOK) Error() string
type GetMetadataForAccountParams ¶
type GetMetadataForAccountParams struct { /*AccountID*/ AccountID string /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetadataForAccountParams contains all the parameters to send to the API endpoint for the get metadata for account operation typically these are written to a http.Request
func NewGetMetadataForAccountParams ¶
func NewGetMetadataForAccountParams() *GetMetadataForAccountParams
NewGetMetadataForAccountParams creates a new GetMetadataForAccountParams object with the default values initialized.
func NewGetMetadataForAccountParamsWithContext ¶
func NewGetMetadataForAccountParamsWithContext(ctx context.Context) *GetMetadataForAccountParams
NewGetMetadataForAccountParamsWithContext creates a new GetMetadataForAccountParams object with the default values initialized, and the ability to set a context for a request
func NewGetMetadataForAccountParamsWithHTTPClient ¶
func NewGetMetadataForAccountParamsWithHTTPClient(client *http.Client) *GetMetadataForAccountParams
NewGetMetadataForAccountParamsWithHTTPClient creates a new GetMetadataForAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetMetadataForAccountParamsWithTimeout ¶
func NewGetMetadataForAccountParamsWithTimeout(timeout time.Duration) *GetMetadataForAccountParams
NewGetMetadataForAccountParamsWithTimeout creates a new GetMetadataForAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetMetadataForAccountParams) SetAccountID ¶
func (o *GetMetadataForAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get metadata for account params
func (*GetMetadataForAccountParams) SetContext ¶
func (o *GetMetadataForAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get metadata for account params
func (*GetMetadataForAccountParams) SetHTTPClient ¶
func (o *GetMetadataForAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metadata for account params
func (*GetMetadataForAccountParams) SetOrganizations ¶
func (o *GetMetadataForAccountParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the get metadata for account params
func (*GetMetadataForAccountParams) SetTimeout ¶
func (o *GetMetadataForAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metadata for account params
func (*GetMetadataForAccountParams) WithAccountID ¶
func (o *GetMetadataForAccountParams) WithAccountID(accountID string) *GetMetadataForAccountParams
WithAccountID adds the accountID to the get metadata for account params
func (*GetMetadataForAccountParams) WithContext ¶
func (o *GetMetadataForAccountParams) WithContext(ctx context.Context) *GetMetadataForAccountParams
WithContext adds the context to the get metadata for account params
func (*GetMetadataForAccountParams) WithHTTPClient ¶
func (o *GetMetadataForAccountParams) WithHTTPClient(client *http.Client) *GetMetadataForAccountParams
WithHTTPClient adds the HTTPClient to the get metadata for account params
func (*GetMetadataForAccountParams) WithOrganizations ¶
func (o *GetMetadataForAccountParams) WithOrganizations(organizations []string) *GetMetadataForAccountParams
WithOrganizations adds the organizations to the get metadata for account params
func (*GetMetadataForAccountParams) WithTimeout ¶
func (o *GetMetadataForAccountParams) WithTimeout(timeout time.Duration) *GetMetadataForAccountParams
WithTimeout adds the timeout to the get metadata for account params
func (*GetMetadataForAccountParams) WriteToRequest ¶
func (o *GetMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetadataForAccountReader ¶
type GetMetadataForAccountReader struct {
// contains filtered or unexported fields
}
GetMetadataForAccountReader is a Reader for the GetMetadataForAccount structure.
func (*GetMetadataForAccountReader) ReadResponse ¶
func (o *GetMetadataForAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetMetadataForAccountDefault ¶
type SetMetadataForAccountDefault struct { Payload *models.BFError // contains filtered or unexported fields }
SetMetadataForAccountDefault handles this case with default header values.
error
func NewSetMetadataForAccountDefault ¶
func NewSetMetadataForAccountDefault(code int) *SetMetadataForAccountDefault
NewSetMetadataForAccountDefault creates a SetMetadataForAccountDefault with default headers values
func (*SetMetadataForAccountDefault) Code ¶
func (o *SetMetadataForAccountDefault) Code() int
Code gets the status code for the set metadata for account default response
func (*SetMetadataForAccountDefault) Error ¶
func (o *SetMetadataForAccountDefault) Error() string
type SetMetadataForAccountOK ¶
type SetMetadataForAccountOK struct {
Payload models.DynamicMetadata
}
SetMetadataForAccountOK handles this case with default header values.
success
func NewSetMetadataForAccountOK ¶
func NewSetMetadataForAccountOK() *SetMetadataForAccountOK
NewSetMetadataForAccountOK creates a SetMetadataForAccountOK with default headers values
func (*SetMetadataForAccountOK) Error ¶
func (o *SetMetadataForAccountOK) Error() string
type SetMetadataForAccountParams ¶
type SetMetadataForAccountParams struct { /*AccountID*/ AccountID string /*Metadata*/ Metadata models.DynamicMetadata /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetMetadataForAccountParams contains all the parameters to send to the API endpoint for the set metadata for account operation typically these are written to a http.Request
func NewSetMetadataForAccountParams ¶
func NewSetMetadataForAccountParams() *SetMetadataForAccountParams
NewSetMetadataForAccountParams creates a new SetMetadataForAccountParams object with the default values initialized.
func NewSetMetadataForAccountParamsWithContext ¶
func NewSetMetadataForAccountParamsWithContext(ctx context.Context) *SetMetadataForAccountParams
NewSetMetadataForAccountParamsWithContext creates a new SetMetadataForAccountParams object with the default values initialized, and the ability to set a context for a request
func NewSetMetadataForAccountParamsWithHTTPClient ¶
func NewSetMetadataForAccountParamsWithHTTPClient(client *http.Client) *SetMetadataForAccountParams
NewSetMetadataForAccountParamsWithHTTPClient creates a new SetMetadataForAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetMetadataForAccountParamsWithTimeout ¶
func NewSetMetadataForAccountParamsWithTimeout(timeout time.Duration) *SetMetadataForAccountParams
NewSetMetadataForAccountParamsWithTimeout creates a new SetMetadataForAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetMetadataForAccountParams) SetAccountID ¶
func (o *SetMetadataForAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the set metadata for account params
func (*SetMetadataForAccountParams) SetContext ¶
func (o *SetMetadataForAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the set metadata for account params
func (*SetMetadataForAccountParams) SetHTTPClient ¶
func (o *SetMetadataForAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set metadata for account params
func (*SetMetadataForAccountParams) SetMetadata ¶
func (o *SetMetadataForAccountParams) SetMetadata(metadata models.DynamicMetadata)
SetMetadata adds the metadata to the set metadata for account params
func (*SetMetadataForAccountParams) SetOrganizations ¶
func (o *SetMetadataForAccountParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the set metadata for account params
func (*SetMetadataForAccountParams) SetTimeout ¶
func (o *SetMetadataForAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set metadata for account params
func (*SetMetadataForAccountParams) WithAccountID ¶
func (o *SetMetadataForAccountParams) WithAccountID(accountID string) *SetMetadataForAccountParams
WithAccountID adds the accountID to the set metadata for account params
func (*SetMetadataForAccountParams) WithContext ¶
func (o *SetMetadataForAccountParams) WithContext(ctx context.Context) *SetMetadataForAccountParams
WithContext adds the context to the set metadata for account params
func (*SetMetadataForAccountParams) WithHTTPClient ¶
func (o *SetMetadataForAccountParams) WithHTTPClient(client *http.Client) *SetMetadataForAccountParams
WithHTTPClient adds the HTTPClient to the set metadata for account params
func (*SetMetadataForAccountParams) WithMetadata ¶
func (o *SetMetadataForAccountParams) WithMetadata(metadata models.DynamicMetadata) *SetMetadataForAccountParams
WithMetadata adds the metadata to the set metadata for account params
func (*SetMetadataForAccountParams) WithOrganizations ¶
func (o *SetMetadataForAccountParams) WithOrganizations(organizations []string) *SetMetadataForAccountParams
WithOrganizations adds the organizations to the set metadata for account params
func (*SetMetadataForAccountParams) WithTimeout ¶
func (o *SetMetadataForAccountParams) WithTimeout(timeout time.Duration) *SetMetadataForAccountParams
WithTimeout adds the timeout to the set metadata for account params
func (*SetMetadataForAccountParams) WriteToRequest ¶
func (o *SetMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetMetadataForAccountReader ¶
type SetMetadataForAccountReader struct {
// contains filtered or unexported fields
}
SetMetadataForAccountReader is a Reader for the SetMetadataForAccount structure.
func (*SetMetadataForAccountReader) ReadResponse ¶
func (o *SetMetadataForAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpsertMetadataForAccountDefault ¶
type UpsertMetadataForAccountDefault struct { Payload *models.BFError // contains filtered or unexported fields }
UpsertMetadataForAccountDefault handles this case with default header values.
error
func NewUpsertMetadataForAccountDefault ¶
func NewUpsertMetadataForAccountDefault(code int) *UpsertMetadataForAccountDefault
NewUpsertMetadataForAccountDefault creates a UpsertMetadataForAccountDefault with default headers values
func (*UpsertMetadataForAccountDefault) Code ¶
func (o *UpsertMetadataForAccountDefault) Code() int
Code gets the status code for the upsert metadata for account default response
func (*UpsertMetadataForAccountDefault) Error ¶
func (o *UpsertMetadataForAccountDefault) Error() string
type UpsertMetadataForAccountOK ¶
type UpsertMetadataForAccountOK struct {
Payload models.DynamicMetadata
}
UpsertMetadataForAccountOK handles this case with default header values.
success
func NewUpsertMetadataForAccountOK ¶
func NewUpsertMetadataForAccountOK() *UpsertMetadataForAccountOK
NewUpsertMetadataForAccountOK creates a UpsertMetadataForAccountOK with default headers values
func (*UpsertMetadataForAccountOK) Error ¶
func (o *UpsertMetadataForAccountOK) Error() string
type UpsertMetadataForAccountParams ¶
type UpsertMetadataForAccountParams struct { /*AccountID*/ AccountID string /*Metadata*/ Metadata models.DynamicMetadata /*Organizations A list of organization-IDs used to restrict the scope of API calls. */ Organizations []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpsertMetadataForAccountParams contains all the parameters to send to the API endpoint for the upsert metadata for account operation typically these are written to a http.Request
func NewUpsertMetadataForAccountParams ¶
func NewUpsertMetadataForAccountParams() *UpsertMetadataForAccountParams
NewUpsertMetadataForAccountParams creates a new UpsertMetadataForAccountParams object with the default values initialized.
func NewUpsertMetadataForAccountParamsWithContext ¶
func NewUpsertMetadataForAccountParamsWithContext(ctx context.Context) *UpsertMetadataForAccountParams
NewUpsertMetadataForAccountParamsWithContext creates a new UpsertMetadataForAccountParams object with the default values initialized, and the ability to set a context for a request
func NewUpsertMetadataForAccountParamsWithHTTPClient ¶
func NewUpsertMetadataForAccountParamsWithHTTPClient(client *http.Client) *UpsertMetadataForAccountParams
NewUpsertMetadataForAccountParamsWithHTTPClient creates a new UpsertMetadataForAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpsertMetadataForAccountParamsWithTimeout ¶
func NewUpsertMetadataForAccountParamsWithTimeout(timeout time.Duration) *UpsertMetadataForAccountParams
NewUpsertMetadataForAccountParamsWithTimeout creates a new UpsertMetadataForAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpsertMetadataForAccountParams) SetAccountID ¶
func (o *UpsertMetadataForAccountParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) SetContext ¶
func (o *UpsertMetadataForAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) SetHTTPClient ¶
func (o *UpsertMetadataForAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) SetMetadata ¶
func (o *UpsertMetadataForAccountParams) SetMetadata(metadata models.DynamicMetadata)
SetMetadata adds the metadata to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) SetOrganizations ¶
func (o *UpsertMetadataForAccountParams) SetOrganizations(organizations []string)
SetOrganizations adds the organizations to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) SetTimeout ¶
func (o *UpsertMetadataForAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) WithAccountID ¶
func (o *UpsertMetadataForAccountParams) WithAccountID(accountID string) *UpsertMetadataForAccountParams
WithAccountID adds the accountID to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) WithContext ¶
func (o *UpsertMetadataForAccountParams) WithContext(ctx context.Context) *UpsertMetadataForAccountParams
WithContext adds the context to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) WithHTTPClient ¶
func (o *UpsertMetadataForAccountParams) WithHTTPClient(client *http.Client) *UpsertMetadataForAccountParams
WithHTTPClient adds the HTTPClient to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) WithMetadata ¶
func (o *UpsertMetadataForAccountParams) WithMetadata(metadata models.DynamicMetadata) *UpsertMetadataForAccountParams
WithMetadata adds the metadata to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) WithOrganizations ¶
func (o *UpsertMetadataForAccountParams) WithOrganizations(organizations []string) *UpsertMetadataForAccountParams
WithOrganizations adds the organizations to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) WithTimeout ¶
func (o *UpsertMetadataForAccountParams) WithTimeout(timeout time.Duration) *UpsertMetadataForAccountParams
WithTimeout adds the timeout to the upsert metadata for account params
func (*UpsertMetadataForAccountParams) WriteToRequest ¶
func (o *UpsertMetadataForAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpsertMetadataForAccountReader ¶
type UpsertMetadataForAccountReader struct {
// contains filtered or unexported fields
}
UpsertMetadataForAccountReader is a Reader for the UpsertMetadataForAccount structure.
func (*UpsertMetadataForAccountReader) ReadResponse ¶
func (o *UpsertMetadataForAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- accounts_client.go
- create_account_parameters.go
- create_account_responses.go
- delete_account_parameters.go
- delete_account_responses.go
- delete_metadata_for_account_parameters.go
- delete_metadata_for_account_responses.go
- get_account_by_id_parameters.go
- get_account_by_id_responses.go
- get_all_accounts_parameters.go
- get_all_accounts_responses.go
- get_metadata_for_account_parameters.go
- get_metadata_for_account_responses.go
- set_metadata_for_account_parameters.go
- set_metadata_for_account_responses.go
- upsert_metadata_for_account_parameters.go
- upsert_metadata_for_account_responses.go