Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteV1ExternalAccountsID(params *DeleteV1ExternalAccountsIDParams, opts ...ClientOption) (*DeleteV1ExternalAccountsIDNoContent, error)
- func (a *Client) GetV1ExternalAccounts(params *GetV1ExternalAccountsParams, opts ...ClientOption) (*GetV1ExternalAccountsOK, error)
- func (a *Client) GetV1ExternalAccountsGetByExternalIDExternalID(params *GetV1ExternalAccountsGetByExternalIDExternalIDParams, ...) (*GetV1ExternalAccountsGetByExternalIDExternalIDOK, error)
- func (a *Client) GetV1ExternalAccountsID(params *GetV1ExternalAccountsIDParams, opts ...ClientOption) (*GetV1ExternalAccountsIDOK, error)
- func (a *Client) PostV1ExternalAccounts(params *PostV1ExternalAccountsParams, opts ...ClientOption) (*PostV1ExternalAccountsCreated, error)
- func (a *Client) PutV1ExternalAccountsID(params *PutV1ExternalAccountsIDParams, opts ...ClientOption) (*PutV1ExternalAccountsIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1ExternalAccountsIDNoContent
- func (o *DeleteV1ExternalAccountsIDNoContent) Code() int
- func (o *DeleteV1ExternalAccountsIDNoContent) Error() string
- func (o *DeleteV1ExternalAccountsIDNoContent) IsClientError() bool
- func (o *DeleteV1ExternalAccountsIDNoContent) IsCode(code int) bool
- func (o *DeleteV1ExternalAccountsIDNoContent) IsRedirect() bool
- func (o *DeleteV1ExternalAccountsIDNoContent) IsServerError() bool
- func (o *DeleteV1ExternalAccountsIDNoContent) IsSuccess() bool
- func (o *DeleteV1ExternalAccountsIDNoContent) String() string
- type DeleteV1ExternalAccountsIDNotFound
- func (o *DeleteV1ExternalAccountsIDNotFound) Code() int
- func (o *DeleteV1ExternalAccountsIDNotFound) Error() string
- func (o *DeleteV1ExternalAccountsIDNotFound) GetPayload() *models.ErrorResponse
- func (o *DeleteV1ExternalAccountsIDNotFound) IsClientError() bool
- func (o *DeleteV1ExternalAccountsIDNotFound) IsCode(code int) bool
- func (o *DeleteV1ExternalAccountsIDNotFound) IsRedirect() bool
- func (o *DeleteV1ExternalAccountsIDNotFound) IsServerError() bool
- func (o *DeleteV1ExternalAccountsIDNotFound) IsSuccess() bool
- func (o *DeleteV1ExternalAccountsIDNotFound) String() string
- type DeleteV1ExternalAccountsIDParams
- func NewDeleteV1ExternalAccountsIDParams() *DeleteV1ExternalAccountsIDParams
- func NewDeleteV1ExternalAccountsIDParamsWithContext(ctx context.Context) *DeleteV1ExternalAccountsIDParams
- func NewDeleteV1ExternalAccountsIDParamsWithHTTPClient(client *http.Client) *DeleteV1ExternalAccountsIDParams
- func NewDeleteV1ExternalAccountsIDParamsWithTimeout(timeout time.Duration) *DeleteV1ExternalAccountsIDParams
- func (o *DeleteV1ExternalAccountsIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1ExternalAccountsIDParams) SetDefaults()
- func (o *DeleteV1ExternalAccountsIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1ExternalAccountsIDParams) SetID(id string)
- func (o *DeleteV1ExternalAccountsIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1ExternalAccountsIDParams) WithContext(ctx context.Context) *DeleteV1ExternalAccountsIDParams
- func (o *DeleteV1ExternalAccountsIDParams) WithDefaults() *DeleteV1ExternalAccountsIDParams
- func (o *DeleteV1ExternalAccountsIDParams) WithHTTPClient(client *http.Client) *DeleteV1ExternalAccountsIDParams
- func (o *DeleteV1ExternalAccountsIDParams) WithID(id string) *DeleteV1ExternalAccountsIDParams
- func (o *DeleteV1ExternalAccountsIDParams) WithTimeout(timeout time.Duration) *DeleteV1ExternalAccountsIDParams
- func (o *DeleteV1ExternalAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1ExternalAccountsIDReader
- type GetV1ExternalAccountsBadRequest
- func (o *GetV1ExternalAccountsBadRequest) Code() int
- func (o *GetV1ExternalAccountsBadRequest) Error() string
- func (o *GetV1ExternalAccountsBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetV1ExternalAccountsBadRequest) IsClientError() bool
- func (o *GetV1ExternalAccountsBadRequest) IsCode(code int) bool
- func (o *GetV1ExternalAccountsBadRequest) IsRedirect() bool
- func (o *GetV1ExternalAccountsBadRequest) IsServerError() bool
- func (o *GetV1ExternalAccountsBadRequest) IsSuccess() bool
- func (o *GetV1ExternalAccountsBadRequest) String() string
- type GetV1ExternalAccountsGetByExternalIDExternalIDNotFound
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) Code() int
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) Error() string
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) GetPayload() string
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsClientError() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsCode(code int) bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsRedirect() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsServerError() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsSuccess() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) String() string
- type GetV1ExternalAccountsGetByExternalIDExternalIDOK
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) Code() int
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) Error() string
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) GetPayload() *models.ExternalAccount
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsClientError() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsCode(code int) bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsRedirect() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsServerError() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsSuccess() bool
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) String() string
- type GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func NewGetV1ExternalAccountsGetByExternalIDExternalIDParams() *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func NewGetV1ExternalAccountsGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetDefaults()
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetExternalID(externalID string)
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithDefaults() *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
- func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ExternalAccountsGetByExternalIDExternalIDReader
- type GetV1ExternalAccountsIDNotFound
- func (o *GetV1ExternalAccountsIDNotFound) Code() int
- func (o *GetV1ExternalAccountsIDNotFound) Error() string
- func (o *GetV1ExternalAccountsIDNotFound) GetPayload() string
- func (o *GetV1ExternalAccountsIDNotFound) IsClientError() bool
- func (o *GetV1ExternalAccountsIDNotFound) IsCode(code int) bool
- func (o *GetV1ExternalAccountsIDNotFound) IsRedirect() bool
- func (o *GetV1ExternalAccountsIDNotFound) IsServerError() bool
- func (o *GetV1ExternalAccountsIDNotFound) IsSuccess() bool
- func (o *GetV1ExternalAccountsIDNotFound) String() string
- type GetV1ExternalAccountsIDOK
- func (o *GetV1ExternalAccountsIDOK) Code() int
- func (o *GetV1ExternalAccountsIDOK) Error() string
- func (o *GetV1ExternalAccountsIDOK) GetPayload() *models.ExternalAccount
- func (o *GetV1ExternalAccountsIDOK) IsClientError() bool
- func (o *GetV1ExternalAccountsIDOK) IsCode(code int) bool
- func (o *GetV1ExternalAccountsIDOK) IsRedirect() bool
- func (o *GetV1ExternalAccountsIDOK) IsServerError() bool
- func (o *GetV1ExternalAccountsIDOK) IsSuccess() bool
- func (o *GetV1ExternalAccountsIDOK) String() string
- type GetV1ExternalAccountsIDParams
- func NewGetV1ExternalAccountsIDParams() *GetV1ExternalAccountsIDParams
- func NewGetV1ExternalAccountsIDParamsWithContext(ctx context.Context) *GetV1ExternalAccountsIDParams
- func NewGetV1ExternalAccountsIDParamsWithHTTPClient(client *http.Client) *GetV1ExternalAccountsIDParams
- func NewGetV1ExternalAccountsIDParamsWithTimeout(timeout time.Duration) *GetV1ExternalAccountsIDParams
- func (o *GetV1ExternalAccountsIDParams) SetContext(ctx context.Context)
- func (o *GetV1ExternalAccountsIDParams) SetDefaults()
- func (o *GetV1ExternalAccountsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1ExternalAccountsIDParams) SetID(id string)
- func (o *GetV1ExternalAccountsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ExternalAccountsIDParams) WithContext(ctx context.Context) *GetV1ExternalAccountsIDParams
- func (o *GetV1ExternalAccountsIDParams) WithDefaults() *GetV1ExternalAccountsIDParams
- func (o *GetV1ExternalAccountsIDParams) WithHTTPClient(client *http.Client) *GetV1ExternalAccountsIDParams
- func (o *GetV1ExternalAccountsIDParams) WithID(id string) *GetV1ExternalAccountsIDParams
- func (o *GetV1ExternalAccountsIDParams) WithTimeout(timeout time.Duration) *GetV1ExternalAccountsIDParams
- func (o *GetV1ExternalAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ExternalAccountsIDReader
- type GetV1ExternalAccountsOK
- func (o *GetV1ExternalAccountsOK) Code() int
- func (o *GetV1ExternalAccountsOK) Error() string
- func (o *GetV1ExternalAccountsOK) GetPayload() *GetV1ExternalAccountsOKBody
- func (o *GetV1ExternalAccountsOK) IsClientError() bool
- func (o *GetV1ExternalAccountsOK) IsCode(code int) bool
- func (o *GetV1ExternalAccountsOK) IsRedirect() bool
- func (o *GetV1ExternalAccountsOK) IsServerError() bool
- func (o *GetV1ExternalAccountsOK) IsSuccess() bool
- func (o *GetV1ExternalAccountsOK) String() string
- type GetV1ExternalAccountsOKBody
- func (o *GetV1ExternalAccountsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1ExternalAccountsOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1ExternalAccountsOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1ExternalAccountsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1ExternalAccountsOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1ExternalAccountsOKBody) Validate(formats strfmt.Registry) error
- type GetV1ExternalAccountsParams
- func NewGetV1ExternalAccountsParams() *GetV1ExternalAccountsParams
- func NewGetV1ExternalAccountsParamsWithContext(ctx context.Context) *GetV1ExternalAccountsParams
- func NewGetV1ExternalAccountsParamsWithHTTPClient(client *http.Client) *GetV1ExternalAccountsParams
- func NewGetV1ExternalAccountsParamsWithTimeout(timeout time.Duration) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) SetContext(ctx context.Context)
- func (o *GetV1ExternalAccountsParams) SetCounterpartyID(counterpartyID *int64)
- func (o *GetV1ExternalAccountsParams) SetDefaults()
- func (o *GetV1ExternalAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1ExternalAccountsParams) SetLimit(limit *int64)
- func (o *GetV1ExternalAccountsParams) SetQuery(query *int64)
- func (o *GetV1ExternalAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ExternalAccountsParams) SetToken(token *string)
- func (o *GetV1ExternalAccountsParams) WithContext(ctx context.Context) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WithCounterpartyID(counterpartyID *int64) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WithDefaults() *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WithHTTPClient(client *http.Client) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WithLimit(limit *int64) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WithQuery(query *int64) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WithTimeout(timeout time.Duration) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WithToken(token *string) *GetV1ExternalAccountsParams
- func (o *GetV1ExternalAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ExternalAccountsReader
- type PostV1ExternalAccountsBadRequest
- func (o *PostV1ExternalAccountsBadRequest) Code() int
- func (o *PostV1ExternalAccountsBadRequest) Error() string
- func (o *PostV1ExternalAccountsBadRequest) GetPayload() *models.ErrorResponse
- func (o *PostV1ExternalAccountsBadRequest) IsClientError() bool
- func (o *PostV1ExternalAccountsBadRequest) IsCode(code int) bool
- func (o *PostV1ExternalAccountsBadRequest) IsRedirect() bool
- func (o *PostV1ExternalAccountsBadRequest) IsServerError() bool
- func (o *PostV1ExternalAccountsBadRequest) IsSuccess() bool
- func (o *PostV1ExternalAccountsBadRequest) String() string
- type PostV1ExternalAccountsCreated
- func (o *PostV1ExternalAccountsCreated) Code() int
- func (o *PostV1ExternalAccountsCreated) Error() string
- func (o *PostV1ExternalAccountsCreated) GetPayload() *models.ExternalAccount
- func (o *PostV1ExternalAccountsCreated) IsClientError() bool
- func (o *PostV1ExternalAccountsCreated) IsCode(code int) bool
- func (o *PostV1ExternalAccountsCreated) IsRedirect() bool
- func (o *PostV1ExternalAccountsCreated) IsServerError() bool
- func (o *PostV1ExternalAccountsCreated) IsSuccess() bool
- func (o *PostV1ExternalAccountsCreated) String() string
- type PostV1ExternalAccountsParams
- func NewPostV1ExternalAccountsParams() *PostV1ExternalAccountsParams
- func NewPostV1ExternalAccountsParamsWithContext(ctx context.Context) *PostV1ExternalAccountsParams
- func NewPostV1ExternalAccountsParamsWithHTTPClient(client *http.Client) *PostV1ExternalAccountsParams
- func NewPostV1ExternalAccountsParamsWithTimeout(timeout time.Duration) *PostV1ExternalAccountsParams
- func (o *PostV1ExternalAccountsParams) SetContext(ctx context.Context)
- func (o *PostV1ExternalAccountsParams) SetDefaults()
- func (o *PostV1ExternalAccountsParams) SetExternalAccount(externalAccount *models.CreateExternalAccountRequest)
- func (o *PostV1ExternalAccountsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1ExternalAccountsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1ExternalAccountsParams) WithContext(ctx context.Context) *PostV1ExternalAccountsParams
- func (o *PostV1ExternalAccountsParams) WithDefaults() *PostV1ExternalAccountsParams
- func (o *PostV1ExternalAccountsParams) WithExternalAccount(externalAccount *models.CreateExternalAccountRequest) *PostV1ExternalAccountsParams
- func (o *PostV1ExternalAccountsParams) WithHTTPClient(client *http.Client) *PostV1ExternalAccountsParams
- func (o *PostV1ExternalAccountsParams) WithTimeout(timeout time.Duration) *PostV1ExternalAccountsParams
- func (o *PostV1ExternalAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1ExternalAccountsReader
- type PutV1ExternalAccountsIDBadRequest
- func (o *PutV1ExternalAccountsIDBadRequest) Code() int
- func (o *PutV1ExternalAccountsIDBadRequest) Error() string
- func (o *PutV1ExternalAccountsIDBadRequest) GetPayload() *models.ErrorResponse
- func (o *PutV1ExternalAccountsIDBadRequest) IsClientError() bool
- func (o *PutV1ExternalAccountsIDBadRequest) IsCode(code int) bool
- func (o *PutV1ExternalAccountsIDBadRequest) IsRedirect() bool
- func (o *PutV1ExternalAccountsIDBadRequest) IsServerError() bool
- func (o *PutV1ExternalAccountsIDBadRequest) IsSuccess() bool
- func (o *PutV1ExternalAccountsIDBadRequest) String() string
- type PutV1ExternalAccountsIDConflict
- func (o *PutV1ExternalAccountsIDConflict) Code() int
- func (o *PutV1ExternalAccountsIDConflict) Error() string
- func (o *PutV1ExternalAccountsIDConflict) GetPayload() *models.ErrorResponse
- func (o *PutV1ExternalAccountsIDConflict) IsClientError() bool
- func (o *PutV1ExternalAccountsIDConflict) IsCode(code int) bool
- func (o *PutV1ExternalAccountsIDConflict) IsRedirect() bool
- func (o *PutV1ExternalAccountsIDConflict) IsServerError() bool
- func (o *PutV1ExternalAccountsIDConflict) IsSuccess() bool
- func (o *PutV1ExternalAccountsIDConflict) String() string
- type PutV1ExternalAccountsIDOK
- func (o *PutV1ExternalAccountsIDOK) Code() int
- func (o *PutV1ExternalAccountsIDOK) Error() string
- func (o *PutV1ExternalAccountsIDOK) GetPayload() *models.ExternalAccount
- func (o *PutV1ExternalAccountsIDOK) IsClientError() bool
- func (o *PutV1ExternalAccountsIDOK) IsCode(code int) bool
- func (o *PutV1ExternalAccountsIDOK) IsRedirect() bool
- func (o *PutV1ExternalAccountsIDOK) IsServerError() bool
- func (o *PutV1ExternalAccountsIDOK) IsSuccess() bool
- func (o *PutV1ExternalAccountsIDOK) String() string
- type PutV1ExternalAccountsIDParams
- func NewPutV1ExternalAccountsIDParams() *PutV1ExternalAccountsIDParams
- func NewPutV1ExternalAccountsIDParamsWithContext(ctx context.Context) *PutV1ExternalAccountsIDParams
- func NewPutV1ExternalAccountsIDParamsWithHTTPClient(client *http.Client) *PutV1ExternalAccountsIDParams
- func NewPutV1ExternalAccountsIDParamsWithTimeout(timeout time.Duration) *PutV1ExternalAccountsIDParams
- func (o *PutV1ExternalAccountsIDParams) SetContext(ctx context.Context)
- func (o *PutV1ExternalAccountsIDParams) SetDefaults()
- func (o *PutV1ExternalAccountsIDParams) SetExternalAccount(externalAccount *models.UpdateExternalAccountRequest)
- func (o *PutV1ExternalAccountsIDParams) SetHTTPClient(client *http.Client)
- func (o *PutV1ExternalAccountsIDParams) SetID(id string)
- func (o *PutV1ExternalAccountsIDParams) SetTimeout(timeout time.Duration)
- func (o *PutV1ExternalAccountsIDParams) WithContext(ctx context.Context) *PutV1ExternalAccountsIDParams
- func (o *PutV1ExternalAccountsIDParams) WithDefaults() *PutV1ExternalAccountsIDParams
- func (o *PutV1ExternalAccountsIDParams) WithExternalAccount(externalAccount *models.UpdateExternalAccountRequest) *PutV1ExternalAccountsIDParams
- func (o *PutV1ExternalAccountsIDParams) WithHTTPClient(client *http.Client) *PutV1ExternalAccountsIDParams
- func (o *PutV1ExternalAccountsIDParams) WithID(id string) *PutV1ExternalAccountsIDParams
- func (o *PutV1ExternalAccountsIDParams) WithTimeout(timeout time.Duration) *PutV1ExternalAccountsIDParams
- func (o *PutV1ExternalAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV1ExternalAccountsIDReader
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 ¶
func (o *DeleteV1ExternalAccountsIDNoContent) Code() int
Code gets the status code for the delete v1 external accounts Id no content response
func (*DeleteV1ExternalAccountsIDNoContent) Error ¶
func (o *DeleteV1ExternalAccountsIDNoContent) Error() string
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 ¶
func (o *DeleteV1ExternalAccountsIDNoContent) IsCode(code int) bool
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 ¶
func (o *DeleteV1ExternalAccountsIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v1 external accounts Id no content response has a 2xx status code
func (*DeleteV1ExternalAccountsIDNoContent) String ¶
func (o *DeleteV1ExternalAccountsIDNoContent) String() 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 ¶
func (o *DeleteV1ExternalAccountsIDNotFound) Code() int
Code gets the status code for the delete v1 external accounts Id not found response
func (*DeleteV1ExternalAccountsIDNotFound) Error ¶
func (o *DeleteV1ExternalAccountsIDNotFound) Error() string
func (*DeleteV1ExternalAccountsIDNotFound) GetPayload ¶
func (o *DeleteV1ExternalAccountsIDNotFound) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteV1ExternalAccountsIDNotFound) IsCode(code int) bool
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 ¶
func (o *DeleteV1ExternalAccountsIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete v1 external accounts Id not found response has a 2xx status code
func (*DeleteV1ExternalAccountsIDNotFound) String ¶
func (o *DeleteV1ExternalAccountsIDNotFound) String() 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 ¶
func (o *DeleteV1ExternalAccountsIDParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteV1ExternalAccountsIDParams) SetID(id string)
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 ¶
func (o *DeleteV1ExternalAccountsIDParams) WithContext(ctx context.Context) *DeleteV1ExternalAccountsIDParams
WithContext adds the context to the delete v1 external accounts ID params
func (*DeleteV1ExternalAccountsIDParams) WithDefaults ¶
func (o *DeleteV1ExternalAccountsIDParams) WithDefaults() *DeleteV1ExternalAccountsIDParams
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 ¶
func (o *DeleteV1ExternalAccountsIDParams) WithHTTPClient(client *http.Client) *DeleteV1ExternalAccountsIDParams
WithHTTPClient adds the HTTPClient to the delete v1 external accounts ID params
func (*DeleteV1ExternalAccountsIDParams) WithID ¶
func (o *DeleteV1ExternalAccountsIDParams) WithID(id string) *DeleteV1ExternalAccountsIDParams
WithID adds the id to the delete v1 external accounts ID params
func (*DeleteV1ExternalAccountsIDParams) WithTimeout ¶
func (o *DeleteV1ExternalAccountsIDParams) WithTimeout(timeout time.Duration) *DeleteV1ExternalAccountsIDParams
WithTimeout adds the timeout to the delete v1 external accounts ID params
func (*DeleteV1ExternalAccountsIDParams) WriteToRequest ¶
func (o *DeleteV1ExternalAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *GetV1ExternalAccountsBadRequest) Code() int
Code gets the status code for the get v1 external accounts bad request response
func (*GetV1ExternalAccountsBadRequest) Error ¶ added in v1.3.0
func (o *GetV1ExternalAccountsBadRequest) Error() string
func (*GetV1ExternalAccountsBadRequest) GetPayload ¶ added in v1.3.0
func (o *GetV1ExternalAccountsBadRequest) GetPayload() *models.ErrorResponse
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
func (o *GetV1ExternalAccountsBadRequest) String() string
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) Code() int
Code gets the status code for the get v1 external accounts get by external Id external Id not found response
func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) Error ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) Error() string
func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) GetPayload ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) GetPayload() string
func (*GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsClientError ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsClientError() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsCode(code int) bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsRedirect() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsServerError() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) IsSuccess() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDNotFound) String() 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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) Code() int
Code gets the status code for the get v1 external accounts get by external Id external Id o k response
func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) Error ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) Error() string
func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) GetPayload ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) GetPayload() *models.ExternalAccount
func (*GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsClientError ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsClientError() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsCode(code int) bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsRedirect() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsServerError() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) IsSuccess() bool
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDOK) String() 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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 external accounts get by external ID external ID params
func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetDefaults ¶
func (o *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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 external accounts get by external ID external ID params
func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetTimeout ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 external accounts get by external ID external ID params
func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithContext ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
WithContext adds the context to the get v1 external accounts get by external ID external ID params
func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithDefaults ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithDefaults() *GetV1ExternalAccountsGetByExternalIDExternalIDParams
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 ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
WithExternalID adds the externalID to the get v1 external accounts get by external ID external ID params
func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithHTTPClient ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
WithHTTPClient adds the HTTPClient to the get v1 external accounts get by external ID external ID params
func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithTimeout ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1ExternalAccountsGetByExternalIDExternalIDParams
WithTimeout adds the timeout to the get v1 external accounts get by external ID external ID params
func (*GetV1ExternalAccountsGetByExternalIDExternalIDParams) WriteToRequest ¶
func (o *GetV1ExternalAccountsGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetV1ExternalAccountsIDNotFound) Code() int
Code gets the status code for the get v1 external accounts Id not found response
func (*GetV1ExternalAccountsIDNotFound) Error ¶
func (o *GetV1ExternalAccountsIDNotFound) Error() string
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 ¶
func (o *GetV1ExternalAccountsIDNotFound) String() 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 (o *GetV1ExternalAccountsIDOK) GetPayload() *models.ExternalAccount
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 ¶
func (o *GetV1ExternalAccountsIDParams) SetID(id string)
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 ¶
func (o *GetV1ExternalAccountsIDParams) WithContext(ctx context.Context) *GetV1ExternalAccountsIDParams
WithContext adds the context to the get v1 external accounts ID params
func (*GetV1ExternalAccountsIDParams) WithDefaults ¶
func (o *GetV1ExternalAccountsIDParams) WithDefaults() *GetV1ExternalAccountsIDParams
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 ¶
func (o *GetV1ExternalAccountsIDParams) WithHTTPClient(client *http.Client) *GetV1ExternalAccountsIDParams
WithHTTPClient adds the HTTPClient to the get v1 external accounts ID params
func (*GetV1ExternalAccountsIDParams) WithID ¶
func (o *GetV1ExternalAccountsIDParams) WithID(id string) *GetV1ExternalAccountsIDParams
WithID adds the id to the get v1 external accounts ID params
func (*GetV1ExternalAccountsIDParams) WithTimeout ¶
func (o *GetV1ExternalAccountsIDParams) WithTimeout(timeout time.Duration) *GetV1ExternalAccountsIDParams
WithTimeout adds the timeout to the get v1 external accounts ID params
func (*GetV1ExternalAccountsIDParams) WriteToRequest ¶
func (o *GetV1ExternalAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetV1ExternalAccountsOK) GetPayload() *GetV1ExternalAccountsOKBody
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
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 ¶
func (o *GetV1ExternalAccountsParams) WithContext(ctx context.Context) *GetV1ExternalAccountsParams
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 ¶
func (o *GetV1ExternalAccountsParams) WithDefaults() *GetV1ExternalAccountsParams
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 ¶
func (o *GetV1ExternalAccountsParams) WithHTTPClient(client *http.Client) *GetV1ExternalAccountsParams
WithHTTPClient adds the HTTPClient to the get v1 external accounts params
func (*GetV1ExternalAccountsParams) WithLimit ¶
func (o *GetV1ExternalAccountsParams) WithLimit(limit *int64) *GetV1ExternalAccountsParams
WithLimit adds the limit to the get v1 external accounts params
func (*GetV1ExternalAccountsParams) WithQuery ¶
func (o *GetV1ExternalAccountsParams) WithQuery(query *int64) *GetV1ExternalAccountsParams
WithQuery adds the query to the get v1 external accounts params
func (*GetV1ExternalAccountsParams) WithTimeout ¶
func (o *GetV1ExternalAccountsParams) WithTimeout(timeout time.Duration) *GetV1ExternalAccountsParams
WithTimeout adds the timeout to the get v1 external accounts params
func (*GetV1ExternalAccountsParams) WithToken ¶
func (o *GetV1ExternalAccountsParams) WithToken(token *string) *GetV1ExternalAccountsParams
WithToken adds the token to the get v1 external accounts params
func (*GetV1ExternalAccountsParams) WriteToRequest ¶
func (o *GetV1ExternalAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *PostV1ExternalAccountsBadRequest) Code() int
Code gets the status code for the post v1 external accounts bad request response
func (*PostV1ExternalAccountsBadRequest) Error ¶ added in v1.3.0
func (o *PostV1ExternalAccountsBadRequest) Error() string
func (*PostV1ExternalAccountsBadRequest) GetPayload ¶ added in v1.3.0
func (o *PostV1ExternalAccountsBadRequest) GetPayload() *models.ErrorResponse
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
func (o *PostV1ExternalAccountsBadRequest) String() string
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 ¶
func (o *PostV1ExternalAccountsCreated) Code() int
Code gets the status code for the post v1 external accounts created response
func (*PostV1ExternalAccountsCreated) Error ¶
func (o *PostV1ExternalAccountsCreated) Error() string
func (*PostV1ExternalAccountsCreated) GetPayload ¶
func (o *PostV1ExternalAccountsCreated) GetPayload() *models.ExternalAccount
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 ¶
func (o *PostV1ExternalAccountsCreated) String() 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 ¶
func (o *PostV1ExternalAccountsParams) WithContext(ctx context.Context) *PostV1ExternalAccountsParams
WithContext adds the context to the post v1 external accounts params
func (*PostV1ExternalAccountsParams) WithDefaults ¶
func (o *PostV1ExternalAccountsParams) WithDefaults() *PostV1ExternalAccountsParams
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 ¶
func (o *PostV1ExternalAccountsParams) WithExternalAccount(externalAccount *models.CreateExternalAccountRequest) *PostV1ExternalAccountsParams
WithExternalAccount adds the externalAccount to the post v1 external accounts params
func (*PostV1ExternalAccountsParams) WithHTTPClient ¶
func (o *PostV1ExternalAccountsParams) WithHTTPClient(client *http.Client) *PostV1ExternalAccountsParams
WithHTTPClient adds the HTTPClient to the post v1 external accounts params
func (*PostV1ExternalAccountsParams) WithTimeout ¶
func (o *PostV1ExternalAccountsParams) WithTimeout(timeout time.Duration) *PostV1ExternalAccountsParams
WithTimeout adds the timeout to the post v1 external accounts params
func (*PostV1ExternalAccountsParams) WriteToRequest ¶
func (o *PostV1ExternalAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *PutV1ExternalAccountsIDBadRequest) Code() int
Code gets the status code for the put v1 external accounts Id bad request response
func (*PutV1ExternalAccountsIDBadRequest) Error ¶ added in v1.3.0
func (o *PutV1ExternalAccountsIDBadRequest) Error() string
func (*PutV1ExternalAccountsIDBadRequest) GetPayload ¶ added in v1.3.0
func (o *PutV1ExternalAccountsIDBadRequest) GetPayload() *models.ErrorResponse
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
func (o *PutV1ExternalAccountsIDBadRequest) String() string
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
func (o *PutV1ExternalAccountsIDConflict) Code() int
Code gets the status code for the put v1 external accounts Id conflict response
func (*PutV1ExternalAccountsIDConflict) Error ¶ added in v1.3.0
func (o *PutV1ExternalAccountsIDConflict) Error() string
func (*PutV1ExternalAccountsIDConflict) GetPayload ¶ added in v1.3.0
func (o *PutV1ExternalAccountsIDConflict) GetPayload() *models.ErrorResponse
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
func (o *PutV1ExternalAccountsIDConflict) String() string
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 (o *PutV1ExternalAccountsIDOK) GetPayload() *models.ExternalAccount
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 ¶
func (o *PutV1ExternalAccountsIDParams) SetID(id string)
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 ¶
func (o *PutV1ExternalAccountsIDParams) WithContext(ctx context.Context) *PutV1ExternalAccountsIDParams
WithContext adds the context to the put v1 external accounts ID params
func (*PutV1ExternalAccountsIDParams) WithDefaults ¶
func (o *PutV1ExternalAccountsIDParams) WithDefaults() *PutV1ExternalAccountsIDParams
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 ¶
func (o *PutV1ExternalAccountsIDParams) WithExternalAccount(externalAccount *models.UpdateExternalAccountRequest) *PutV1ExternalAccountsIDParams
WithExternalAccount adds the externalAccount to the put v1 external accounts ID params
func (*PutV1ExternalAccountsIDParams) WithHTTPClient ¶
func (o *PutV1ExternalAccountsIDParams) WithHTTPClient(client *http.Client) *PutV1ExternalAccountsIDParams
WithHTTPClient adds the HTTPClient to the put v1 external accounts ID params
func (*PutV1ExternalAccountsIDParams) WithID ¶
func (o *PutV1ExternalAccountsIDParams) WithID(id string) *PutV1ExternalAccountsIDParams
WithID adds the id to the put v1 external accounts ID params
func (*PutV1ExternalAccountsIDParams) WithTimeout ¶
func (o *PutV1ExternalAccountsIDParams) WithTimeout(timeout time.Duration) *PutV1ExternalAccountsIDParams
WithTimeout adds the timeout to the put v1 external accounts ID params
func (*PutV1ExternalAccountsIDParams) WriteToRequest ¶
func (o *PutV1ExternalAccountsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- delete_v1_external_accounts_id_parameters.go
- delete_v1_external_accounts_id_responses.go
- external_accounts_client.go
- get_v1_external_accounts_get_by_external_id_external_id_parameters.go
- get_v1_external_accounts_get_by_external_id_external_id_responses.go
- get_v1_external_accounts_id_parameters.go
- get_v1_external_accounts_id_responses.go
- get_v1_external_accounts_parameters.go
- get_v1_external_accounts_responses.go
- post_v1_external_accounts_parameters.go
- post_v1_external_accounts_responses.go
- put_v1_external_accounts_id_parameters.go
- put_v1_external_accounts_id_responses.go