wallet_association

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 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 association API

func (*Client) DeletePreparationIDWalletWallet added in v0.4.0

func (a *Client) DeletePreparationIDWalletWallet(params *DeletePreparationIDWalletWalletParams, opts ...ClientOption) (*DeletePreparationIDWalletWalletOK, error)

DeletePreparationIDWalletWallet detaches a new wallet from a preparation

func (*Client) PostPreparationIDWallet added in v0.4.0

func (a *Client) PostPreparationIDWallet(params *PostPreparationIDWalletParams, opts ...ClientOption) (*PostPreparationIDWalletOK, error)

PostPreparationIDWallet lists all wallets of a preparation

func (*Client) PostPreparationIDWalletWallet added in v0.4.0

func (a *Client) PostPreparationIDWalletWallet(params *PostPreparationIDWalletWalletParams, opts ...ClientOption) (*PostPreparationIDWalletWalletOK, error)

PostPreparationIDWalletWallet attaches a new wallet with 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 {
	DeletePreparationIDWalletWallet(params *DeletePreparationIDWalletWalletParams, opts ...ClientOption) (*DeletePreparationIDWalletWalletOK, error)

	PostPreparationIDWallet(params *PostPreparationIDWalletParams, opts ...ClientOption) (*PostPreparationIDWalletOK, error)

	PostPreparationIDWalletWallet(params *PostPreparationIDWalletWalletParams, opts ...ClientOption) (*PostPreparationIDWalletWalletOK, 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 DeletePreparationIDWalletWalletBadRequest added in v0.4.0

type DeletePreparationIDWalletWalletBadRequest struct {
	Payload *models.APIHTTPError
}

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

Bad Request

func NewDeletePreparationIDWalletWalletBadRequest added in v0.4.0

func NewDeletePreparationIDWalletWalletBadRequest() *DeletePreparationIDWalletWalletBadRequest

NewDeletePreparationIDWalletWalletBadRequest creates a DeletePreparationIDWalletWalletBadRequest with default headers values

func (*DeletePreparationIDWalletWalletBadRequest) Code added in v0.4.0

Code gets the status code for the delete preparation Id wallet wallet bad request response

func (*DeletePreparationIDWalletWalletBadRequest) Error added in v0.4.0

func (*DeletePreparationIDWalletWalletBadRequest) GetPayload added in v0.4.0

func (*DeletePreparationIDWalletWalletBadRequest) IsClientError added in v0.4.0

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

func (*DeletePreparationIDWalletWalletBadRequest) IsCode added in v0.4.0

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

func (*DeletePreparationIDWalletWalletBadRequest) IsRedirect added in v0.4.0

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

func (*DeletePreparationIDWalletWalletBadRequest) IsServerError added in v0.4.0

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

func (*DeletePreparationIDWalletWalletBadRequest) IsSuccess added in v0.4.0

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

func (*DeletePreparationIDWalletWalletBadRequest) String added in v0.4.0

type DeletePreparationIDWalletWalletInternalServerError added in v0.4.0

type DeletePreparationIDWalletWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

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

Internal Server Error

func NewDeletePreparationIDWalletWalletInternalServerError added in v0.4.0

func NewDeletePreparationIDWalletWalletInternalServerError() *DeletePreparationIDWalletWalletInternalServerError

NewDeletePreparationIDWalletWalletInternalServerError creates a DeletePreparationIDWalletWalletInternalServerError with default headers values

func (*DeletePreparationIDWalletWalletInternalServerError) Code added in v0.4.0

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

func (*DeletePreparationIDWalletWalletInternalServerError) Error added in v0.4.0

func (*DeletePreparationIDWalletWalletInternalServerError) GetPayload added in v0.4.0

func (*DeletePreparationIDWalletWalletInternalServerError) IsClientError added in v0.4.0

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

func (*DeletePreparationIDWalletWalletInternalServerError) IsCode added in v0.4.0

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

func (*DeletePreparationIDWalletWalletInternalServerError) IsRedirect added in v0.4.0

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

func (*DeletePreparationIDWalletWalletInternalServerError) IsServerError added in v0.4.0

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

func (*DeletePreparationIDWalletWalletInternalServerError) IsSuccess added in v0.4.0

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

func (*DeletePreparationIDWalletWalletInternalServerError) String added in v0.4.0

type DeletePreparationIDWalletWalletOK added in v0.4.0

type DeletePreparationIDWalletWalletOK struct {
	Payload *models.ModelPreparation
}

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

OK

func NewDeletePreparationIDWalletWalletOK added in v0.4.0

func NewDeletePreparationIDWalletWalletOK() *DeletePreparationIDWalletWalletOK

NewDeletePreparationIDWalletWalletOK creates a DeletePreparationIDWalletWalletOK with default headers values

func (*DeletePreparationIDWalletWalletOK) Code added in v0.4.0

Code gets the status code for the delete preparation Id wallet wallet o k response

func (*DeletePreparationIDWalletWalletOK) Error added in v0.4.0

func (*DeletePreparationIDWalletWalletOK) GetPayload added in v0.4.0

func (*DeletePreparationIDWalletWalletOK) IsClientError added in v0.4.0

func (o *DeletePreparationIDWalletWalletOK) IsClientError() bool

IsClientError returns true when this delete preparation Id wallet wallet o k response has a 4xx status code

func (*DeletePreparationIDWalletWalletOK) IsCode added in v0.4.0

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

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

func (*DeletePreparationIDWalletWalletOK) IsRedirect added in v0.4.0

func (o *DeletePreparationIDWalletWalletOK) IsRedirect() bool

IsRedirect returns true when this delete preparation Id wallet wallet o k response has a 3xx status code

func (*DeletePreparationIDWalletWalletOK) IsServerError added in v0.4.0

func (o *DeletePreparationIDWalletWalletOK) IsServerError() bool

IsServerError returns true when this delete preparation Id wallet wallet o k response has a 5xx status code

func (*DeletePreparationIDWalletWalletOK) IsSuccess added in v0.4.0

func (o *DeletePreparationIDWalletWalletOK) IsSuccess() bool

IsSuccess returns true when this delete preparation Id wallet wallet o k response has a 2xx status code

func (*DeletePreparationIDWalletWalletOK) String added in v0.4.0

type DeletePreparationIDWalletWalletParams added in v0.4.0

type DeletePreparationIDWalletWalletParams struct {

	/* ID.

	   Preparation ID or name
	*/
	ID string

	/* Wallet.

	   Wallet Address
	*/
	Wallet string

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

DeletePreparationIDWalletWalletParams contains all the parameters to send to the API endpoint

for the delete preparation ID wallet wallet operation.

Typically these are written to a http.Request.

func NewDeletePreparationIDWalletWalletParams added in v0.4.0

func NewDeletePreparationIDWalletWalletParams() *DeletePreparationIDWalletWalletParams

NewDeletePreparationIDWalletWalletParams creates a new DeletePreparationIDWalletWalletParams 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 NewDeletePreparationIDWalletWalletParamsWithContext added in v0.4.0

func NewDeletePreparationIDWalletWalletParamsWithContext(ctx context.Context) *DeletePreparationIDWalletWalletParams

NewDeletePreparationIDWalletWalletParamsWithContext creates a new DeletePreparationIDWalletWalletParams object with the ability to set a context for a request.

func NewDeletePreparationIDWalletWalletParamsWithHTTPClient added in v0.4.0

func NewDeletePreparationIDWalletWalletParamsWithHTTPClient(client *http.Client) *DeletePreparationIDWalletWalletParams

NewDeletePreparationIDWalletWalletParamsWithHTTPClient creates a new DeletePreparationIDWalletWalletParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePreparationIDWalletWalletParamsWithTimeout added in v0.4.0

func NewDeletePreparationIDWalletWalletParamsWithTimeout(timeout time.Duration) *DeletePreparationIDWalletWalletParams

NewDeletePreparationIDWalletWalletParamsWithTimeout creates a new DeletePreparationIDWalletWalletParams object with the ability to set a timeout on a request.

func (*DeletePreparationIDWalletWalletParams) SetContext added in v0.4.0

SetContext adds the context to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) SetDefaults added in v0.4.0

func (o *DeletePreparationIDWalletWalletParams) SetDefaults()

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

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

func (*DeletePreparationIDWalletWalletParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) SetID added in v0.4.0

SetID adds the id to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) SetWallet added in v0.4.0

func (o *DeletePreparationIDWalletWalletParams) SetWallet(wallet string)

SetWallet adds the wallet to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) WithContext added in v0.4.0

WithContext adds the context to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) WithDefaults added in v0.4.0

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

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

func (*DeletePreparationIDWalletWalletParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) WithID added in v0.4.0

WithID adds the id to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) WithWallet added in v0.4.0

WithWallet adds the wallet to the delete preparation ID wallet wallet params

func (*DeletePreparationIDWalletWalletParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type DeletePreparationIDWalletWalletReader added in v0.4.0

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

DeletePreparationIDWalletWalletReader is a Reader for the DeletePreparationIDWalletWallet structure.

func (*DeletePreparationIDWalletWalletReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type PostPreparationIDWalletBadRequest added in v0.4.0

type PostPreparationIDWalletBadRequest struct {
	Payload *models.APIHTTPError
}

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

Bad Request

func NewPostPreparationIDWalletBadRequest added in v0.4.0

func NewPostPreparationIDWalletBadRequest() *PostPreparationIDWalletBadRequest

NewPostPreparationIDWalletBadRequest creates a PostPreparationIDWalletBadRequest with default headers values

func (*PostPreparationIDWalletBadRequest) Code added in v0.4.0

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

func (*PostPreparationIDWalletBadRequest) Error added in v0.4.0

func (*PostPreparationIDWalletBadRequest) GetPayload added in v0.4.0

func (*PostPreparationIDWalletBadRequest) IsClientError added in v0.4.0

func (o *PostPreparationIDWalletBadRequest) IsClientError() bool

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

func (*PostPreparationIDWalletBadRequest) IsCode added in v0.4.0

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

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

func (*PostPreparationIDWalletBadRequest) IsRedirect added in v0.4.0

func (o *PostPreparationIDWalletBadRequest) IsRedirect() bool

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

func (*PostPreparationIDWalletBadRequest) IsServerError added in v0.4.0

func (o *PostPreparationIDWalletBadRequest) IsServerError() bool

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

func (*PostPreparationIDWalletBadRequest) IsSuccess added in v0.4.0

func (o *PostPreparationIDWalletBadRequest) IsSuccess() bool

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

func (*PostPreparationIDWalletBadRequest) String added in v0.4.0

type PostPreparationIDWalletInternalServerError added in v0.4.0

type PostPreparationIDWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

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

Internal Server Error

func NewPostPreparationIDWalletInternalServerError added in v0.4.0

func NewPostPreparationIDWalletInternalServerError() *PostPreparationIDWalletInternalServerError

NewPostPreparationIDWalletInternalServerError creates a PostPreparationIDWalletInternalServerError with default headers values

func (*PostPreparationIDWalletInternalServerError) Code added in v0.4.0

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

func (*PostPreparationIDWalletInternalServerError) Error added in v0.4.0

func (*PostPreparationIDWalletInternalServerError) GetPayload added in v0.4.0

func (*PostPreparationIDWalletInternalServerError) IsClientError added in v0.4.0

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

func (*PostPreparationIDWalletInternalServerError) IsCode added in v0.4.0

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

func (*PostPreparationIDWalletInternalServerError) IsRedirect added in v0.4.0

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

func (*PostPreparationIDWalletInternalServerError) IsServerError added in v0.4.0

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

func (*PostPreparationIDWalletInternalServerError) IsSuccess added in v0.4.0

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

func (*PostPreparationIDWalletInternalServerError) String added in v0.4.0

type PostPreparationIDWalletOK added in v0.4.0

type PostPreparationIDWalletOK struct {
	Payload *models.ModelWallet
}

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

OK

func NewPostPreparationIDWalletOK added in v0.4.0

func NewPostPreparationIDWalletOK() *PostPreparationIDWalletOK

NewPostPreparationIDWalletOK creates a PostPreparationIDWalletOK with default headers values

func (*PostPreparationIDWalletOK) Code added in v0.4.0

func (o *PostPreparationIDWalletOK) Code() int

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

func (*PostPreparationIDWalletOK) Error added in v0.4.0

func (o *PostPreparationIDWalletOK) Error() string

func (*PostPreparationIDWalletOK) GetPayload added in v0.4.0

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

func (*PostPreparationIDWalletOK) IsClientError added in v0.4.0

func (o *PostPreparationIDWalletOK) IsClientError() bool

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

func (*PostPreparationIDWalletOK) IsCode added in v0.4.0

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

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

func (*PostPreparationIDWalletOK) IsRedirect added in v0.4.0

func (o *PostPreparationIDWalletOK) IsRedirect() bool

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

func (*PostPreparationIDWalletOK) IsServerError added in v0.4.0

func (o *PostPreparationIDWalletOK) IsServerError() bool

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

func (*PostPreparationIDWalletOK) IsSuccess added in v0.4.0

func (o *PostPreparationIDWalletOK) IsSuccess() bool

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

func (*PostPreparationIDWalletOK) String added in v0.4.0

func (o *PostPreparationIDWalletOK) String() string

type PostPreparationIDWalletParams added in v0.4.0

type PostPreparationIDWalletParams struct {

	/* ID.

	   Preparation ID or name
	*/
	ID string

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

PostPreparationIDWalletParams contains all the parameters to send to the API endpoint

for the post preparation ID wallet operation.

Typically these are written to a http.Request.

func NewPostPreparationIDWalletParams added in v0.4.0

func NewPostPreparationIDWalletParams() *PostPreparationIDWalletParams

NewPostPreparationIDWalletParams creates a new PostPreparationIDWalletParams 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 NewPostPreparationIDWalletParamsWithContext added in v0.4.0

func NewPostPreparationIDWalletParamsWithContext(ctx context.Context) *PostPreparationIDWalletParams

NewPostPreparationIDWalletParamsWithContext creates a new PostPreparationIDWalletParams object with the ability to set a context for a request.

func NewPostPreparationIDWalletParamsWithHTTPClient added in v0.4.0

func NewPostPreparationIDWalletParamsWithHTTPClient(client *http.Client) *PostPreparationIDWalletParams

NewPostPreparationIDWalletParamsWithHTTPClient creates a new PostPreparationIDWalletParams object with the ability to set a custom HTTPClient for a request.

func NewPostPreparationIDWalletParamsWithTimeout added in v0.4.0

func NewPostPreparationIDWalletParamsWithTimeout(timeout time.Duration) *PostPreparationIDWalletParams

NewPostPreparationIDWalletParamsWithTimeout creates a new PostPreparationIDWalletParams object with the ability to set a timeout on a request.

func (*PostPreparationIDWalletParams) SetContext added in v0.4.0

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

SetContext adds the context to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) SetDefaults added in v0.4.0

func (o *PostPreparationIDWalletParams) SetDefaults()

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

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

func (*PostPreparationIDWalletParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) SetID added in v0.4.0

SetID adds the id to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) WithContext added in v0.4.0

WithContext adds the context to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) WithDefaults added in v0.4.0

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

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

func (*PostPreparationIDWalletParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) WithID added in v0.4.0

WithID adds the id to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the post preparation ID wallet params

func (*PostPreparationIDWalletParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type PostPreparationIDWalletReader added in v0.4.0

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

PostPreparationIDWalletReader is a Reader for the PostPreparationIDWallet structure.

func (*PostPreparationIDWalletReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type PostPreparationIDWalletWalletBadRequest added in v0.4.0

type PostPreparationIDWalletWalletBadRequest struct {
	Payload *models.APIHTTPError
}

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

Bad Request

func NewPostPreparationIDWalletWalletBadRequest added in v0.4.0

func NewPostPreparationIDWalletWalletBadRequest() *PostPreparationIDWalletWalletBadRequest

NewPostPreparationIDWalletWalletBadRequest creates a PostPreparationIDWalletWalletBadRequest with default headers values

func (*PostPreparationIDWalletWalletBadRequest) Code added in v0.4.0

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

func (*PostPreparationIDWalletWalletBadRequest) Error added in v0.4.0

func (*PostPreparationIDWalletWalletBadRequest) GetPayload added in v0.4.0

func (*PostPreparationIDWalletWalletBadRequest) IsClientError added in v0.4.0

func (o *PostPreparationIDWalletWalletBadRequest) IsClientError() bool

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

func (*PostPreparationIDWalletWalletBadRequest) IsCode added in v0.4.0

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

func (*PostPreparationIDWalletWalletBadRequest) IsRedirect added in v0.4.0

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

func (*PostPreparationIDWalletWalletBadRequest) IsServerError added in v0.4.0

func (o *PostPreparationIDWalletWalletBadRequest) IsServerError() bool

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

func (*PostPreparationIDWalletWalletBadRequest) IsSuccess added in v0.4.0

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

func (*PostPreparationIDWalletWalletBadRequest) String added in v0.4.0

type PostPreparationIDWalletWalletInternalServerError added in v0.4.0

type PostPreparationIDWalletWalletInternalServerError struct {
	Payload *models.APIHTTPError
}

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

Internal Server Error

func NewPostPreparationIDWalletWalletInternalServerError added in v0.4.0

func NewPostPreparationIDWalletWalletInternalServerError() *PostPreparationIDWalletWalletInternalServerError

NewPostPreparationIDWalletWalletInternalServerError creates a PostPreparationIDWalletWalletInternalServerError with default headers values

func (*PostPreparationIDWalletWalletInternalServerError) Code added in v0.4.0

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

func (*PostPreparationIDWalletWalletInternalServerError) Error added in v0.4.0

func (*PostPreparationIDWalletWalletInternalServerError) GetPayload added in v0.4.0

func (*PostPreparationIDWalletWalletInternalServerError) IsClientError added in v0.4.0

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

func (*PostPreparationIDWalletWalletInternalServerError) IsCode added in v0.4.0

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

func (*PostPreparationIDWalletWalletInternalServerError) IsRedirect added in v0.4.0

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

func (*PostPreparationIDWalletWalletInternalServerError) IsServerError added in v0.4.0

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

func (*PostPreparationIDWalletWalletInternalServerError) IsSuccess added in v0.4.0

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

func (*PostPreparationIDWalletWalletInternalServerError) String added in v0.4.0

type PostPreparationIDWalletWalletOK added in v0.4.0

type PostPreparationIDWalletWalletOK struct {
	Payload *models.ModelPreparation
}

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

OK

func NewPostPreparationIDWalletWalletOK added in v0.4.0

func NewPostPreparationIDWalletWalletOK() *PostPreparationIDWalletWalletOK

NewPostPreparationIDWalletWalletOK creates a PostPreparationIDWalletWalletOK with default headers values

func (*PostPreparationIDWalletWalletOK) Code added in v0.4.0

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

func (*PostPreparationIDWalletWalletOK) Error added in v0.4.0

func (*PostPreparationIDWalletWalletOK) GetPayload added in v0.4.0

func (*PostPreparationIDWalletWalletOK) IsClientError added in v0.4.0

func (o *PostPreparationIDWalletWalletOK) IsClientError() bool

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

func (*PostPreparationIDWalletWalletOK) IsCode added in v0.4.0

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

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

func (*PostPreparationIDWalletWalletOK) IsRedirect added in v0.4.0

func (o *PostPreparationIDWalletWalletOK) IsRedirect() bool

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

func (*PostPreparationIDWalletWalletOK) IsServerError added in v0.4.0

func (o *PostPreparationIDWalletWalletOK) IsServerError() bool

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

func (*PostPreparationIDWalletWalletOK) IsSuccess added in v0.4.0

func (o *PostPreparationIDWalletWalletOK) IsSuccess() bool

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

func (*PostPreparationIDWalletWalletOK) String added in v0.4.0

type PostPreparationIDWalletWalletParams added in v0.4.0

type PostPreparationIDWalletWalletParams struct {

	/* ID.

	   Preparation ID or name
	*/
	ID string

	/* Wallet.

	   Wallet Address
	*/
	Wallet string

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

PostPreparationIDWalletWalletParams contains all the parameters to send to the API endpoint

for the post preparation ID wallet wallet operation.

Typically these are written to a http.Request.

func NewPostPreparationIDWalletWalletParams added in v0.4.0

func NewPostPreparationIDWalletWalletParams() *PostPreparationIDWalletWalletParams

NewPostPreparationIDWalletWalletParams creates a new PostPreparationIDWalletWalletParams 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 NewPostPreparationIDWalletWalletParamsWithContext added in v0.4.0

func NewPostPreparationIDWalletWalletParamsWithContext(ctx context.Context) *PostPreparationIDWalletWalletParams

NewPostPreparationIDWalletWalletParamsWithContext creates a new PostPreparationIDWalletWalletParams object with the ability to set a context for a request.

func NewPostPreparationIDWalletWalletParamsWithHTTPClient added in v0.4.0

func NewPostPreparationIDWalletWalletParamsWithHTTPClient(client *http.Client) *PostPreparationIDWalletWalletParams

NewPostPreparationIDWalletWalletParamsWithHTTPClient creates a new PostPreparationIDWalletWalletParams object with the ability to set a custom HTTPClient for a request.

func NewPostPreparationIDWalletWalletParamsWithTimeout added in v0.4.0

func NewPostPreparationIDWalletWalletParamsWithTimeout(timeout time.Duration) *PostPreparationIDWalletWalletParams

NewPostPreparationIDWalletWalletParamsWithTimeout creates a new PostPreparationIDWalletWalletParams object with the ability to set a timeout on a request.

func (*PostPreparationIDWalletWalletParams) SetContext added in v0.4.0

SetContext adds the context to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) SetDefaults added in v0.4.0

func (o *PostPreparationIDWalletWalletParams) SetDefaults()

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

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

func (*PostPreparationIDWalletWalletParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) SetID added in v0.4.0

SetID adds the id to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) SetWallet added in v0.4.0

func (o *PostPreparationIDWalletWalletParams) SetWallet(wallet string)

SetWallet adds the wallet to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) WithContext added in v0.4.0

WithContext adds the context to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) WithDefaults added in v0.4.0

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

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

func (*PostPreparationIDWalletWalletParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) WithID added in v0.4.0

WithID adds the id to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) WithWallet added in v0.4.0

WithWallet adds the wallet to the post preparation ID wallet wallet params

func (*PostPreparationIDWalletWalletParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type PostPreparationIDWalletWalletReader added in v0.4.0

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

PostPreparationIDWalletWalletReader is a Reader for the PostPreparationIDWalletWallet structure.

func (*PostPreparationIDWalletWalletReader) ReadResponse added in v0.4.0

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