balances

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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