balances

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

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

get balances API

func (*GetBalancesRequest) FromJson

func (*GetBalancesRequest) MustDo

func (a *GetBalancesRequest) MustDo() *GetBalancesOK

func (*GetBalancesRequest) WithContext

//////////////// 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

Jump to

Keyboard shortcuts

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