wallet

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 1

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 (*Client) DeleteDatasetDatasetNameWalletWallet

func (a *Client) DeleteDatasetDatasetNameWalletWallet(params *DeleteDatasetDatasetNameWalletWalletParams, opts ...ClientOption) (*DeleteDatasetDatasetNameWalletWalletNoContent, error)

DeleteDatasetDatasetNameWalletWallet removes an associated wallet from a dataset

func (*Client) DeleteWalletAddress

func (a *Client) DeleteWalletAddress(params *DeleteWalletAddressParams, opts ...ClientOption) (*DeleteWalletAddressNoContent, error)

DeleteWalletAddress removes a wallet

func (*Client) GetDatasetDatasetNameWallet

func (a *Client) GetDatasetDatasetNameWallet(params *GetDatasetDatasetNameWalletParams, opts ...ClientOption) (*GetDatasetDatasetNameWalletOK, error)

GetDatasetDatasetNameWallet lists all wallets of a dataset

func (*Client) GetWallet

func (a *Client) GetWallet(params *GetWalletParams, opts ...ClientOption) (*GetWalletOK, error)

GetWallet lists all imported wallets

func (*Client) PostWallet

func (a *Client) PostWallet(params *PostWalletParams, opts ...ClientOption) (*PostWalletOK, error)

PostWallet imports a private key

func (*Client) PostWalletRemote

func (a *Client) PostWalletRemote(params *PostWalletRemoteParams, opts ...ClientOption) (*PostWalletRemoteOK, error)

PostWalletRemote adds a remote wallet

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteDatasetDatasetNameWalletWallet(params *DeleteDatasetDatasetNameWalletWalletParams, opts ...ClientOption) (*DeleteDatasetDatasetNameWalletWalletNoContent, error)

	DeleteWalletAddress(params *DeleteWalletAddressParams, opts ...ClientOption) (*DeleteWalletAddressNoContent, error)

	GetDatasetDatasetNameWallet(params *GetDatasetDatasetNameWalletParams, opts ...ClientOption) (*GetDatasetDatasetNameWalletOK, error)

	GetWallet(params *GetWalletParams, opts ...ClientOption) (*GetWalletOK, error)

	PostWallet(params *PostWalletParams, opts ...ClientOption) (*PostWalletOK, error)

	PostWalletRemote(params *PostWalletRemoteParams, opts ...ClientOption) (*PostWalletRemoteOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new wallet API client.

type DeleteDatasetDatasetNameWalletWalletBadRequest

type DeleteDatasetDatasetNameWalletWalletBadRequest struct {
	Payload *models.APIHTTPError
}

DeleteDatasetDatasetNameWalletWalletBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteDatasetDatasetNameWalletWalletBadRequest

func NewDeleteDatasetDatasetNameWalletWalletBadRequest() *DeleteDatasetDatasetNameWalletWalletBadRequest

NewDeleteDatasetDatasetNameWalletWalletBadRequest creates a DeleteDatasetDatasetNameWalletWalletBadRequest with default headers values

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) Code

Code gets the status code for the delete dataset dataset name wallet wallet bad request response

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) Error

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) GetPayload

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) IsClientError

IsClientError returns true when this delete dataset dataset name wallet wallet bad request response has a 4xx status code

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) IsCode

IsCode returns true when this delete dataset dataset name wallet wallet bad request response a status code equal to that given

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) IsRedirect

IsRedirect returns true when this delete dataset dataset name wallet wallet bad request response has a 3xx status code

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) IsServerError

IsServerError returns true when this delete dataset dataset name wallet wallet bad request response has a 5xx status code

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) IsSuccess

IsSuccess returns true when this delete dataset dataset name wallet wallet bad request response has a 2xx status code

func (*DeleteDatasetDatasetNameWalletWalletBadRequest) String

type DeleteDatasetDatasetNameWalletWalletInternalServerError

type DeleteDatasetDatasetNameWalletWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

DeleteDatasetDatasetNameWalletWalletInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteDatasetDatasetNameWalletWalletInternalServerError

func NewDeleteDatasetDatasetNameWalletWalletInternalServerError() *DeleteDatasetDatasetNameWalletWalletInternalServerError

NewDeleteDatasetDatasetNameWalletWalletInternalServerError creates a DeleteDatasetDatasetNameWalletWalletInternalServerError with default headers values

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) Code

Code gets the status code for the delete dataset dataset name wallet wallet internal server error response

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) Error

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) GetPayload

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) IsClientError

IsClientError returns true when this delete dataset dataset name wallet wallet internal server error response has a 4xx status code

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) IsCode

IsCode returns true when this delete dataset dataset name wallet wallet internal server error response a status code equal to that given

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) IsRedirect

IsRedirect returns true when this delete dataset dataset name wallet wallet internal server error response has a 3xx status code

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) IsServerError

IsServerError returns true when this delete dataset dataset name wallet wallet internal server error response has a 5xx status code

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) IsSuccess

IsSuccess returns true when this delete dataset dataset name wallet wallet internal server error response has a 2xx status code

func (*DeleteDatasetDatasetNameWalletWalletInternalServerError) String

type DeleteDatasetDatasetNameWalletWalletNoContent

type DeleteDatasetDatasetNameWalletWalletNoContent struct {
}

DeleteDatasetDatasetNameWalletWalletNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteDatasetDatasetNameWalletWalletNoContent

func NewDeleteDatasetDatasetNameWalletWalletNoContent() *DeleteDatasetDatasetNameWalletWalletNoContent

NewDeleteDatasetDatasetNameWalletWalletNoContent creates a DeleteDatasetDatasetNameWalletWalletNoContent with default headers values

func (*DeleteDatasetDatasetNameWalletWalletNoContent) Code

Code gets the status code for the delete dataset dataset name wallet wallet no content response

func (*DeleteDatasetDatasetNameWalletWalletNoContent) Error

func (*DeleteDatasetDatasetNameWalletWalletNoContent) IsClientError

IsClientError returns true when this delete dataset dataset name wallet wallet no content response has a 4xx status code

func (*DeleteDatasetDatasetNameWalletWalletNoContent) IsCode

IsCode returns true when this delete dataset dataset name wallet wallet no content response a status code equal to that given

func (*DeleteDatasetDatasetNameWalletWalletNoContent) IsRedirect

IsRedirect returns true when this delete dataset dataset name wallet wallet no content response has a 3xx status code

func (*DeleteDatasetDatasetNameWalletWalletNoContent) IsServerError

IsServerError returns true when this delete dataset dataset name wallet wallet no content response has a 5xx status code

func (*DeleteDatasetDatasetNameWalletWalletNoContent) IsSuccess

IsSuccess returns true when this delete dataset dataset name wallet wallet no content response has a 2xx status code

func (*DeleteDatasetDatasetNameWalletWalletNoContent) String

type DeleteDatasetDatasetNameWalletWalletParams

type DeleteDatasetDatasetNameWalletWalletParams struct {

	/* DatasetName.

	   Dataset name
	*/
	DatasetName string

	/* Wallet.

	   Wallet Address
	*/
	Wallet string

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

DeleteDatasetDatasetNameWalletWalletParams contains all the parameters to send to the API endpoint

for the delete dataset dataset name wallet wallet operation.

Typically these are written to a http.Request.

func NewDeleteDatasetDatasetNameWalletWalletParams

func NewDeleteDatasetDatasetNameWalletWalletParams() *DeleteDatasetDatasetNameWalletWalletParams

NewDeleteDatasetDatasetNameWalletWalletParams creates a new DeleteDatasetDatasetNameWalletWalletParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDatasetDatasetNameWalletWalletParamsWithContext

func NewDeleteDatasetDatasetNameWalletWalletParamsWithContext(ctx context.Context) *DeleteDatasetDatasetNameWalletWalletParams

NewDeleteDatasetDatasetNameWalletWalletParamsWithContext creates a new DeleteDatasetDatasetNameWalletWalletParams object with the ability to set a context for a request.

func NewDeleteDatasetDatasetNameWalletWalletParamsWithHTTPClient

func NewDeleteDatasetDatasetNameWalletWalletParamsWithHTTPClient(client *http.Client) *DeleteDatasetDatasetNameWalletWalletParams

NewDeleteDatasetDatasetNameWalletWalletParamsWithHTTPClient creates a new DeleteDatasetDatasetNameWalletWalletParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDatasetDatasetNameWalletWalletParamsWithTimeout

func NewDeleteDatasetDatasetNameWalletWalletParamsWithTimeout(timeout time.Duration) *DeleteDatasetDatasetNameWalletWalletParams

NewDeleteDatasetDatasetNameWalletWalletParamsWithTimeout creates a new DeleteDatasetDatasetNameWalletWalletParams object with the ability to set a timeout on a request.

func (*DeleteDatasetDatasetNameWalletWalletParams) SetContext

SetContext adds the context to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) SetDatasetName

func (o *DeleteDatasetDatasetNameWalletWalletParams) SetDatasetName(datasetName string)

SetDatasetName adds the datasetName to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) SetDefaults

SetDefaults hydrates default values in the delete dataset dataset name wallet wallet params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDatasetDatasetNameWalletWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) SetTimeout

SetTimeout adds the timeout to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) SetWallet

SetWallet adds the wallet to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) WithContext

WithContext adds the context to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) WithDatasetName

WithDatasetName adds the datasetName to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) WithDefaults

WithDefaults hydrates default values in the delete dataset dataset name wallet wallet params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDatasetDatasetNameWalletWalletParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) WithTimeout

WithTimeout adds the timeout to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) WithWallet

WithWallet adds the wallet to the delete dataset dataset name wallet wallet params

func (*DeleteDatasetDatasetNameWalletWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDatasetDatasetNameWalletWalletReader

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

DeleteDatasetDatasetNameWalletWalletReader is a Reader for the DeleteDatasetDatasetNameWalletWallet structure.

func (*DeleteDatasetDatasetNameWalletWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteWalletAddressBadRequest

type DeleteWalletAddressBadRequest struct {
	Payload *models.APIHTTPError
}

DeleteWalletAddressBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteWalletAddressBadRequest

func NewDeleteWalletAddressBadRequest() *DeleteWalletAddressBadRequest

NewDeleteWalletAddressBadRequest creates a DeleteWalletAddressBadRequest with default headers values

func (*DeleteWalletAddressBadRequest) Code

Code gets the status code for the delete wallet address bad request response

func (*DeleteWalletAddressBadRequest) Error

func (*DeleteWalletAddressBadRequest) GetPayload

func (*DeleteWalletAddressBadRequest) IsClientError

func (o *DeleteWalletAddressBadRequest) IsClientError() bool

IsClientError returns true when this delete wallet address bad request response has a 4xx status code

func (*DeleteWalletAddressBadRequest) IsCode

func (o *DeleteWalletAddressBadRequest) IsCode(code int) bool

IsCode returns true when this delete wallet address bad request response a status code equal to that given

func (*DeleteWalletAddressBadRequest) IsRedirect

func (o *DeleteWalletAddressBadRequest) IsRedirect() bool

IsRedirect returns true when this delete wallet address bad request response has a 3xx status code

func (*DeleteWalletAddressBadRequest) IsServerError

func (o *DeleteWalletAddressBadRequest) IsServerError() bool

IsServerError returns true when this delete wallet address bad request response has a 5xx status code

func (*DeleteWalletAddressBadRequest) IsSuccess

func (o *DeleteWalletAddressBadRequest) IsSuccess() bool

IsSuccess returns true when this delete wallet address bad request response has a 2xx status code

func (*DeleteWalletAddressBadRequest) String

type DeleteWalletAddressInternalServerError

type DeleteWalletAddressInternalServerError struct {
	Payload *models.APIHTTPError
}

DeleteWalletAddressInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteWalletAddressInternalServerError

func NewDeleteWalletAddressInternalServerError() *DeleteWalletAddressInternalServerError

NewDeleteWalletAddressInternalServerError creates a DeleteWalletAddressInternalServerError with default headers values

func (*DeleteWalletAddressInternalServerError) Code

Code gets the status code for the delete wallet address internal server error response

func (*DeleteWalletAddressInternalServerError) Error

func (*DeleteWalletAddressInternalServerError) GetPayload

func (*DeleteWalletAddressInternalServerError) IsClientError

func (o *DeleteWalletAddressInternalServerError) IsClientError() bool

IsClientError returns true when this delete wallet address internal server error response has a 4xx status code

func (*DeleteWalletAddressInternalServerError) IsCode

IsCode returns true when this delete wallet address internal server error response a status code equal to that given

func (*DeleteWalletAddressInternalServerError) IsRedirect

IsRedirect returns true when this delete wallet address internal server error response has a 3xx status code

func (*DeleteWalletAddressInternalServerError) IsServerError

func (o *DeleteWalletAddressInternalServerError) IsServerError() bool

IsServerError returns true when this delete wallet address internal server error response has a 5xx status code

func (*DeleteWalletAddressInternalServerError) IsSuccess

IsSuccess returns true when this delete wallet address internal server error response has a 2xx status code

func (*DeleteWalletAddressInternalServerError) String

type DeleteWalletAddressNoContent

type DeleteWalletAddressNoContent struct {
}

DeleteWalletAddressNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteWalletAddressNoContent

func NewDeleteWalletAddressNoContent() *DeleteWalletAddressNoContent

NewDeleteWalletAddressNoContent creates a DeleteWalletAddressNoContent with default headers values

func (*DeleteWalletAddressNoContent) Code

Code gets the status code for the delete wallet address no content response

func (*DeleteWalletAddressNoContent) Error

func (*DeleteWalletAddressNoContent) IsClientError

func (o *DeleteWalletAddressNoContent) IsClientError() bool

IsClientError returns true when this delete wallet address no content response has a 4xx status code

func (*DeleteWalletAddressNoContent) IsCode

func (o *DeleteWalletAddressNoContent) IsCode(code int) bool

IsCode returns true when this delete wallet address no content response a status code equal to that given

func (*DeleteWalletAddressNoContent) IsRedirect

func (o *DeleteWalletAddressNoContent) IsRedirect() bool

IsRedirect returns true when this delete wallet address no content response has a 3xx status code

func (*DeleteWalletAddressNoContent) IsServerError

func (o *DeleteWalletAddressNoContent) IsServerError() bool

IsServerError returns true when this delete wallet address no content response has a 5xx status code

func (*DeleteWalletAddressNoContent) IsSuccess

func (o *DeleteWalletAddressNoContent) IsSuccess() bool

IsSuccess returns true when this delete wallet address no content response has a 2xx status code

func (*DeleteWalletAddressNoContent) String

type DeleteWalletAddressParams

type DeleteWalletAddressParams struct {

	/* Address.

	   Address
	*/
	Address string

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

DeleteWalletAddressParams contains all the parameters to send to the API endpoint

for the delete wallet address operation.

Typically these are written to a http.Request.

func NewDeleteWalletAddressParams

func NewDeleteWalletAddressParams() *DeleteWalletAddressParams

NewDeleteWalletAddressParams creates a new DeleteWalletAddressParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteWalletAddressParamsWithContext

func NewDeleteWalletAddressParamsWithContext(ctx context.Context) *DeleteWalletAddressParams

NewDeleteWalletAddressParamsWithContext creates a new DeleteWalletAddressParams object with the ability to set a context for a request.

func NewDeleteWalletAddressParamsWithHTTPClient

func NewDeleteWalletAddressParamsWithHTTPClient(client *http.Client) *DeleteWalletAddressParams

NewDeleteWalletAddressParamsWithHTTPClient creates a new DeleteWalletAddressParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteWalletAddressParamsWithTimeout

func NewDeleteWalletAddressParamsWithTimeout(timeout time.Duration) *DeleteWalletAddressParams

NewDeleteWalletAddressParamsWithTimeout creates a new DeleteWalletAddressParams object with the ability to set a timeout on a request.

func (*DeleteWalletAddressParams) SetAddress

func (o *DeleteWalletAddressParams) SetAddress(address string)

SetAddress adds the address to the delete wallet address params

func (*DeleteWalletAddressParams) SetContext

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

SetContext adds the context to the delete wallet address params

func (*DeleteWalletAddressParams) SetDefaults

func (o *DeleteWalletAddressParams) SetDefaults()

SetDefaults hydrates default values in the delete wallet address params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteWalletAddressParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete wallet address params

func (*DeleteWalletAddressParams) SetTimeout

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

SetTimeout adds the timeout to the delete wallet address params

func (*DeleteWalletAddressParams) WithAddress

WithAddress adds the address to the delete wallet address params

func (*DeleteWalletAddressParams) WithContext

WithContext adds the context to the delete wallet address params

func (*DeleteWalletAddressParams) WithDefaults

WithDefaults hydrates default values in the delete wallet address params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteWalletAddressParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete wallet address params

func (*DeleteWalletAddressParams) WithTimeout

WithTimeout adds the timeout to the delete wallet address params

func (*DeleteWalletAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteWalletAddressReader

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

DeleteWalletAddressReader is a Reader for the DeleteWalletAddress structure.

func (*DeleteWalletAddressReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDatasetDatasetNameWalletBadRequest

type GetDatasetDatasetNameWalletBadRequest struct {
	Payload *models.APIHTTPError
}

GetDatasetDatasetNameWalletBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetDatasetDatasetNameWalletBadRequest

func NewGetDatasetDatasetNameWalletBadRequest() *GetDatasetDatasetNameWalletBadRequest

NewGetDatasetDatasetNameWalletBadRequest creates a GetDatasetDatasetNameWalletBadRequest with default headers values

func (*GetDatasetDatasetNameWalletBadRequest) Code

Code gets the status code for the get dataset dataset name wallet bad request response

func (*GetDatasetDatasetNameWalletBadRequest) Error

func (*GetDatasetDatasetNameWalletBadRequest) GetPayload

func (*GetDatasetDatasetNameWalletBadRequest) IsClientError

func (o *GetDatasetDatasetNameWalletBadRequest) IsClientError() bool

IsClientError returns true when this get dataset dataset name wallet bad request response has a 4xx status code

func (*GetDatasetDatasetNameWalletBadRequest) IsCode

IsCode returns true when this get dataset dataset name wallet bad request response a status code equal to that given

func (*GetDatasetDatasetNameWalletBadRequest) IsRedirect

IsRedirect returns true when this get dataset dataset name wallet bad request response has a 3xx status code

func (*GetDatasetDatasetNameWalletBadRequest) IsServerError

func (o *GetDatasetDatasetNameWalletBadRequest) IsServerError() bool

IsServerError returns true when this get dataset dataset name wallet bad request response has a 5xx status code

func (*GetDatasetDatasetNameWalletBadRequest) IsSuccess

IsSuccess returns true when this get dataset dataset name wallet bad request response has a 2xx status code

func (*GetDatasetDatasetNameWalletBadRequest) String

type GetDatasetDatasetNameWalletInternalServerError

type GetDatasetDatasetNameWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

GetDatasetDatasetNameWalletInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDatasetDatasetNameWalletInternalServerError

func NewGetDatasetDatasetNameWalletInternalServerError() *GetDatasetDatasetNameWalletInternalServerError

NewGetDatasetDatasetNameWalletInternalServerError creates a GetDatasetDatasetNameWalletInternalServerError with default headers values

func (*GetDatasetDatasetNameWalletInternalServerError) Code

Code gets the status code for the get dataset dataset name wallet internal server error response

func (*GetDatasetDatasetNameWalletInternalServerError) Error

func (*GetDatasetDatasetNameWalletInternalServerError) GetPayload

func (*GetDatasetDatasetNameWalletInternalServerError) IsClientError

IsClientError returns true when this get dataset dataset name wallet internal server error response has a 4xx status code

func (*GetDatasetDatasetNameWalletInternalServerError) IsCode

IsCode returns true when this get dataset dataset name wallet internal server error response a status code equal to that given

func (*GetDatasetDatasetNameWalletInternalServerError) IsRedirect

IsRedirect returns true when this get dataset dataset name wallet internal server error response has a 3xx status code

func (*GetDatasetDatasetNameWalletInternalServerError) IsServerError

IsServerError returns true when this get dataset dataset name wallet internal server error response has a 5xx status code

func (*GetDatasetDatasetNameWalletInternalServerError) IsSuccess

IsSuccess returns true when this get dataset dataset name wallet internal server error response has a 2xx status code

func (*GetDatasetDatasetNameWalletInternalServerError) String

type GetDatasetDatasetNameWalletOK

type GetDatasetDatasetNameWalletOK struct {
	Payload []*models.ModelWallet
}

GetDatasetDatasetNameWalletOK describes a response with status code 200, with default header values.

OK

func NewGetDatasetDatasetNameWalletOK

func NewGetDatasetDatasetNameWalletOK() *GetDatasetDatasetNameWalletOK

NewGetDatasetDatasetNameWalletOK creates a GetDatasetDatasetNameWalletOK with default headers values

func (*GetDatasetDatasetNameWalletOK) Code

Code gets the status code for the get dataset dataset name wallet o k response

func (*GetDatasetDatasetNameWalletOK) Error

func (*GetDatasetDatasetNameWalletOK) GetPayload

func (*GetDatasetDatasetNameWalletOK) IsClientError

func (o *GetDatasetDatasetNameWalletOK) IsClientError() bool

IsClientError returns true when this get dataset dataset name wallet o k response has a 4xx status code

func (*GetDatasetDatasetNameWalletOK) IsCode

func (o *GetDatasetDatasetNameWalletOK) IsCode(code int) bool

IsCode returns true when this get dataset dataset name wallet o k response a status code equal to that given

func (*GetDatasetDatasetNameWalletOK) IsRedirect

func (o *GetDatasetDatasetNameWalletOK) IsRedirect() bool

IsRedirect returns true when this get dataset dataset name wallet o k response has a 3xx status code

func (*GetDatasetDatasetNameWalletOK) IsServerError

func (o *GetDatasetDatasetNameWalletOK) IsServerError() bool

IsServerError returns true when this get dataset dataset name wallet o k response has a 5xx status code

func (*GetDatasetDatasetNameWalletOK) IsSuccess

func (o *GetDatasetDatasetNameWalletOK) IsSuccess() bool

IsSuccess returns true when this get dataset dataset name wallet o k response has a 2xx status code

func (*GetDatasetDatasetNameWalletOK) String

type GetDatasetDatasetNameWalletParams

type GetDatasetDatasetNameWalletParams struct {

	/* DatasetName.

	   Dataset name
	*/
	DatasetName string

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

GetDatasetDatasetNameWalletParams contains all the parameters to send to the API endpoint

for the get dataset dataset name wallet operation.

Typically these are written to a http.Request.

func NewGetDatasetDatasetNameWalletParams

func NewGetDatasetDatasetNameWalletParams() *GetDatasetDatasetNameWalletParams

NewGetDatasetDatasetNameWalletParams creates a new GetDatasetDatasetNameWalletParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDatasetDatasetNameWalletParamsWithContext

func NewGetDatasetDatasetNameWalletParamsWithContext(ctx context.Context) *GetDatasetDatasetNameWalletParams

NewGetDatasetDatasetNameWalletParamsWithContext creates a new GetDatasetDatasetNameWalletParams object with the ability to set a context for a request.

func NewGetDatasetDatasetNameWalletParamsWithHTTPClient

func NewGetDatasetDatasetNameWalletParamsWithHTTPClient(client *http.Client) *GetDatasetDatasetNameWalletParams

NewGetDatasetDatasetNameWalletParamsWithHTTPClient creates a new GetDatasetDatasetNameWalletParams object with the ability to set a custom HTTPClient for a request.

func NewGetDatasetDatasetNameWalletParamsWithTimeout

func NewGetDatasetDatasetNameWalletParamsWithTimeout(timeout time.Duration) *GetDatasetDatasetNameWalletParams

NewGetDatasetDatasetNameWalletParamsWithTimeout creates a new GetDatasetDatasetNameWalletParams object with the ability to set a timeout on a request.

func (*GetDatasetDatasetNameWalletParams) SetContext

SetContext adds the context to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) SetDatasetName

func (o *GetDatasetDatasetNameWalletParams) SetDatasetName(datasetName string)

SetDatasetName adds the datasetName to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) SetDefaults

func (o *GetDatasetDatasetNameWalletParams) SetDefaults()

SetDefaults hydrates default values in the get dataset dataset name wallet params (not the query body).

All values with no default are reset to their zero value.

func (*GetDatasetDatasetNameWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) SetTimeout

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

SetTimeout adds the timeout to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) WithContext

WithContext adds the context to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) WithDatasetName

WithDatasetName adds the datasetName to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) WithDefaults

WithDefaults hydrates default values in the get dataset dataset name wallet params (not the query body).

All values with no default are reset to their zero value.

func (*GetDatasetDatasetNameWalletParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) WithTimeout

WithTimeout adds the timeout to the get dataset dataset name wallet params

func (*GetDatasetDatasetNameWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDatasetDatasetNameWalletReader

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

GetDatasetDatasetNameWalletReader is a Reader for the GetDatasetDatasetNameWallet structure.

func (*GetDatasetDatasetNameWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWalletBadRequest

type GetWalletBadRequest struct {
	Payload *models.APIHTTPError
}

GetWalletBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetWalletBadRequest

func NewGetWalletBadRequest() *GetWalletBadRequest

NewGetWalletBadRequest creates a GetWalletBadRequest with default headers values

func (*GetWalletBadRequest) Code

func (o *GetWalletBadRequest) Code() int

Code gets the status code for the get wallet bad request response

func (*GetWalletBadRequest) Error

func (o *GetWalletBadRequest) Error() string

func (*GetWalletBadRequest) GetPayload

func (o *GetWalletBadRequest) GetPayload() *models.APIHTTPError

func (*GetWalletBadRequest) IsClientError

func (o *GetWalletBadRequest) IsClientError() bool

IsClientError returns true when this get wallet bad request response has a 4xx status code

func (*GetWalletBadRequest) IsCode

func (o *GetWalletBadRequest) IsCode(code int) bool

IsCode returns true when this get wallet bad request response a status code equal to that given

func (*GetWalletBadRequest) IsRedirect

func (o *GetWalletBadRequest) IsRedirect() bool

IsRedirect returns true when this get wallet bad request response has a 3xx status code

func (*GetWalletBadRequest) IsServerError

func (o *GetWalletBadRequest) IsServerError() bool

IsServerError returns true when this get wallet bad request response has a 5xx status code

func (*GetWalletBadRequest) IsSuccess

func (o *GetWalletBadRequest) IsSuccess() bool

IsSuccess returns true when this get wallet bad request response has a 2xx status code

func (*GetWalletBadRequest) String

func (o *GetWalletBadRequest) String() string

type GetWalletInternalServerError

type GetWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

GetWalletInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetWalletInternalServerError

func NewGetWalletInternalServerError() *GetWalletInternalServerError

NewGetWalletInternalServerError creates a GetWalletInternalServerError with default headers values

func (*GetWalletInternalServerError) Code

Code gets the status code for the get wallet internal server error response

func (*GetWalletInternalServerError) Error

func (*GetWalletInternalServerError) GetPayload

func (*GetWalletInternalServerError) IsClientError

func (o *GetWalletInternalServerError) IsClientError() bool

IsClientError returns true when this get wallet internal server error response has a 4xx status code

func (*GetWalletInternalServerError) IsCode

func (o *GetWalletInternalServerError) IsCode(code int) bool

IsCode returns true when this get wallet internal server error response a status code equal to that given

func (*GetWalletInternalServerError) IsRedirect

func (o *GetWalletInternalServerError) IsRedirect() bool

IsRedirect returns true when this get wallet internal server error response has a 3xx status code

func (*GetWalletInternalServerError) IsServerError

func (o *GetWalletInternalServerError) IsServerError() bool

IsServerError returns true when this get wallet internal server error response has a 5xx status code

func (*GetWalletInternalServerError) IsSuccess

func (o *GetWalletInternalServerError) IsSuccess() bool

IsSuccess returns true when this get wallet internal server error response has a 2xx status code

func (*GetWalletInternalServerError) String

type GetWalletOK

type GetWalletOK struct {
	Payload []*models.ModelWallet
}

GetWalletOK describes a response with status code 200, with default header values.

OK

func NewGetWalletOK

func NewGetWalletOK() *GetWalletOK

NewGetWalletOK creates a GetWalletOK with default headers values

func (*GetWalletOK) Code

func (o *GetWalletOK) Code() int

Code gets the status code for the get wallet o k response

func (*GetWalletOK) Error

func (o *GetWalletOK) Error() string

func (*GetWalletOK) GetPayload

func (o *GetWalletOK) GetPayload() []*models.ModelWallet

func (*GetWalletOK) IsClientError

func (o *GetWalletOK) IsClientError() bool

IsClientError returns true when this get wallet o k response has a 4xx status code

func (*GetWalletOK) IsCode

func (o *GetWalletOK) IsCode(code int) bool

IsCode returns true when this get wallet o k response a status code equal to that given

func (*GetWalletOK) IsRedirect

func (o *GetWalletOK) IsRedirect() bool

IsRedirect returns true when this get wallet o k response has a 3xx status code

func (*GetWalletOK) IsServerError

func (o *GetWalletOK) IsServerError() bool

IsServerError returns true when this get wallet o k response has a 5xx status code

func (*GetWalletOK) IsSuccess

func (o *GetWalletOK) IsSuccess() bool

IsSuccess returns true when this get wallet o k response has a 2xx status code

func (*GetWalletOK) String

func (o *GetWalletOK) String() string

type GetWalletParams

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

GetWalletParams contains all the parameters to send to the API endpoint

for the get wallet operation.

Typically these are written to a http.Request.

func NewGetWalletParams

func NewGetWalletParams() *GetWalletParams

NewGetWalletParams creates a new GetWalletParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetWalletParamsWithContext

func NewGetWalletParamsWithContext(ctx context.Context) *GetWalletParams

NewGetWalletParamsWithContext creates a new GetWalletParams object with the ability to set a context for a request.

func NewGetWalletParamsWithHTTPClient

func NewGetWalletParamsWithHTTPClient(client *http.Client) *GetWalletParams

NewGetWalletParamsWithHTTPClient creates a new GetWalletParams object with the ability to set a custom HTTPClient for a request.

func NewGetWalletParamsWithTimeout

func NewGetWalletParamsWithTimeout(timeout time.Duration) *GetWalletParams

NewGetWalletParamsWithTimeout creates a new GetWalletParams object with the ability to set a timeout on a request.

func (*GetWalletParams) SetContext

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

SetContext adds the context to the get wallet params

func (*GetWalletParams) SetDefaults

func (o *GetWalletParams) SetDefaults()

SetDefaults hydrates default values in the get wallet params (not the query body).

All values with no default are reset to their zero value.

func (*GetWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get wallet params

func (*GetWalletParams) SetTimeout

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

SetTimeout adds the timeout to the get wallet params

func (*GetWalletParams) WithContext

func (o *GetWalletParams) WithContext(ctx context.Context) *GetWalletParams

WithContext adds the context to the get wallet params

func (*GetWalletParams) WithDefaults

func (o *GetWalletParams) WithDefaults() *GetWalletParams

WithDefaults hydrates default values in the get wallet params (not the query body).

All values with no default are reset to their zero value.

func (*GetWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get wallet params

func (*GetWalletParams) WithTimeout

func (o *GetWalletParams) WithTimeout(timeout time.Duration) *GetWalletParams

WithTimeout adds the timeout to the get wallet params

func (*GetWalletParams) WriteToRequest

func (o *GetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetWalletReader

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

GetWalletReader is a Reader for the GetWallet structure.

func (*GetWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostWalletBadRequest

type PostWalletBadRequest struct {
	Payload *models.APIHTTPError
}

PostWalletBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostWalletBadRequest

func NewPostWalletBadRequest() *PostWalletBadRequest

NewPostWalletBadRequest creates a PostWalletBadRequest with default headers values

func (*PostWalletBadRequest) Code

func (o *PostWalletBadRequest) Code() int

Code gets the status code for the post wallet bad request response

func (*PostWalletBadRequest) Error

func (o *PostWalletBadRequest) Error() string

func (*PostWalletBadRequest) GetPayload

func (o *PostWalletBadRequest) GetPayload() *models.APIHTTPError

func (*PostWalletBadRequest) IsClientError

func (o *PostWalletBadRequest) IsClientError() bool

IsClientError returns true when this post wallet bad request response has a 4xx status code

func (*PostWalletBadRequest) IsCode

func (o *PostWalletBadRequest) IsCode(code int) bool

IsCode returns true when this post wallet bad request response a status code equal to that given

func (*PostWalletBadRequest) IsRedirect

func (o *PostWalletBadRequest) IsRedirect() bool

IsRedirect returns true when this post wallet bad request response has a 3xx status code

func (*PostWalletBadRequest) IsServerError

func (o *PostWalletBadRequest) IsServerError() bool

IsServerError returns true when this post wallet bad request response has a 5xx status code

func (*PostWalletBadRequest) IsSuccess

func (o *PostWalletBadRequest) IsSuccess() bool

IsSuccess returns true when this post wallet bad request response has a 2xx status code

func (*PostWalletBadRequest) String

func (o *PostWalletBadRequest) String() string

type PostWalletInternalServerError

type PostWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

PostWalletInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostWalletInternalServerError

func NewPostWalletInternalServerError() *PostWalletInternalServerError

NewPostWalletInternalServerError creates a PostWalletInternalServerError with default headers values

func (*PostWalletInternalServerError) Code

Code gets the status code for the post wallet internal server error response

func (*PostWalletInternalServerError) Error

func (*PostWalletInternalServerError) GetPayload

func (*PostWalletInternalServerError) IsClientError

func (o *PostWalletInternalServerError) IsClientError() bool

IsClientError returns true when this post wallet internal server error response has a 4xx status code

func (*PostWalletInternalServerError) IsCode

func (o *PostWalletInternalServerError) IsCode(code int) bool

IsCode returns true when this post wallet internal server error response a status code equal to that given

func (*PostWalletInternalServerError) IsRedirect

func (o *PostWalletInternalServerError) IsRedirect() bool

IsRedirect returns true when this post wallet internal server error response has a 3xx status code

func (*PostWalletInternalServerError) IsServerError

func (o *PostWalletInternalServerError) IsServerError() bool

IsServerError returns true when this post wallet internal server error response has a 5xx status code

func (*PostWalletInternalServerError) IsSuccess

func (o *PostWalletInternalServerError) IsSuccess() bool

IsSuccess returns true when this post wallet internal server error response has a 2xx status code

func (*PostWalletInternalServerError) String

type PostWalletOK

type PostWalletOK struct {
	Payload *models.ModelWallet
}

PostWalletOK describes a response with status code 200, with default header values.

OK

func NewPostWalletOK

func NewPostWalletOK() *PostWalletOK

NewPostWalletOK creates a PostWalletOK with default headers values

func (*PostWalletOK) Code

func (o *PostWalletOK) Code() int

Code gets the status code for the post wallet o k response

func (*PostWalletOK) Error

func (o *PostWalletOK) Error() string

func (*PostWalletOK) GetPayload

func (o *PostWalletOK) GetPayload() *models.ModelWallet

func (*PostWalletOK) IsClientError

func (o *PostWalletOK) IsClientError() bool

IsClientError returns true when this post wallet o k response has a 4xx status code

func (*PostWalletOK) IsCode

func (o *PostWalletOK) IsCode(code int) bool

IsCode returns true when this post wallet o k response a status code equal to that given

func (*PostWalletOK) IsRedirect

func (o *PostWalletOK) IsRedirect() bool

IsRedirect returns true when this post wallet o k response has a 3xx status code

func (*PostWalletOK) IsServerError

func (o *PostWalletOK) IsServerError() bool

IsServerError returns true when this post wallet o k response has a 5xx status code

func (*PostWalletOK) IsSuccess

func (o *PostWalletOK) IsSuccess() bool

IsSuccess returns true when this post wallet o k response has a 2xx status code

func (*PostWalletOK) String

func (o *PostWalletOK) String() string

type PostWalletParams

type PostWalletParams struct {

	/* Request.

	   Request body
	*/
	Request *models.WalletImportRequest

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

PostWalletParams contains all the parameters to send to the API endpoint

for the post wallet operation.

Typically these are written to a http.Request.

func NewPostWalletParams

func NewPostWalletParams() *PostWalletParams

NewPostWalletParams creates a new PostWalletParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostWalletParamsWithContext

func NewPostWalletParamsWithContext(ctx context.Context) *PostWalletParams

NewPostWalletParamsWithContext creates a new PostWalletParams object with the ability to set a context for a request.

func NewPostWalletParamsWithHTTPClient

func NewPostWalletParamsWithHTTPClient(client *http.Client) *PostWalletParams

NewPostWalletParamsWithHTTPClient creates a new PostWalletParams object with the ability to set a custom HTTPClient for a request.

func NewPostWalletParamsWithTimeout

func NewPostWalletParamsWithTimeout(timeout time.Duration) *PostWalletParams

NewPostWalletParamsWithTimeout creates a new PostWalletParams object with the ability to set a timeout on a request.

func (*PostWalletParams) SetContext

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

SetContext adds the context to the post wallet params

func (*PostWalletParams) SetDefaults

func (o *PostWalletParams) SetDefaults()

SetDefaults hydrates default values in the post wallet params (not the query body).

All values with no default are reset to their zero value.

func (*PostWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post wallet params

func (*PostWalletParams) SetRequest

func (o *PostWalletParams) SetRequest(request *models.WalletImportRequest)

SetRequest adds the request to the post wallet params

func (*PostWalletParams) SetTimeout

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

SetTimeout adds the timeout to the post wallet params

func (*PostWalletParams) WithContext

func (o *PostWalletParams) WithContext(ctx context.Context) *PostWalletParams

WithContext adds the context to the post wallet params

func (*PostWalletParams) WithDefaults

func (o *PostWalletParams) WithDefaults() *PostWalletParams

WithDefaults hydrates default values in the post wallet params (not the query body).

All values with no default are reset to their zero value.

func (*PostWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post wallet params

func (*PostWalletParams) WithRequest

func (o *PostWalletParams) WithRequest(request *models.WalletImportRequest) *PostWalletParams

WithRequest adds the request to the post wallet params

func (*PostWalletParams) WithTimeout

func (o *PostWalletParams) WithTimeout(timeout time.Duration) *PostWalletParams

WithTimeout adds the timeout to the post wallet params

func (*PostWalletParams) WriteToRequest

func (o *PostWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostWalletReader

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

PostWalletReader is a Reader for the PostWallet structure.

func (*PostWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostWalletRemoteBadRequest

type PostWalletRemoteBadRequest struct {
	Payload *models.APIHTTPError
}

PostWalletRemoteBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostWalletRemoteBadRequest

func NewPostWalletRemoteBadRequest() *PostWalletRemoteBadRequest

NewPostWalletRemoteBadRequest creates a PostWalletRemoteBadRequest with default headers values

func (*PostWalletRemoteBadRequest) Code

func (o *PostWalletRemoteBadRequest) Code() int

Code gets the status code for the post wallet remote bad request response

func (*PostWalletRemoteBadRequest) Error

func (*PostWalletRemoteBadRequest) GetPayload

func (*PostWalletRemoteBadRequest) IsClientError

func (o *PostWalletRemoteBadRequest) IsClientError() bool

IsClientError returns true when this post wallet remote bad request response has a 4xx status code

func (*PostWalletRemoteBadRequest) IsCode

func (o *PostWalletRemoteBadRequest) IsCode(code int) bool

IsCode returns true when this post wallet remote bad request response a status code equal to that given

func (*PostWalletRemoteBadRequest) IsRedirect

func (o *PostWalletRemoteBadRequest) IsRedirect() bool

IsRedirect returns true when this post wallet remote bad request response has a 3xx status code

func (*PostWalletRemoteBadRequest) IsServerError

func (o *PostWalletRemoteBadRequest) IsServerError() bool

IsServerError returns true when this post wallet remote bad request response has a 5xx status code

func (*PostWalletRemoteBadRequest) IsSuccess

func (o *PostWalletRemoteBadRequest) IsSuccess() bool

IsSuccess returns true when this post wallet remote bad request response has a 2xx status code

func (*PostWalletRemoteBadRequest) String

func (o *PostWalletRemoteBadRequest) String() string

type PostWalletRemoteInternalServerError

type PostWalletRemoteInternalServerError struct {
	Payload *models.APIHTTPError
}

PostWalletRemoteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostWalletRemoteInternalServerError

func NewPostWalletRemoteInternalServerError() *PostWalletRemoteInternalServerError

NewPostWalletRemoteInternalServerError creates a PostWalletRemoteInternalServerError with default headers values

func (*PostWalletRemoteInternalServerError) Code

Code gets the status code for the post wallet remote internal server error response

func (*PostWalletRemoteInternalServerError) Error

func (*PostWalletRemoteInternalServerError) GetPayload

func (*PostWalletRemoteInternalServerError) IsClientError

func (o *PostWalletRemoteInternalServerError) IsClientError() bool

IsClientError returns true when this post wallet remote internal server error response has a 4xx status code

func (*PostWalletRemoteInternalServerError) IsCode

IsCode returns true when this post wallet remote internal server error response a status code equal to that given

func (*PostWalletRemoteInternalServerError) IsRedirect

func (o *PostWalletRemoteInternalServerError) IsRedirect() bool

IsRedirect returns true when this post wallet remote internal server error response has a 3xx status code

func (*PostWalletRemoteInternalServerError) IsServerError

func (o *PostWalletRemoteInternalServerError) IsServerError() bool

IsServerError returns true when this post wallet remote internal server error response has a 5xx status code

func (*PostWalletRemoteInternalServerError) IsSuccess

IsSuccess returns true when this post wallet remote internal server error response has a 2xx status code

func (*PostWalletRemoteInternalServerError) String

type PostWalletRemoteOK

type PostWalletRemoteOK struct {
	Payload *models.ModelWallet
}

PostWalletRemoteOK describes a response with status code 200, with default header values.

OK

func NewPostWalletRemoteOK

func NewPostWalletRemoteOK() *PostWalletRemoteOK

NewPostWalletRemoteOK creates a PostWalletRemoteOK with default headers values

func (*PostWalletRemoteOK) Code

func (o *PostWalletRemoteOK) Code() int

Code gets the status code for the post wallet remote o k response

func (*PostWalletRemoteOK) Error

func (o *PostWalletRemoteOK) Error() string

func (*PostWalletRemoteOK) GetPayload

func (o *PostWalletRemoteOK) GetPayload() *models.ModelWallet

func (*PostWalletRemoteOK) IsClientError

func (o *PostWalletRemoteOK) IsClientError() bool

IsClientError returns true when this post wallet remote o k response has a 4xx status code

func (*PostWalletRemoteOK) IsCode

func (o *PostWalletRemoteOK) IsCode(code int) bool

IsCode returns true when this post wallet remote o k response a status code equal to that given

func (*PostWalletRemoteOK) IsRedirect

func (o *PostWalletRemoteOK) IsRedirect() bool

IsRedirect returns true when this post wallet remote o k response has a 3xx status code

func (*PostWalletRemoteOK) IsServerError

func (o *PostWalletRemoteOK) IsServerError() bool

IsServerError returns true when this post wallet remote o k response has a 5xx status code

func (*PostWalletRemoteOK) IsSuccess

func (o *PostWalletRemoteOK) IsSuccess() bool

IsSuccess returns true when this post wallet remote o k response has a 2xx status code

func (*PostWalletRemoteOK) String

func (o *PostWalletRemoteOK) String() string

type PostWalletRemoteParams

type PostWalletRemoteParams struct {

	/* Request.

	   Request body
	*/
	Request *models.WalletAddRemoteRequest

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

PostWalletRemoteParams contains all the parameters to send to the API endpoint

for the post wallet remote operation.

Typically these are written to a http.Request.

func NewPostWalletRemoteParams

func NewPostWalletRemoteParams() *PostWalletRemoteParams

NewPostWalletRemoteParams creates a new PostWalletRemoteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostWalletRemoteParamsWithContext

func NewPostWalletRemoteParamsWithContext(ctx context.Context) *PostWalletRemoteParams

NewPostWalletRemoteParamsWithContext creates a new PostWalletRemoteParams object with the ability to set a context for a request.

func NewPostWalletRemoteParamsWithHTTPClient

func NewPostWalletRemoteParamsWithHTTPClient(client *http.Client) *PostWalletRemoteParams

NewPostWalletRemoteParamsWithHTTPClient creates a new PostWalletRemoteParams object with the ability to set a custom HTTPClient for a request.

func NewPostWalletRemoteParamsWithTimeout

func NewPostWalletRemoteParamsWithTimeout(timeout time.Duration) *PostWalletRemoteParams

NewPostWalletRemoteParamsWithTimeout creates a new PostWalletRemoteParams object with the ability to set a timeout on a request.

func (*PostWalletRemoteParams) SetContext

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

SetContext adds the context to the post wallet remote params

func (*PostWalletRemoteParams) SetDefaults

func (o *PostWalletRemoteParams) SetDefaults()

SetDefaults hydrates default values in the post wallet remote params (not the query body).

All values with no default are reset to their zero value.

func (*PostWalletRemoteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post wallet remote params

func (*PostWalletRemoteParams) SetRequest

func (o *PostWalletRemoteParams) SetRequest(request *models.WalletAddRemoteRequest)

SetRequest adds the request to the post wallet remote params

func (*PostWalletRemoteParams) SetTimeout

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

SetTimeout adds the timeout to the post wallet remote params

func (*PostWalletRemoteParams) WithContext

WithContext adds the context to the post wallet remote params

func (*PostWalletRemoteParams) WithDefaults

WithDefaults hydrates default values in the post wallet remote params (not the query body).

All values with no default are reset to their zero value.

func (*PostWalletRemoteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post wallet remote params

func (*PostWalletRemoteParams) WithRequest

WithRequest adds the request to the post wallet remote params

func (*PostWalletRemoteParams) WithTimeout

WithTimeout adds the timeout to the post wallet remote params

func (*PostWalletRemoteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostWalletRemoteReader

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

PostWalletRemoteReader is a Reader for the PostWalletRemote structure.

func (*PostWalletRemoteReader) ReadResponse

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