wallet_association

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 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 AttachWalletBadRequest added in v0.4.1

type AttachWalletBadRequest struct {
	Payload *models.APIHTTPError
}

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

Bad Request

func NewAttachWalletBadRequest added in v0.4.1

func NewAttachWalletBadRequest() *AttachWalletBadRequest

NewAttachWalletBadRequest creates a AttachWalletBadRequest with default headers values

func (*AttachWalletBadRequest) Code added in v0.4.1

func (o *AttachWalletBadRequest) Code() int

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

func (*AttachWalletBadRequest) Error added in v0.4.1

func (o *AttachWalletBadRequest) Error() string

func (*AttachWalletBadRequest) GetPayload added in v0.4.1

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

func (*AttachWalletBadRequest) IsClientError added in v0.4.1

func (o *AttachWalletBadRequest) IsClientError() bool

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

func (*AttachWalletBadRequest) IsCode added in v0.4.1

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

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

func (*AttachWalletBadRequest) IsRedirect added in v0.4.1

func (o *AttachWalletBadRequest) IsRedirect() bool

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

func (*AttachWalletBadRequest) IsServerError added in v0.4.1

func (o *AttachWalletBadRequest) IsServerError() bool

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

func (*AttachWalletBadRequest) IsSuccess added in v0.4.1

func (o *AttachWalletBadRequest) IsSuccess() bool

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

func (*AttachWalletBadRequest) String added in v0.4.1

func (o *AttachWalletBadRequest) String() string

type AttachWalletInternalServerError added in v0.4.1

type AttachWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

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

Internal Server Error

func NewAttachWalletInternalServerError added in v0.4.1

func NewAttachWalletInternalServerError() *AttachWalletInternalServerError

NewAttachWalletInternalServerError creates a AttachWalletInternalServerError with default headers values

func (*AttachWalletInternalServerError) Code added in v0.4.1

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

func (*AttachWalletInternalServerError) Error added in v0.4.1

func (*AttachWalletInternalServerError) GetPayload added in v0.4.1

func (*AttachWalletInternalServerError) IsClientError added in v0.4.1

func (o *AttachWalletInternalServerError) IsClientError() bool

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

func (*AttachWalletInternalServerError) IsCode added in v0.4.1

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

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

func (*AttachWalletInternalServerError) IsRedirect added in v0.4.1

func (o *AttachWalletInternalServerError) IsRedirect() bool

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

func (*AttachWalletInternalServerError) IsServerError added in v0.4.1

func (o *AttachWalletInternalServerError) IsServerError() bool

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

func (*AttachWalletInternalServerError) IsSuccess added in v0.4.1

func (o *AttachWalletInternalServerError) IsSuccess() bool

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

func (*AttachWalletInternalServerError) String added in v0.4.1

type AttachWalletOK added in v0.4.1

type AttachWalletOK struct {
	Payload *models.ModelPreparation
}

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

OK

func NewAttachWalletOK added in v0.4.1

func NewAttachWalletOK() *AttachWalletOK

NewAttachWalletOK creates a AttachWalletOK with default headers values

func (*AttachWalletOK) Code added in v0.4.1

func (o *AttachWalletOK) Code() int

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

func (*AttachWalletOK) Error added in v0.4.1

func (o *AttachWalletOK) Error() string

func (*AttachWalletOK) GetPayload added in v0.4.1

func (o *AttachWalletOK) GetPayload() *models.ModelPreparation

func (*AttachWalletOK) IsClientError added in v0.4.1

func (o *AttachWalletOK) IsClientError() bool

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

func (*AttachWalletOK) IsCode added in v0.4.1

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

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

func (*AttachWalletOK) IsRedirect added in v0.4.1

func (o *AttachWalletOK) IsRedirect() bool

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

func (*AttachWalletOK) IsServerError added in v0.4.1

func (o *AttachWalletOK) IsServerError() bool

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

func (*AttachWalletOK) IsSuccess added in v0.4.1

func (o *AttachWalletOK) IsSuccess() bool

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

func (*AttachWalletOK) String added in v0.4.1

func (o *AttachWalletOK) String() string

type AttachWalletParams added in v0.4.1

type AttachWalletParams struct {

	/* ID.

	   Preparation ID or name
	*/
	ID string

	/* Wallet.

	   Wallet Address
	*/
	Wallet string

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

AttachWalletParams contains all the parameters to send to the API endpoint

for the attach wallet operation.

Typically these are written to a http.Request.

func NewAttachWalletParams added in v0.4.1

func NewAttachWalletParams() *AttachWalletParams

NewAttachWalletParams creates a new AttachWalletParams 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 NewAttachWalletParamsWithContext added in v0.4.1

func NewAttachWalletParamsWithContext(ctx context.Context) *AttachWalletParams

NewAttachWalletParamsWithContext creates a new AttachWalletParams object with the ability to set a context for a request.

func NewAttachWalletParamsWithHTTPClient added in v0.4.1

func NewAttachWalletParamsWithHTTPClient(client *http.Client) *AttachWalletParams

NewAttachWalletParamsWithHTTPClient creates a new AttachWalletParams object with the ability to set a custom HTTPClient for a request.

func NewAttachWalletParamsWithTimeout added in v0.4.1

func NewAttachWalletParamsWithTimeout(timeout time.Duration) *AttachWalletParams

NewAttachWalletParamsWithTimeout creates a new AttachWalletParams object with the ability to set a timeout on a request.

func (*AttachWalletParams) SetContext added in v0.4.1

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

SetContext adds the context to the attach wallet params

func (*AttachWalletParams) SetDefaults added in v0.4.1

func (o *AttachWalletParams) SetDefaults()

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

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

func (*AttachWalletParams) SetHTTPClient added in v0.4.1

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

SetHTTPClient adds the HTTPClient to the attach wallet params

func (*AttachWalletParams) SetID added in v0.4.1

func (o *AttachWalletParams) SetID(id string)

SetID adds the id to the attach wallet params

func (*AttachWalletParams) SetTimeout added in v0.4.1

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

SetTimeout adds the timeout to the attach wallet params

func (*AttachWalletParams) SetWallet added in v0.4.1

func (o *AttachWalletParams) SetWallet(wallet string)

SetWallet adds the wallet to the attach wallet params

func (*AttachWalletParams) WithContext added in v0.4.1

WithContext adds the context to the attach wallet params

func (*AttachWalletParams) WithDefaults added in v0.4.1

func (o *AttachWalletParams) WithDefaults() *AttachWalletParams

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

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

func (*AttachWalletParams) WithHTTPClient added in v0.4.1

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

WithHTTPClient adds the HTTPClient to the attach wallet params

func (*AttachWalletParams) WithID added in v0.4.1

WithID adds the id to the attach wallet params

func (*AttachWalletParams) WithTimeout added in v0.4.1

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

WithTimeout adds the timeout to the attach wallet params

func (*AttachWalletParams) WithWallet added in v0.4.1

func (o *AttachWalletParams) WithWallet(wallet string) *AttachWalletParams

WithWallet adds the wallet to the attach wallet params

func (*AttachWalletParams) WriteToRequest added in v0.4.1

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

WriteToRequest writes these params to a swagger request

type AttachWalletReader added in v0.4.1

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

AttachWalletReader is a Reader for the AttachWallet structure.

func (*AttachWalletReader) ReadResponse added in v0.4.1

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

ReadResponse reads a server response into the received o.

type Client

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

Client for wallet association API

func (*Client) AttachWallet added in v0.4.1

func (a *Client) AttachWallet(params *AttachWalletParams, opts ...ClientOption) (*AttachWalletOK, error)

AttachWallet attaches a new wallet with a preparation

func (*Client) DetachWallet added in v0.4.1

func (a *Client) DetachWallet(params *DetachWalletParams, opts ...ClientOption) (*DetachWalletOK, error)

DetachWallet detaches a new wallet from a preparation

func (*Client) ListAttachedWallets added in v0.4.1

func (a *Client) ListAttachedWallets(params *ListAttachedWalletsParams, opts ...ClientOption) (*ListAttachedWalletsOK, error)

ListAttachedWallets lists all wallets of a preparation

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 {
	AttachWallet(params *AttachWalletParams, opts ...ClientOption) (*AttachWalletOK, error)

	DetachWallet(params *DetachWalletParams, opts ...ClientOption) (*DetachWalletOK, error)

	ListAttachedWallets(params *ListAttachedWalletsParams, opts ...ClientOption) (*ListAttachedWalletsOK, 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 association API client.

type DetachWalletBadRequest added in v0.4.1

type DetachWalletBadRequest struct {
	Payload *models.APIHTTPError
}

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

Bad Request

func NewDetachWalletBadRequest added in v0.4.1

func NewDetachWalletBadRequest() *DetachWalletBadRequest

NewDetachWalletBadRequest creates a DetachWalletBadRequest with default headers values

func (*DetachWalletBadRequest) Code added in v0.4.1

func (o *DetachWalletBadRequest) Code() int

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

func (*DetachWalletBadRequest) Error added in v0.4.1

func (o *DetachWalletBadRequest) Error() string

func (*DetachWalletBadRequest) GetPayload added in v0.4.1

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

func (*DetachWalletBadRequest) IsClientError added in v0.4.1

func (o *DetachWalletBadRequest) IsClientError() bool

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

func (*DetachWalletBadRequest) IsCode added in v0.4.1

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

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

func (*DetachWalletBadRequest) IsRedirect added in v0.4.1

func (o *DetachWalletBadRequest) IsRedirect() bool

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

func (*DetachWalletBadRequest) IsServerError added in v0.4.1

func (o *DetachWalletBadRequest) IsServerError() bool

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

func (*DetachWalletBadRequest) IsSuccess added in v0.4.1

func (o *DetachWalletBadRequest) IsSuccess() bool

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

func (*DetachWalletBadRequest) String added in v0.4.1

func (o *DetachWalletBadRequest) String() string

type DetachWalletInternalServerError added in v0.4.1

type DetachWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

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

Internal Server Error

func NewDetachWalletInternalServerError added in v0.4.1

func NewDetachWalletInternalServerError() *DetachWalletInternalServerError

NewDetachWalletInternalServerError creates a DetachWalletInternalServerError with default headers values

func (*DetachWalletInternalServerError) Code added in v0.4.1

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

func (*DetachWalletInternalServerError) Error added in v0.4.1

func (*DetachWalletInternalServerError) GetPayload added in v0.4.1

func (*DetachWalletInternalServerError) IsClientError added in v0.4.1

func (o *DetachWalletInternalServerError) IsClientError() bool

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

func (*DetachWalletInternalServerError) IsCode added in v0.4.1

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

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

func (*DetachWalletInternalServerError) IsRedirect added in v0.4.1

func (o *DetachWalletInternalServerError) IsRedirect() bool

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

func (*DetachWalletInternalServerError) IsServerError added in v0.4.1

func (o *DetachWalletInternalServerError) IsServerError() bool

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

func (*DetachWalletInternalServerError) IsSuccess added in v0.4.1

func (o *DetachWalletInternalServerError) IsSuccess() bool

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

func (*DetachWalletInternalServerError) String added in v0.4.1

type DetachWalletOK added in v0.4.1

type DetachWalletOK struct {
	Payload *models.ModelPreparation
}

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

OK

func NewDetachWalletOK added in v0.4.1

func NewDetachWalletOK() *DetachWalletOK

NewDetachWalletOK creates a DetachWalletOK with default headers values

func (*DetachWalletOK) Code added in v0.4.1

func (o *DetachWalletOK) Code() int

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

func (*DetachWalletOK) Error added in v0.4.1

func (o *DetachWalletOK) Error() string

func (*DetachWalletOK) GetPayload added in v0.4.1

func (o *DetachWalletOK) GetPayload() *models.ModelPreparation

func (*DetachWalletOK) IsClientError added in v0.4.1

func (o *DetachWalletOK) IsClientError() bool

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

func (*DetachWalletOK) IsCode added in v0.4.1

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

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

func (*DetachWalletOK) IsRedirect added in v0.4.1

func (o *DetachWalletOK) IsRedirect() bool

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

func (*DetachWalletOK) IsServerError added in v0.4.1

func (o *DetachWalletOK) IsServerError() bool

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

func (*DetachWalletOK) IsSuccess added in v0.4.1

func (o *DetachWalletOK) IsSuccess() bool

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

func (*DetachWalletOK) String added in v0.4.1

func (o *DetachWalletOK) String() string

type DetachWalletParams added in v0.4.1

type DetachWalletParams struct {

	/* ID.

	   Preparation ID or name
	*/
	ID string

	/* Wallet.

	   Wallet Address
	*/
	Wallet string

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

DetachWalletParams contains all the parameters to send to the API endpoint

for the detach wallet operation.

Typically these are written to a http.Request.

func NewDetachWalletParams added in v0.4.1

func NewDetachWalletParams() *DetachWalletParams

NewDetachWalletParams creates a new DetachWalletParams 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 NewDetachWalletParamsWithContext added in v0.4.1

func NewDetachWalletParamsWithContext(ctx context.Context) *DetachWalletParams

NewDetachWalletParamsWithContext creates a new DetachWalletParams object with the ability to set a context for a request.

func NewDetachWalletParamsWithHTTPClient added in v0.4.1

func NewDetachWalletParamsWithHTTPClient(client *http.Client) *DetachWalletParams

NewDetachWalletParamsWithHTTPClient creates a new DetachWalletParams object with the ability to set a custom HTTPClient for a request.

func NewDetachWalletParamsWithTimeout added in v0.4.1

func NewDetachWalletParamsWithTimeout(timeout time.Duration) *DetachWalletParams

NewDetachWalletParamsWithTimeout creates a new DetachWalletParams object with the ability to set a timeout on a request.

func (*DetachWalletParams) SetContext added in v0.4.1

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

SetContext adds the context to the detach wallet params

func (*DetachWalletParams) SetDefaults added in v0.4.1

func (o *DetachWalletParams) SetDefaults()

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

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

func (*DetachWalletParams) SetHTTPClient added in v0.4.1

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

SetHTTPClient adds the HTTPClient to the detach wallet params

func (*DetachWalletParams) SetID added in v0.4.1

func (o *DetachWalletParams) SetID(id string)

SetID adds the id to the detach wallet params

func (*DetachWalletParams) SetTimeout added in v0.4.1

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

SetTimeout adds the timeout to the detach wallet params

func (*DetachWalletParams) SetWallet added in v0.4.1

func (o *DetachWalletParams) SetWallet(wallet string)

SetWallet adds the wallet to the detach wallet params

func (*DetachWalletParams) WithContext added in v0.4.1

WithContext adds the context to the detach wallet params

func (*DetachWalletParams) WithDefaults added in v0.4.1

func (o *DetachWalletParams) WithDefaults() *DetachWalletParams

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

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

func (*DetachWalletParams) WithHTTPClient added in v0.4.1

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

WithHTTPClient adds the HTTPClient to the detach wallet params

func (*DetachWalletParams) WithID added in v0.4.1

WithID adds the id to the detach wallet params

func (*DetachWalletParams) WithTimeout added in v0.4.1

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

WithTimeout adds the timeout to the detach wallet params

func (*DetachWalletParams) WithWallet added in v0.4.1

func (o *DetachWalletParams) WithWallet(wallet string) *DetachWalletParams

WithWallet adds the wallet to the detach wallet params

func (*DetachWalletParams) WriteToRequest added in v0.4.1

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

WriteToRequest writes these params to a swagger request

type DetachWalletReader added in v0.4.1

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

DetachWalletReader is a Reader for the DetachWallet structure.

func (*DetachWalletReader) ReadResponse added in v0.4.1

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

ReadResponse reads a server response into the received o.

type ListAttachedWalletsBadRequest added in v0.4.1

type ListAttachedWalletsBadRequest struct {
	Payload *models.APIHTTPError
}

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

Bad Request

func NewListAttachedWalletsBadRequest added in v0.4.1

func NewListAttachedWalletsBadRequest() *ListAttachedWalletsBadRequest

NewListAttachedWalletsBadRequest creates a ListAttachedWalletsBadRequest with default headers values

func (*ListAttachedWalletsBadRequest) Code added in v0.4.1

Code gets the status code for the list attached wallets bad request response

func (*ListAttachedWalletsBadRequest) Error added in v0.4.1

func (*ListAttachedWalletsBadRequest) GetPayload added in v0.4.1

func (*ListAttachedWalletsBadRequest) IsClientError added in v0.4.1

func (o *ListAttachedWalletsBadRequest) IsClientError() bool

IsClientError returns true when this list attached wallets bad request response has a 4xx status code

func (*ListAttachedWalletsBadRequest) IsCode added in v0.4.1

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

IsCode returns true when this list attached wallets bad request response a status code equal to that given

func (*ListAttachedWalletsBadRequest) IsRedirect added in v0.4.1

func (o *ListAttachedWalletsBadRequest) IsRedirect() bool

IsRedirect returns true when this list attached wallets bad request response has a 3xx status code

func (*ListAttachedWalletsBadRequest) IsServerError added in v0.4.1

func (o *ListAttachedWalletsBadRequest) IsServerError() bool

IsServerError returns true when this list attached wallets bad request response has a 5xx status code

func (*ListAttachedWalletsBadRequest) IsSuccess added in v0.4.1

func (o *ListAttachedWalletsBadRequest) IsSuccess() bool

IsSuccess returns true when this list attached wallets bad request response has a 2xx status code

func (*ListAttachedWalletsBadRequest) String added in v0.4.1

type ListAttachedWalletsInternalServerError added in v0.4.1

type ListAttachedWalletsInternalServerError struct {
	Payload *models.APIHTTPError
}

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

Internal Server Error

func NewListAttachedWalletsInternalServerError added in v0.4.1

func NewListAttachedWalletsInternalServerError() *ListAttachedWalletsInternalServerError

NewListAttachedWalletsInternalServerError creates a ListAttachedWalletsInternalServerError with default headers values

func (*ListAttachedWalletsInternalServerError) Code added in v0.4.1

Code gets the status code for the list attached wallets internal server error response

func (*ListAttachedWalletsInternalServerError) Error added in v0.4.1

func (*ListAttachedWalletsInternalServerError) GetPayload added in v0.4.1

func (*ListAttachedWalletsInternalServerError) IsClientError added in v0.4.1

func (o *ListAttachedWalletsInternalServerError) IsClientError() bool

IsClientError returns true when this list attached wallets internal server error response has a 4xx status code

func (*ListAttachedWalletsInternalServerError) IsCode added in v0.4.1

IsCode returns true when this list attached wallets internal server error response a status code equal to that given

func (*ListAttachedWalletsInternalServerError) IsRedirect added in v0.4.1

IsRedirect returns true when this list attached wallets internal server error response has a 3xx status code

func (*ListAttachedWalletsInternalServerError) IsServerError added in v0.4.1

func (o *ListAttachedWalletsInternalServerError) IsServerError() bool

IsServerError returns true when this list attached wallets internal server error response has a 5xx status code

func (*ListAttachedWalletsInternalServerError) IsSuccess added in v0.4.1

IsSuccess returns true when this list attached wallets internal server error response has a 2xx status code

func (*ListAttachedWalletsInternalServerError) String added in v0.4.1

type ListAttachedWalletsOK added in v0.4.1

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

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

OK

func NewListAttachedWalletsOK added in v0.4.1

func NewListAttachedWalletsOK() *ListAttachedWalletsOK

NewListAttachedWalletsOK creates a ListAttachedWalletsOK with default headers values

func (*ListAttachedWalletsOK) Code added in v0.4.1

func (o *ListAttachedWalletsOK) Code() int

Code gets the status code for the list attached wallets o k response

func (*ListAttachedWalletsOK) Error added in v0.4.1

func (o *ListAttachedWalletsOK) Error() string

func (*ListAttachedWalletsOK) GetPayload added in v0.4.1

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

func (*ListAttachedWalletsOK) IsClientError added in v0.4.1

func (o *ListAttachedWalletsOK) IsClientError() bool

IsClientError returns true when this list attached wallets o k response has a 4xx status code

func (*ListAttachedWalletsOK) IsCode added in v0.4.1

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

IsCode returns true when this list attached wallets o k response a status code equal to that given

func (*ListAttachedWalletsOK) IsRedirect added in v0.4.1

func (o *ListAttachedWalletsOK) IsRedirect() bool

IsRedirect returns true when this list attached wallets o k response has a 3xx status code

func (*ListAttachedWalletsOK) IsServerError added in v0.4.1

func (o *ListAttachedWalletsOK) IsServerError() bool

IsServerError returns true when this list attached wallets o k response has a 5xx status code

func (*ListAttachedWalletsOK) IsSuccess added in v0.4.1

func (o *ListAttachedWalletsOK) IsSuccess() bool

IsSuccess returns true when this list attached wallets o k response has a 2xx status code

func (*ListAttachedWalletsOK) String added in v0.4.1

func (o *ListAttachedWalletsOK) String() string

type ListAttachedWalletsParams added in v0.4.1

type ListAttachedWalletsParams struct {

	/* ID.

	   Preparation ID or name
	*/
	ID string

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

ListAttachedWalletsParams contains all the parameters to send to the API endpoint

for the list attached wallets operation.

Typically these are written to a http.Request.

func NewListAttachedWalletsParams added in v0.4.1

func NewListAttachedWalletsParams() *ListAttachedWalletsParams

NewListAttachedWalletsParams creates a new ListAttachedWalletsParams 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 NewListAttachedWalletsParamsWithContext added in v0.4.1

func NewListAttachedWalletsParamsWithContext(ctx context.Context) *ListAttachedWalletsParams

NewListAttachedWalletsParamsWithContext creates a new ListAttachedWalletsParams object with the ability to set a context for a request.

func NewListAttachedWalletsParamsWithHTTPClient added in v0.4.1

func NewListAttachedWalletsParamsWithHTTPClient(client *http.Client) *ListAttachedWalletsParams

NewListAttachedWalletsParamsWithHTTPClient creates a new ListAttachedWalletsParams object with the ability to set a custom HTTPClient for a request.

func NewListAttachedWalletsParamsWithTimeout added in v0.4.1

func NewListAttachedWalletsParamsWithTimeout(timeout time.Duration) *ListAttachedWalletsParams

NewListAttachedWalletsParamsWithTimeout creates a new ListAttachedWalletsParams object with the ability to set a timeout on a request.

func (*ListAttachedWalletsParams) SetContext added in v0.4.1

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

SetContext adds the context to the list attached wallets params

func (*ListAttachedWalletsParams) SetDefaults added in v0.4.1

func (o *ListAttachedWalletsParams) SetDefaults()

SetDefaults hydrates default values in the list attached wallets params (not the query body).

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

func (*ListAttachedWalletsParams) SetHTTPClient added in v0.4.1

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

SetHTTPClient adds the HTTPClient to the list attached wallets params

func (*ListAttachedWalletsParams) SetID added in v0.4.1

func (o *ListAttachedWalletsParams) SetID(id string)

SetID adds the id to the list attached wallets params

func (*ListAttachedWalletsParams) SetTimeout added in v0.4.1

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

SetTimeout adds the timeout to the list attached wallets params

func (*ListAttachedWalletsParams) WithContext added in v0.4.1

WithContext adds the context to the list attached wallets params

func (*ListAttachedWalletsParams) WithDefaults added in v0.4.1

WithDefaults hydrates default values in the list attached wallets params (not the query body).

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

func (*ListAttachedWalletsParams) WithHTTPClient added in v0.4.1

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

WithHTTPClient adds the HTTPClient to the list attached wallets params

func (*ListAttachedWalletsParams) WithID added in v0.4.1

WithID adds the id to the list attached wallets params

func (*ListAttachedWalletsParams) WithTimeout added in v0.4.1

WithTimeout adds the timeout to the list attached wallets params

func (*ListAttachedWalletsParams) WriteToRequest added in v0.4.1

WriteToRequest writes these params to a swagger request

type ListAttachedWalletsReader added in v0.4.1

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

ListAttachedWalletsReader is a Reader for the ListAttachedWallets structure.

func (*ListAttachedWalletsReader) ReadResponse added in v0.4.1

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