balances

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 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) GetBalanced

func (c *Client) GetBalanced() *GetBalancedRequest

Client.GetBalanced creates a new GetBalancedRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetBalancedOK

type GetBalancedOK struct {

	// isStream: false
	*models.BalanceDetailsListResponse
}

GetBalancedOK handles this case with default header values.

Associations details

func NewGetBalancedOK

func NewGetBalancedOK() *GetBalancedOK

NewGetBalancedOK creates a GetBalancedOK with default headers values

func (*GetBalancedOK) Error

func (o *GetBalancedOK) Error() string

type GetBalancedReader

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

GetBalancedReader is a Reader for the GetBalanced structure.

func (*GetBalancedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBalancedRequest

type GetBalancedRequest struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

func (*GetBalancedRequest) Do

get balanced API

func (*GetBalancedRequest) FromJson

func (*GetBalancedRequest) MustDo

func (a *GetBalancedRequest) MustDo() *GetBalancedOK

func (*GetBalancedRequest) WithContext

//////////////// WithContext adds the context to the get balanced Request

func (*GetBalancedRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get balanced Request

func (*GetBalancedRequest) WriteToRequest

func (o *GetBalancedRequest) 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