wallet

package
v3.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new wallet API client.

func (*Client) GetPrivateAddToAddressBook

func (a *Client) GetPrivateAddToAddressBook(params *GetPrivateAddToAddressBookParams) (*GetPrivateAddToAddressBookOK, error)

GetPrivateAddToAddressBook adds new entry to address book of given type

func (*Client) GetPrivateCancelWithdrawal

func (a *Client) GetPrivateCancelWithdrawal(params *GetPrivateCancelWithdrawalParams) (*GetPrivateCancelWithdrawalOK, error)

GetPrivateCancelWithdrawal cancels withdrawal request

func (*Client) GetPrivateCreateDepositAddress

func (a *Client) GetPrivateCreateDepositAddress(params *GetPrivateCreateDepositAddressParams) (*GetPrivateCreateDepositAddressOK, error)

GetPrivateCreateDepositAddress creates deposit address in currency

func (*Client) GetPrivateGetAddressBook

func (a *Client) GetPrivateGetAddressBook(params *GetPrivateGetAddressBookParams) (*GetPrivateGetAddressBookOK, error)

GetPrivateGetAddressBook retrieves address book of given type

func (*Client) GetPrivateGetCurrentDepositAddress

func (a *Client) GetPrivateGetCurrentDepositAddress(params *GetPrivateGetCurrentDepositAddressParams) (*GetPrivateGetCurrentDepositAddressOK, error)

GetPrivateGetCurrentDepositAddress retrieves deposit address for currency

func (*Client) GetPrivateGetDeposits

func (a *Client) GetPrivateGetDeposits(params *GetPrivateGetDepositsParams) (*GetPrivateGetDepositsOK, error)

GetPrivateGetDeposits retrieves the latest users deposits

func (*Client) GetPrivateGetTransfers

func (a *Client) GetPrivateGetTransfers(params *GetPrivateGetTransfersParams) (*GetPrivateGetTransfersOK, error)

GetPrivateGetTransfers adds new entry to address book of given type

func (*Client) GetPrivateGetWithdrawals

func (a *Client) GetPrivateGetWithdrawals(params *GetPrivateGetWithdrawalsParams) (*GetPrivateGetWithdrawalsOK, error)

GetPrivateGetWithdrawals retrieves the latest users withdrawals

func (*Client) GetPrivateRemoveFromAddressBook

func (a *Client) GetPrivateRemoveFromAddressBook(params *GetPrivateRemoveFromAddressBookParams) (*GetPrivateRemoveFromAddressBookOK, error)

GetPrivateRemoveFromAddressBook adds new entry to address book of given type

func (*Client) GetPrivateToggleDepositAddressCreation

func (a *Client) GetPrivateToggleDepositAddressCreation(params *GetPrivateToggleDepositAddressCreationParams) (*GetPrivateToggleDepositAddressCreationOK, error)

GetPrivateToggleDepositAddressCreation enables or disable deposit address creation

func (*Client) GetPrivateWithdraw

func (a *Client) GetPrivateWithdraw(params *GetPrivateWithdrawParams) (*GetPrivateWithdrawOK, error)

GetPrivateWithdraw creates a new withdrawal request

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetPrivateAddToAddressBookOK

type GetPrivateAddToAddressBookOK struct {
	Payload *models.PrivateAddToAddressBookResponse
}

GetPrivateAddToAddressBookOK handles this case with default header values.

GetPrivateAddToAddressBookOK get private add to address book o k

func NewGetPrivateAddToAddressBookOK

func NewGetPrivateAddToAddressBookOK() *GetPrivateAddToAddressBookOK

NewGetPrivateAddToAddressBookOK creates a GetPrivateAddToAddressBookOK with default headers values

func (*GetPrivateAddToAddressBookOK) Error

func (*GetPrivateAddToAddressBookOK) GetPayload

type GetPrivateAddToAddressBookParams

type GetPrivateAddToAddressBookParams struct {

	/*Address
	  Address in currency format, it must be in address book

	*/
	Address string
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Name
	  Name of address book entry

	*/
	Name string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string
	/*Type
	  Address book type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateAddToAddressBookParams contains all the parameters to send to the API endpoint for the get private add to address book operation typically these are written to a http.Request

func NewGetPrivateAddToAddressBookParams

func NewGetPrivateAddToAddressBookParams() *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParams creates a new GetPrivateAddToAddressBookParams object with the default values initialized.

func NewGetPrivateAddToAddressBookParamsWithContext

func NewGetPrivateAddToAddressBookParamsWithContext(ctx context.Context) *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParamsWithContext creates a new GetPrivateAddToAddressBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateAddToAddressBookParamsWithHTTPClient

func NewGetPrivateAddToAddressBookParamsWithHTTPClient(client *http.Client) *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParamsWithHTTPClient creates a new GetPrivateAddToAddressBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateAddToAddressBookParamsWithTimeout

func NewGetPrivateAddToAddressBookParamsWithTimeout(timeout time.Duration) *GetPrivateAddToAddressBookParams

NewGetPrivateAddToAddressBookParamsWithTimeout creates a new GetPrivateAddToAddressBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateAddToAddressBookParams) SetAddress

func (o *GetPrivateAddToAddressBookParams) SetAddress(address string)

SetAddress adds the address to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetContext

SetContext adds the context to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetCurrency

func (o *GetPrivateAddToAddressBookParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetHTTPClient

func (o *GetPrivateAddToAddressBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetName

func (o *GetPrivateAddToAddressBookParams) SetName(name string)

SetName adds the name to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetTfa

func (o *GetPrivateAddToAddressBookParams) SetTfa(tfa *string)

SetTfa adds the tfa to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetTimeout

func (o *GetPrivateAddToAddressBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) SetType

func (o *GetPrivateAddToAddressBookParams) SetType(typeVar string)

SetType adds the type to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithAddress

WithAddress adds the address to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithContext

WithContext adds the context to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithCurrency

WithCurrency adds the currency to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithName

WithName adds the name to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithTfa

WithTfa adds the tfa to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithTimeout

WithTimeout adds the timeout to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WithType

WithType adds the typeVar to the get private add to address book params

func (*GetPrivateAddToAddressBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateAddToAddressBookReader

type GetPrivateAddToAddressBookReader struct {
	// contains filtered or unexported fields
}

GetPrivateAddToAddressBookReader is a Reader for the GetPrivateAddToAddressBook structure.

func (*GetPrivateAddToAddressBookReader) ReadResponse

func (o *GetPrivateAddToAddressBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCancelWithdrawalOK

type GetPrivateCancelWithdrawalOK struct {
	Payload *models.PrivateWithdrawResponse
}

GetPrivateCancelWithdrawalOK handles this case with default header values.

GetPrivateCancelWithdrawalOK get private cancel withdrawal o k

func NewGetPrivateCancelWithdrawalOK

func NewGetPrivateCancelWithdrawalOK() *GetPrivateCancelWithdrawalOK

NewGetPrivateCancelWithdrawalOK creates a GetPrivateCancelWithdrawalOK with default headers values

func (*GetPrivateCancelWithdrawalOK) Error

func (*GetPrivateCancelWithdrawalOK) GetPayload

type GetPrivateCancelWithdrawalParams

type GetPrivateCancelWithdrawalParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*ID
	  The withdrawal id

	*/
	ID float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCancelWithdrawalParams contains all the parameters to send to the API endpoint for the get private cancel withdrawal operation typically these are written to a http.Request

func NewGetPrivateCancelWithdrawalParams

func NewGetPrivateCancelWithdrawalParams() *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParams creates a new GetPrivateCancelWithdrawalParams object with the default values initialized.

func NewGetPrivateCancelWithdrawalParamsWithContext

func NewGetPrivateCancelWithdrawalParamsWithContext(ctx context.Context) *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParamsWithContext creates a new GetPrivateCancelWithdrawalParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCancelWithdrawalParamsWithHTTPClient

func NewGetPrivateCancelWithdrawalParamsWithHTTPClient(client *http.Client) *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParamsWithHTTPClient creates a new GetPrivateCancelWithdrawalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCancelWithdrawalParamsWithTimeout

func NewGetPrivateCancelWithdrawalParamsWithTimeout(timeout time.Duration) *GetPrivateCancelWithdrawalParams

NewGetPrivateCancelWithdrawalParamsWithTimeout creates a new GetPrivateCancelWithdrawalParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCancelWithdrawalParams) SetContext

SetContext adds the context to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetCurrency

func (o *GetPrivateCancelWithdrawalParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetHTTPClient

func (o *GetPrivateCancelWithdrawalParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetID

SetID adds the id to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) SetTimeout

func (o *GetPrivateCancelWithdrawalParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithContext

WithContext adds the context to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithCurrency

WithCurrency adds the currency to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithID

WithID adds the id to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WithTimeout

WithTimeout adds the timeout to the get private cancel withdrawal params

func (*GetPrivateCancelWithdrawalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCancelWithdrawalReader

type GetPrivateCancelWithdrawalReader struct {
	// contains filtered or unexported fields
}

GetPrivateCancelWithdrawalReader is a Reader for the GetPrivateCancelWithdrawal structure.

func (*GetPrivateCancelWithdrawalReader) ReadResponse

func (o *GetPrivateCancelWithdrawalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateCreateDepositAddressOK

type GetPrivateCreateDepositAddressOK struct {
	Payload *models.PrivateDepositAddressResponse
}

GetPrivateCreateDepositAddressOK handles this case with default header values.

GetPrivateCreateDepositAddressOK get private create deposit address o k

func NewGetPrivateCreateDepositAddressOK

func NewGetPrivateCreateDepositAddressOK() *GetPrivateCreateDepositAddressOK

NewGetPrivateCreateDepositAddressOK creates a GetPrivateCreateDepositAddressOK with default headers values

func (*GetPrivateCreateDepositAddressOK) Error

func (*GetPrivateCreateDepositAddressOK) GetPayload

type GetPrivateCreateDepositAddressParams

type GetPrivateCreateDepositAddressParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateCreateDepositAddressParams contains all the parameters to send to the API endpoint for the get private create deposit address operation typically these are written to a http.Request

func NewGetPrivateCreateDepositAddressParams

func NewGetPrivateCreateDepositAddressParams() *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParams creates a new GetPrivateCreateDepositAddressParams object with the default values initialized.

func NewGetPrivateCreateDepositAddressParamsWithContext

func NewGetPrivateCreateDepositAddressParamsWithContext(ctx context.Context) *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParamsWithContext creates a new GetPrivateCreateDepositAddressParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateCreateDepositAddressParamsWithHTTPClient

func NewGetPrivateCreateDepositAddressParamsWithHTTPClient(client *http.Client) *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParamsWithHTTPClient creates a new GetPrivateCreateDepositAddressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateCreateDepositAddressParamsWithTimeout

func NewGetPrivateCreateDepositAddressParamsWithTimeout(timeout time.Duration) *GetPrivateCreateDepositAddressParams

NewGetPrivateCreateDepositAddressParamsWithTimeout creates a new GetPrivateCreateDepositAddressParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateCreateDepositAddressParams) SetContext

SetContext adds the context to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) SetCurrency

func (o *GetPrivateCreateDepositAddressParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) SetHTTPClient

func (o *GetPrivateCreateDepositAddressParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) SetTimeout

func (o *GetPrivateCreateDepositAddressParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithContext

WithContext adds the context to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithCurrency

WithCurrency adds the currency to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WithTimeout

WithTimeout adds the timeout to the get private create deposit address params

func (*GetPrivateCreateDepositAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateCreateDepositAddressReader

type GetPrivateCreateDepositAddressReader struct {
	// contains filtered or unexported fields
}

GetPrivateCreateDepositAddressReader is a Reader for the GetPrivateCreateDepositAddress structure.

func (*GetPrivateCreateDepositAddressReader) ReadResponse

func (o *GetPrivateCreateDepositAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetAddressBookOK

type GetPrivateGetAddressBookOK struct {
	Payload *models.PrivateAddressBookResponse
}

GetPrivateGetAddressBookOK handles this case with default header values.

GetPrivateGetAddressBookOK get private get address book o k

func NewGetPrivateGetAddressBookOK

func NewGetPrivateGetAddressBookOK() *GetPrivateGetAddressBookOK

NewGetPrivateGetAddressBookOK creates a GetPrivateGetAddressBookOK with default headers values

func (*GetPrivateGetAddressBookOK) Error

func (*GetPrivateGetAddressBookOK) GetPayload

type GetPrivateGetAddressBookParams

type GetPrivateGetAddressBookParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Type
	  Address book type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetAddressBookParams contains all the parameters to send to the API endpoint for the get private get address book operation typically these are written to a http.Request

func NewGetPrivateGetAddressBookParams

func NewGetPrivateGetAddressBookParams() *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParams creates a new GetPrivateGetAddressBookParams object with the default values initialized.

func NewGetPrivateGetAddressBookParamsWithContext

func NewGetPrivateGetAddressBookParamsWithContext(ctx context.Context) *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParamsWithContext creates a new GetPrivateGetAddressBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetAddressBookParamsWithHTTPClient

func NewGetPrivateGetAddressBookParamsWithHTTPClient(client *http.Client) *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParamsWithHTTPClient creates a new GetPrivateGetAddressBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetAddressBookParamsWithTimeout

func NewGetPrivateGetAddressBookParamsWithTimeout(timeout time.Duration) *GetPrivateGetAddressBookParams

NewGetPrivateGetAddressBookParamsWithTimeout creates a new GetPrivateGetAddressBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetAddressBookParams) SetContext

func (o *GetPrivateGetAddressBookParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetCurrency

func (o *GetPrivateGetAddressBookParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetHTTPClient

func (o *GetPrivateGetAddressBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetTimeout

func (o *GetPrivateGetAddressBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get address book params

func (*GetPrivateGetAddressBookParams) SetType

func (o *GetPrivateGetAddressBookParams) SetType(typeVar string)

SetType adds the type to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithContext

WithContext adds the context to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithCurrency

WithCurrency adds the currency to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithTimeout

WithTimeout adds the timeout to the get private get address book params

func (*GetPrivateGetAddressBookParams) WithType

WithType adds the typeVar to the get private get address book params

func (*GetPrivateGetAddressBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetAddressBookReader

type GetPrivateGetAddressBookReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetAddressBookReader is a Reader for the GetPrivateGetAddressBook structure.

func (*GetPrivateGetAddressBookReader) ReadResponse

func (o *GetPrivateGetAddressBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetCurrentDepositAddressOK

type GetPrivateGetCurrentDepositAddressOK struct {
	Payload *models.PrivateDepositAddressResponse
}

GetPrivateGetCurrentDepositAddressOK handles this case with default header values.

GetPrivateGetCurrentDepositAddressOK get private get current deposit address o k

func NewGetPrivateGetCurrentDepositAddressOK

func NewGetPrivateGetCurrentDepositAddressOK() *GetPrivateGetCurrentDepositAddressOK

NewGetPrivateGetCurrentDepositAddressOK creates a GetPrivateGetCurrentDepositAddressOK with default headers values

func (*GetPrivateGetCurrentDepositAddressOK) Error

func (*GetPrivateGetCurrentDepositAddressOK) GetPayload

type GetPrivateGetCurrentDepositAddressParams

type GetPrivateGetCurrentDepositAddressParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetCurrentDepositAddressParams contains all the parameters to send to the API endpoint for the get private get current deposit address operation typically these are written to a http.Request

func NewGetPrivateGetCurrentDepositAddressParams

func NewGetPrivateGetCurrentDepositAddressParams() *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParams creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized.

func NewGetPrivateGetCurrentDepositAddressParamsWithContext

func NewGetPrivateGetCurrentDepositAddressParamsWithContext(ctx context.Context) *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParamsWithContext creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetCurrentDepositAddressParamsWithHTTPClient

func NewGetPrivateGetCurrentDepositAddressParamsWithHTTPClient(client *http.Client) *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParamsWithHTTPClient creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetCurrentDepositAddressParamsWithTimeout

func NewGetPrivateGetCurrentDepositAddressParamsWithTimeout(timeout time.Duration) *GetPrivateGetCurrentDepositAddressParams

NewGetPrivateGetCurrentDepositAddressParamsWithTimeout creates a new GetPrivateGetCurrentDepositAddressParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetCurrentDepositAddressParams) SetContext

SetContext adds the context to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) SetCurrency

func (o *GetPrivateGetCurrentDepositAddressParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) SetHTTPClient

func (o *GetPrivateGetCurrentDepositAddressParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) SetTimeout

SetTimeout adds the timeout to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithContext

WithContext adds the context to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithCurrency

WithCurrency adds the currency to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WithTimeout

WithTimeout adds the timeout to the get private get current deposit address params

func (*GetPrivateGetCurrentDepositAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetCurrentDepositAddressReader

type GetPrivateGetCurrentDepositAddressReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetCurrentDepositAddressReader is a Reader for the GetPrivateGetCurrentDepositAddress structure.

func (*GetPrivateGetCurrentDepositAddressReader) ReadResponse

func (o *GetPrivateGetCurrentDepositAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetDepositsOK

type GetPrivateGetDepositsOK struct {
	Payload *models.PrivateGetDepositsResponse
}

GetPrivateGetDepositsOK handles this case with default header values.

GetPrivateGetDepositsOK get private get deposits o k

func NewGetPrivateGetDepositsOK

func NewGetPrivateGetDepositsOK() *GetPrivateGetDepositsOK

NewGetPrivateGetDepositsOK creates a GetPrivateGetDepositsOK with default headers values

func (*GetPrivateGetDepositsOK) Error

func (o *GetPrivateGetDepositsOK) Error() string

func (*GetPrivateGetDepositsOK) GetPayload

type GetPrivateGetDepositsParams

type GetPrivateGetDepositsParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetDepositsParams contains all the parameters to send to the API endpoint for the get private get deposits operation typically these are written to a http.Request

func NewGetPrivateGetDepositsParams

func NewGetPrivateGetDepositsParams() *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParams creates a new GetPrivateGetDepositsParams object with the default values initialized.

func NewGetPrivateGetDepositsParamsWithContext

func NewGetPrivateGetDepositsParamsWithContext(ctx context.Context) *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParamsWithContext creates a new GetPrivateGetDepositsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetDepositsParamsWithHTTPClient

func NewGetPrivateGetDepositsParamsWithHTTPClient(client *http.Client) *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParamsWithHTTPClient creates a new GetPrivateGetDepositsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetDepositsParamsWithTimeout

func NewGetPrivateGetDepositsParamsWithTimeout(timeout time.Duration) *GetPrivateGetDepositsParams

NewGetPrivateGetDepositsParamsWithTimeout creates a new GetPrivateGetDepositsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetDepositsParams) SetContext

func (o *GetPrivateGetDepositsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetCount

func (o *GetPrivateGetDepositsParams) SetCount(count *int64)

SetCount adds the count to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetCurrency

func (o *GetPrivateGetDepositsParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetHTTPClient

func (o *GetPrivateGetDepositsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetOffset

func (o *GetPrivateGetDepositsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get deposits params

func (*GetPrivateGetDepositsParams) SetTimeout

func (o *GetPrivateGetDepositsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithContext

WithContext adds the context to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithCount

WithCount adds the count to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithCurrency

WithCurrency adds the currency to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithOffset

WithOffset adds the offset to the get private get deposits params

func (*GetPrivateGetDepositsParams) WithTimeout

WithTimeout adds the timeout to the get private get deposits params

func (*GetPrivateGetDepositsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetDepositsReader

type GetPrivateGetDepositsReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetDepositsReader is a Reader for the GetPrivateGetDeposits structure.

func (*GetPrivateGetDepositsReader) ReadResponse

func (o *GetPrivateGetDepositsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetTransfersOK

type GetPrivateGetTransfersOK struct {
	Payload *models.PrivateGetTransfersResponse
}

GetPrivateGetTransfersOK handles this case with default header values.

GetPrivateGetTransfersOK get private get transfers o k

func NewGetPrivateGetTransfersOK

func NewGetPrivateGetTransfersOK() *GetPrivateGetTransfersOK

NewGetPrivateGetTransfersOK creates a GetPrivateGetTransfersOK with default headers values

func (*GetPrivateGetTransfersOK) Error

func (o *GetPrivateGetTransfersOK) Error() string

func (*GetPrivateGetTransfersOK) GetPayload

type GetPrivateGetTransfersParams

type GetPrivateGetTransfersParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetTransfersParams contains all the parameters to send to the API endpoint for the get private get transfers operation typically these are written to a http.Request

func NewGetPrivateGetTransfersParams

func NewGetPrivateGetTransfersParams() *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParams creates a new GetPrivateGetTransfersParams object with the default values initialized.

func NewGetPrivateGetTransfersParamsWithContext

func NewGetPrivateGetTransfersParamsWithContext(ctx context.Context) *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParamsWithContext creates a new GetPrivateGetTransfersParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetTransfersParamsWithHTTPClient

func NewGetPrivateGetTransfersParamsWithHTTPClient(client *http.Client) *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParamsWithHTTPClient creates a new GetPrivateGetTransfersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetTransfersParamsWithTimeout

func NewGetPrivateGetTransfersParamsWithTimeout(timeout time.Duration) *GetPrivateGetTransfersParams

NewGetPrivateGetTransfersParamsWithTimeout creates a new GetPrivateGetTransfersParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetTransfersParams) SetContext

func (o *GetPrivateGetTransfersParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetCount

func (o *GetPrivateGetTransfersParams) SetCount(count *int64)

SetCount adds the count to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetCurrency

func (o *GetPrivateGetTransfersParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetHTTPClient

func (o *GetPrivateGetTransfersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetOffset

func (o *GetPrivateGetTransfersParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get transfers params

func (*GetPrivateGetTransfersParams) SetTimeout

func (o *GetPrivateGetTransfersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithContext

WithContext adds the context to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithCount

WithCount adds the count to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithCurrency

WithCurrency adds the currency to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithOffset

WithOffset adds the offset to the get private get transfers params

func (*GetPrivateGetTransfersParams) WithTimeout

WithTimeout adds the timeout to the get private get transfers params

func (*GetPrivateGetTransfersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetTransfersReader

type GetPrivateGetTransfersReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetTransfersReader is a Reader for the GetPrivateGetTransfers structure.

func (*GetPrivateGetTransfersReader) ReadResponse

func (o *GetPrivateGetTransfersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateGetWithdrawalsOK

type GetPrivateGetWithdrawalsOK struct {
	Payload *models.PrivateGetWithdrawalsResponse
}

GetPrivateGetWithdrawalsOK handles this case with default header values.

GetPrivateGetWithdrawalsOK get private get withdrawals o k

func NewGetPrivateGetWithdrawalsOK

func NewGetPrivateGetWithdrawalsOK() *GetPrivateGetWithdrawalsOK

NewGetPrivateGetWithdrawalsOK creates a GetPrivateGetWithdrawalsOK with default headers values

func (*GetPrivateGetWithdrawalsOK) Error

func (*GetPrivateGetWithdrawalsOK) GetPayload

type GetPrivateGetWithdrawalsParams

type GetPrivateGetWithdrawalsParams struct {

	/*Count
	  Number of requested items, default - `10`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Offset
	  The offset for pagination, default - `0`

	*/
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateGetWithdrawalsParams contains all the parameters to send to the API endpoint for the get private get withdrawals operation typically these are written to a http.Request

func NewGetPrivateGetWithdrawalsParams

func NewGetPrivateGetWithdrawalsParams() *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParams creates a new GetPrivateGetWithdrawalsParams object with the default values initialized.

func NewGetPrivateGetWithdrawalsParamsWithContext

func NewGetPrivateGetWithdrawalsParamsWithContext(ctx context.Context) *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParamsWithContext creates a new GetPrivateGetWithdrawalsParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateGetWithdrawalsParamsWithHTTPClient

func NewGetPrivateGetWithdrawalsParamsWithHTTPClient(client *http.Client) *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParamsWithHTTPClient creates a new GetPrivateGetWithdrawalsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateGetWithdrawalsParamsWithTimeout

func NewGetPrivateGetWithdrawalsParamsWithTimeout(timeout time.Duration) *GetPrivateGetWithdrawalsParams

NewGetPrivateGetWithdrawalsParamsWithTimeout creates a new GetPrivateGetWithdrawalsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateGetWithdrawalsParams) SetContext

func (o *GetPrivateGetWithdrawalsParams) SetContext(ctx context.Context)

SetContext adds the context to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetCount

func (o *GetPrivateGetWithdrawalsParams) SetCount(count *int64)

SetCount adds the count to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetCurrency

func (o *GetPrivateGetWithdrawalsParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetHTTPClient

func (o *GetPrivateGetWithdrawalsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetOffset

func (o *GetPrivateGetWithdrawalsParams) SetOffset(offset *int64)

SetOffset adds the offset to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) SetTimeout

func (o *GetPrivateGetWithdrawalsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithContext

WithContext adds the context to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithCount

WithCount adds the count to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithCurrency

WithCurrency adds the currency to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithOffset

WithOffset adds the offset to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WithTimeout

WithTimeout adds the timeout to the get private get withdrawals params

func (*GetPrivateGetWithdrawalsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateGetWithdrawalsReader

type GetPrivateGetWithdrawalsReader struct {
	// contains filtered or unexported fields
}

GetPrivateGetWithdrawalsReader is a Reader for the GetPrivateGetWithdrawals structure.

func (*GetPrivateGetWithdrawalsReader) ReadResponse

func (o *GetPrivateGetWithdrawalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateRemoveFromAddressBookOK

type GetPrivateRemoveFromAddressBookOK struct {
	Payload *models.PrivateRemoveFromAddressBookResponse
}

GetPrivateRemoveFromAddressBookOK handles this case with default header values.

GetPrivateRemoveFromAddressBookOK get private remove from address book o k

func NewGetPrivateRemoveFromAddressBookOK

func NewGetPrivateRemoveFromAddressBookOK() *GetPrivateRemoveFromAddressBookOK

NewGetPrivateRemoveFromAddressBookOK creates a GetPrivateRemoveFromAddressBookOK with default headers values

func (*GetPrivateRemoveFromAddressBookOK) Error

func (*GetPrivateRemoveFromAddressBookOK) GetPayload

type GetPrivateRemoveFromAddressBookParams

type GetPrivateRemoveFromAddressBookParams struct {

	/*Address
	  Address in currency format, it must be in address book

	*/
	Address string
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string
	/*Type
	  Address book type

	*/
	Type string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateRemoveFromAddressBookParams contains all the parameters to send to the API endpoint for the get private remove from address book operation typically these are written to a http.Request

func NewGetPrivateRemoveFromAddressBookParams

func NewGetPrivateRemoveFromAddressBookParams() *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParams creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized.

func NewGetPrivateRemoveFromAddressBookParamsWithContext

func NewGetPrivateRemoveFromAddressBookParamsWithContext(ctx context.Context) *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParamsWithContext creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateRemoveFromAddressBookParamsWithHTTPClient

func NewGetPrivateRemoveFromAddressBookParamsWithHTTPClient(client *http.Client) *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParamsWithHTTPClient creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateRemoveFromAddressBookParamsWithTimeout

func NewGetPrivateRemoveFromAddressBookParamsWithTimeout(timeout time.Duration) *GetPrivateRemoveFromAddressBookParams

NewGetPrivateRemoveFromAddressBookParamsWithTimeout creates a new GetPrivateRemoveFromAddressBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateRemoveFromAddressBookParams) SetAddress

func (o *GetPrivateRemoveFromAddressBookParams) SetAddress(address string)

SetAddress adds the address to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetContext

SetContext adds the context to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetCurrency

func (o *GetPrivateRemoveFromAddressBookParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetHTTPClient

func (o *GetPrivateRemoveFromAddressBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetTfa

SetTfa adds the tfa to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetTimeout

func (o *GetPrivateRemoveFromAddressBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) SetType

func (o *GetPrivateRemoveFromAddressBookParams) SetType(typeVar string)

SetType adds the type to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithAddress

WithAddress adds the address to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithContext

WithContext adds the context to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithCurrency

WithCurrency adds the currency to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithTfa

WithTfa adds the tfa to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithTimeout

WithTimeout adds the timeout to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WithType

WithType adds the typeVar to the get private remove from address book params

func (*GetPrivateRemoveFromAddressBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateRemoveFromAddressBookReader

type GetPrivateRemoveFromAddressBookReader struct {
	// contains filtered or unexported fields
}

GetPrivateRemoveFromAddressBookReader is a Reader for the GetPrivateRemoveFromAddressBook structure.

func (*GetPrivateRemoveFromAddressBookReader) ReadResponse

func (o *GetPrivateRemoveFromAddressBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateToggleDepositAddressCreationOK

type GetPrivateToggleDepositAddressCreationOK struct {
	Payload *models.OkResponse
}

GetPrivateToggleDepositAddressCreationOK handles this case with default header values.

GetPrivateToggleDepositAddressCreationOK get private toggle deposit address creation o k

func NewGetPrivateToggleDepositAddressCreationOK

func NewGetPrivateToggleDepositAddressCreationOK() *GetPrivateToggleDepositAddressCreationOK

NewGetPrivateToggleDepositAddressCreationOK creates a GetPrivateToggleDepositAddressCreationOK with default headers values

func (*GetPrivateToggleDepositAddressCreationOK) Error

func (*GetPrivateToggleDepositAddressCreationOK) GetPayload

type GetPrivateToggleDepositAddressCreationParams

type GetPrivateToggleDepositAddressCreationParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*State*/
	State bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateToggleDepositAddressCreationParams contains all the parameters to send to the API endpoint for the get private toggle deposit address creation operation typically these are written to a http.Request

func NewGetPrivateToggleDepositAddressCreationParams

func NewGetPrivateToggleDepositAddressCreationParams() *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParams creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized.

func NewGetPrivateToggleDepositAddressCreationParamsWithContext

func NewGetPrivateToggleDepositAddressCreationParamsWithContext(ctx context.Context) *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParamsWithContext creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateToggleDepositAddressCreationParamsWithHTTPClient

func NewGetPrivateToggleDepositAddressCreationParamsWithHTTPClient(client *http.Client) *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParamsWithHTTPClient creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateToggleDepositAddressCreationParamsWithTimeout

func NewGetPrivateToggleDepositAddressCreationParamsWithTimeout(timeout time.Duration) *GetPrivateToggleDepositAddressCreationParams

NewGetPrivateToggleDepositAddressCreationParamsWithTimeout creates a new GetPrivateToggleDepositAddressCreationParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateToggleDepositAddressCreationParams) SetContext

SetContext adds the context to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetCurrency

func (o *GetPrivateToggleDepositAddressCreationParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetHTTPClient

func (o *GetPrivateToggleDepositAddressCreationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetState

SetState adds the state to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) SetTimeout

SetTimeout adds the timeout to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithContext

WithContext adds the context to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithCurrency

WithCurrency adds the currency to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithState

WithState adds the state to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WithTimeout

WithTimeout adds the timeout to the get private toggle deposit address creation params

func (*GetPrivateToggleDepositAddressCreationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateToggleDepositAddressCreationReader

type GetPrivateToggleDepositAddressCreationReader struct {
	// contains filtered or unexported fields
}

GetPrivateToggleDepositAddressCreationReader is a Reader for the GetPrivateToggleDepositAddressCreation structure.

func (*GetPrivateToggleDepositAddressCreationReader) ReadResponse

func (o *GetPrivateToggleDepositAddressCreationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateWithdrawOK

type GetPrivateWithdrawOK struct {
	Payload *models.PrivateWithdrawResponse
}

GetPrivateWithdrawOK handles this case with default header values.

GetPrivateWithdrawOK get private withdraw o k

func NewGetPrivateWithdrawOK

func NewGetPrivateWithdrawOK() *GetPrivateWithdrawOK

NewGetPrivateWithdrawOK creates a GetPrivateWithdrawOK with default headers values

func (*GetPrivateWithdrawOK) Error

func (o *GetPrivateWithdrawOK) Error() string

func (*GetPrivateWithdrawOK) GetPayload

type GetPrivateWithdrawParams

type GetPrivateWithdrawParams struct {

	/*Address
	  Address in currency format, it must be in address book

	*/
	Address string
	/*Amount
	  Amount of funds to be withdrawn

	*/
	Amount float64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Priority
	  Withdrawal priority, optional for BTC, default: `high`

	*/
	Priority *string
	/*Tfa
	  TFA code, required when TFA is enabled for current account

	*/
	Tfa *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateWithdrawParams contains all the parameters to send to the API endpoint for the get private withdraw operation typically these are written to a http.Request

func NewGetPrivateWithdrawParams

func NewGetPrivateWithdrawParams() *GetPrivateWithdrawParams

NewGetPrivateWithdrawParams creates a new GetPrivateWithdrawParams object with the default values initialized.

func NewGetPrivateWithdrawParamsWithContext

func NewGetPrivateWithdrawParamsWithContext(ctx context.Context) *GetPrivateWithdrawParams

NewGetPrivateWithdrawParamsWithContext creates a new GetPrivateWithdrawParams object with the default values initialized, and the ability to set a context for a request

func NewGetPrivateWithdrawParamsWithHTTPClient

func NewGetPrivateWithdrawParamsWithHTTPClient(client *http.Client) *GetPrivateWithdrawParams

NewGetPrivateWithdrawParamsWithHTTPClient creates a new GetPrivateWithdrawParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPrivateWithdrawParamsWithTimeout

func NewGetPrivateWithdrawParamsWithTimeout(timeout time.Duration) *GetPrivateWithdrawParams

NewGetPrivateWithdrawParamsWithTimeout creates a new GetPrivateWithdrawParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPrivateWithdrawParams) SetAddress

func (o *GetPrivateWithdrawParams) SetAddress(address string)

SetAddress adds the address to the get private withdraw params

func (*GetPrivateWithdrawParams) SetAmount

func (o *GetPrivateWithdrawParams) SetAmount(amount float64)

SetAmount adds the amount to the get private withdraw params

func (*GetPrivateWithdrawParams) SetContext

func (o *GetPrivateWithdrawParams) SetContext(ctx context.Context)

SetContext adds the context to the get private withdraw params

func (*GetPrivateWithdrawParams) SetCurrency

func (o *GetPrivateWithdrawParams) SetCurrency(currency string)

SetCurrency adds the currency to the get private withdraw params

func (*GetPrivateWithdrawParams) SetHTTPClient

func (o *GetPrivateWithdrawParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private withdraw params

func (*GetPrivateWithdrawParams) SetPriority

func (o *GetPrivateWithdrawParams) SetPriority(priority *string)

SetPriority adds the priority to the get private withdraw params

func (*GetPrivateWithdrawParams) SetTfa

func (o *GetPrivateWithdrawParams) SetTfa(tfa *string)

SetTfa adds the tfa to the get private withdraw params

func (*GetPrivateWithdrawParams) SetTimeout

func (o *GetPrivateWithdrawParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private withdraw params

func (*GetPrivateWithdrawParams) WithAddress

func (o *GetPrivateWithdrawParams) WithAddress(address string) *GetPrivateWithdrawParams

WithAddress adds the address to the get private withdraw params

func (*GetPrivateWithdrawParams) WithAmount

WithAmount adds the amount to the get private withdraw params

func (*GetPrivateWithdrawParams) WithContext

WithContext adds the context to the get private withdraw params

func (*GetPrivateWithdrawParams) WithCurrency

func (o *GetPrivateWithdrawParams) WithCurrency(currency string) *GetPrivateWithdrawParams

WithCurrency adds the currency to the get private withdraw params

func (*GetPrivateWithdrawParams) WithHTTPClient

func (o *GetPrivateWithdrawParams) WithHTTPClient(client *http.Client) *GetPrivateWithdrawParams

WithHTTPClient adds the HTTPClient to the get private withdraw params

func (*GetPrivateWithdrawParams) WithPriority

func (o *GetPrivateWithdrawParams) WithPriority(priority *string) *GetPrivateWithdrawParams

WithPriority adds the priority to the get private withdraw params

func (*GetPrivateWithdrawParams) WithTfa

WithTfa adds the tfa to the get private withdraw params

func (*GetPrivateWithdrawParams) WithTimeout

WithTimeout adds the timeout to the get private withdraw params

func (*GetPrivateWithdrawParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateWithdrawReader

type GetPrivateWithdrawReader struct {
	// contains filtered or unexported fields
}

GetPrivateWithdrawReader is a Reader for the GetPrivateWithdraw structure.

func (*GetPrivateWithdrawReader) ReadResponse

func (o *GetPrivateWithdrawReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL