Documentation
¶
Index ¶
- type AttachWalletBadRequest
- func (o *AttachWalletBadRequest) Code() int
- func (o *AttachWalletBadRequest) Error() string
- func (o *AttachWalletBadRequest) GetPayload() *models.APIHTTPError
- func (o *AttachWalletBadRequest) IsClientError() bool
- func (o *AttachWalletBadRequest) IsCode(code int) bool
- func (o *AttachWalletBadRequest) IsRedirect() bool
- func (o *AttachWalletBadRequest) IsServerError() bool
- func (o *AttachWalletBadRequest) IsSuccess() bool
- func (o *AttachWalletBadRequest) String() string
- type AttachWalletInternalServerError
- func (o *AttachWalletInternalServerError) Code() int
- func (o *AttachWalletInternalServerError) Error() string
- func (o *AttachWalletInternalServerError) GetPayload() *models.APIHTTPError
- func (o *AttachWalletInternalServerError) IsClientError() bool
- func (o *AttachWalletInternalServerError) IsCode(code int) bool
- func (o *AttachWalletInternalServerError) IsRedirect() bool
- func (o *AttachWalletInternalServerError) IsServerError() bool
- func (o *AttachWalletInternalServerError) IsSuccess() bool
- func (o *AttachWalletInternalServerError) String() string
- type AttachWalletOK
- func (o *AttachWalletOK) Code() int
- func (o *AttachWalletOK) Error() string
- func (o *AttachWalletOK) GetPayload() *models.ModelPreparation
- func (o *AttachWalletOK) IsClientError() bool
- func (o *AttachWalletOK) IsCode(code int) bool
- func (o *AttachWalletOK) IsRedirect() bool
- func (o *AttachWalletOK) IsServerError() bool
- func (o *AttachWalletOK) IsSuccess() bool
- func (o *AttachWalletOK) String() string
- type AttachWalletParams
- func (o *AttachWalletParams) SetContext(ctx context.Context)
- func (o *AttachWalletParams) SetDefaults()
- func (o *AttachWalletParams) SetHTTPClient(client *http.Client)
- func (o *AttachWalletParams) SetID(id string)
- func (o *AttachWalletParams) SetTimeout(timeout time.Duration)
- func (o *AttachWalletParams) SetWallet(wallet string)
- func (o *AttachWalletParams) WithContext(ctx context.Context) *AttachWalletParams
- func (o *AttachWalletParams) WithDefaults() *AttachWalletParams
- func (o *AttachWalletParams) WithHTTPClient(client *http.Client) *AttachWalletParams
- func (o *AttachWalletParams) WithID(id string) *AttachWalletParams
- func (o *AttachWalletParams) WithTimeout(timeout time.Duration) *AttachWalletParams
- func (o *AttachWalletParams) WithWallet(wallet string) *AttachWalletParams
- func (o *AttachWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AttachWalletReader
- type Client
- func (a *Client) AttachWallet(params *AttachWalletParams, opts ...ClientOption) (*AttachWalletOK, error)
- func (a *Client) DetachWallet(params *DetachWalletParams, opts ...ClientOption) (*DetachWalletOK, error)
- func (a *Client) ListAttachedWallets(params *ListAttachedWalletsParams, opts ...ClientOption) (*ListAttachedWalletsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DetachWalletBadRequest
- func (o *DetachWalletBadRequest) Code() int
- func (o *DetachWalletBadRequest) Error() string
- func (o *DetachWalletBadRequest) GetPayload() *models.APIHTTPError
- func (o *DetachWalletBadRequest) IsClientError() bool
- func (o *DetachWalletBadRequest) IsCode(code int) bool
- func (o *DetachWalletBadRequest) IsRedirect() bool
- func (o *DetachWalletBadRequest) IsServerError() bool
- func (o *DetachWalletBadRequest) IsSuccess() bool
- func (o *DetachWalletBadRequest) String() string
- type DetachWalletInternalServerError
- func (o *DetachWalletInternalServerError) Code() int
- func (o *DetachWalletInternalServerError) Error() string
- func (o *DetachWalletInternalServerError) GetPayload() *models.APIHTTPError
- func (o *DetachWalletInternalServerError) IsClientError() bool
- func (o *DetachWalletInternalServerError) IsCode(code int) bool
- func (o *DetachWalletInternalServerError) IsRedirect() bool
- func (o *DetachWalletInternalServerError) IsServerError() bool
- func (o *DetachWalletInternalServerError) IsSuccess() bool
- func (o *DetachWalletInternalServerError) String() string
- type DetachWalletOK
- func (o *DetachWalletOK) Code() int
- func (o *DetachWalletOK) Error() string
- func (o *DetachWalletOK) GetPayload() *models.ModelPreparation
- func (o *DetachWalletOK) IsClientError() bool
- func (o *DetachWalletOK) IsCode(code int) bool
- func (o *DetachWalletOK) IsRedirect() bool
- func (o *DetachWalletOK) IsServerError() bool
- func (o *DetachWalletOK) IsSuccess() bool
- func (o *DetachWalletOK) String() string
- type DetachWalletParams
- func (o *DetachWalletParams) SetContext(ctx context.Context)
- func (o *DetachWalletParams) SetDefaults()
- func (o *DetachWalletParams) SetHTTPClient(client *http.Client)
- func (o *DetachWalletParams) SetID(id string)
- func (o *DetachWalletParams) SetTimeout(timeout time.Duration)
- func (o *DetachWalletParams) SetWallet(wallet string)
- func (o *DetachWalletParams) WithContext(ctx context.Context) *DetachWalletParams
- func (o *DetachWalletParams) WithDefaults() *DetachWalletParams
- func (o *DetachWalletParams) WithHTTPClient(client *http.Client) *DetachWalletParams
- func (o *DetachWalletParams) WithID(id string) *DetachWalletParams
- func (o *DetachWalletParams) WithTimeout(timeout time.Duration) *DetachWalletParams
- func (o *DetachWalletParams) WithWallet(wallet string) *DetachWalletParams
- func (o *DetachWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetachWalletReader
- type ListAttachedWalletsBadRequest
- func (o *ListAttachedWalletsBadRequest) Code() int
- func (o *ListAttachedWalletsBadRequest) Error() string
- func (o *ListAttachedWalletsBadRequest) GetPayload() *models.APIHTTPError
- func (o *ListAttachedWalletsBadRequest) IsClientError() bool
- func (o *ListAttachedWalletsBadRequest) IsCode(code int) bool
- func (o *ListAttachedWalletsBadRequest) IsRedirect() bool
- func (o *ListAttachedWalletsBadRequest) IsServerError() bool
- func (o *ListAttachedWalletsBadRequest) IsSuccess() bool
- func (o *ListAttachedWalletsBadRequest) String() string
- type ListAttachedWalletsInternalServerError
- func (o *ListAttachedWalletsInternalServerError) Code() int
- func (o *ListAttachedWalletsInternalServerError) Error() string
- func (o *ListAttachedWalletsInternalServerError) GetPayload() *models.APIHTTPError
- func (o *ListAttachedWalletsInternalServerError) IsClientError() bool
- func (o *ListAttachedWalletsInternalServerError) IsCode(code int) bool
- func (o *ListAttachedWalletsInternalServerError) IsRedirect() bool
- func (o *ListAttachedWalletsInternalServerError) IsServerError() bool
- func (o *ListAttachedWalletsInternalServerError) IsSuccess() bool
- func (o *ListAttachedWalletsInternalServerError) String() string
- type ListAttachedWalletsOK
- func (o *ListAttachedWalletsOK) Code() int
- func (o *ListAttachedWalletsOK) Error() string
- func (o *ListAttachedWalletsOK) GetPayload() []*models.ModelWallet
- func (o *ListAttachedWalletsOK) IsClientError() bool
- func (o *ListAttachedWalletsOK) IsCode(code int) bool
- func (o *ListAttachedWalletsOK) IsRedirect() bool
- func (o *ListAttachedWalletsOK) IsServerError() bool
- func (o *ListAttachedWalletsOK) IsSuccess() bool
- func (o *ListAttachedWalletsOK) String() string
- type ListAttachedWalletsParams
- func NewListAttachedWalletsParams() *ListAttachedWalletsParams
- func NewListAttachedWalletsParamsWithContext(ctx context.Context) *ListAttachedWalletsParams
- func NewListAttachedWalletsParamsWithHTTPClient(client *http.Client) *ListAttachedWalletsParams
- func NewListAttachedWalletsParamsWithTimeout(timeout time.Duration) *ListAttachedWalletsParams
- func (o *ListAttachedWalletsParams) SetContext(ctx context.Context)
- func (o *ListAttachedWalletsParams) SetDefaults()
- func (o *ListAttachedWalletsParams) SetHTTPClient(client *http.Client)
- func (o *ListAttachedWalletsParams) SetID(id string)
- func (o *ListAttachedWalletsParams) SetTimeout(timeout time.Duration)
- func (o *ListAttachedWalletsParams) WithContext(ctx context.Context) *ListAttachedWalletsParams
- func (o *ListAttachedWalletsParams) WithDefaults() *ListAttachedWalletsParams
- func (o *ListAttachedWalletsParams) WithHTTPClient(client *http.Client) *ListAttachedWalletsParams
- func (o *ListAttachedWalletsParams) WithID(id string) *ListAttachedWalletsParams
- func (o *ListAttachedWalletsParams) WithTimeout(timeout time.Duration) *ListAttachedWalletsParams
- func (o *ListAttachedWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAttachedWalletsReader
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
func (o *AttachWalletInternalServerError) Code() int
Code gets the status code for the attach wallet internal server error response
func (*AttachWalletInternalServerError) Error ¶ added in v0.4.1
func (o *AttachWalletInternalServerError) Error() string
func (*AttachWalletInternalServerError) GetPayload ¶ added in v0.4.1
func (o *AttachWalletInternalServerError) GetPayload() *models.APIHTTPError
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
func (o *AttachWalletInternalServerError) String() string
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
func (o *AttachWalletParams) WithContext(ctx context.Context) *AttachWalletParams
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
func (o *AttachWalletParams) WithID(id string) *AttachWalletParams
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 may be used to customize the behavior of 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.
func NewClientWithBasicAuth ¶ added in v0.5.15
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new wallet association API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v0.5.15
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new wallet association API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
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
func (o *DetachWalletInternalServerError) Code() int
Code gets the status code for the detach wallet internal server error response
func (*DetachWalletInternalServerError) Error ¶ added in v0.4.1
func (o *DetachWalletInternalServerError) Error() string
func (*DetachWalletInternalServerError) GetPayload ¶ added in v0.4.1
func (o *DetachWalletInternalServerError) GetPayload() *models.APIHTTPError
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
func (o *DetachWalletInternalServerError) String() string
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
func (o *DetachWalletParams) WithContext(ctx context.Context) *DetachWalletParams
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
func (o *DetachWalletParams) WithID(id string) *DetachWalletParams
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
func (o *ListAttachedWalletsBadRequest) Code() int
Code gets the status code for the list attached wallets bad request response
func (*ListAttachedWalletsBadRequest) Error ¶ added in v0.4.1
func (o *ListAttachedWalletsBadRequest) Error() string
func (*ListAttachedWalletsBadRequest) GetPayload ¶ added in v0.4.1
func (o *ListAttachedWalletsBadRequest) GetPayload() *models.APIHTTPError
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
func (o *ListAttachedWalletsBadRequest) String() string
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
func (o *ListAttachedWalletsInternalServerError) Code() int
Code gets the status code for the list attached wallets internal server error response
func (*ListAttachedWalletsInternalServerError) Error ¶ added in v0.4.1
func (o *ListAttachedWalletsInternalServerError) Error() string
func (*ListAttachedWalletsInternalServerError) GetPayload ¶ added in v0.4.1
func (o *ListAttachedWalletsInternalServerError) GetPayload() *models.APIHTTPError
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
func (o *ListAttachedWalletsInternalServerError) IsCode(code int) bool
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
func (o *ListAttachedWalletsInternalServerError) IsRedirect() bool
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
func (o *ListAttachedWalletsInternalServerError) IsSuccess() bool
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
func (o *ListAttachedWalletsInternalServerError) String() string
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
func (o *ListAttachedWalletsParams) WithContext(ctx context.Context) *ListAttachedWalletsParams
WithContext adds the context to the list attached wallets params
func (*ListAttachedWalletsParams) WithDefaults ¶ added in v0.4.1
func (o *ListAttachedWalletsParams) WithDefaults() *ListAttachedWalletsParams
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
func (o *ListAttachedWalletsParams) WithID(id string) *ListAttachedWalletsParams
WithID adds the id to the list attached wallets params
func (*ListAttachedWalletsParams) WithTimeout ¶ added in v0.4.1
func (o *ListAttachedWalletsParams) WithTimeout(timeout time.Duration) *ListAttachedWalletsParams
WithTimeout adds the timeout to the list attached wallets params
func (*ListAttachedWalletsParams) WriteToRequest ¶ added in v0.4.1
func (o *ListAttachedWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.