external_accounts

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for external accounts API

func (*Client) DeleteV1ExternalAccountsID

func (a *Client) DeleteV1ExternalAccountsID(params *DeleteV1ExternalAccountsIDParams, opts ...ClientOption) (*DeleteV1ExternalAccountsIDNoContent, error)

DeleteV1ExternalAccountsID deletes external account

Deletes the identified external account.

func (*Client) GetV1ExternalAccounts

func (a *Client) GetV1ExternalAccounts(params *GetV1ExternalAccountsParams, opts ...ClientOption) (*GetV1ExternalAccountsOK, error)

GetV1ExternalAccounts queries external accounts

Returns a list of external accounts. For further details on pagination, see the section above.

func (*Client) GetV1ExternalAccountsGetByExternalIDExternalID

func (a *Client) GetV1ExternalAccountsGetByExternalIDExternalID(params *GetV1ExternalAccountsGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1ExternalAccountsGetByExternalIDExternalIDOK, error)

GetV1ExternalAccountsGetByExternalIDExternalID reads external account by its external Id

Returns the identified external account.

func (*Client) GetV1ExternalAccountsID

func (a *Client) GetV1ExternalAccountsID(params *GetV1ExternalAccountsIDParams, opts ...ClientOption) (*GetV1ExternalAccountsIDOK, error)

GetV1ExternalAccountsID reads external account

Returns the identified external account.

func (*Client) PostV1ExternalAccounts

func (a *Client) PostV1ExternalAccounts(params *PostV1ExternalAccountsParams, opts ...ClientOption) (*PostV1ExternalAccountsCreated, error)

PostV1ExternalAccounts creates external account

Create external account. A maximum of 10 accounts can be created per counterparty.

func (*Client) PutV1ExternalAccountsID

func (a *Client) PutV1ExternalAccountsID(params *PutV1ExternalAccountsIDParams, opts ...ClientOption) (*PutV1ExternalAccountsIDOK, error)

PutV1ExternalAccountsID updates external account

Updates the identified external account. This is a PUT, which means that you must supply the full ExternalAccount object when updating. If a field that is set on the existing object is omitted in the request, it will be removed.

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 {
	DeleteV1ExternalAccountsID(params *DeleteV1ExternalAccountsIDParams, opts ...ClientOption) (*DeleteV1ExternalAccountsIDNoContent, error)

	GetV1ExternalAccounts(params *GetV1ExternalAccountsParams, opts ...ClientOption) (*GetV1ExternalAccountsOK, error)

	GetV1ExternalAccountsGetByExternalIDExternalID(params *GetV1ExternalAccountsGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1ExternalAccountsGetByExternalIDExternalIDOK, error)

	GetV1ExternalAccountsID(params *GetV1ExternalAccountsIDParams, opts ...ClientOption) (*GetV1ExternalAccountsIDOK, error)

	PostV1ExternalAccounts(params *PostV1ExternalAccountsParams, opts ...ClientOption) (*PostV1ExternalAccountsCreated, error)

	PutV1ExternalAccountsID(params *PutV1ExternalAccountsIDParams, opts ...ClientOption) (*PutV1ExternalAccountsIDOK, 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 external accounts API client.

type DeleteV1ExternalAccountsIDNoContent

type DeleteV1ExternalAccountsIDNoContent struct {
}

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

No Content

func NewDeleteV1ExternalAccountsIDNoContent

func NewDeleteV1ExternalAccountsIDNoContent() *DeleteV1ExternalAccountsIDNoContent

NewDeleteV1ExternalAccountsIDNoContent creates a DeleteV1ExternalAccountsIDNoContent with default headers values

func (*DeleteV1ExternalAccountsIDNoContent) Code

Code gets the status code for the delete v1 external accounts Id no content response

func (*DeleteV1ExternalAccountsIDNoContent) Error

func (*DeleteV1ExternalAccountsIDNoContent) IsClientError

func (o *DeleteV1ExternalAccountsIDNoContent) IsClientError() bool

IsClientError returns true when this delete v1 external accounts Id no content response has a 4xx status code

func (*DeleteV1ExternalAccountsIDNoContent) IsCode

IsCode returns true when this delete v1 external accounts Id no content response a status code equal to that given

func (*DeleteV1ExternalAccountsIDNoContent) IsRedirect

func (o *DeleteV1ExternalAccountsIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete v1 external accounts Id no content response has a 3xx status code

func (*DeleteV1ExternalAccountsIDNoContent) IsServerError

func (o *DeleteV1ExternalAccountsIDNoContent) IsServerError() bool

IsServerError returns true when this delete v1 external accounts Id no content response has a 5xx status code

func (*DeleteV1ExternalAccountsIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 external accounts Id no content response has a 2xx status code

func (*DeleteV1ExternalAccountsIDNoContent) String

type DeleteV1ExternalAccountsIDNotFound

type DeleteV1ExternalAccountsIDNotFound struct {
	Payload *models.ErrorResponse
}

DeleteV1ExternalAccountsIDNotFound describes a response with status code 404, with default header values.

The requested resource was not found

func NewDeleteV1ExternalAccountsIDNotFound

func NewDeleteV1ExternalAccountsIDNotFound() *DeleteV1ExternalAccountsIDNotFound

NewDeleteV1ExternalAccountsIDNotFound creates a DeleteV1ExternalAccountsIDNotFound with default headers values

func (*DeleteV1ExternalAccountsIDNotFound) Code

Code gets the status code for the delete v1 external accounts Id not found response

func (*DeleteV1ExternalAccountsIDNotFound) Error

func (*DeleteV1ExternalAccountsIDNotFound) GetPayload

func (*DeleteV1ExternalAccountsIDNotFound) IsClientError

func (o *DeleteV1ExternalAccountsIDNotFound) IsClientError() bool

IsClientError returns true when this delete v1 external accounts Id not found response has a 4xx status code

func (*DeleteV1ExternalAccountsIDNotFound) IsCode

IsCode returns true when this delete v1 external accounts Id not found response a status code equal to that given

func (*DeleteV1ExternalAccountsIDNotFound) IsRedirect

func (o *DeleteV1ExternalAccountsIDNotFound) IsRedirect() bool

IsRedirect returns true when this delete v1 external accounts Id not found response has a 3xx status code

func (*DeleteV1ExternalAccountsIDNotFound) IsServerError

func (o *DeleteV1ExternalAccountsIDNotFound) IsServerError() bool

IsServerError returns true when this delete v1 external accounts Id not found response has a 5xx status code

func (*DeleteV1ExternalAccountsIDNotFound) IsSuccess

IsSuccess returns true when this delete v1 external accounts Id not found response has a 2xx status code

func (*DeleteV1ExternalAccountsIDNotFound) String

type DeleteV1ExternalAccountsIDParams

type DeleteV1ExternalAccountsIDParams struct {

	/* ID.

	   External account ID
	*/
	ID string

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

DeleteV1ExternalAccountsIDParams contains all the parameters to send to the API endpoint

for the delete v1 external accounts ID operation.

Typically these are written to a http.Request.

func NewDeleteV1ExternalAccountsIDParams

func NewDeleteV1ExternalAccountsIDParams() *DeleteV1ExternalAccountsIDParams

NewDeleteV1ExternalAccountsIDParams creates a new DeleteV1ExternalAccountsIDParams 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 NewDeleteV1ExternalAccountsIDParamsWithContext

func NewDeleteV1ExternalAccountsIDParamsWithContext(ctx context.Context) *DeleteV1ExternalAccountsIDParams

NewDeleteV1ExternalAccountsIDParamsWithContext creates a new DeleteV1ExternalAccountsIDParams object with the ability to set a context for a request.

func NewDeleteV1ExternalAccountsIDParamsWithHTTPClient

func NewDeleteV1ExternalAccountsIDParamsWithHTTPClient(client *http.Client) *DeleteV1ExternalAccountsIDParams

NewDeleteV1ExternalAccountsIDParamsWithHTTPClient creates a new DeleteV1ExternalAccountsIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1ExternalAccountsIDParamsWithTimeout

func NewDeleteV1ExternalAccountsIDParamsWithTimeout(timeout time.Duration) *DeleteV1ExternalAccountsIDParams

NewDeleteV1ExternalAccountsIDParamsWithTimeout creates a new DeleteV1ExternalAccountsIDParams object with the ability to set a timeout on a request.

func (*DeleteV1ExternalAccountsIDParams) SetContext

SetContext adds the context to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) SetDefaults

func (o *DeleteV1ExternalAccountsIDParams) SetDefaults()

SetDefaults hydrates default values in the delete v1 external accounts ID params (not the query body).

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

func (*DeleteV1ExternalAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) SetID

SetID adds the id to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) WithContext

WithContext adds the context to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 external accounts ID params (not the query body).

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

func (*DeleteV1ExternalAccountsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) WithID

WithID adds the id to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 external accounts ID params

func (*DeleteV1ExternalAccountsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1ExternalAccountsIDReader

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

DeleteV1ExternalAccountsIDReader is a Reader for the DeleteV1ExternalAccountsID structure.

func (*DeleteV1ExternalAccountsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1ExternalAccountsBadRequest added in v1.3.0

type GetV1ExternalAccountsBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewGetV1ExternalAccountsBadRequest added in v1.3.0

func NewGetV1ExternalAccountsBadRequest() *GetV1ExternalAccountsBadRequest

NewGetV1ExternalAccountsBadRequest creates a GetV1ExternalAccountsBadRequest with default headers values

func (*GetV1ExternalAccountsBadRequest) Code added in v1.3.0

Code gets the status code for the get v1 external accounts bad request response

func (*GetV1ExternalAccountsBadRequest) Error added in v1.3.0

func (*GetV1ExternalAccountsBadRequest) GetPayload added in v1.3.0

func (*GetV1ExternalAccountsBadRequest) IsClientError added in v1.3.0

func (o *GetV1ExternalAccountsBadRequest) IsClientError() bool

IsClientError returns true when this get v1 external accounts bad request response has a 4xx status code

func (*GetV1ExternalAccountsBadRequest) IsCode added in v1.3.0

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

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

func (*GetV1ExternalAccountsBadRequest) IsRedirect added in v1.3.0

func (o *GetV1ExternalAccountsBadRequest) IsRedirect() bool

IsRedirect returns true when this get v1 external accounts bad request response has a 3xx status code

func (*GetV1ExternalAccountsBadRequest) IsServerError added in v1.3.0

func (o *GetV1ExternalAccountsBadRequest) IsServerError() bool

IsServerError returns true when this get v1 external accounts bad request response has a 5xx status code

func (*GetV1ExternalAccountsBadRequest) IsSuccess added in v1.3.0

func (o *GetV1ExternalAccountsBadRequest) IsSuccess() bool

IsSuccess returns true when this get v1 external accounts bad request response has a 2xx status code

func (*GetV1ExternalAccountsBadRequest) String added in v1.3.0

type GetV1ExternalAccountsGetByExternalIDExternalIDNotFound

type GetV1ExternalAccountsGetByExternalIDExternalIDNotFound struct {
	Payload string
}

GetV1ExternalAccountsGetByExternalIDExternalIDNotFound describes a response with status code 404, with default header values.

The identified external account doesn't exist

func NewGetV1ExternalAccountsGetByExternalIDExternalIDNotFound

func NewGetV1ExternalAccountsGetByExternalIDExternalIDNotFound() *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound

NewGetV1ExternalAccountsGetByExternalIDExternalIDNotFound creates a GetV1ExternalAccountsGetByExternalIDExternalIDNotFound with default headers values

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) Code

Code gets the status code for the get v1 external accounts get by external Id external Id not found response

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) Error

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) GetPayload

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsClientError

IsClientError returns true when this get v1 external accounts get by external Id external Id not found response has a 4xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsCode

IsCode returns true when this get v1 external accounts get by external Id external Id not found response a status code equal to that given

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsRedirect

IsRedirect returns true when this get v1 external accounts get by external Id external Id not found response has a 3xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsServerError

IsServerError returns true when this get v1 external accounts get by external Id external Id not found response has a 5xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsSuccess

IsSuccess returns true when this get v1 external accounts get by external Id external Id not found response has a 2xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) String

type GetV1ExternalAccountsGetByExternalIDExternalIDOK

type GetV1ExternalAccountsGetByExternalIDExternalIDOK struct {
	Payload *models.ExternalAccount
}

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

The identified external account.

func NewGetV1ExternalAccountsGetByExternalIDExternalIDOK

func NewGetV1ExternalAccountsGetByExternalIDExternalIDOK() *GetV1ExternalAccountsGetByExternalIDExternalIDOK

NewGetV1ExternalAccountsGetByExternalIDExternalIDOK creates a GetV1ExternalAccountsGetByExternalIDExternalIDOK with default headers values

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) Code

Code gets the status code for the get v1 external accounts get by external Id external Id o k response

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) Error

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) GetPayload

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsClientError

IsClientError returns true when this get v1 external accounts get by external Id external Id o k response has a 4xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsCode

IsCode returns true when this get v1 external accounts get by external Id external Id o k response a status code equal to that given

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsRedirect

IsRedirect returns true when this get v1 external accounts get by external Id external Id o k response has a 3xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsServerError

IsServerError returns true when this get v1 external accounts get by external Id external Id o k response has a 5xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsSuccess

IsSuccess returns true when this get v1 external accounts get by external Id external Id o k response has a 2xx status code

func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) String

type GetV1ExternalAccountsGetByExternalIDExternalIDParams

type GetV1ExternalAccountsGetByExternalIDExternalIDParams struct {

	/* ExternalID.

	   The externalId of the external account. Supplied when creating external account
	*/
	ExternalID string

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

GetV1ExternalAccountsGetByExternalIDExternalIDParams contains all the parameters to send to the API endpoint

for the get v1 external accounts get by external ID external ID operation.

Typically these are written to a http.Request.

func NewGetV1ExternalAccountsGetByExternalIDExternalIDParams

func NewGetV1ExternalAccountsGetByExternalIDExternalIDParams() *GetV1ExternalAccountsGetByExternalIDExternalIDParams

NewGetV1ExternalAccountsGetByExternalIDExternalIDParams creates a new GetV1ExternalAccountsGetByExternalIDExternalIDParams 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 NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithContext

func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1ExternalAccountsGetByExternalIDExternalIDParams

NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithContext creates a new GetV1ExternalAccountsGetByExternalIDExternalIDParams object with the ability to set a context for a request.

func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithHTTPClient

func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1ExternalAccountsGetByExternalIDExternalIDParams

NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithHTTPClient creates a new GetV1ExternalAccountsGetByExternalIDExternalIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithTimeout

func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1ExternalAccountsGetByExternalIDExternalIDParams

NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithTimeout creates a new GetV1ExternalAccountsGetByExternalIDExternalIDParams object with the ability to set a timeout on a request.

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetContext

SetContext adds the context to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 external accounts get by external ID external ID params (not the query body).

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

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetExternalID

func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetExternalID(externalID string)

SetExternalID adds the externalId to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithContext

WithContext adds the context to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 external accounts get by external ID external ID params (not the query body).

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

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithExternalID

WithExternalID adds the externalID to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 external accounts get by external ID external ID params

func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1ExternalAccountsGetByExternalIDExternalIDReader

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

GetV1ExternalAccountsGetByExternalIDExternalIDReader is a Reader for the GetV1ExternalAccountsGetByExternalIDExternalID structure.

func (*GetV1ExternalAccountsGetByExternalIDExternalIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1ExternalAccountsIDNotFound

type GetV1ExternalAccountsIDNotFound struct {
	Payload string
}

GetV1ExternalAccountsIDNotFound describes a response with status code 404, with default header values.

The identified external account doesn't exist

func NewGetV1ExternalAccountsIDNotFound

func NewGetV1ExternalAccountsIDNotFound() *GetV1ExternalAccountsIDNotFound

NewGetV1ExternalAccountsIDNotFound creates a GetV1ExternalAccountsIDNotFound with default headers values

func (*GetV1ExternalAccountsIDNotFound) Code

Code gets the status code for the get v1 external accounts Id not found response

func (*GetV1ExternalAccountsIDNotFound) Error

func (*GetV1ExternalAccountsIDNotFound) GetPayload

func (o *GetV1ExternalAccountsIDNotFound) GetPayload() string

func (*GetV1ExternalAccountsIDNotFound) IsClientError

func (o *GetV1ExternalAccountsIDNotFound) IsClientError() bool

IsClientError returns true when this get v1 external accounts Id not found response has a 4xx status code

func (*GetV1ExternalAccountsIDNotFound) IsCode

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

IsCode returns true when this get v1 external accounts Id not found response a status code equal to that given

func (*GetV1ExternalAccountsIDNotFound) IsRedirect

func (o *GetV1ExternalAccountsIDNotFound) IsRedirect() bool

IsRedirect returns true when this get v1 external accounts Id not found response has a 3xx status code

func (*GetV1ExternalAccountsIDNotFound) IsServerError

func (o *GetV1ExternalAccountsIDNotFound) IsServerError() bool

IsServerError returns true when this get v1 external accounts Id not found response has a 5xx status code

func (*GetV1ExternalAccountsIDNotFound) IsSuccess

func (o *GetV1ExternalAccountsIDNotFound) IsSuccess() bool

IsSuccess returns true when this get v1 external accounts Id not found response has a 2xx status code

func (*GetV1ExternalAccountsIDNotFound) String

type GetV1ExternalAccountsIDOK

type GetV1ExternalAccountsIDOK struct {
	Payload *models.ExternalAccount
}

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

The identified external account

func NewGetV1ExternalAccountsIDOK

func NewGetV1ExternalAccountsIDOK() *GetV1ExternalAccountsIDOK

NewGetV1ExternalAccountsIDOK creates a GetV1ExternalAccountsIDOK with default headers values

func (*GetV1ExternalAccountsIDOK) Code

func (o *GetV1ExternalAccountsIDOK) Code() int

Code gets the status code for the get v1 external accounts Id o k response

func (*GetV1ExternalAccountsIDOK) Error

func (o *GetV1ExternalAccountsIDOK) Error() string

func (*GetV1ExternalAccountsIDOK) GetPayload

func (*GetV1ExternalAccountsIDOK) IsClientError

func (o *GetV1ExternalAccountsIDOK) IsClientError() bool

IsClientError returns true when this get v1 external accounts Id o k response has a 4xx status code

func (*GetV1ExternalAccountsIDOK) IsCode

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

IsCode returns true when this get v1 external accounts Id o k response a status code equal to that given

func (*GetV1ExternalAccountsIDOK) IsRedirect

func (o *GetV1ExternalAccountsIDOK) IsRedirect() bool

IsRedirect returns true when this get v1 external accounts Id o k response has a 3xx status code

func (*GetV1ExternalAccountsIDOK) IsServerError

func (o *GetV1ExternalAccountsIDOK) IsServerError() bool

IsServerError returns true when this get v1 external accounts Id o k response has a 5xx status code

func (*GetV1ExternalAccountsIDOK) IsSuccess

func (o *GetV1ExternalAccountsIDOK) IsSuccess() bool

IsSuccess returns true when this get v1 external accounts Id o k response has a 2xx status code

func (*GetV1ExternalAccountsIDOK) String

func (o *GetV1ExternalAccountsIDOK) String() string

type GetV1ExternalAccountsIDParams

type GetV1ExternalAccountsIDParams struct {

	/* ID.

	   External account ID
	*/
	ID string

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

GetV1ExternalAccountsIDParams contains all the parameters to send to the API endpoint

for the get v1 external accounts ID operation.

Typically these are written to a http.Request.

func NewGetV1ExternalAccountsIDParams

func NewGetV1ExternalAccountsIDParams() *GetV1ExternalAccountsIDParams

NewGetV1ExternalAccountsIDParams creates a new GetV1ExternalAccountsIDParams 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 NewGetV1ExternalAccountsIDParamsWithContext

func NewGetV1ExternalAccountsIDParamsWithContext(ctx context.Context) *GetV1ExternalAccountsIDParams

NewGetV1ExternalAccountsIDParamsWithContext creates a new GetV1ExternalAccountsIDParams object with the ability to set a context for a request.

func NewGetV1ExternalAccountsIDParamsWithHTTPClient

func NewGetV1ExternalAccountsIDParamsWithHTTPClient(client *http.Client) *GetV1ExternalAccountsIDParams

NewGetV1ExternalAccountsIDParamsWithHTTPClient creates a new GetV1ExternalAccountsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1ExternalAccountsIDParamsWithTimeout

func NewGetV1ExternalAccountsIDParamsWithTimeout(timeout time.Duration) *GetV1ExternalAccountsIDParams

NewGetV1ExternalAccountsIDParamsWithTimeout creates a new GetV1ExternalAccountsIDParams object with the ability to set a timeout on a request.

func (*GetV1ExternalAccountsIDParams) SetContext

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

SetContext adds the context to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) SetDefaults

func (o *GetV1ExternalAccountsIDParams) SetDefaults()

SetDefaults hydrates default values in the get v1 external accounts ID params (not the query body).

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

func (*GetV1ExternalAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) SetID

SetID adds the id to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) WithContext

WithContext adds the context to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 external accounts ID params (not the query body).

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

func (*GetV1ExternalAccountsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) WithID

WithID adds the id to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 external accounts ID params

func (*GetV1ExternalAccountsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1ExternalAccountsIDReader

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

GetV1ExternalAccountsIDReader is a Reader for the GetV1ExternalAccountsID structure.

func (*GetV1ExternalAccountsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1ExternalAccountsOK

type GetV1ExternalAccountsOK struct {
	Payload *GetV1ExternalAccountsOKBody
}

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

QueryResponse with list of External Accounts

func NewGetV1ExternalAccountsOK

func NewGetV1ExternalAccountsOK() *GetV1ExternalAccountsOK

NewGetV1ExternalAccountsOK creates a GetV1ExternalAccountsOK with default headers values

func (*GetV1ExternalAccountsOK) Code

func (o *GetV1ExternalAccountsOK) Code() int

Code gets the status code for the get v1 external accounts o k response

func (*GetV1ExternalAccountsOK) Error

func (o *GetV1ExternalAccountsOK) Error() string

func (*GetV1ExternalAccountsOK) GetPayload

func (*GetV1ExternalAccountsOK) IsClientError

func (o *GetV1ExternalAccountsOK) IsClientError() bool

IsClientError returns true when this get v1 external accounts o k response has a 4xx status code

func (*GetV1ExternalAccountsOK) IsCode

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

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

func (*GetV1ExternalAccountsOK) IsRedirect

func (o *GetV1ExternalAccountsOK) IsRedirect() bool

IsRedirect returns true when this get v1 external accounts o k response has a 3xx status code

func (*GetV1ExternalAccountsOK) IsServerError

func (o *GetV1ExternalAccountsOK) IsServerError() bool

IsServerError returns true when this get v1 external accounts o k response has a 5xx status code

func (*GetV1ExternalAccountsOK) IsSuccess

func (o *GetV1ExternalAccountsOK) IsSuccess() bool

IsSuccess returns true when this get v1 external accounts o k response has a 2xx status code

func (*GetV1ExternalAccountsOK) String

func (o *GetV1ExternalAccountsOK) String() string

type GetV1ExternalAccountsOKBody

type GetV1ExternalAccountsOKBody struct {
	models.QueryResponse

	// items
	Items []*models.ExternalAccount `json:"items"`
}

GetV1ExternalAccountsOKBody get v1 external accounts o k body swagger:model GetV1ExternalAccountsOKBody

func (*GetV1ExternalAccountsOKBody) ContextValidate

func (o *GetV1ExternalAccountsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get v1 external accounts o k body based on the context it is used

func (*GetV1ExternalAccountsOKBody) MarshalBinary

func (o *GetV1ExternalAccountsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetV1ExternalAccountsOKBody) MarshalJSON

func (o GetV1ExternalAccountsOKBody) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetV1ExternalAccountsOKBody) UnmarshalBinary

func (o *GetV1ExternalAccountsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetV1ExternalAccountsOKBody) UnmarshalJSON

func (o *GetV1ExternalAccountsOKBody) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetV1ExternalAccountsOKBody) Validate

func (o *GetV1ExternalAccountsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get v1 external accounts o k body

type GetV1ExternalAccountsParams

type GetV1ExternalAccountsParams struct {

	/* CounterpartyID.

	   The ID of a counterparty.
	*/
	CounterpartyID *int64

	/* Limit.

	   Limit resulting response list. Value must be between 1 and 500 (higher values will be coerced down to 500). Defaults to 100.
	*/
	Limit *int64

	/* Query.

	   Free text search of external account identifiers. Must be at least 3 characters.
	*/
	Query *int64

	/* Token.

	   If response comes back and `nextToken` is populated, use that value in this `token` query to continue pagination.
	*/
	Token *string

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

GetV1ExternalAccountsParams contains all the parameters to send to the API endpoint

for the get v1 external accounts operation.

Typically these are written to a http.Request.

func NewGetV1ExternalAccountsParams

func NewGetV1ExternalAccountsParams() *GetV1ExternalAccountsParams

NewGetV1ExternalAccountsParams creates a new GetV1ExternalAccountsParams 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 NewGetV1ExternalAccountsParamsWithContext

func NewGetV1ExternalAccountsParamsWithContext(ctx context.Context) *GetV1ExternalAccountsParams

NewGetV1ExternalAccountsParamsWithContext creates a new GetV1ExternalAccountsParams object with the ability to set a context for a request.

func NewGetV1ExternalAccountsParamsWithHTTPClient

func NewGetV1ExternalAccountsParamsWithHTTPClient(client *http.Client) *GetV1ExternalAccountsParams

NewGetV1ExternalAccountsParamsWithHTTPClient creates a new GetV1ExternalAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1ExternalAccountsParamsWithTimeout

func NewGetV1ExternalAccountsParamsWithTimeout(timeout time.Duration) *GetV1ExternalAccountsParams

NewGetV1ExternalAccountsParamsWithTimeout creates a new GetV1ExternalAccountsParams object with the ability to set a timeout on a request.

func (*GetV1ExternalAccountsParams) SetContext

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

SetContext adds the context to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) SetCounterpartyID

func (o *GetV1ExternalAccountsParams) SetCounterpartyID(counterpartyID *int64)

SetCounterpartyID adds the counterpartyId to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) SetDefaults

func (o *GetV1ExternalAccountsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 external accounts params (not the query body).

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

func (*GetV1ExternalAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) SetLimit

func (o *GetV1ExternalAccountsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) SetQuery

func (o *GetV1ExternalAccountsParams) SetQuery(query *int64)

SetQuery adds the query to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) SetToken

func (o *GetV1ExternalAccountsParams) SetToken(token *string)

SetToken adds the token to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WithContext

WithContext adds the context to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WithCounterpartyID

func (o *GetV1ExternalAccountsParams) WithCounterpartyID(counterpartyID *int64) *GetV1ExternalAccountsParams

WithCounterpartyID adds the counterpartyID to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WithDefaults

WithDefaults hydrates default values in the get v1 external accounts params (not the query body).

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

func (*GetV1ExternalAccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WithLimit

WithLimit adds the limit to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WithQuery

WithQuery adds the query to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WithTimeout

WithTimeout adds the timeout to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WithToken

WithToken adds the token to the get v1 external accounts params

func (*GetV1ExternalAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1ExternalAccountsReader

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

GetV1ExternalAccountsReader is a Reader for the GetV1ExternalAccounts structure.

func (*GetV1ExternalAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1ExternalAccountsBadRequest added in v1.3.0

type PostV1ExternalAccountsBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewPostV1ExternalAccountsBadRequest added in v1.3.0

func NewPostV1ExternalAccountsBadRequest() *PostV1ExternalAccountsBadRequest

NewPostV1ExternalAccountsBadRequest creates a PostV1ExternalAccountsBadRequest with default headers values

func (*PostV1ExternalAccountsBadRequest) Code added in v1.3.0

Code gets the status code for the post v1 external accounts bad request response

func (*PostV1ExternalAccountsBadRequest) Error added in v1.3.0

func (*PostV1ExternalAccountsBadRequest) GetPayload added in v1.3.0

func (*PostV1ExternalAccountsBadRequest) IsClientError added in v1.3.0

func (o *PostV1ExternalAccountsBadRequest) IsClientError() bool

IsClientError returns true when this post v1 external accounts bad request response has a 4xx status code

func (*PostV1ExternalAccountsBadRequest) IsCode added in v1.3.0

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

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

func (*PostV1ExternalAccountsBadRequest) IsRedirect added in v1.3.0

func (o *PostV1ExternalAccountsBadRequest) IsRedirect() bool

IsRedirect returns true when this post v1 external accounts bad request response has a 3xx status code

func (*PostV1ExternalAccountsBadRequest) IsServerError added in v1.3.0

func (o *PostV1ExternalAccountsBadRequest) IsServerError() bool

IsServerError returns true when this post v1 external accounts bad request response has a 5xx status code

func (*PostV1ExternalAccountsBadRequest) IsSuccess added in v1.3.0

func (o *PostV1ExternalAccountsBadRequest) IsSuccess() bool

IsSuccess returns true when this post v1 external accounts bad request response has a 2xx status code

func (*PostV1ExternalAccountsBadRequest) String added in v1.3.0

type PostV1ExternalAccountsCreated

type PostV1ExternalAccountsCreated struct {
	Payload *models.ExternalAccount
}

PostV1ExternalAccountsCreated describes a response with status code 201, with default header values.

The created external account

func NewPostV1ExternalAccountsCreated

func NewPostV1ExternalAccountsCreated() *PostV1ExternalAccountsCreated

NewPostV1ExternalAccountsCreated creates a PostV1ExternalAccountsCreated with default headers values

func (*PostV1ExternalAccountsCreated) Code

Code gets the status code for the post v1 external accounts created response

func (*PostV1ExternalAccountsCreated) Error

func (*PostV1ExternalAccountsCreated) GetPayload

func (*PostV1ExternalAccountsCreated) IsClientError

func (o *PostV1ExternalAccountsCreated) IsClientError() bool

IsClientError returns true when this post v1 external accounts created response has a 4xx status code

func (*PostV1ExternalAccountsCreated) IsCode

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

IsCode returns true when this post v1 external accounts created response a status code equal to that given

func (*PostV1ExternalAccountsCreated) IsRedirect

func (o *PostV1ExternalAccountsCreated) IsRedirect() bool

IsRedirect returns true when this post v1 external accounts created response has a 3xx status code

func (*PostV1ExternalAccountsCreated) IsServerError

func (o *PostV1ExternalAccountsCreated) IsServerError() bool

IsServerError returns true when this post v1 external accounts created response has a 5xx status code

func (*PostV1ExternalAccountsCreated) IsSuccess

func (o *PostV1ExternalAccountsCreated) IsSuccess() bool

IsSuccess returns true when this post v1 external accounts created response has a 2xx status code

func (*PostV1ExternalAccountsCreated) String

type PostV1ExternalAccountsParams

type PostV1ExternalAccountsParams struct {

	/* ExternalAccount.

	   CreateExternalAccountRequest
	*/
	ExternalAccount *models.CreateExternalAccountRequest

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

PostV1ExternalAccountsParams contains all the parameters to send to the API endpoint

for the post v1 external accounts operation.

Typically these are written to a http.Request.

func NewPostV1ExternalAccountsParams

func NewPostV1ExternalAccountsParams() *PostV1ExternalAccountsParams

NewPostV1ExternalAccountsParams creates a new PostV1ExternalAccountsParams 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 NewPostV1ExternalAccountsParamsWithContext

func NewPostV1ExternalAccountsParamsWithContext(ctx context.Context) *PostV1ExternalAccountsParams

NewPostV1ExternalAccountsParamsWithContext creates a new PostV1ExternalAccountsParams object with the ability to set a context for a request.

func NewPostV1ExternalAccountsParamsWithHTTPClient

func NewPostV1ExternalAccountsParamsWithHTTPClient(client *http.Client) *PostV1ExternalAccountsParams

NewPostV1ExternalAccountsParamsWithHTTPClient creates a new PostV1ExternalAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1ExternalAccountsParamsWithTimeout

func NewPostV1ExternalAccountsParamsWithTimeout(timeout time.Duration) *PostV1ExternalAccountsParams

NewPostV1ExternalAccountsParamsWithTimeout creates a new PostV1ExternalAccountsParams object with the ability to set a timeout on a request.

func (*PostV1ExternalAccountsParams) SetContext

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

SetContext adds the context to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) SetDefaults

func (o *PostV1ExternalAccountsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 external accounts params (not the query body).

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

func (*PostV1ExternalAccountsParams) SetExternalAccount

func (o *PostV1ExternalAccountsParams) SetExternalAccount(externalAccount *models.CreateExternalAccountRequest)

SetExternalAccount adds the externalAccount to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) WithContext

WithContext adds the context to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) WithDefaults

WithDefaults hydrates default values in the post v1 external accounts params (not the query body).

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

func (*PostV1ExternalAccountsParams) WithExternalAccount

WithExternalAccount adds the externalAccount to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) WithTimeout

WithTimeout adds the timeout to the post v1 external accounts params

func (*PostV1ExternalAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1ExternalAccountsReader

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

PostV1ExternalAccountsReader is a Reader for the PostV1ExternalAccounts structure.

func (*PostV1ExternalAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1ExternalAccountsIDBadRequest added in v1.3.0

type PutV1ExternalAccountsIDBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewPutV1ExternalAccountsIDBadRequest added in v1.3.0

func NewPutV1ExternalAccountsIDBadRequest() *PutV1ExternalAccountsIDBadRequest

NewPutV1ExternalAccountsIDBadRequest creates a PutV1ExternalAccountsIDBadRequest with default headers values

func (*PutV1ExternalAccountsIDBadRequest) Code added in v1.3.0

Code gets the status code for the put v1 external accounts Id bad request response

func (*PutV1ExternalAccountsIDBadRequest) Error added in v1.3.0

func (*PutV1ExternalAccountsIDBadRequest) GetPayload added in v1.3.0

func (*PutV1ExternalAccountsIDBadRequest) IsClientError added in v1.3.0

func (o *PutV1ExternalAccountsIDBadRequest) IsClientError() bool

IsClientError returns true when this put v1 external accounts Id bad request response has a 4xx status code

func (*PutV1ExternalAccountsIDBadRequest) IsCode added in v1.3.0

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

IsCode returns true when this put v1 external accounts Id bad request response a status code equal to that given

func (*PutV1ExternalAccountsIDBadRequest) IsRedirect added in v1.3.0

func (o *PutV1ExternalAccountsIDBadRequest) IsRedirect() bool

IsRedirect returns true when this put v1 external accounts Id bad request response has a 3xx status code

func (*PutV1ExternalAccountsIDBadRequest) IsServerError added in v1.3.0

func (o *PutV1ExternalAccountsIDBadRequest) IsServerError() bool

IsServerError returns true when this put v1 external accounts Id bad request response has a 5xx status code

func (*PutV1ExternalAccountsIDBadRequest) IsSuccess added in v1.3.0

func (o *PutV1ExternalAccountsIDBadRequest) IsSuccess() bool

IsSuccess returns true when this put v1 external accounts Id bad request response has a 2xx status code

func (*PutV1ExternalAccountsIDBadRequest) String added in v1.3.0

type PutV1ExternalAccountsIDConflict added in v1.3.0

type PutV1ExternalAccountsIDConflict struct {
	Payload *models.ErrorResponse
}

PutV1ExternalAccountsIDConflict describes a response with status code 409, with default header values.

Conflict with the current state of the target resource

func NewPutV1ExternalAccountsIDConflict added in v1.3.0

func NewPutV1ExternalAccountsIDConflict() *PutV1ExternalAccountsIDConflict

NewPutV1ExternalAccountsIDConflict creates a PutV1ExternalAccountsIDConflict with default headers values

func (*PutV1ExternalAccountsIDConflict) Code added in v1.3.0

Code gets the status code for the put v1 external accounts Id conflict response

func (*PutV1ExternalAccountsIDConflict) Error added in v1.3.0

func (*PutV1ExternalAccountsIDConflict) GetPayload added in v1.3.0

func (*PutV1ExternalAccountsIDConflict) IsClientError added in v1.3.0

func (o *PutV1ExternalAccountsIDConflict) IsClientError() bool

IsClientError returns true when this put v1 external accounts Id conflict response has a 4xx status code

func (*PutV1ExternalAccountsIDConflict) IsCode added in v1.3.0

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

IsCode returns true when this put v1 external accounts Id conflict response a status code equal to that given

func (*PutV1ExternalAccountsIDConflict) IsRedirect added in v1.3.0

func (o *PutV1ExternalAccountsIDConflict) IsRedirect() bool

IsRedirect returns true when this put v1 external accounts Id conflict response has a 3xx status code

func (*PutV1ExternalAccountsIDConflict) IsServerError added in v1.3.0

func (o *PutV1ExternalAccountsIDConflict) IsServerError() bool

IsServerError returns true when this put v1 external accounts Id conflict response has a 5xx status code

func (*PutV1ExternalAccountsIDConflict) IsSuccess added in v1.3.0

func (o *PutV1ExternalAccountsIDConflict) IsSuccess() bool

IsSuccess returns true when this put v1 external accounts Id conflict response has a 2xx status code

func (*PutV1ExternalAccountsIDConflict) String added in v1.3.0

type PutV1ExternalAccountsIDOK

type PutV1ExternalAccountsIDOK struct {
	Payload *models.ExternalAccount
}

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

The updated external account

func NewPutV1ExternalAccountsIDOK

func NewPutV1ExternalAccountsIDOK() *PutV1ExternalAccountsIDOK

NewPutV1ExternalAccountsIDOK creates a PutV1ExternalAccountsIDOK with default headers values

func (*PutV1ExternalAccountsIDOK) Code

func (o *PutV1ExternalAccountsIDOK) Code() int

Code gets the status code for the put v1 external accounts Id o k response

func (*PutV1ExternalAccountsIDOK) Error

func (o *PutV1ExternalAccountsIDOK) Error() string

func (*PutV1ExternalAccountsIDOK) GetPayload

func (*PutV1ExternalAccountsIDOK) IsClientError

func (o *PutV1ExternalAccountsIDOK) IsClientError() bool

IsClientError returns true when this put v1 external accounts Id o k response has a 4xx status code

func (*PutV1ExternalAccountsIDOK) IsCode

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

IsCode returns true when this put v1 external accounts Id o k response a status code equal to that given

func (*PutV1ExternalAccountsIDOK) IsRedirect

func (o *PutV1ExternalAccountsIDOK) IsRedirect() bool

IsRedirect returns true when this put v1 external accounts Id o k response has a 3xx status code

func (*PutV1ExternalAccountsIDOK) IsServerError

func (o *PutV1ExternalAccountsIDOK) IsServerError() bool

IsServerError returns true when this put v1 external accounts Id o k response has a 5xx status code

func (*PutV1ExternalAccountsIDOK) IsSuccess

func (o *PutV1ExternalAccountsIDOK) IsSuccess() bool

IsSuccess returns true when this put v1 external accounts Id o k response has a 2xx status code

func (*PutV1ExternalAccountsIDOK) String

func (o *PutV1ExternalAccountsIDOK) String() string

type PutV1ExternalAccountsIDParams

type PutV1ExternalAccountsIDParams struct {

	/* ExternalAccount.

	   ExternalAccount
	*/
	ExternalAccount *models.UpdateExternalAccountRequest

	/* ID.

	   External account ID
	*/
	ID string

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

PutV1ExternalAccountsIDParams contains all the parameters to send to the API endpoint

for the put v1 external accounts ID operation.

Typically these are written to a http.Request.

func NewPutV1ExternalAccountsIDParams

func NewPutV1ExternalAccountsIDParams() *PutV1ExternalAccountsIDParams

NewPutV1ExternalAccountsIDParams creates a new PutV1ExternalAccountsIDParams 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 NewPutV1ExternalAccountsIDParamsWithContext

func NewPutV1ExternalAccountsIDParamsWithContext(ctx context.Context) *PutV1ExternalAccountsIDParams

NewPutV1ExternalAccountsIDParamsWithContext creates a new PutV1ExternalAccountsIDParams object with the ability to set a context for a request.

func NewPutV1ExternalAccountsIDParamsWithHTTPClient

func NewPutV1ExternalAccountsIDParamsWithHTTPClient(client *http.Client) *PutV1ExternalAccountsIDParams

NewPutV1ExternalAccountsIDParamsWithHTTPClient creates a new PutV1ExternalAccountsIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1ExternalAccountsIDParamsWithTimeout

func NewPutV1ExternalAccountsIDParamsWithTimeout(timeout time.Duration) *PutV1ExternalAccountsIDParams

NewPutV1ExternalAccountsIDParamsWithTimeout creates a new PutV1ExternalAccountsIDParams object with the ability to set a timeout on a request.

func (*PutV1ExternalAccountsIDParams) SetContext

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

SetContext adds the context to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) SetDefaults

func (o *PutV1ExternalAccountsIDParams) SetDefaults()

SetDefaults hydrates default values in the put v1 external accounts ID params (not the query body).

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

func (*PutV1ExternalAccountsIDParams) SetExternalAccount

func (o *PutV1ExternalAccountsIDParams) SetExternalAccount(externalAccount *models.UpdateExternalAccountRequest)

SetExternalAccount adds the externalAccount to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) SetID

SetID adds the id to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) SetTimeout

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

SetTimeout adds the timeout to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) WithContext

WithContext adds the context to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) WithDefaults

WithDefaults hydrates default values in the put v1 external accounts ID params (not the query body).

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

func (*PutV1ExternalAccountsIDParams) WithExternalAccount

WithExternalAccount adds the externalAccount to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) WithID

WithID adds the id to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 external accounts ID params

func (*PutV1ExternalAccountsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1ExternalAccountsIDReader

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

PutV1ExternalAccountsIDReader is a Reader for the PutV1ExternalAccountsID structure.

func (*PutV1ExternalAccountsIDReader) ReadResponse

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