Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateBSCTransaction(params *CreateBSCTransactionParams, opts ...ClientOption) (*CreateBSCTransactionCreated, error)
- func (a *Client) CreateEthereumTransaction(params *CreateEthereumTransactionParams, opts ...ClientOption) (*CreateEthereumTransactionCreated, error)
- func (a *Client) CreateMaticTransaction(params *CreateMaticTransactionParams, opts ...ClientOption) (*CreateMaticTransactionCreated, error)
- func (a *Client) CreateTronTransaction(params *CreateTronTransactionParams, opts ...ClientOption) (*CreateTronTransactionCreated, error)
- func (a *Client) CreateWallet(params *CreateWalletParams, opts ...ClientOption) (*CreateWalletCreated, error)
- func (a *Client) DeleteWallet(params *DeleteWalletParams, opts ...ClientOption) (*DeleteWalletNoContent, error)
- func (a *Client) GetWallet(params *GetWalletParams, opts ...ClientOption) (*GetWalletOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateBSCTransactionBadRequest
- type CreateBSCTransactionCreated
- type CreateBSCTransactionParams
- func NewCreateBSCTransactionParams() *CreateBSCTransactionParams
- func NewCreateBSCTransactionParamsWithContext(ctx context.Context) *CreateBSCTransactionParams
- func NewCreateBSCTransactionParamsWithHTTPClient(client *http.Client) *CreateBSCTransactionParams
- func NewCreateBSCTransactionParamsWithTimeout(timeout time.Duration) *CreateBSCTransactionParams
- func (o *CreateBSCTransactionParams) SetContext(ctx context.Context)
- func (o *CreateBSCTransactionParams) SetData(data *model.CreateBSCTransactionRequest)
- func (o *CreateBSCTransactionParams) SetDefaults()
- func (o *CreateBSCTransactionParams) SetHTTPClient(client *http.Client)
- func (o *CreateBSCTransactionParams) SetTimeout(timeout time.Duration)
- func (o *CreateBSCTransactionParams) SetWalletID(walletID string)
- func (o *CreateBSCTransactionParams) WithContext(ctx context.Context) *CreateBSCTransactionParams
- func (o *CreateBSCTransactionParams) WithData(data *model.CreateBSCTransactionRequest) *CreateBSCTransactionParams
- func (o *CreateBSCTransactionParams) WithDefaults() *CreateBSCTransactionParams
- func (o *CreateBSCTransactionParams) WithHTTPClient(client *http.Client) *CreateBSCTransactionParams
- func (o *CreateBSCTransactionParams) WithTimeout(timeout time.Duration) *CreateBSCTransactionParams
- func (o *CreateBSCTransactionParams) WithWalletID(walletID string) *CreateBSCTransactionParams
- func (o *CreateBSCTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBSCTransactionReader
- type CreateEthereumTransactionBadRequest
- type CreateEthereumTransactionCreated
- type CreateEthereumTransactionParams
- func NewCreateEthereumTransactionParams() *CreateEthereumTransactionParams
- func NewCreateEthereumTransactionParamsWithContext(ctx context.Context) *CreateEthereumTransactionParams
- func NewCreateEthereumTransactionParamsWithHTTPClient(client *http.Client) *CreateEthereumTransactionParams
- func NewCreateEthereumTransactionParamsWithTimeout(timeout time.Duration) *CreateEthereumTransactionParams
- func (o *CreateEthereumTransactionParams) SetContext(ctx context.Context)
- func (o *CreateEthereumTransactionParams) SetData(data *model.CreateEthereumTransactionRequest)
- func (o *CreateEthereumTransactionParams) SetDefaults()
- func (o *CreateEthereumTransactionParams) SetHTTPClient(client *http.Client)
- func (o *CreateEthereumTransactionParams) SetTimeout(timeout time.Duration)
- func (o *CreateEthereumTransactionParams) SetWalletID(walletID string)
- func (o *CreateEthereumTransactionParams) WithContext(ctx context.Context) *CreateEthereumTransactionParams
- func (o *CreateEthereumTransactionParams) WithData(data *model.CreateEthereumTransactionRequest) *CreateEthereumTransactionParams
- func (o *CreateEthereumTransactionParams) WithDefaults() *CreateEthereumTransactionParams
- func (o *CreateEthereumTransactionParams) WithHTTPClient(client *http.Client) *CreateEthereumTransactionParams
- func (o *CreateEthereumTransactionParams) WithTimeout(timeout time.Duration) *CreateEthereumTransactionParams
- func (o *CreateEthereumTransactionParams) WithWalletID(walletID string) *CreateEthereumTransactionParams
- func (o *CreateEthereumTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEthereumTransactionReader
- type CreateMaticTransactionBadRequest
- type CreateMaticTransactionCreated
- type CreateMaticTransactionParams
- func NewCreateMaticTransactionParams() *CreateMaticTransactionParams
- func NewCreateMaticTransactionParamsWithContext(ctx context.Context) *CreateMaticTransactionParams
- func NewCreateMaticTransactionParamsWithHTTPClient(client *http.Client) *CreateMaticTransactionParams
- func NewCreateMaticTransactionParamsWithTimeout(timeout time.Duration) *CreateMaticTransactionParams
- func (o *CreateMaticTransactionParams) SetContext(ctx context.Context)
- func (o *CreateMaticTransactionParams) SetData(data *model.CreateMaticTransactionRequest)
- func (o *CreateMaticTransactionParams) SetDefaults()
- func (o *CreateMaticTransactionParams) SetHTTPClient(client *http.Client)
- func (o *CreateMaticTransactionParams) SetTimeout(timeout time.Duration)
- func (o *CreateMaticTransactionParams) SetWalletID(walletID string)
- func (o *CreateMaticTransactionParams) WithContext(ctx context.Context) *CreateMaticTransactionParams
- func (o *CreateMaticTransactionParams) WithData(data *model.CreateMaticTransactionRequest) *CreateMaticTransactionParams
- func (o *CreateMaticTransactionParams) WithDefaults() *CreateMaticTransactionParams
- func (o *CreateMaticTransactionParams) WithHTTPClient(client *http.Client) *CreateMaticTransactionParams
- func (o *CreateMaticTransactionParams) WithTimeout(timeout time.Duration) *CreateMaticTransactionParams
- func (o *CreateMaticTransactionParams) WithWalletID(walletID string) *CreateMaticTransactionParams
- func (o *CreateMaticTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMaticTransactionReader
- type CreateTronTransactionBadRequest
- type CreateTronTransactionCreated
- type CreateTronTransactionParams
- func NewCreateTronTransactionParams() *CreateTronTransactionParams
- func NewCreateTronTransactionParamsWithContext(ctx context.Context) *CreateTronTransactionParams
- func NewCreateTronTransactionParamsWithHTTPClient(client *http.Client) *CreateTronTransactionParams
- func NewCreateTronTransactionParamsWithTimeout(timeout time.Duration) *CreateTronTransactionParams
- func (o *CreateTronTransactionParams) SetContext(ctx context.Context)
- func (o *CreateTronTransactionParams) SetData(data *model.CreateTronTransactionRequest)
- func (o *CreateTronTransactionParams) SetDefaults()
- func (o *CreateTronTransactionParams) SetHTTPClient(client *http.Client)
- func (o *CreateTronTransactionParams) SetTimeout(timeout time.Duration)
- func (o *CreateTronTransactionParams) SetWalletID(walletID string)
- func (o *CreateTronTransactionParams) WithContext(ctx context.Context) *CreateTronTransactionParams
- func (o *CreateTronTransactionParams) WithData(data *model.CreateTronTransactionRequest) *CreateTronTransactionParams
- func (o *CreateTronTransactionParams) WithDefaults() *CreateTronTransactionParams
- func (o *CreateTronTransactionParams) WithHTTPClient(client *http.Client) *CreateTronTransactionParams
- func (o *CreateTronTransactionParams) WithTimeout(timeout time.Duration) *CreateTronTransactionParams
- func (o *CreateTronTransactionParams) WithWalletID(walletID string) *CreateTronTransactionParams
- func (o *CreateTronTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTronTransactionReader
- type CreateWalletBadRequest
- type CreateWalletCreated
- type CreateWalletParams
- func (o *CreateWalletParams) SetContext(ctx context.Context)
- func (o *CreateWalletParams) SetData(data *model.CreateWalletRequest)
- func (o *CreateWalletParams) SetDefaults()
- func (o *CreateWalletParams) SetHTTPClient(client *http.Client)
- func (o *CreateWalletParams) SetTimeout(timeout time.Duration)
- func (o *CreateWalletParams) WithContext(ctx context.Context) *CreateWalletParams
- func (o *CreateWalletParams) WithData(data *model.CreateWalletRequest) *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 DeleteWalletBadRequest
- type DeleteWalletNoContent
- type DeleteWalletParams
- func (o *DeleteWalletParams) SetContext(ctx context.Context)
- func (o *DeleteWalletParams) SetDefaults()
- func (o *DeleteWalletParams) SetHTTPClient(client *http.Client)
- func (o *DeleteWalletParams) SetTimeout(timeout time.Duration)
- func (o *DeleteWalletParams) SetWalletID(walletID string)
- func (o *DeleteWalletParams) WithContext(ctx context.Context) *DeleteWalletParams
- func (o *DeleteWalletParams) WithDefaults() *DeleteWalletParams
- func (o *DeleteWalletParams) WithHTTPClient(client *http.Client) *DeleteWalletParams
- func (o *DeleteWalletParams) WithTimeout(timeout time.Duration) *DeleteWalletParams
- func (o *DeleteWalletParams) WithWalletID(walletID string) *DeleteWalletParams
- func (o *DeleteWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteWalletReader
- type GetWalletBadRequest
- type GetWalletOK
- type GetWalletParams
- 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) SetWalletID(walletID string)
- 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) WithWalletID(walletID string) *GetWalletParams
- func (o *GetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWalletReader
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 wallet API
func (*Client) CreateBSCTransaction ¶ added in v0.3.0
func (a *Client) CreateBSCTransaction(params *CreateBSCTransactionParams, opts ...ClientOption) (*CreateBSCTransactionCreated, error)
CreateBSCTransaction creates b s c transaction
func (*Client) CreateEthereumTransaction ¶
func (a *Client) CreateEthereumTransaction(params *CreateEthereumTransactionParams, opts ...ClientOption) (*CreateEthereumTransactionCreated, error)
CreateEthereumTransaction creates ethereum transaction
func (*Client) CreateMaticTransaction ¶
func (a *Client) CreateMaticTransaction(params *CreateMaticTransactionParams, opts ...ClientOption) (*CreateMaticTransactionCreated, error)
CreateMaticTransaction creates polygon transaction
func (*Client) CreateTronTransaction ¶
func (a *Client) CreateTronTransaction(params *CreateTronTransactionParams, opts ...ClientOption) (*CreateTronTransactionCreated, error)
CreateTronTransaction creates tron transaction
func (*Client) CreateWallet ¶
func (a *Client) CreateWallet(params *CreateWalletParams, opts ...ClientOption) (*CreateWalletCreated, error)
CreateWallet creates wallet
func (*Client) DeleteWallet ¶
func (a *Client) DeleteWallet(params *DeleteWalletParams, opts ...ClientOption) (*DeleteWalletNoContent, error)
DeleteWallet deletes wallet
func (*Client) GetWallet ¶
func (a *Client) GetWallet(params *GetWalletParams, opts ...ClientOption) (*GetWalletOK, error)
GetWallet gets wallet
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 { CreateBSCTransaction(params *CreateBSCTransactionParams, opts ...ClientOption) (*CreateBSCTransactionCreated, error) CreateEthereumTransaction(params *CreateEthereumTransactionParams, opts ...ClientOption) (*CreateEthereumTransactionCreated, error) CreateMaticTransaction(params *CreateMaticTransactionParams, opts ...ClientOption) (*CreateMaticTransactionCreated, error) CreateTronTransaction(params *CreateTronTransactionParams, opts ...ClientOption) (*CreateTronTransactionCreated, error) CreateWallet(params *CreateWalletParams, opts ...ClientOption) (*CreateWalletCreated, error) DeleteWallet(params *DeleteWalletParams, opts ...ClientOption) (*DeleteWalletNoContent, error) GetWallet(params *GetWalletParams, opts ...ClientOption) (*GetWalletOK, 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 wallet API client.
type CreateBSCTransactionBadRequest ¶ added in v0.3.0
type CreateBSCTransactionBadRequest struct {
Payload *model.ErrorResponse
}
CreateBSCTransactionBadRequest describes a response with status code 400, with default header values.
Validation error / Not found
func NewCreateBSCTransactionBadRequest ¶ added in v0.3.0
func NewCreateBSCTransactionBadRequest() *CreateBSCTransactionBadRequest
NewCreateBSCTransactionBadRequest creates a CreateBSCTransactionBadRequest with default headers values
func (*CreateBSCTransactionBadRequest) Error ¶ added in v0.3.0
func (o *CreateBSCTransactionBadRequest) Error() string
func (*CreateBSCTransactionBadRequest) GetPayload ¶ added in v0.3.0
func (o *CreateBSCTransactionBadRequest) GetPayload() *model.ErrorResponse
type CreateBSCTransactionCreated ¶ added in v0.3.0
type CreateBSCTransactionCreated struct {
Payload *model.BSCTransaction
}
CreateBSCTransactionCreated describes a response with status code 201, with default header values.
Transaction Created
func NewCreateBSCTransactionCreated ¶ added in v0.3.0
func NewCreateBSCTransactionCreated() *CreateBSCTransactionCreated
NewCreateBSCTransactionCreated creates a CreateBSCTransactionCreated with default headers values
func (*CreateBSCTransactionCreated) Error ¶ added in v0.3.0
func (o *CreateBSCTransactionCreated) Error() string
func (*CreateBSCTransactionCreated) GetPayload ¶ added in v0.3.0
func (o *CreateBSCTransactionCreated) GetPayload() *model.BSCTransaction
type CreateBSCTransactionParams ¶ added in v0.3.0
type CreateBSCTransactionParams struct { // Data. Data *model.CreateBSCTransactionRequest /* WalletID. Wallet UUID */ WalletID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBSCTransactionParams contains all the parameters to send to the API endpoint
for the create b s c transaction operation. Typically these are written to a http.Request.
func NewCreateBSCTransactionParams ¶ added in v0.3.0
func NewCreateBSCTransactionParams() *CreateBSCTransactionParams
NewCreateBSCTransactionParams creates a new CreateBSCTransactionParams 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 NewCreateBSCTransactionParamsWithContext ¶ added in v0.3.0
func NewCreateBSCTransactionParamsWithContext(ctx context.Context) *CreateBSCTransactionParams
NewCreateBSCTransactionParamsWithContext creates a new CreateBSCTransactionParams object with the ability to set a context for a request.
func NewCreateBSCTransactionParamsWithHTTPClient ¶ added in v0.3.0
func NewCreateBSCTransactionParamsWithHTTPClient(client *http.Client) *CreateBSCTransactionParams
NewCreateBSCTransactionParamsWithHTTPClient creates a new CreateBSCTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBSCTransactionParamsWithTimeout ¶ added in v0.3.0
func NewCreateBSCTransactionParamsWithTimeout(timeout time.Duration) *CreateBSCTransactionParams
NewCreateBSCTransactionParamsWithTimeout creates a new CreateBSCTransactionParams object with the ability to set a timeout on a request.
func (*CreateBSCTransactionParams) SetContext ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the create b s c transaction params
func (*CreateBSCTransactionParams) SetData ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) SetData(data *model.CreateBSCTransactionRequest)
SetData adds the data to the create b s c transaction params
func (*CreateBSCTransactionParams) SetDefaults ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) SetDefaults()
SetDefaults hydrates default values in the create b s c transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBSCTransactionParams) SetHTTPClient ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create b s c transaction params
func (*CreateBSCTransactionParams) SetTimeout ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create b s c transaction params
func (*CreateBSCTransactionParams) SetWalletID ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the create b s c transaction params
func (*CreateBSCTransactionParams) WithContext ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) WithContext(ctx context.Context) *CreateBSCTransactionParams
WithContext adds the context to the create b s c transaction params
func (*CreateBSCTransactionParams) WithData ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) WithData(data *model.CreateBSCTransactionRequest) *CreateBSCTransactionParams
WithData adds the data to the create b s c transaction params
func (*CreateBSCTransactionParams) WithDefaults ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) WithDefaults() *CreateBSCTransactionParams
WithDefaults hydrates default values in the create b s c transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBSCTransactionParams) WithHTTPClient ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) WithHTTPClient(client *http.Client) *CreateBSCTransactionParams
WithHTTPClient adds the HTTPClient to the create b s c transaction params
func (*CreateBSCTransactionParams) WithTimeout ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) WithTimeout(timeout time.Duration) *CreateBSCTransactionParams
WithTimeout adds the timeout to the create b s c transaction params
func (*CreateBSCTransactionParams) WithWalletID ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) WithWalletID(walletID string) *CreateBSCTransactionParams
WithWalletID adds the walletID to the create b s c transaction params
func (*CreateBSCTransactionParams) WriteToRequest ¶ added in v0.3.0
func (o *CreateBSCTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBSCTransactionReader ¶ added in v0.3.0
type CreateBSCTransactionReader struct {
// contains filtered or unexported fields
}
CreateBSCTransactionReader is a Reader for the CreateBSCTransaction structure.
func (*CreateBSCTransactionReader) ReadResponse ¶ added in v0.3.0
func (o *CreateBSCTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateEthereumTransactionBadRequest ¶
type CreateEthereumTransactionBadRequest struct {
Payload *model.ErrorResponse
}
CreateEthereumTransactionBadRequest describes a response with status code 400, with default header values.
Validation error / Not found
func NewCreateEthereumTransactionBadRequest ¶
func NewCreateEthereumTransactionBadRequest() *CreateEthereumTransactionBadRequest
NewCreateEthereumTransactionBadRequest creates a CreateEthereumTransactionBadRequest with default headers values
func (*CreateEthereumTransactionBadRequest) Error ¶
func (o *CreateEthereumTransactionBadRequest) Error() string
func (*CreateEthereumTransactionBadRequest) GetPayload ¶
func (o *CreateEthereumTransactionBadRequest) GetPayload() *model.ErrorResponse
type CreateEthereumTransactionCreated ¶
type CreateEthereumTransactionCreated struct {
Payload *model.EthereumTransaction
}
CreateEthereumTransactionCreated describes a response with status code 201, with default header values.
Transaction Created
func NewCreateEthereumTransactionCreated ¶
func NewCreateEthereumTransactionCreated() *CreateEthereumTransactionCreated
NewCreateEthereumTransactionCreated creates a CreateEthereumTransactionCreated with default headers values
func (*CreateEthereumTransactionCreated) Error ¶
func (o *CreateEthereumTransactionCreated) Error() string
func (*CreateEthereumTransactionCreated) GetPayload ¶
func (o *CreateEthereumTransactionCreated) GetPayload() *model.EthereumTransaction
type CreateEthereumTransactionParams ¶
type CreateEthereumTransactionParams struct { // Data. Data *model.CreateEthereumTransactionRequest /* WalletID. Wallet UUID */ WalletID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateEthereumTransactionParams contains all the parameters to send to the API endpoint
for the create ethereum transaction operation. Typically these are written to a http.Request.
func NewCreateEthereumTransactionParams ¶
func NewCreateEthereumTransactionParams() *CreateEthereumTransactionParams
NewCreateEthereumTransactionParams creates a new CreateEthereumTransactionParams 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 NewCreateEthereumTransactionParamsWithContext ¶
func NewCreateEthereumTransactionParamsWithContext(ctx context.Context) *CreateEthereumTransactionParams
NewCreateEthereumTransactionParamsWithContext creates a new CreateEthereumTransactionParams object with the ability to set a context for a request.
func NewCreateEthereumTransactionParamsWithHTTPClient ¶
func NewCreateEthereumTransactionParamsWithHTTPClient(client *http.Client) *CreateEthereumTransactionParams
NewCreateEthereumTransactionParamsWithHTTPClient creates a new CreateEthereumTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateEthereumTransactionParamsWithTimeout ¶
func NewCreateEthereumTransactionParamsWithTimeout(timeout time.Duration) *CreateEthereumTransactionParams
NewCreateEthereumTransactionParamsWithTimeout creates a new CreateEthereumTransactionParams object with the ability to set a timeout on a request.
func (*CreateEthereumTransactionParams) SetContext ¶
func (o *CreateEthereumTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the create ethereum transaction params
func (*CreateEthereumTransactionParams) SetData ¶
func (o *CreateEthereumTransactionParams) SetData(data *model.CreateEthereumTransactionRequest)
SetData adds the data to the create ethereum transaction params
func (*CreateEthereumTransactionParams) SetDefaults ¶
func (o *CreateEthereumTransactionParams) SetDefaults()
SetDefaults hydrates default values in the create ethereum transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEthereumTransactionParams) SetHTTPClient ¶
func (o *CreateEthereumTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create ethereum transaction params
func (*CreateEthereumTransactionParams) SetTimeout ¶
func (o *CreateEthereumTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create ethereum transaction params
func (*CreateEthereumTransactionParams) SetWalletID ¶
func (o *CreateEthereumTransactionParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the create ethereum transaction params
func (*CreateEthereumTransactionParams) WithContext ¶
func (o *CreateEthereumTransactionParams) WithContext(ctx context.Context) *CreateEthereumTransactionParams
WithContext adds the context to the create ethereum transaction params
func (*CreateEthereumTransactionParams) WithData ¶
func (o *CreateEthereumTransactionParams) WithData(data *model.CreateEthereumTransactionRequest) *CreateEthereumTransactionParams
WithData adds the data to the create ethereum transaction params
func (*CreateEthereumTransactionParams) WithDefaults ¶
func (o *CreateEthereumTransactionParams) WithDefaults() *CreateEthereumTransactionParams
WithDefaults hydrates default values in the create ethereum transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateEthereumTransactionParams) WithHTTPClient ¶
func (o *CreateEthereumTransactionParams) WithHTTPClient(client *http.Client) *CreateEthereumTransactionParams
WithHTTPClient adds the HTTPClient to the create ethereum transaction params
func (*CreateEthereumTransactionParams) WithTimeout ¶
func (o *CreateEthereumTransactionParams) WithTimeout(timeout time.Duration) *CreateEthereumTransactionParams
WithTimeout adds the timeout to the create ethereum transaction params
func (*CreateEthereumTransactionParams) WithWalletID ¶
func (o *CreateEthereumTransactionParams) WithWalletID(walletID string) *CreateEthereumTransactionParams
WithWalletID adds the walletID to the create ethereum transaction params
func (*CreateEthereumTransactionParams) WriteToRequest ¶
func (o *CreateEthereumTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEthereumTransactionReader ¶
type CreateEthereumTransactionReader struct {
// contains filtered or unexported fields
}
CreateEthereumTransactionReader is a Reader for the CreateEthereumTransaction structure.
func (*CreateEthereumTransactionReader) ReadResponse ¶
func (o *CreateEthereumTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMaticTransactionBadRequest ¶
type CreateMaticTransactionBadRequest struct {
Payload *model.ErrorResponse
}
CreateMaticTransactionBadRequest describes a response with status code 400, with default header values.
Validation error / Not found
func NewCreateMaticTransactionBadRequest ¶
func NewCreateMaticTransactionBadRequest() *CreateMaticTransactionBadRequest
NewCreateMaticTransactionBadRequest creates a CreateMaticTransactionBadRequest with default headers values
func (*CreateMaticTransactionBadRequest) Error ¶
func (o *CreateMaticTransactionBadRequest) Error() string
func (*CreateMaticTransactionBadRequest) GetPayload ¶
func (o *CreateMaticTransactionBadRequest) GetPayload() *model.ErrorResponse
type CreateMaticTransactionCreated ¶
type CreateMaticTransactionCreated struct {
Payload *model.MaticTransaction
}
CreateMaticTransactionCreated describes a response with status code 201, with default header values.
Transaction Created
func NewCreateMaticTransactionCreated ¶
func NewCreateMaticTransactionCreated() *CreateMaticTransactionCreated
NewCreateMaticTransactionCreated creates a CreateMaticTransactionCreated with default headers values
func (*CreateMaticTransactionCreated) Error ¶
func (o *CreateMaticTransactionCreated) Error() string
func (*CreateMaticTransactionCreated) GetPayload ¶
func (o *CreateMaticTransactionCreated) GetPayload() *model.MaticTransaction
type CreateMaticTransactionParams ¶
type CreateMaticTransactionParams struct { // Data. Data *model.CreateMaticTransactionRequest /* WalletID. Wallet UUID */ WalletID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMaticTransactionParams contains all the parameters to send to the API endpoint
for the create matic transaction operation. Typically these are written to a http.Request.
func NewCreateMaticTransactionParams ¶
func NewCreateMaticTransactionParams() *CreateMaticTransactionParams
NewCreateMaticTransactionParams creates a new CreateMaticTransactionParams 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 NewCreateMaticTransactionParamsWithContext ¶
func NewCreateMaticTransactionParamsWithContext(ctx context.Context) *CreateMaticTransactionParams
NewCreateMaticTransactionParamsWithContext creates a new CreateMaticTransactionParams object with the ability to set a context for a request.
func NewCreateMaticTransactionParamsWithHTTPClient ¶
func NewCreateMaticTransactionParamsWithHTTPClient(client *http.Client) *CreateMaticTransactionParams
NewCreateMaticTransactionParamsWithHTTPClient creates a new CreateMaticTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMaticTransactionParamsWithTimeout ¶
func NewCreateMaticTransactionParamsWithTimeout(timeout time.Duration) *CreateMaticTransactionParams
NewCreateMaticTransactionParamsWithTimeout creates a new CreateMaticTransactionParams object with the ability to set a timeout on a request.
func (*CreateMaticTransactionParams) SetContext ¶
func (o *CreateMaticTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the create matic transaction params
func (*CreateMaticTransactionParams) SetData ¶
func (o *CreateMaticTransactionParams) SetData(data *model.CreateMaticTransactionRequest)
SetData adds the data to the create matic transaction params
func (*CreateMaticTransactionParams) SetDefaults ¶
func (o *CreateMaticTransactionParams) SetDefaults()
SetDefaults hydrates default values in the create matic transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMaticTransactionParams) SetHTTPClient ¶
func (o *CreateMaticTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create matic transaction params
func (*CreateMaticTransactionParams) SetTimeout ¶
func (o *CreateMaticTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create matic transaction params
func (*CreateMaticTransactionParams) SetWalletID ¶
func (o *CreateMaticTransactionParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the create matic transaction params
func (*CreateMaticTransactionParams) WithContext ¶
func (o *CreateMaticTransactionParams) WithContext(ctx context.Context) *CreateMaticTransactionParams
WithContext adds the context to the create matic transaction params
func (*CreateMaticTransactionParams) WithData ¶
func (o *CreateMaticTransactionParams) WithData(data *model.CreateMaticTransactionRequest) *CreateMaticTransactionParams
WithData adds the data to the create matic transaction params
func (*CreateMaticTransactionParams) WithDefaults ¶
func (o *CreateMaticTransactionParams) WithDefaults() *CreateMaticTransactionParams
WithDefaults hydrates default values in the create matic transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMaticTransactionParams) WithHTTPClient ¶
func (o *CreateMaticTransactionParams) WithHTTPClient(client *http.Client) *CreateMaticTransactionParams
WithHTTPClient adds the HTTPClient to the create matic transaction params
func (*CreateMaticTransactionParams) WithTimeout ¶
func (o *CreateMaticTransactionParams) WithTimeout(timeout time.Duration) *CreateMaticTransactionParams
WithTimeout adds the timeout to the create matic transaction params
func (*CreateMaticTransactionParams) WithWalletID ¶
func (o *CreateMaticTransactionParams) WithWalletID(walletID string) *CreateMaticTransactionParams
WithWalletID adds the walletID to the create matic transaction params
func (*CreateMaticTransactionParams) WriteToRequest ¶
func (o *CreateMaticTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMaticTransactionReader ¶
type CreateMaticTransactionReader struct {
// contains filtered or unexported fields
}
CreateMaticTransactionReader is a Reader for the CreateMaticTransaction structure.
func (*CreateMaticTransactionReader) ReadResponse ¶
func (o *CreateMaticTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTronTransactionBadRequest ¶
type CreateTronTransactionBadRequest struct {
Payload *model.ErrorResponse
}
CreateTronTransactionBadRequest describes a response with status code 400, with default header values.
Validation error / Not found
func NewCreateTronTransactionBadRequest ¶
func NewCreateTronTransactionBadRequest() *CreateTronTransactionBadRequest
NewCreateTronTransactionBadRequest creates a CreateTronTransactionBadRequest with default headers values
func (*CreateTronTransactionBadRequest) Error ¶
func (o *CreateTronTransactionBadRequest) Error() string
func (*CreateTronTransactionBadRequest) GetPayload ¶
func (o *CreateTronTransactionBadRequest) GetPayload() *model.ErrorResponse
type CreateTronTransactionCreated ¶
type CreateTronTransactionCreated struct {
Payload *model.TronTransaction
}
CreateTronTransactionCreated describes a response with status code 201, with default header values.
Transaction Created
func NewCreateTronTransactionCreated ¶
func NewCreateTronTransactionCreated() *CreateTronTransactionCreated
NewCreateTronTransactionCreated creates a CreateTronTransactionCreated with default headers values
func (*CreateTronTransactionCreated) Error ¶
func (o *CreateTronTransactionCreated) Error() string
func (*CreateTronTransactionCreated) GetPayload ¶
func (o *CreateTronTransactionCreated) GetPayload() *model.TronTransaction
type CreateTronTransactionParams ¶
type CreateTronTransactionParams struct { // Data. Data *model.CreateTronTransactionRequest /* WalletID. Wallet UUID */ WalletID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTronTransactionParams contains all the parameters to send to the API endpoint
for the create tron transaction operation. Typically these are written to a http.Request.
func NewCreateTronTransactionParams ¶
func NewCreateTronTransactionParams() *CreateTronTransactionParams
NewCreateTronTransactionParams creates a new CreateTronTransactionParams 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 NewCreateTronTransactionParamsWithContext ¶
func NewCreateTronTransactionParamsWithContext(ctx context.Context) *CreateTronTransactionParams
NewCreateTronTransactionParamsWithContext creates a new CreateTronTransactionParams object with the ability to set a context for a request.
func NewCreateTronTransactionParamsWithHTTPClient ¶
func NewCreateTronTransactionParamsWithHTTPClient(client *http.Client) *CreateTronTransactionParams
NewCreateTronTransactionParamsWithHTTPClient creates a new CreateTronTransactionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTronTransactionParamsWithTimeout ¶
func NewCreateTronTransactionParamsWithTimeout(timeout time.Duration) *CreateTronTransactionParams
NewCreateTronTransactionParamsWithTimeout creates a new CreateTronTransactionParams object with the ability to set a timeout on a request.
func (*CreateTronTransactionParams) SetContext ¶
func (o *CreateTronTransactionParams) SetContext(ctx context.Context)
SetContext adds the context to the create tron transaction params
func (*CreateTronTransactionParams) SetData ¶
func (o *CreateTronTransactionParams) SetData(data *model.CreateTronTransactionRequest)
SetData adds the data to the create tron transaction params
func (*CreateTronTransactionParams) SetDefaults ¶
func (o *CreateTronTransactionParams) SetDefaults()
SetDefaults hydrates default values in the create tron transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTronTransactionParams) SetHTTPClient ¶
func (o *CreateTronTransactionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create tron transaction params
func (*CreateTronTransactionParams) SetTimeout ¶
func (o *CreateTronTransactionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create tron transaction params
func (*CreateTronTransactionParams) SetWalletID ¶
func (o *CreateTronTransactionParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the create tron transaction params
func (*CreateTronTransactionParams) WithContext ¶
func (o *CreateTronTransactionParams) WithContext(ctx context.Context) *CreateTronTransactionParams
WithContext adds the context to the create tron transaction params
func (*CreateTronTransactionParams) WithData ¶
func (o *CreateTronTransactionParams) WithData(data *model.CreateTronTransactionRequest) *CreateTronTransactionParams
WithData adds the data to the create tron transaction params
func (*CreateTronTransactionParams) WithDefaults ¶
func (o *CreateTronTransactionParams) WithDefaults() *CreateTronTransactionParams
WithDefaults hydrates default values in the create tron transaction params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTronTransactionParams) WithHTTPClient ¶
func (o *CreateTronTransactionParams) WithHTTPClient(client *http.Client) *CreateTronTransactionParams
WithHTTPClient adds the HTTPClient to the create tron transaction params
func (*CreateTronTransactionParams) WithTimeout ¶
func (o *CreateTronTransactionParams) WithTimeout(timeout time.Duration) *CreateTronTransactionParams
WithTimeout adds the timeout to the create tron transaction params
func (*CreateTronTransactionParams) WithWalletID ¶
func (o *CreateTronTransactionParams) WithWalletID(walletID string) *CreateTronTransactionParams
WithWalletID adds the walletID to the create tron transaction params
func (*CreateTronTransactionParams) WriteToRequest ¶
func (o *CreateTronTransactionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTronTransactionReader ¶
type CreateTronTransactionReader struct {
// contains filtered or unexported fields
}
CreateTronTransactionReader is a Reader for the CreateTronTransaction structure.
func (*CreateTronTransactionReader) ReadResponse ¶
func (o *CreateTronTransactionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateWalletBadRequest ¶
type CreateWalletBadRequest struct {
Payload *model.ErrorResponse
}
CreateWalletBadRequest describes a response with status code 400, with default header values.
Validation error
func NewCreateWalletBadRequest ¶
func NewCreateWalletBadRequest() *CreateWalletBadRequest
NewCreateWalletBadRequest creates a CreateWalletBadRequest with default headers values
func (*CreateWalletBadRequest) Error ¶
func (o *CreateWalletBadRequest) Error() string
func (*CreateWalletBadRequest) GetPayload ¶
func (o *CreateWalletBadRequest) GetPayload() *model.ErrorResponse
type CreateWalletCreated ¶
CreateWalletCreated describes a response with status code 201, with default header values.
Wallet created
func NewCreateWalletCreated ¶
func NewCreateWalletCreated() *CreateWalletCreated
NewCreateWalletCreated creates a CreateWalletCreated with default headers values
func (*CreateWalletCreated) Error ¶
func (o *CreateWalletCreated) Error() string
func (*CreateWalletCreated) GetPayload ¶
func (o *CreateWalletCreated) GetPayload() *model.Wallet
type CreateWalletParams ¶
type CreateWalletParams struct { // Data. Data *model.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) SetContext ¶
func (o *CreateWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the create wallet params
func (*CreateWalletParams) SetData ¶
func (o *CreateWalletParams) SetData(data *model.CreateWalletRequest)
SetData adds the data 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) WithContext ¶
func (o *CreateWalletParams) WithContext(ctx context.Context) *CreateWalletParams
WithContext adds the context to the create wallet params
func (*CreateWalletParams) WithData ¶
func (o *CreateWalletParams) WithData(data *model.CreateWalletRequest) *CreateWalletParams
WithData adds the data 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 DeleteWalletBadRequest ¶
type DeleteWalletBadRequest struct {
Payload *model.ErrorResponse
}
DeleteWalletBadRequest describes a response with status code 400, with default header values.
Validation error / Not found
func NewDeleteWalletBadRequest ¶
func NewDeleteWalletBadRequest() *DeleteWalletBadRequest
NewDeleteWalletBadRequest creates a DeleteWalletBadRequest with default headers values
func (*DeleteWalletBadRequest) Error ¶
func (o *DeleteWalletBadRequest) Error() string
func (*DeleteWalletBadRequest) GetPayload ¶
func (o *DeleteWalletBadRequest) GetPayload() *model.ErrorResponse
type DeleteWalletNoContent ¶
type DeleteWalletNoContent struct { }
DeleteWalletNoContent describes a response with status code 204, with default header values.
Wallet deleted
func NewDeleteWalletNoContent ¶
func NewDeleteWalletNoContent() *DeleteWalletNoContent
NewDeleteWalletNoContent creates a DeleteWalletNoContent with default headers values
func (*DeleteWalletNoContent) Error ¶
func (o *DeleteWalletNoContent) Error() string
type DeleteWalletParams ¶
type DeleteWalletParams struct { /* WalletID. Wallet UUID */ WalletID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteWalletParams contains all the parameters to send to the API endpoint
for the delete wallet operation. Typically these are written to a http.Request.
func NewDeleteWalletParams ¶
func NewDeleteWalletParams() *DeleteWalletParams
NewDeleteWalletParams creates a new DeleteWalletParams 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 NewDeleteWalletParamsWithContext ¶
func NewDeleteWalletParamsWithContext(ctx context.Context) *DeleteWalletParams
NewDeleteWalletParamsWithContext creates a new DeleteWalletParams object with the ability to set a context for a request.
func NewDeleteWalletParamsWithHTTPClient ¶
func NewDeleteWalletParamsWithHTTPClient(client *http.Client) *DeleteWalletParams
NewDeleteWalletParamsWithHTTPClient creates a new DeleteWalletParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteWalletParamsWithTimeout ¶
func NewDeleteWalletParamsWithTimeout(timeout time.Duration) *DeleteWalletParams
NewDeleteWalletParamsWithTimeout creates a new DeleteWalletParams object with the ability to set a timeout on a request.
func (*DeleteWalletParams) SetContext ¶
func (o *DeleteWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the delete wallet params
func (*DeleteWalletParams) SetDefaults ¶
func (o *DeleteWalletParams) SetDefaults()
SetDefaults hydrates default values in the delete wallet params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWalletParams) SetHTTPClient ¶
func (o *DeleteWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete wallet params
func (*DeleteWalletParams) SetTimeout ¶
func (o *DeleteWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete wallet params
func (*DeleteWalletParams) SetWalletID ¶
func (o *DeleteWalletParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the delete wallet params
func (*DeleteWalletParams) WithContext ¶
func (o *DeleteWalletParams) WithContext(ctx context.Context) *DeleteWalletParams
WithContext adds the context to the delete wallet params
func (*DeleteWalletParams) WithDefaults ¶
func (o *DeleteWalletParams) WithDefaults() *DeleteWalletParams
WithDefaults hydrates default values in the delete wallet params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteWalletParams) WithHTTPClient ¶
func (o *DeleteWalletParams) WithHTTPClient(client *http.Client) *DeleteWalletParams
WithHTTPClient adds the HTTPClient to the delete wallet params
func (*DeleteWalletParams) WithTimeout ¶
func (o *DeleteWalletParams) WithTimeout(timeout time.Duration) *DeleteWalletParams
WithTimeout adds the timeout to the delete wallet params
func (*DeleteWalletParams) WithWalletID ¶
func (o *DeleteWalletParams) WithWalletID(walletID string) *DeleteWalletParams
WithWalletID adds the walletID to the delete wallet params
func (*DeleteWalletParams) WriteToRequest ¶
func (o *DeleteWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteWalletReader ¶
type DeleteWalletReader struct {
// contains filtered or unexported fields
}
DeleteWalletReader is a Reader for the DeleteWallet structure.
func (*DeleteWalletReader) ReadResponse ¶
func (o *DeleteWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWalletBadRequest ¶
type GetWalletBadRequest struct {
Payload *model.ErrorResponse
}
GetWalletBadRequest describes a response with status code 400, with default header values.
Validation error / Not found
func NewGetWalletBadRequest ¶
func NewGetWalletBadRequest() *GetWalletBadRequest
NewGetWalletBadRequest creates a GetWalletBadRequest with default headers values
func (*GetWalletBadRequest) Error ¶
func (o *GetWalletBadRequest) Error() string
func (*GetWalletBadRequest) GetPayload ¶
func (o *GetWalletBadRequest) GetPayload() *model.ErrorResponse
type GetWalletOK ¶
GetWalletOK describes a response with status code 200, with default header values.
Wallet
func NewGetWalletOK ¶
func NewGetWalletOK() *GetWalletOK
NewGetWalletOK creates a GetWalletOK with default headers values
func (*GetWalletOK) Error ¶
func (o *GetWalletOK) Error() string
func (*GetWalletOK) GetPayload ¶
func (o *GetWalletOK) GetPayload() *model.Wallet
type GetWalletParams ¶
type GetWalletParams struct { /* WalletID. Wallet UUID */ WalletID string 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) 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) SetWalletID ¶
func (o *GetWalletParams) SetWalletID(walletID string)
SetWalletID adds the walletId 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) WithWalletID ¶
func (o *GetWalletParams) WithWalletID(walletID string) *GetWalletParams
WithWalletID adds the walletID 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.
Source Files ¶
- create_b_s_c_transaction_parameters.go
- create_b_s_c_transaction_responses.go
- create_ethereum_transaction_parameters.go
- create_ethereum_transaction_responses.go
- create_matic_transaction_parameters.go
- create_matic_transaction_responses.go
- create_tron_transaction_parameters.go
- create_tron_transaction_responses.go
- create_wallet_parameters.go
- create_wallet_responses.go
- delete_wallet_parameters.go
- delete_wallet_responses.go
- get_wallet_parameters.go
- get_wallet_responses.go
- wallet_client.go