Documentation ¶
Index ¶
- type Client
- type GetBalancesOK
- type GetBalancesReader
- type GetBalancesRequest
- func (a *GetBalancesRequest) Do() (*GetBalancesOK, error)
- func (o *GetBalancesRequest) FromJson(j string) (*GetBalancesRequest, error)
- func (a *GetBalancesRequest) MustDo() *GetBalancesOK
- func (o *GetBalancesRequest) WithContext(ctx context.Context) *GetBalancesRequest
- func (o *GetBalancesRequest) WithHTTPClient(client *http.Client) *GetBalancesRequest
- func (o *GetBalancesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for balances API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client
New creates a new balances API client.
func (*Client) GetBalances ¶
func (c *Client) GetBalances() *GetBalancesRequest
Client.GetBalances creates a new GetBalancesRequest object with the default values initialized.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetBalancesOK ¶
type GetBalancesOK struct { // isStream: false *models.BalanceDetailsListResponse }
GetBalancesOK handles this case with default header values.
Associations details
func NewGetBalancesOK ¶
func NewGetBalancesOK() *GetBalancesOK
NewGetBalancesOK creates a GetBalancesOK with default headers values
func (*GetBalancesOK) Error ¶
func (o *GetBalancesOK) Error() string
type GetBalancesReader ¶
type GetBalancesReader struct {
// contains filtered or unexported fields
}
GetBalancesReader is a Reader for the GetBalances structure.
func (*GetBalancesReader) ReadResponse ¶
func (o *GetBalancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBalancesRequest ¶
type GetBalancesRequest struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
func (*GetBalancesRequest) Do ¶
func (a *GetBalancesRequest) Do() (*GetBalancesOK, error)
get balances API
func (*GetBalancesRequest) FromJson ¶
func (o *GetBalancesRequest) FromJson(j string) (*GetBalancesRequest, error)
func (*GetBalancesRequest) MustDo ¶
func (a *GetBalancesRequest) MustDo() *GetBalancesOK
func (*GetBalancesRequest) WithContext ¶
func (o *GetBalancesRequest) WithContext(ctx context.Context) *GetBalancesRequest
//////////////// WithContext adds the context to the get balances Request
func (*GetBalancesRequest) WithHTTPClient ¶
func (o *GetBalancesRequest) WithHTTPClient(client *http.Client) *GetBalancesRequest
WithHTTPClient adds the HTTPClient to the get balances Request
func (*GetBalancesRequest) WriteToRequest ¶
func (o *GetBalancesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request