Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateWallet(params *CreateWalletParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateWalletOK, error)
- func (a *Client) CreateWalletAccounts(params *CreateWalletAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateWalletAccountsOK, error)
- func (a *Client) ExportWallet(params *ExportWalletParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportWalletOK, error)
- func (a *Client) ExportWalletAccount(params *ExportWalletAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportWalletAccountOK, error)
- func (a *Client) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetWalletOK, error)
- func (a *Client) GetWalletAccounts(params *GetWalletAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetWalletAccountsOK, error)
- func (a *Client) GetWallets(params *GetWalletsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetWalletsOK, error)
- func (a *Client) ImportWallet(params *ImportWalletParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ImportWalletOK, error)
- func (a *Client) InitImportWallet(params *InitImportWalletParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InitImportWalletOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateWalletAccountsOK
- func (o *CreateWalletAccountsOK) Code() int
- func (o *CreateWalletAccountsOK) Error() string
- func (o *CreateWalletAccountsOK) GetPayload() *models.ActivityResponse
- func (o *CreateWalletAccountsOK) IsClientError() bool
- func (o *CreateWalletAccountsOK) IsCode(code int) bool
- func (o *CreateWalletAccountsOK) IsRedirect() bool
- func (o *CreateWalletAccountsOK) IsServerError() bool
- func (o *CreateWalletAccountsOK) IsSuccess() bool
- func (o *CreateWalletAccountsOK) String() string
- type CreateWalletAccountsParams
- func NewCreateWalletAccountsParams() *CreateWalletAccountsParams
- func NewCreateWalletAccountsParamsWithContext(ctx context.Context) *CreateWalletAccountsParams
- func NewCreateWalletAccountsParamsWithHTTPClient(client *http.Client) *CreateWalletAccountsParams
- func NewCreateWalletAccountsParamsWithTimeout(timeout time.Duration) *CreateWalletAccountsParams
- func (o *CreateWalletAccountsParams) SetBody(body *models.CreateWalletAccountsRequest)
- func (o *CreateWalletAccountsParams) SetContext(ctx context.Context)
- func (o *CreateWalletAccountsParams) SetDefaults()
- func (o *CreateWalletAccountsParams) SetHTTPClient(client *http.Client)
- func (o *CreateWalletAccountsParams) SetTimeout(timeout time.Duration)
- func (o *CreateWalletAccountsParams) WithBody(body *models.CreateWalletAccountsRequest) *CreateWalletAccountsParams
- func (o *CreateWalletAccountsParams) WithContext(ctx context.Context) *CreateWalletAccountsParams
- func (o *CreateWalletAccountsParams) WithDefaults() *CreateWalletAccountsParams
- func (o *CreateWalletAccountsParams) WithHTTPClient(client *http.Client) *CreateWalletAccountsParams
- func (o *CreateWalletAccountsParams) WithTimeout(timeout time.Duration) *CreateWalletAccountsParams
- func (o *CreateWalletAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateWalletAccountsReader
- type CreateWalletOK
- func (o *CreateWalletOK) Code() int
- func (o *CreateWalletOK) Error() string
- func (o *CreateWalletOK) GetPayload() *models.ActivityResponse
- func (o *CreateWalletOK) IsClientError() bool
- func (o *CreateWalletOK) IsCode(code int) bool
- func (o *CreateWalletOK) IsRedirect() bool
- func (o *CreateWalletOK) IsServerError() bool
- func (o *CreateWalletOK) IsSuccess() bool
- func (o *CreateWalletOK) String() string
- type CreateWalletParams
- func (o *CreateWalletParams) SetBody(body *models.CreateWalletRequest)
- func (o *CreateWalletParams) SetContext(ctx context.Context)
- func (o *CreateWalletParams) SetDefaults()
- func (o *CreateWalletParams) SetHTTPClient(client *http.Client)
- func (o *CreateWalletParams) SetTimeout(timeout time.Duration)
- func (o *CreateWalletParams) WithBody(body *models.CreateWalletRequest) *CreateWalletParams
- func (o *CreateWalletParams) WithContext(ctx context.Context) *CreateWalletParams
- func (o *CreateWalletParams) WithDefaults() *CreateWalletParams
- func (o *CreateWalletParams) WithHTTPClient(client *http.Client) *CreateWalletParams
- func (o *CreateWalletParams) WithTimeout(timeout time.Duration) *CreateWalletParams
- func (o *CreateWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateWalletReader
- type ExportWalletAccountOK
- func (o *ExportWalletAccountOK) Code() int
- func (o *ExportWalletAccountOK) Error() string
- func (o *ExportWalletAccountOK) GetPayload() *models.ActivityResponse
- func (o *ExportWalletAccountOK) IsClientError() bool
- func (o *ExportWalletAccountOK) IsCode(code int) bool
- func (o *ExportWalletAccountOK) IsRedirect() bool
- func (o *ExportWalletAccountOK) IsServerError() bool
- func (o *ExportWalletAccountOK) IsSuccess() bool
- func (o *ExportWalletAccountOK) String() string
- type ExportWalletAccountParams
- func NewExportWalletAccountParams() *ExportWalletAccountParams
- func NewExportWalletAccountParamsWithContext(ctx context.Context) *ExportWalletAccountParams
- func NewExportWalletAccountParamsWithHTTPClient(client *http.Client) *ExportWalletAccountParams
- func NewExportWalletAccountParamsWithTimeout(timeout time.Duration) *ExportWalletAccountParams
- func (o *ExportWalletAccountParams) SetBody(body *models.ExportWalletAccountRequest)
- func (o *ExportWalletAccountParams) SetContext(ctx context.Context)
- func (o *ExportWalletAccountParams) SetDefaults()
- func (o *ExportWalletAccountParams) SetHTTPClient(client *http.Client)
- func (o *ExportWalletAccountParams) SetTimeout(timeout time.Duration)
- func (o *ExportWalletAccountParams) WithBody(body *models.ExportWalletAccountRequest) *ExportWalletAccountParams
- func (o *ExportWalletAccountParams) WithContext(ctx context.Context) *ExportWalletAccountParams
- func (o *ExportWalletAccountParams) WithDefaults() *ExportWalletAccountParams
- func (o *ExportWalletAccountParams) WithHTTPClient(client *http.Client) *ExportWalletAccountParams
- func (o *ExportWalletAccountParams) WithTimeout(timeout time.Duration) *ExportWalletAccountParams
- func (o *ExportWalletAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportWalletAccountReader
- type ExportWalletOK
- func (o *ExportWalletOK) Code() int
- func (o *ExportWalletOK) Error() string
- func (o *ExportWalletOK) GetPayload() *models.ActivityResponse
- func (o *ExportWalletOK) IsClientError() bool
- func (o *ExportWalletOK) IsCode(code int) bool
- func (o *ExportWalletOK) IsRedirect() bool
- func (o *ExportWalletOK) IsServerError() bool
- func (o *ExportWalletOK) IsSuccess() bool
- func (o *ExportWalletOK) String() string
- type ExportWalletParams
- func (o *ExportWalletParams) SetBody(body *models.ExportWalletRequest)
- func (o *ExportWalletParams) SetContext(ctx context.Context)
- func (o *ExportWalletParams) SetDefaults()
- func (o *ExportWalletParams) SetHTTPClient(client *http.Client)
- func (o *ExportWalletParams) SetTimeout(timeout time.Duration)
- func (o *ExportWalletParams) WithBody(body *models.ExportWalletRequest) *ExportWalletParams
- func (o *ExportWalletParams) WithContext(ctx context.Context) *ExportWalletParams
- func (o *ExportWalletParams) WithDefaults() *ExportWalletParams
- func (o *ExportWalletParams) WithHTTPClient(client *http.Client) *ExportWalletParams
- func (o *ExportWalletParams) WithTimeout(timeout time.Duration) *ExportWalletParams
- func (o *ExportWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportWalletReader
- type GetWalletAccountsOK
- func (o *GetWalletAccountsOK) Code() int
- func (o *GetWalletAccountsOK) Error() string
- func (o *GetWalletAccountsOK) GetPayload() *models.GetWalletAccountsResponse
- func (o *GetWalletAccountsOK) IsClientError() bool
- func (o *GetWalletAccountsOK) IsCode(code int) bool
- func (o *GetWalletAccountsOK) IsRedirect() bool
- func (o *GetWalletAccountsOK) IsServerError() bool
- func (o *GetWalletAccountsOK) IsSuccess() bool
- func (o *GetWalletAccountsOK) String() string
- type GetWalletAccountsParams
- func NewGetWalletAccountsParams() *GetWalletAccountsParams
- func NewGetWalletAccountsParamsWithContext(ctx context.Context) *GetWalletAccountsParams
- func NewGetWalletAccountsParamsWithHTTPClient(client *http.Client) *GetWalletAccountsParams
- func NewGetWalletAccountsParamsWithTimeout(timeout time.Duration) *GetWalletAccountsParams
- func (o *GetWalletAccountsParams) SetBody(body *models.GetWalletAccountsRequest)
- func (o *GetWalletAccountsParams) SetContext(ctx context.Context)
- func (o *GetWalletAccountsParams) SetDefaults()
- func (o *GetWalletAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetWalletAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetWalletAccountsParams) WithBody(body *models.GetWalletAccountsRequest) *GetWalletAccountsParams
- func (o *GetWalletAccountsParams) WithContext(ctx context.Context) *GetWalletAccountsParams
- func (o *GetWalletAccountsParams) WithDefaults() *GetWalletAccountsParams
- func (o *GetWalletAccountsParams) WithHTTPClient(client *http.Client) *GetWalletAccountsParams
- func (o *GetWalletAccountsParams) WithTimeout(timeout time.Duration) *GetWalletAccountsParams
- func (o *GetWalletAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWalletAccountsReader
- type GetWalletOK
- func (o *GetWalletOK) Code() int
- func (o *GetWalletOK) Error() string
- func (o *GetWalletOK) GetPayload() *models.GetWalletResponse
- func (o *GetWalletOK) IsClientError() bool
- func (o *GetWalletOK) IsCode(code int) bool
- func (o *GetWalletOK) IsRedirect() bool
- func (o *GetWalletOK) IsServerError() bool
- func (o *GetWalletOK) IsSuccess() bool
- func (o *GetWalletOK) String() string
- type GetWalletParams
- func (o *GetWalletParams) SetBody(body *models.GetWalletRequest)
- func (o *GetWalletParams) SetContext(ctx context.Context)
- func (o *GetWalletParams) SetDefaults()
- func (o *GetWalletParams) SetHTTPClient(client *http.Client)
- func (o *GetWalletParams) SetTimeout(timeout time.Duration)
- func (o *GetWalletParams) WithBody(body *models.GetWalletRequest) *GetWalletParams
- func (o *GetWalletParams) WithContext(ctx context.Context) *GetWalletParams
- func (o *GetWalletParams) WithDefaults() *GetWalletParams
- func (o *GetWalletParams) WithHTTPClient(client *http.Client) *GetWalletParams
- func (o *GetWalletParams) WithTimeout(timeout time.Duration) *GetWalletParams
- func (o *GetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWalletReader
- type GetWalletsOK
- func (o *GetWalletsOK) Code() int
- func (o *GetWalletsOK) Error() string
- func (o *GetWalletsOK) GetPayload() *models.GetWalletsResponse
- func (o *GetWalletsOK) IsClientError() bool
- func (o *GetWalletsOK) IsCode(code int) bool
- func (o *GetWalletsOK) IsRedirect() bool
- func (o *GetWalletsOK) IsServerError() bool
- func (o *GetWalletsOK) IsSuccess() bool
- func (o *GetWalletsOK) String() string
- type GetWalletsParams
- func (o *GetWalletsParams) SetBody(body *models.GetWalletsRequest)
- func (o *GetWalletsParams) SetContext(ctx context.Context)
- func (o *GetWalletsParams) SetDefaults()
- func (o *GetWalletsParams) SetHTTPClient(client *http.Client)
- func (o *GetWalletsParams) SetTimeout(timeout time.Duration)
- func (o *GetWalletsParams) WithBody(body *models.GetWalletsRequest) *GetWalletsParams
- func (o *GetWalletsParams) WithContext(ctx context.Context) *GetWalletsParams
- func (o *GetWalletsParams) WithDefaults() *GetWalletsParams
- func (o *GetWalletsParams) WithHTTPClient(client *http.Client) *GetWalletsParams
- func (o *GetWalletsParams) WithTimeout(timeout time.Duration) *GetWalletsParams
- func (o *GetWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWalletsReader
- type ImportWalletOK
- func (o *ImportWalletOK) Code() int
- func (o *ImportWalletOK) Error() string
- func (o *ImportWalletOK) GetPayload() *models.ActivityResponse
- func (o *ImportWalletOK) IsClientError() bool
- func (o *ImportWalletOK) IsCode(code int) bool
- func (o *ImportWalletOK) IsRedirect() bool
- func (o *ImportWalletOK) IsServerError() bool
- func (o *ImportWalletOK) IsSuccess() bool
- func (o *ImportWalletOK) String() string
- type ImportWalletParams
- func (o *ImportWalletParams) SetBody(body *models.ImportWalletRequest)
- func (o *ImportWalletParams) SetContext(ctx context.Context)
- func (o *ImportWalletParams) SetDefaults()
- func (o *ImportWalletParams) SetHTTPClient(client *http.Client)
- func (o *ImportWalletParams) SetTimeout(timeout time.Duration)
- func (o *ImportWalletParams) WithBody(body *models.ImportWalletRequest) *ImportWalletParams
- func (o *ImportWalletParams) WithContext(ctx context.Context) *ImportWalletParams
- func (o *ImportWalletParams) WithDefaults() *ImportWalletParams
- func (o *ImportWalletParams) WithHTTPClient(client *http.Client) *ImportWalletParams
- func (o *ImportWalletParams) WithTimeout(timeout time.Duration) *ImportWalletParams
- func (o *ImportWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportWalletReader
- type InitImportWalletOK
- func (o *InitImportWalletOK) Code() int
- func (o *InitImportWalletOK) Error() string
- func (o *InitImportWalletOK) GetPayload() *models.ActivityResponse
- func (o *InitImportWalletOK) IsClientError() bool
- func (o *InitImportWalletOK) IsCode(code int) bool
- func (o *InitImportWalletOK) IsRedirect() bool
- func (o *InitImportWalletOK) IsServerError() bool
- func (o *InitImportWalletOK) IsSuccess() bool
- func (o *InitImportWalletOK) String() string
- type InitImportWalletParams
- func NewInitImportWalletParams() *InitImportWalletParams
- func NewInitImportWalletParamsWithContext(ctx context.Context) *InitImportWalletParams
- func NewInitImportWalletParamsWithHTTPClient(client *http.Client) *InitImportWalletParams
- func NewInitImportWalletParamsWithTimeout(timeout time.Duration) *InitImportWalletParams
- func (o *InitImportWalletParams) SetBody(body *models.InitImportWalletRequest)
- func (o *InitImportWalletParams) SetContext(ctx context.Context)
- func (o *InitImportWalletParams) SetDefaults()
- func (o *InitImportWalletParams) SetHTTPClient(client *http.Client)
- func (o *InitImportWalletParams) SetTimeout(timeout time.Duration)
- func (o *InitImportWalletParams) WithBody(body *models.InitImportWalletRequest) *InitImportWalletParams
- func (o *InitImportWalletParams) WithContext(ctx context.Context) *InitImportWalletParams
- func (o *InitImportWalletParams) WithDefaults() *InitImportWalletParams
- func (o *InitImportWalletParams) WithHTTPClient(client *http.Client) *InitImportWalletParams
- func (o *InitImportWalletParams) WithTimeout(timeout time.Duration) *InitImportWalletParams
- func (o *InitImportWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InitImportWalletReader
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 wallets API
func (*Client) CreateWallet ¶
func (a *Client) CreateWallet(params *CreateWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWalletOK, error)
CreateWallet creates wallet
Create a Wallet and derive addresses
func (*Client) CreateWalletAccounts ¶
func (a *Client) CreateWalletAccounts(params *CreateWalletAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWalletAccountsOK, error)
CreateWalletAccounts creates wallet accounts
Derive additional addresses using an existing wallet
func (*Client) ExportWallet ¶
func (a *Client) ExportWallet(params *ExportWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportWalletOK, error)
ExportWallet exports wallet
Exports a Wallet
func (*Client) ExportWalletAccount ¶
func (a *Client) ExportWalletAccount(params *ExportWalletAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportWalletAccountOK, error)
ExportWalletAccount exports wallet account
Exports a Wallet Account
func (*Client) GetWallet ¶
func (a *Client) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWalletOK, error)
GetWallet gets wallet
Get details about a Wallet
func (*Client) GetWalletAccounts ¶
func (a *Client) GetWalletAccounts(params *GetWalletAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWalletAccountsOK, error)
GetWalletAccounts lists wallets accounts
List all Accounts wirhin a Wallet
func (*Client) GetWallets ¶
func (a *Client) GetWallets(params *GetWalletsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWalletsOK, error)
GetWallets lists wallets
List all Wallets within an Organization
func (*Client) ImportWallet ¶
func (a *Client) ImportWallet(params *ImportWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportWalletOK, error)
ImportWallet imports wallet
Imports a wallet
func (*Client) InitImportWallet ¶
func (a *Client) InitImportWallet(params *InitImportWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitImportWalletOK, error)
InitImportWallet inits import wallet
Initializes a new wallet import
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 { CreateWallet(params *CreateWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWalletOK, error) CreateWalletAccounts(params *CreateWalletAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateWalletAccountsOK, error) ExportWallet(params *ExportWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportWalletOK, error) ExportWalletAccount(params *ExportWalletAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportWalletAccountOK, error) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWalletOK, error) GetWalletAccounts(params *GetWalletAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWalletAccountsOK, error) GetWallets(params *GetWalletsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWalletsOK, error) ImportWallet(params *ImportWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportWalletOK, error) InitImportWallet(params *InitImportWalletParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitImportWalletOK, 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 wallets API client.
type CreateWalletAccountsOK ¶
type CreateWalletAccountsOK struct {
Payload *models.ActivityResponse
}
CreateWalletAccountsOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateWalletAccountsOK ¶
func NewCreateWalletAccountsOK() *CreateWalletAccountsOK
NewCreateWalletAccountsOK creates a CreateWalletAccountsOK with default headers values
func (*CreateWalletAccountsOK) Code ¶
func (o *CreateWalletAccountsOK) Code() int
Code gets the status code for the create wallet accounts o k response
func (*CreateWalletAccountsOK) Error ¶
func (o *CreateWalletAccountsOK) Error() string
func (*CreateWalletAccountsOK) GetPayload ¶
func (o *CreateWalletAccountsOK) GetPayload() *models.ActivityResponse
func (*CreateWalletAccountsOK) IsClientError ¶
func (o *CreateWalletAccountsOK) IsClientError() bool
IsClientError returns true when this create wallet accounts o k response has a 4xx status code
func (*CreateWalletAccountsOK) IsCode ¶
func (o *CreateWalletAccountsOK) IsCode(code int) bool
IsCode returns true when this create wallet accounts o k response a status code equal to that given
func (*CreateWalletAccountsOK) IsRedirect ¶
func (o *CreateWalletAccountsOK) IsRedirect() bool
IsRedirect returns true when this create wallet accounts o k response has a 3xx status code
func (*CreateWalletAccountsOK) IsServerError ¶
func (o *CreateWalletAccountsOK) IsServerError() bool
IsServerError returns true when this create wallet accounts o k response has a 5xx status code
func (*CreateWalletAccountsOK) IsSuccess ¶
func (o *CreateWalletAccountsOK) IsSuccess() bool
IsSuccess returns true when this create wallet accounts o k response has a 2xx status code
func (*CreateWalletAccountsOK) String ¶
func (o *CreateWalletAccountsOK) String() string
type CreateWalletAccountsParams ¶
type CreateWalletAccountsParams struct { // Body. Body *models.CreateWalletAccountsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateWalletAccountsParams contains all the parameters to send to the API endpoint
for the create wallet accounts operation. Typically these are written to a http.Request.
func NewCreateWalletAccountsParams ¶
func NewCreateWalletAccountsParams() *CreateWalletAccountsParams
NewCreateWalletAccountsParams creates a new CreateWalletAccountsParams 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 NewCreateWalletAccountsParamsWithContext ¶
func NewCreateWalletAccountsParamsWithContext(ctx context.Context) *CreateWalletAccountsParams
NewCreateWalletAccountsParamsWithContext creates a new CreateWalletAccountsParams object with the ability to set a context for a request.
func NewCreateWalletAccountsParamsWithHTTPClient ¶
func NewCreateWalletAccountsParamsWithHTTPClient(client *http.Client) *CreateWalletAccountsParams
NewCreateWalletAccountsParamsWithHTTPClient creates a new CreateWalletAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateWalletAccountsParamsWithTimeout ¶
func NewCreateWalletAccountsParamsWithTimeout(timeout time.Duration) *CreateWalletAccountsParams
NewCreateWalletAccountsParamsWithTimeout creates a new CreateWalletAccountsParams object with the ability to set a timeout on a request.
func (*CreateWalletAccountsParams) SetBody ¶
func (o *CreateWalletAccountsParams) SetBody(body *models.CreateWalletAccountsRequest)
SetBody adds the body to the create wallet accounts params
func (*CreateWalletAccountsParams) SetContext ¶
func (o *CreateWalletAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the create wallet accounts params
func (*CreateWalletAccountsParams) SetDefaults ¶
func (o *CreateWalletAccountsParams) SetDefaults()
SetDefaults hydrates default values in the create wallet accounts params (not the query body).
All values with no default are reset to their zero value.
func (*CreateWalletAccountsParams) SetHTTPClient ¶
func (o *CreateWalletAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create wallet accounts params
func (*CreateWalletAccountsParams) SetTimeout ¶
func (o *CreateWalletAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create wallet accounts params
func (*CreateWalletAccountsParams) WithBody ¶
func (o *CreateWalletAccountsParams) WithBody(body *models.CreateWalletAccountsRequest) *CreateWalletAccountsParams
WithBody adds the body to the create wallet accounts params
func (*CreateWalletAccountsParams) WithContext ¶
func (o *CreateWalletAccountsParams) WithContext(ctx context.Context) *CreateWalletAccountsParams
WithContext adds the context to the create wallet accounts params
func (*CreateWalletAccountsParams) WithDefaults ¶
func (o *CreateWalletAccountsParams) WithDefaults() *CreateWalletAccountsParams
WithDefaults hydrates default values in the create wallet accounts params (not the query body).
All values with no default are reset to their zero value.
func (*CreateWalletAccountsParams) WithHTTPClient ¶
func (o *CreateWalletAccountsParams) WithHTTPClient(client *http.Client) *CreateWalletAccountsParams
WithHTTPClient adds the HTTPClient to the create wallet accounts params
func (*CreateWalletAccountsParams) WithTimeout ¶
func (o *CreateWalletAccountsParams) WithTimeout(timeout time.Duration) *CreateWalletAccountsParams
WithTimeout adds the timeout to the create wallet accounts params
func (*CreateWalletAccountsParams) WriteToRequest ¶
func (o *CreateWalletAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateWalletAccountsReader ¶
type CreateWalletAccountsReader struct {
// contains filtered or unexported fields
}
CreateWalletAccountsReader is a Reader for the CreateWalletAccounts structure.
func (*CreateWalletAccountsReader) ReadResponse ¶
func (o *CreateWalletAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateWalletOK ¶
type CreateWalletOK struct {
Payload *models.ActivityResponse
}
CreateWalletOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateWalletOK ¶
func NewCreateWalletOK() *CreateWalletOK
NewCreateWalletOK creates a CreateWalletOK with default headers values
func (*CreateWalletOK) Code ¶
func (o *CreateWalletOK) Code() int
Code gets the status code for the create wallet o k response
func (*CreateWalletOK) Error ¶
func (o *CreateWalletOK) Error() string
func (*CreateWalletOK) GetPayload ¶
func (o *CreateWalletOK) GetPayload() *models.ActivityResponse
func (*CreateWalletOK) IsClientError ¶
func (o *CreateWalletOK) IsClientError() bool
IsClientError returns true when this create wallet o k response has a 4xx status code
func (*CreateWalletOK) IsCode ¶
func (o *CreateWalletOK) IsCode(code int) bool
IsCode returns true when this create wallet o k response a status code equal to that given
func (*CreateWalletOK) IsRedirect ¶
func (o *CreateWalletOK) IsRedirect() bool
IsRedirect returns true when this create wallet o k response has a 3xx status code
func (*CreateWalletOK) IsServerError ¶
func (o *CreateWalletOK) IsServerError() bool
IsServerError returns true when this create wallet o k response has a 5xx status code
func (*CreateWalletOK) IsSuccess ¶
func (o *CreateWalletOK) IsSuccess() bool
IsSuccess returns true when this create wallet o k response has a 2xx status code
func (*CreateWalletOK) String ¶
func (o *CreateWalletOK) String() string
type CreateWalletParams ¶
type CreateWalletParams struct { // Body. Body *models.CreateWalletRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateWalletParams contains all the parameters to send to the API endpoint
for the create wallet operation. Typically these are written to a http.Request.
func NewCreateWalletParams ¶
func NewCreateWalletParams() *CreateWalletParams
NewCreateWalletParams creates a new CreateWalletParams 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 NewCreateWalletParamsWithContext ¶
func NewCreateWalletParamsWithContext(ctx context.Context) *CreateWalletParams
NewCreateWalletParamsWithContext creates a new CreateWalletParams object with the ability to set a context for a request.
func NewCreateWalletParamsWithHTTPClient ¶
func NewCreateWalletParamsWithHTTPClient(client *http.Client) *CreateWalletParams
NewCreateWalletParamsWithHTTPClient creates a new CreateWalletParams object with the ability to set a custom HTTPClient for a request.
func NewCreateWalletParamsWithTimeout ¶
func NewCreateWalletParamsWithTimeout(timeout time.Duration) *CreateWalletParams
NewCreateWalletParamsWithTimeout creates a new CreateWalletParams object with the ability to set a timeout on a request.
func (*CreateWalletParams) SetBody ¶
func (o *CreateWalletParams) SetBody(body *models.CreateWalletRequest)
SetBody adds the body to the create wallet params
func (*CreateWalletParams) SetContext ¶
func (o *CreateWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the create wallet params
func (*CreateWalletParams) SetDefaults ¶
func (o *CreateWalletParams) SetDefaults()
SetDefaults hydrates default values in the create wallet params (not the query body).
All values with no default are reset to their zero value.
func (*CreateWalletParams) SetHTTPClient ¶
func (o *CreateWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create wallet params
func (*CreateWalletParams) SetTimeout ¶
func (o *CreateWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create wallet params
func (*CreateWalletParams) WithBody ¶
func (o *CreateWalletParams) WithBody(body *models.CreateWalletRequest) *CreateWalletParams
WithBody adds the body to the create wallet params
func (*CreateWalletParams) WithContext ¶
func (o *CreateWalletParams) WithContext(ctx context.Context) *CreateWalletParams
WithContext adds the context to the create wallet params
func (*CreateWalletParams) WithDefaults ¶
func (o *CreateWalletParams) WithDefaults() *CreateWalletParams
WithDefaults hydrates default values in the create wallet params (not the query body).
All values with no default are reset to their zero value.
func (*CreateWalletParams) WithHTTPClient ¶
func (o *CreateWalletParams) WithHTTPClient(client *http.Client) *CreateWalletParams
WithHTTPClient adds the HTTPClient to the create wallet params
func (*CreateWalletParams) WithTimeout ¶
func (o *CreateWalletParams) WithTimeout(timeout time.Duration) *CreateWalletParams
WithTimeout adds the timeout to the create wallet params
func (*CreateWalletParams) WriteToRequest ¶
func (o *CreateWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateWalletReader ¶
type CreateWalletReader struct {
// contains filtered or unexported fields
}
CreateWalletReader is a Reader for the CreateWallet structure.
func (*CreateWalletReader) ReadResponse ¶
func (o *CreateWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportWalletAccountOK ¶
type ExportWalletAccountOK struct {
Payload *models.ActivityResponse
}
ExportWalletAccountOK describes a response with status code 200, with default header values.
A successful response.
func NewExportWalletAccountOK ¶
func NewExportWalletAccountOK() *ExportWalletAccountOK
NewExportWalletAccountOK creates a ExportWalletAccountOK with default headers values
func (*ExportWalletAccountOK) Code ¶
func (o *ExportWalletAccountOK) Code() int
Code gets the status code for the export wallet account o k response
func (*ExportWalletAccountOK) Error ¶
func (o *ExportWalletAccountOK) Error() string
func (*ExportWalletAccountOK) GetPayload ¶
func (o *ExportWalletAccountOK) GetPayload() *models.ActivityResponse
func (*ExportWalletAccountOK) IsClientError ¶
func (o *ExportWalletAccountOK) IsClientError() bool
IsClientError returns true when this export wallet account o k response has a 4xx status code
func (*ExportWalletAccountOK) IsCode ¶
func (o *ExportWalletAccountOK) IsCode(code int) bool
IsCode returns true when this export wallet account o k response a status code equal to that given
func (*ExportWalletAccountOK) IsRedirect ¶
func (o *ExportWalletAccountOK) IsRedirect() bool
IsRedirect returns true when this export wallet account o k response has a 3xx status code
func (*ExportWalletAccountOK) IsServerError ¶
func (o *ExportWalletAccountOK) IsServerError() bool
IsServerError returns true when this export wallet account o k response has a 5xx status code
func (*ExportWalletAccountOK) IsSuccess ¶
func (o *ExportWalletAccountOK) IsSuccess() bool
IsSuccess returns true when this export wallet account o k response has a 2xx status code
func (*ExportWalletAccountOK) String ¶
func (o *ExportWalletAccountOK) String() string
type ExportWalletAccountParams ¶
type ExportWalletAccountParams struct { // Body. Body *models.ExportWalletAccountRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportWalletAccountParams contains all the parameters to send to the API endpoint
for the export wallet account operation. Typically these are written to a http.Request.
func NewExportWalletAccountParams ¶
func NewExportWalletAccountParams() *ExportWalletAccountParams
NewExportWalletAccountParams creates a new ExportWalletAccountParams 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 NewExportWalletAccountParamsWithContext ¶
func NewExportWalletAccountParamsWithContext(ctx context.Context) *ExportWalletAccountParams
NewExportWalletAccountParamsWithContext creates a new ExportWalletAccountParams object with the ability to set a context for a request.
func NewExportWalletAccountParamsWithHTTPClient ¶
func NewExportWalletAccountParamsWithHTTPClient(client *http.Client) *ExportWalletAccountParams
NewExportWalletAccountParamsWithHTTPClient creates a new ExportWalletAccountParams object with the ability to set a custom HTTPClient for a request.
func NewExportWalletAccountParamsWithTimeout ¶
func NewExportWalletAccountParamsWithTimeout(timeout time.Duration) *ExportWalletAccountParams
NewExportWalletAccountParamsWithTimeout creates a new ExportWalletAccountParams object with the ability to set a timeout on a request.
func (*ExportWalletAccountParams) SetBody ¶
func (o *ExportWalletAccountParams) SetBody(body *models.ExportWalletAccountRequest)
SetBody adds the body to the export wallet account params
func (*ExportWalletAccountParams) SetContext ¶
func (o *ExportWalletAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the export wallet account params
func (*ExportWalletAccountParams) SetDefaults ¶
func (o *ExportWalletAccountParams) SetDefaults()
SetDefaults hydrates default values in the export wallet account params (not the query body).
All values with no default are reset to their zero value.
func (*ExportWalletAccountParams) SetHTTPClient ¶
func (o *ExportWalletAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export wallet account params
func (*ExportWalletAccountParams) SetTimeout ¶
func (o *ExportWalletAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export wallet account params
func (*ExportWalletAccountParams) WithBody ¶
func (o *ExportWalletAccountParams) WithBody(body *models.ExportWalletAccountRequest) *ExportWalletAccountParams
WithBody adds the body to the export wallet account params
func (*ExportWalletAccountParams) WithContext ¶
func (o *ExportWalletAccountParams) WithContext(ctx context.Context) *ExportWalletAccountParams
WithContext adds the context to the export wallet account params
func (*ExportWalletAccountParams) WithDefaults ¶
func (o *ExportWalletAccountParams) WithDefaults() *ExportWalletAccountParams
WithDefaults hydrates default values in the export wallet account params (not the query body).
All values with no default are reset to their zero value.
func (*ExportWalletAccountParams) WithHTTPClient ¶
func (o *ExportWalletAccountParams) WithHTTPClient(client *http.Client) *ExportWalletAccountParams
WithHTTPClient adds the HTTPClient to the export wallet account params
func (*ExportWalletAccountParams) WithTimeout ¶
func (o *ExportWalletAccountParams) WithTimeout(timeout time.Duration) *ExportWalletAccountParams
WithTimeout adds the timeout to the export wallet account params
func (*ExportWalletAccountParams) WriteToRequest ¶
func (o *ExportWalletAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportWalletAccountReader ¶
type ExportWalletAccountReader struct {
// contains filtered or unexported fields
}
ExportWalletAccountReader is a Reader for the ExportWalletAccount structure.
func (*ExportWalletAccountReader) ReadResponse ¶
func (o *ExportWalletAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportWalletOK ¶
type ExportWalletOK struct {
Payload *models.ActivityResponse
}
ExportWalletOK describes a response with status code 200, with default header values.
A successful response.
func NewExportWalletOK ¶
func NewExportWalletOK() *ExportWalletOK
NewExportWalletOK creates a ExportWalletOK with default headers values
func (*ExportWalletOK) Code ¶
func (o *ExportWalletOK) Code() int
Code gets the status code for the export wallet o k response
func (*ExportWalletOK) Error ¶
func (o *ExportWalletOK) Error() string
func (*ExportWalletOK) GetPayload ¶
func (o *ExportWalletOK) GetPayload() *models.ActivityResponse
func (*ExportWalletOK) IsClientError ¶
func (o *ExportWalletOK) IsClientError() bool
IsClientError returns true when this export wallet o k response has a 4xx status code
func (*ExportWalletOK) IsCode ¶
func (o *ExportWalletOK) IsCode(code int) bool
IsCode returns true when this export wallet o k response a status code equal to that given
func (*ExportWalletOK) IsRedirect ¶
func (o *ExportWalletOK) IsRedirect() bool
IsRedirect returns true when this export wallet o k response has a 3xx status code
func (*ExportWalletOK) IsServerError ¶
func (o *ExportWalletOK) IsServerError() bool
IsServerError returns true when this export wallet o k response has a 5xx status code
func (*ExportWalletOK) IsSuccess ¶
func (o *ExportWalletOK) IsSuccess() bool
IsSuccess returns true when this export wallet o k response has a 2xx status code
func (*ExportWalletOK) String ¶
func (o *ExportWalletOK) String() string
type ExportWalletParams ¶
type ExportWalletParams struct { // Body. Body *models.ExportWalletRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportWalletParams contains all the parameters to send to the API endpoint
for the export wallet operation. Typically these are written to a http.Request.
func NewExportWalletParams ¶
func NewExportWalletParams() *ExportWalletParams
NewExportWalletParams creates a new ExportWalletParams 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 NewExportWalletParamsWithContext ¶
func NewExportWalletParamsWithContext(ctx context.Context) *ExportWalletParams
NewExportWalletParamsWithContext creates a new ExportWalletParams object with the ability to set a context for a request.
func NewExportWalletParamsWithHTTPClient ¶
func NewExportWalletParamsWithHTTPClient(client *http.Client) *ExportWalletParams
NewExportWalletParamsWithHTTPClient creates a new ExportWalletParams object with the ability to set a custom HTTPClient for a request.
func NewExportWalletParamsWithTimeout ¶
func NewExportWalletParamsWithTimeout(timeout time.Duration) *ExportWalletParams
NewExportWalletParamsWithTimeout creates a new ExportWalletParams object with the ability to set a timeout on a request.
func (*ExportWalletParams) SetBody ¶
func (o *ExportWalletParams) SetBody(body *models.ExportWalletRequest)
SetBody adds the body to the export wallet params
func (*ExportWalletParams) SetContext ¶
func (o *ExportWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the export wallet params
func (*ExportWalletParams) SetDefaults ¶
func (o *ExportWalletParams) SetDefaults()
SetDefaults hydrates default values in the export wallet params (not the query body).
All values with no default are reset to their zero value.
func (*ExportWalletParams) SetHTTPClient ¶
func (o *ExportWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export wallet params
func (*ExportWalletParams) SetTimeout ¶
func (o *ExportWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export wallet params
func (*ExportWalletParams) WithBody ¶
func (o *ExportWalletParams) WithBody(body *models.ExportWalletRequest) *ExportWalletParams
WithBody adds the body to the export wallet params
func (*ExportWalletParams) WithContext ¶
func (o *ExportWalletParams) WithContext(ctx context.Context) *ExportWalletParams
WithContext adds the context to the export wallet params
func (*ExportWalletParams) WithDefaults ¶
func (o *ExportWalletParams) WithDefaults() *ExportWalletParams
WithDefaults hydrates default values in the export wallet params (not the query body).
All values with no default are reset to their zero value.
func (*ExportWalletParams) WithHTTPClient ¶
func (o *ExportWalletParams) WithHTTPClient(client *http.Client) *ExportWalletParams
WithHTTPClient adds the HTTPClient to the export wallet params
func (*ExportWalletParams) WithTimeout ¶
func (o *ExportWalletParams) WithTimeout(timeout time.Duration) *ExportWalletParams
WithTimeout adds the timeout to the export wallet params
func (*ExportWalletParams) WriteToRequest ¶
func (o *ExportWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportWalletReader ¶
type ExportWalletReader struct {
// contains filtered or unexported fields
}
ExportWalletReader is a Reader for the ExportWallet structure.
func (*ExportWalletReader) ReadResponse ¶
func (o *ExportWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWalletAccountsOK ¶
type GetWalletAccountsOK struct {
Payload *models.GetWalletAccountsResponse
}
GetWalletAccountsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetWalletAccountsOK ¶
func NewGetWalletAccountsOK() *GetWalletAccountsOK
NewGetWalletAccountsOK creates a GetWalletAccountsOK with default headers values
func (*GetWalletAccountsOK) Code ¶
func (o *GetWalletAccountsOK) Code() int
Code gets the status code for the get wallet accounts o k response
func (*GetWalletAccountsOK) Error ¶
func (o *GetWalletAccountsOK) Error() string
func (*GetWalletAccountsOK) GetPayload ¶
func (o *GetWalletAccountsOK) GetPayload() *models.GetWalletAccountsResponse
func (*GetWalletAccountsOK) IsClientError ¶
func (o *GetWalletAccountsOK) IsClientError() bool
IsClientError returns true when this get wallet accounts o k response has a 4xx status code
func (*GetWalletAccountsOK) IsCode ¶
func (o *GetWalletAccountsOK) IsCode(code int) bool
IsCode returns true when this get wallet accounts o k response a status code equal to that given
func (*GetWalletAccountsOK) IsRedirect ¶
func (o *GetWalletAccountsOK) IsRedirect() bool
IsRedirect returns true when this get wallet accounts o k response has a 3xx status code
func (*GetWalletAccountsOK) IsServerError ¶
func (o *GetWalletAccountsOK) IsServerError() bool
IsServerError returns true when this get wallet accounts o k response has a 5xx status code
func (*GetWalletAccountsOK) IsSuccess ¶
func (o *GetWalletAccountsOK) IsSuccess() bool
IsSuccess returns true when this get wallet accounts o k response has a 2xx status code
func (*GetWalletAccountsOK) String ¶
func (o *GetWalletAccountsOK) String() string
type GetWalletAccountsParams ¶
type GetWalletAccountsParams struct { // Body. Body *models.GetWalletAccountsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWalletAccountsParams contains all the parameters to send to the API endpoint
for the get wallet accounts operation. Typically these are written to a http.Request.
func NewGetWalletAccountsParams ¶
func NewGetWalletAccountsParams() *GetWalletAccountsParams
NewGetWalletAccountsParams creates a new GetWalletAccountsParams 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 NewGetWalletAccountsParamsWithContext ¶
func NewGetWalletAccountsParamsWithContext(ctx context.Context) *GetWalletAccountsParams
NewGetWalletAccountsParamsWithContext creates a new GetWalletAccountsParams object with the ability to set a context for a request.
func NewGetWalletAccountsParamsWithHTTPClient ¶
func NewGetWalletAccountsParamsWithHTTPClient(client *http.Client) *GetWalletAccountsParams
NewGetWalletAccountsParamsWithHTTPClient creates a new GetWalletAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetWalletAccountsParamsWithTimeout ¶
func NewGetWalletAccountsParamsWithTimeout(timeout time.Duration) *GetWalletAccountsParams
NewGetWalletAccountsParamsWithTimeout creates a new GetWalletAccountsParams object with the ability to set a timeout on a request.
func (*GetWalletAccountsParams) SetBody ¶
func (o *GetWalletAccountsParams) SetBody(body *models.GetWalletAccountsRequest)
SetBody adds the body to the get wallet accounts params
func (*GetWalletAccountsParams) SetContext ¶
func (o *GetWalletAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get wallet accounts params
func (*GetWalletAccountsParams) SetDefaults ¶
func (o *GetWalletAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get wallet accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetWalletAccountsParams) SetHTTPClient ¶
func (o *GetWalletAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wallet accounts params
func (*GetWalletAccountsParams) SetTimeout ¶
func (o *GetWalletAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wallet accounts params
func (*GetWalletAccountsParams) WithBody ¶
func (o *GetWalletAccountsParams) WithBody(body *models.GetWalletAccountsRequest) *GetWalletAccountsParams
WithBody adds the body to the get wallet accounts params
func (*GetWalletAccountsParams) WithContext ¶
func (o *GetWalletAccountsParams) WithContext(ctx context.Context) *GetWalletAccountsParams
WithContext adds the context to the get wallet accounts params
func (*GetWalletAccountsParams) WithDefaults ¶
func (o *GetWalletAccountsParams) WithDefaults() *GetWalletAccountsParams
WithDefaults hydrates default values in the get wallet accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetWalletAccountsParams) WithHTTPClient ¶
func (o *GetWalletAccountsParams) WithHTTPClient(client *http.Client) *GetWalletAccountsParams
WithHTTPClient adds the HTTPClient to the get wallet accounts params
func (*GetWalletAccountsParams) WithTimeout ¶
func (o *GetWalletAccountsParams) WithTimeout(timeout time.Duration) *GetWalletAccountsParams
WithTimeout adds the timeout to the get wallet accounts params
func (*GetWalletAccountsParams) WriteToRequest ¶
func (o *GetWalletAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWalletAccountsReader ¶
type GetWalletAccountsReader struct {
// contains filtered or unexported fields
}
GetWalletAccountsReader is a Reader for the GetWalletAccounts structure.
func (*GetWalletAccountsReader) ReadResponse ¶
func (o *GetWalletAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWalletOK ¶
type GetWalletOK struct {
Payload *models.GetWalletResponse
}
GetWalletOK describes a response with status code 200, with default header values.
A successful response.
func NewGetWalletOK ¶
func NewGetWalletOK() *GetWalletOK
NewGetWalletOK creates a GetWalletOK with default headers values
func (*GetWalletOK) Code ¶
func (o *GetWalletOK) Code() int
Code gets the status code for the get wallet o k response
func (*GetWalletOK) Error ¶
func (o *GetWalletOK) Error() string
func (*GetWalletOK) GetPayload ¶
func (o *GetWalletOK) GetPayload() *models.GetWalletResponse
func (*GetWalletOK) IsClientError ¶
func (o *GetWalletOK) IsClientError() bool
IsClientError returns true when this get wallet o k response has a 4xx status code
func (*GetWalletOK) IsCode ¶
func (o *GetWalletOK) IsCode(code int) bool
IsCode returns true when this get wallet o k response a status code equal to that given
func (*GetWalletOK) IsRedirect ¶
func (o *GetWalletOK) IsRedirect() bool
IsRedirect returns true when this get wallet o k response has a 3xx status code
func (*GetWalletOK) IsServerError ¶
func (o *GetWalletOK) IsServerError() bool
IsServerError returns true when this get wallet o k response has a 5xx status code
func (*GetWalletOK) IsSuccess ¶
func (o *GetWalletOK) IsSuccess() bool
IsSuccess returns true when this get wallet o k response has a 2xx status code
func (*GetWalletOK) String ¶
func (o *GetWalletOK) String() string
type GetWalletParams ¶
type GetWalletParams struct { // Body. Body *models.GetWalletRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWalletParams contains all the parameters to send to the API endpoint
for the get wallet operation. Typically these are written to a http.Request.
func NewGetWalletParams ¶
func NewGetWalletParams() *GetWalletParams
NewGetWalletParams creates a new GetWalletParams 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 NewGetWalletParamsWithContext ¶
func NewGetWalletParamsWithContext(ctx context.Context) *GetWalletParams
NewGetWalletParamsWithContext creates a new GetWalletParams object with the ability to set a context for a request.
func NewGetWalletParamsWithHTTPClient ¶
func NewGetWalletParamsWithHTTPClient(client *http.Client) *GetWalletParams
NewGetWalletParamsWithHTTPClient creates a new GetWalletParams object with the ability to set a custom HTTPClient for a request.
func NewGetWalletParamsWithTimeout ¶
func NewGetWalletParamsWithTimeout(timeout time.Duration) *GetWalletParams
NewGetWalletParamsWithTimeout creates a new GetWalletParams object with the ability to set a timeout on a request.
func (*GetWalletParams) SetBody ¶
func (o *GetWalletParams) SetBody(body *models.GetWalletRequest)
SetBody adds the body to the get wallet params
func (*GetWalletParams) SetContext ¶
func (o *GetWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the get wallet params
func (*GetWalletParams) SetDefaults ¶
func (o *GetWalletParams) SetDefaults()
SetDefaults hydrates default values in the get wallet params (not the query body).
All values with no default are reset to their zero value.
func (*GetWalletParams) SetHTTPClient ¶
func (o *GetWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wallet params
func (*GetWalletParams) SetTimeout ¶
func (o *GetWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wallet params
func (*GetWalletParams) WithBody ¶
func (o *GetWalletParams) WithBody(body *models.GetWalletRequest) *GetWalletParams
WithBody adds the body to the get wallet params
func (*GetWalletParams) WithContext ¶
func (o *GetWalletParams) WithContext(ctx context.Context) *GetWalletParams
WithContext adds the context to the get wallet params
func (*GetWalletParams) WithDefaults ¶
func (o *GetWalletParams) WithDefaults() *GetWalletParams
WithDefaults hydrates default values in the get wallet params (not the query body).
All values with no default are reset to their zero value.
func (*GetWalletParams) WithHTTPClient ¶
func (o *GetWalletParams) WithHTTPClient(client *http.Client) *GetWalletParams
WithHTTPClient adds the HTTPClient to the get wallet params
func (*GetWalletParams) WithTimeout ¶
func (o *GetWalletParams) WithTimeout(timeout time.Duration) *GetWalletParams
WithTimeout adds the timeout to the get wallet params
func (*GetWalletParams) WriteToRequest ¶
func (o *GetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWalletReader ¶
type GetWalletReader struct {
// contains filtered or unexported fields
}
GetWalletReader is a Reader for the GetWallet structure.
func (*GetWalletReader) ReadResponse ¶
func (o *GetWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWalletsOK ¶
type GetWalletsOK struct {
Payload *models.GetWalletsResponse
}
GetWalletsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetWalletsOK ¶
func NewGetWalletsOK() *GetWalletsOK
NewGetWalletsOK creates a GetWalletsOK with default headers values
func (*GetWalletsOK) Code ¶
func (o *GetWalletsOK) Code() int
Code gets the status code for the get wallets o k response
func (*GetWalletsOK) Error ¶
func (o *GetWalletsOK) Error() string
func (*GetWalletsOK) GetPayload ¶
func (o *GetWalletsOK) GetPayload() *models.GetWalletsResponse
func (*GetWalletsOK) IsClientError ¶
func (o *GetWalletsOK) IsClientError() bool
IsClientError returns true when this get wallets o k response has a 4xx status code
func (*GetWalletsOK) IsCode ¶
func (o *GetWalletsOK) IsCode(code int) bool
IsCode returns true when this get wallets o k response a status code equal to that given
func (*GetWalletsOK) IsRedirect ¶
func (o *GetWalletsOK) IsRedirect() bool
IsRedirect returns true when this get wallets o k response has a 3xx status code
func (*GetWalletsOK) IsServerError ¶
func (o *GetWalletsOK) IsServerError() bool
IsServerError returns true when this get wallets o k response has a 5xx status code
func (*GetWalletsOK) IsSuccess ¶
func (o *GetWalletsOK) IsSuccess() bool
IsSuccess returns true when this get wallets o k response has a 2xx status code
func (*GetWalletsOK) String ¶
func (o *GetWalletsOK) String() string
type GetWalletsParams ¶
type GetWalletsParams struct { // Body. Body *models.GetWalletsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWalletsParams contains all the parameters to send to the API endpoint
for the get wallets operation. Typically these are written to a http.Request.
func NewGetWalletsParams ¶
func NewGetWalletsParams() *GetWalletsParams
NewGetWalletsParams creates a new GetWalletsParams 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 NewGetWalletsParamsWithContext ¶
func NewGetWalletsParamsWithContext(ctx context.Context) *GetWalletsParams
NewGetWalletsParamsWithContext creates a new GetWalletsParams object with the ability to set a context for a request.
func NewGetWalletsParamsWithHTTPClient ¶
func NewGetWalletsParamsWithHTTPClient(client *http.Client) *GetWalletsParams
NewGetWalletsParamsWithHTTPClient creates a new GetWalletsParams object with the ability to set a custom HTTPClient for a request.
func NewGetWalletsParamsWithTimeout ¶
func NewGetWalletsParamsWithTimeout(timeout time.Duration) *GetWalletsParams
NewGetWalletsParamsWithTimeout creates a new GetWalletsParams object with the ability to set a timeout on a request.
func (*GetWalletsParams) SetBody ¶
func (o *GetWalletsParams) SetBody(body *models.GetWalletsRequest)
SetBody adds the body to the get wallets params
func (*GetWalletsParams) SetContext ¶
func (o *GetWalletsParams) SetContext(ctx context.Context)
SetContext adds the context to the get wallets params
func (*GetWalletsParams) SetDefaults ¶
func (o *GetWalletsParams) SetDefaults()
SetDefaults hydrates default values in the get wallets params (not the query body).
All values with no default are reset to their zero value.
func (*GetWalletsParams) SetHTTPClient ¶
func (o *GetWalletsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wallets params
func (*GetWalletsParams) SetTimeout ¶
func (o *GetWalletsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wallets params
func (*GetWalletsParams) WithBody ¶
func (o *GetWalletsParams) WithBody(body *models.GetWalletsRequest) *GetWalletsParams
WithBody adds the body to the get wallets params
func (*GetWalletsParams) WithContext ¶
func (o *GetWalletsParams) WithContext(ctx context.Context) *GetWalletsParams
WithContext adds the context to the get wallets params
func (*GetWalletsParams) WithDefaults ¶
func (o *GetWalletsParams) WithDefaults() *GetWalletsParams
WithDefaults hydrates default values in the get wallets params (not the query body).
All values with no default are reset to their zero value.
func (*GetWalletsParams) WithHTTPClient ¶
func (o *GetWalletsParams) WithHTTPClient(client *http.Client) *GetWalletsParams
WithHTTPClient adds the HTTPClient to the get wallets params
func (*GetWalletsParams) WithTimeout ¶
func (o *GetWalletsParams) WithTimeout(timeout time.Duration) *GetWalletsParams
WithTimeout adds the timeout to the get wallets params
func (*GetWalletsParams) WriteToRequest ¶
func (o *GetWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWalletsReader ¶
type GetWalletsReader struct {
// contains filtered or unexported fields
}
GetWalletsReader is a Reader for the GetWallets structure.
func (*GetWalletsReader) ReadResponse ¶
func (o *GetWalletsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportWalletOK ¶
type ImportWalletOK struct {
Payload *models.ActivityResponse
}
ImportWalletOK describes a response with status code 200, with default header values.
A successful response.
func NewImportWalletOK ¶
func NewImportWalletOK() *ImportWalletOK
NewImportWalletOK creates a ImportWalletOK with default headers values
func (*ImportWalletOK) Code ¶
func (o *ImportWalletOK) Code() int
Code gets the status code for the import wallet o k response
func (*ImportWalletOK) Error ¶
func (o *ImportWalletOK) Error() string
func (*ImportWalletOK) GetPayload ¶
func (o *ImportWalletOK) GetPayload() *models.ActivityResponse
func (*ImportWalletOK) IsClientError ¶
func (o *ImportWalletOK) IsClientError() bool
IsClientError returns true when this import wallet o k response has a 4xx status code
func (*ImportWalletOK) IsCode ¶
func (o *ImportWalletOK) IsCode(code int) bool
IsCode returns true when this import wallet o k response a status code equal to that given
func (*ImportWalletOK) IsRedirect ¶
func (o *ImportWalletOK) IsRedirect() bool
IsRedirect returns true when this import wallet o k response has a 3xx status code
func (*ImportWalletOK) IsServerError ¶
func (o *ImportWalletOK) IsServerError() bool
IsServerError returns true when this import wallet o k response has a 5xx status code
func (*ImportWalletOK) IsSuccess ¶
func (o *ImportWalletOK) IsSuccess() bool
IsSuccess returns true when this import wallet o k response has a 2xx status code
func (*ImportWalletOK) String ¶
func (o *ImportWalletOK) String() string
type ImportWalletParams ¶
type ImportWalletParams struct { // Body. Body *models.ImportWalletRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportWalletParams contains all the parameters to send to the API endpoint
for the import wallet operation. Typically these are written to a http.Request.
func NewImportWalletParams ¶
func NewImportWalletParams() *ImportWalletParams
NewImportWalletParams creates a new ImportWalletParams 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 NewImportWalletParamsWithContext ¶
func NewImportWalletParamsWithContext(ctx context.Context) *ImportWalletParams
NewImportWalletParamsWithContext creates a new ImportWalletParams object with the ability to set a context for a request.
func NewImportWalletParamsWithHTTPClient ¶
func NewImportWalletParamsWithHTTPClient(client *http.Client) *ImportWalletParams
NewImportWalletParamsWithHTTPClient creates a new ImportWalletParams object with the ability to set a custom HTTPClient for a request.
func NewImportWalletParamsWithTimeout ¶
func NewImportWalletParamsWithTimeout(timeout time.Duration) *ImportWalletParams
NewImportWalletParamsWithTimeout creates a new ImportWalletParams object with the ability to set a timeout on a request.
func (*ImportWalletParams) SetBody ¶
func (o *ImportWalletParams) SetBody(body *models.ImportWalletRequest)
SetBody adds the body to the import wallet params
func (*ImportWalletParams) SetContext ¶
func (o *ImportWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the import wallet params
func (*ImportWalletParams) SetDefaults ¶
func (o *ImportWalletParams) SetDefaults()
SetDefaults hydrates default values in the import wallet params (not the query body).
All values with no default are reset to their zero value.
func (*ImportWalletParams) SetHTTPClient ¶
func (o *ImportWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import wallet params
func (*ImportWalletParams) SetTimeout ¶
func (o *ImportWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import wallet params
func (*ImportWalletParams) WithBody ¶
func (o *ImportWalletParams) WithBody(body *models.ImportWalletRequest) *ImportWalletParams
WithBody adds the body to the import wallet params
func (*ImportWalletParams) WithContext ¶
func (o *ImportWalletParams) WithContext(ctx context.Context) *ImportWalletParams
WithContext adds the context to the import wallet params
func (*ImportWalletParams) WithDefaults ¶
func (o *ImportWalletParams) WithDefaults() *ImportWalletParams
WithDefaults hydrates default values in the import wallet params (not the query body).
All values with no default are reset to their zero value.
func (*ImportWalletParams) WithHTTPClient ¶
func (o *ImportWalletParams) WithHTTPClient(client *http.Client) *ImportWalletParams
WithHTTPClient adds the HTTPClient to the import wallet params
func (*ImportWalletParams) WithTimeout ¶
func (o *ImportWalletParams) WithTimeout(timeout time.Duration) *ImportWalletParams
WithTimeout adds the timeout to the import wallet params
func (*ImportWalletParams) WriteToRequest ¶
func (o *ImportWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportWalletReader ¶
type ImportWalletReader struct {
// contains filtered or unexported fields
}
ImportWalletReader is a Reader for the ImportWallet structure.
func (*ImportWalletReader) ReadResponse ¶
func (o *ImportWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InitImportWalletOK ¶
type InitImportWalletOK struct {
Payload *models.ActivityResponse
}
InitImportWalletOK describes a response with status code 200, with default header values.
A successful response.
func NewInitImportWalletOK ¶
func NewInitImportWalletOK() *InitImportWalletOK
NewInitImportWalletOK creates a InitImportWalletOK with default headers values
func (*InitImportWalletOK) Code ¶
func (o *InitImportWalletOK) Code() int
Code gets the status code for the init import wallet o k response
func (*InitImportWalletOK) Error ¶
func (o *InitImportWalletOK) Error() string
func (*InitImportWalletOK) GetPayload ¶
func (o *InitImportWalletOK) GetPayload() *models.ActivityResponse
func (*InitImportWalletOK) IsClientError ¶
func (o *InitImportWalletOK) IsClientError() bool
IsClientError returns true when this init import wallet o k response has a 4xx status code
func (*InitImportWalletOK) IsCode ¶
func (o *InitImportWalletOK) IsCode(code int) bool
IsCode returns true when this init import wallet o k response a status code equal to that given
func (*InitImportWalletOK) IsRedirect ¶
func (o *InitImportWalletOK) IsRedirect() bool
IsRedirect returns true when this init import wallet o k response has a 3xx status code
func (*InitImportWalletOK) IsServerError ¶
func (o *InitImportWalletOK) IsServerError() bool
IsServerError returns true when this init import wallet o k response has a 5xx status code
func (*InitImportWalletOK) IsSuccess ¶
func (o *InitImportWalletOK) IsSuccess() bool
IsSuccess returns true when this init import wallet o k response has a 2xx status code
func (*InitImportWalletOK) String ¶
func (o *InitImportWalletOK) String() string
type InitImportWalletParams ¶
type InitImportWalletParams struct { // Body. Body *models.InitImportWalletRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InitImportWalletParams contains all the parameters to send to the API endpoint
for the init import wallet operation. Typically these are written to a http.Request.
func NewInitImportWalletParams ¶
func NewInitImportWalletParams() *InitImportWalletParams
NewInitImportWalletParams creates a new InitImportWalletParams 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 NewInitImportWalletParamsWithContext ¶
func NewInitImportWalletParamsWithContext(ctx context.Context) *InitImportWalletParams
NewInitImportWalletParamsWithContext creates a new InitImportWalletParams object with the ability to set a context for a request.
func NewInitImportWalletParamsWithHTTPClient ¶
func NewInitImportWalletParamsWithHTTPClient(client *http.Client) *InitImportWalletParams
NewInitImportWalletParamsWithHTTPClient creates a new InitImportWalletParams object with the ability to set a custom HTTPClient for a request.
func NewInitImportWalletParamsWithTimeout ¶
func NewInitImportWalletParamsWithTimeout(timeout time.Duration) *InitImportWalletParams
NewInitImportWalletParamsWithTimeout creates a new InitImportWalletParams object with the ability to set a timeout on a request.
func (*InitImportWalletParams) SetBody ¶
func (o *InitImportWalletParams) SetBody(body *models.InitImportWalletRequest)
SetBody adds the body to the init import wallet params
func (*InitImportWalletParams) SetContext ¶
func (o *InitImportWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the init import wallet params
func (*InitImportWalletParams) SetDefaults ¶
func (o *InitImportWalletParams) SetDefaults()
SetDefaults hydrates default values in the init import wallet params (not the query body).
All values with no default are reset to their zero value.
func (*InitImportWalletParams) SetHTTPClient ¶
func (o *InitImportWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the init import wallet params
func (*InitImportWalletParams) SetTimeout ¶
func (o *InitImportWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the init import wallet params
func (*InitImportWalletParams) WithBody ¶
func (o *InitImportWalletParams) WithBody(body *models.InitImportWalletRequest) *InitImportWalletParams
WithBody adds the body to the init import wallet params
func (*InitImportWalletParams) WithContext ¶
func (o *InitImportWalletParams) WithContext(ctx context.Context) *InitImportWalletParams
WithContext adds the context to the init import wallet params
func (*InitImportWalletParams) WithDefaults ¶
func (o *InitImportWalletParams) WithDefaults() *InitImportWalletParams
WithDefaults hydrates default values in the init import wallet params (not the query body).
All values with no default are reset to their zero value.
func (*InitImportWalletParams) WithHTTPClient ¶
func (o *InitImportWalletParams) WithHTTPClient(client *http.Client) *InitImportWalletParams
WithHTTPClient adds the HTTPClient to the init import wallet params
func (*InitImportWalletParams) WithTimeout ¶
func (o *InitImportWalletParams) WithTimeout(timeout time.Duration) *InitImportWalletParams
WithTimeout adds the timeout to the init import wallet params
func (*InitImportWalletParams) WriteToRequest ¶
func (o *InitImportWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InitImportWalletReader ¶
type InitImportWalletReader struct {
// contains filtered or unexported fields
}
InitImportWalletReader is a Reader for the InitImportWallet structure.
func (*InitImportWalletReader) ReadResponse ¶
func (o *InitImportWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_wallet_accounts_parameters.go
- create_wallet_accounts_responses.go
- create_wallet_parameters.go
- create_wallet_responses.go
- export_wallet_account_parameters.go
- export_wallet_account_responses.go
- export_wallet_parameters.go
- export_wallet_responses.go
- get_wallet_accounts_parameters.go
- get_wallet_accounts_responses.go
- get_wallet_parameters.go
- get_wallet_responses.go
- get_wallets_parameters.go
- get_wallets_responses.go
- import_wallet_parameters.go
- import_wallet_responses.go
- init_import_wallet_parameters.go
- init_import_wallet_responses.go
- wallets_client.go