Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteV1CounterpartiesID(params *DeleteV1CounterpartiesIDParams, opts ...ClientOption) (*DeleteV1CounterpartiesIDNoContent, error)
- func (a *Client) GetV1Counterparties(params *GetV1CounterpartiesParams, opts ...ClientOption) (*GetV1CounterpartiesOK, error)
- func (a *Client) GetV1CounterpartiesGetByExternalIDExternalID(params *GetV1CounterpartiesGetByExternalIDExternalIDParams, ...) (*GetV1CounterpartiesGetByExternalIDExternalIDOK, error)
- func (a *Client) GetV1CounterpartiesID(params *GetV1CounterpartiesIDParams, opts ...ClientOption) (*GetV1CounterpartiesIDOK, error)
- func (a *Client) GetV1CounterpartiesIDEvents(params *GetV1CounterpartiesIDEventsParams, opts ...ClientOption) (*GetV1CounterpartiesIDEventsOK, error)
- func (a *Client) PostV1Counterparties(params *PostV1CounterpartiesParams, opts ...ClientOption) (*PostV1CounterpartiesCreated, error)
- func (a *Client) PutV1CounterpartiesID(params *PutV1CounterpartiesIDParams, opts ...ClientOption) (*PutV1CounterpartiesIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1CounterpartiesIDNoContent
- func (o *DeleteV1CounterpartiesIDNoContent) Code() int
- func (o *DeleteV1CounterpartiesIDNoContent) Error() string
- func (o *DeleteV1CounterpartiesIDNoContent) IsClientError() bool
- func (o *DeleteV1CounterpartiesIDNoContent) IsCode(code int) bool
- func (o *DeleteV1CounterpartiesIDNoContent) IsRedirect() bool
- func (o *DeleteV1CounterpartiesIDNoContent) IsServerError() bool
- func (o *DeleteV1CounterpartiesIDNoContent) IsSuccess() bool
- func (o *DeleteV1CounterpartiesIDNoContent) String() string
- type DeleteV1CounterpartiesIDNotFound
- func (o *DeleteV1CounterpartiesIDNotFound) Code() int
- func (o *DeleteV1CounterpartiesIDNotFound) Error() string
- func (o *DeleteV1CounterpartiesIDNotFound) GetPayload() *models.ErrorResponse
- func (o *DeleteV1CounterpartiesIDNotFound) IsClientError() bool
- func (o *DeleteV1CounterpartiesIDNotFound) IsCode(code int) bool
- func (o *DeleteV1CounterpartiesIDNotFound) IsRedirect() bool
- func (o *DeleteV1CounterpartiesIDNotFound) IsServerError() bool
- func (o *DeleteV1CounterpartiesIDNotFound) IsSuccess() bool
- func (o *DeleteV1CounterpartiesIDNotFound) String() string
- type DeleteV1CounterpartiesIDParams
- func NewDeleteV1CounterpartiesIDParams() *DeleteV1CounterpartiesIDParams
- func NewDeleteV1CounterpartiesIDParamsWithContext(ctx context.Context) *DeleteV1CounterpartiesIDParams
- func NewDeleteV1CounterpartiesIDParamsWithHTTPClient(client *http.Client) *DeleteV1CounterpartiesIDParams
- func NewDeleteV1CounterpartiesIDParamsWithTimeout(timeout time.Duration) *DeleteV1CounterpartiesIDParams
- func (o *DeleteV1CounterpartiesIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1CounterpartiesIDParams) SetDefaults()
- func (o *DeleteV1CounterpartiesIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1CounterpartiesIDParams) SetID(id string)
- func (o *DeleteV1CounterpartiesIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1CounterpartiesIDParams) WithContext(ctx context.Context) *DeleteV1CounterpartiesIDParams
- func (o *DeleteV1CounterpartiesIDParams) WithDefaults() *DeleteV1CounterpartiesIDParams
- func (o *DeleteV1CounterpartiesIDParams) WithHTTPClient(client *http.Client) *DeleteV1CounterpartiesIDParams
- func (o *DeleteV1CounterpartiesIDParams) WithID(id string) *DeleteV1CounterpartiesIDParams
- func (o *DeleteV1CounterpartiesIDParams) WithTimeout(timeout time.Duration) *DeleteV1CounterpartiesIDParams
- func (o *DeleteV1CounterpartiesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1CounterpartiesIDReader
- type GetV1CounterpartiesBadRequest
- func (o *GetV1CounterpartiesBadRequest) Code() int
- func (o *GetV1CounterpartiesBadRequest) Error() string
- func (o *GetV1CounterpartiesBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetV1CounterpartiesBadRequest) IsClientError() bool
- func (o *GetV1CounterpartiesBadRequest) IsCode(code int) bool
- func (o *GetV1CounterpartiesBadRequest) IsRedirect() bool
- func (o *GetV1CounterpartiesBadRequest) IsServerError() bool
- func (o *GetV1CounterpartiesBadRequest) IsSuccess() bool
- func (o *GetV1CounterpartiesBadRequest) String() string
- type GetV1CounterpartiesGetByExternalIDExternalIDNotFound
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) Code() int
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) Error() string
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) GetPayload() string
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsClientError() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsCode(code int) bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsRedirect() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsServerError() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsSuccess() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) String() string
- type GetV1CounterpartiesGetByExternalIDExternalIDOK
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) Code() int
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) Error() string
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) GetPayload() *models.Counterparty
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsClientError() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsCode(code int) bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsRedirect() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsServerError() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsSuccess() bool
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) String() string
- type GetV1CounterpartiesGetByExternalIDExternalIDParams
- func NewGetV1CounterpartiesGetByExternalIDExternalIDParams() *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetDefaults()
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetExternalID(externalID string)
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithDefaults() *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesGetByExternalIDExternalIDParams
- func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CounterpartiesGetByExternalIDExternalIDReader
- type GetV1CounterpartiesIDEventsOK
- func (o *GetV1CounterpartiesIDEventsOK) Code() int
- func (o *GetV1CounterpartiesIDEventsOK) Error() string
- func (o *GetV1CounterpartiesIDEventsOK) GetPayload() *GetV1CounterpartiesIDEventsOKBody
- func (o *GetV1CounterpartiesIDEventsOK) IsClientError() bool
- func (o *GetV1CounterpartiesIDEventsOK) IsCode(code int) bool
- func (o *GetV1CounterpartiesIDEventsOK) IsRedirect() bool
- func (o *GetV1CounterpartiesIDEventsOK) IsServerError() bool
- func (o *GetV1CounterpartiesIDEventsOK) IsSuccess() bool
- func (o *GetV1CounterpartiesIDEventsOK) String() string
- type GetV1CounterpartiesIDEventsOKBody
- func (o *GetV1CounterpartiesIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1CounterpartiesIDEventsOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1CounterpartiesIDEventsOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1CounterpartiesIDEventsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1CounterpartiesIDEventsOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1CounterpartiesIDEventsOKBody) Validate(formats strfmt.Registry) error
- type GetV1CounterpartiesIDEventsParams
- func NewGetV1CounterpartiesIDEventsParams() *GetV1CounterpartiesIDEventsParams
- func NewGetV1CounterpartiesIDEventsParamsWithContext(ctx context.Context) *GetV1CounterpartiesIDEventsParams
- func NewGetV1CounterpartiesIDEventsParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesIDEventsParams
- func NewGetV1CounterpartiesIDEventsParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) SetContext(ctx context.Context)
- func (o *GetV1CounterpartiesIDEventsParams) SetDefaults()
- func (o *GetV1CounterpartiesIDEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CounterpartiesIDEventsParams) SetID(id string)
- func (o *GetV1CounterpartiesIDEventsParams) SetLimit(limit *int64)
- func (o *GetV1CounterpartiesIDEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CounterpartiesIDEventsParams) SetToken(token *string)
- func (o *GetV1CounterpartiesIDEventsParams) WithContext(ctx context.Context) *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) WithDefaults() *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) WithID(id string) *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) WithLimit(limit *int64) *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) WithToken(token *string) *GetV1CounterpartiesIDEventsParams
- func (o *GetV1CounterpartiesIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CounterpartiesIDEventsReader
- type GetV1CounterpartiesIDNotFound
- func (o *GetV1CounterpartiesIDNotFound) Code() int
- func (o *GetV1CounterpartiesIDNotFound) Error() string
- func (o *GetV1CounterpartiesIDNotFound) GetPayload() string
- func (o *GetV1CounterpartiesIDNotFound) IsClientError() bool
- func (o *GetV1CounterpartiesIDNotFound) IsCode(code int) bool
- func (o *GetV1CounterpartiesIDNotFound) IsRedirect() bool
- func (o *GetV1CounterpartiesIDNotFound) IsServerError() bool
- func (o *GetV1CounterpartiesIDNotFound) IsSuccess() bool
- func (o *GetV1CounterpartiesIDNotFound) String() string
- type GetV1CounterpartiesIDOK
- func (o *GetV1CounterpartiesIDOK) Code() int
- func (o *GetV1CounterpartiesIDOK) Error() string
- func (o *GetV1CounterpartiesIDOK) GetPayload() *models.Counterparty
- func (o *GetV1CounterpartiesIDOK) IsClientError() bool
- func (o *GetV1CounterpartiesIDOK) IsCode(code int) bool
- func (o *GetV1CounterpartiesIDOK) IsRedirect() bool
- func (o *GetV1CounterpartiesIDOK) IsServerError() bool
- func (o *GetV1CounterpartiesIDOK) IsSuccess() bool
- func (o *GetV1CounterpartiesIDOK) String() string
- type GetV1CounterpartiesIDParams
- func NewGetV1CounterpartiesIDParams() *GetV1CounterpartiesIDParams
- func NewGetV1CounterpartiesIDParamsWithContext(ctx context.Context) *GetV1CounterpartiesIDParams
- func NewGetV1CounterpartiesIDParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesIDParams
- func NewGetV1CounterpartiesIDParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesIDParams
- func (o *GetV1CounterpartiesIDParams) SetContext(ctx context.Context)
- func (o *GetV1CounterpartiesIDParams) SetDefaults()
- func (o *GetV1CounterpartiesIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CounterpartiesIDParams) SetID(id string)
- func (o *GetV1CounterpartiesIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CounterpartiesIDParams) WithContext(ctx context.Context) *GetV1CounterpartiesIDParams
- func (o *GetV1CounterpartiesIDParams) WithDefaults() *GetV1CounterpartiesIDParams
- func (o *GetV1CounterpartiesIDParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesIDParams
- func (o *GetV1CounterpartiesIDParams) WithID(id string) *GetV1CounterpartiesIDParams
- func (o *GetV1CounterpartiesIDParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesIDParams
- func (o *GetV1CounterpartiesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CounterpartiesIDReader
- type GetV1CounterpartiesOK
- func (o *GetV1CounterpartiesOK) Code() int
- func (o *GetV1CounterpartiesOK) Error() string
- func (o *GetV1CounterpartiesOK) GetPayload() *GetV1CounterpartiesOKBody
- func (o *GetV1CounterpartiesOK) IsClientError() bool
- func (o *GetV1CounterpartiesOK) IsCode(code int) bool
- func (o *GetV1CounterpartiesOK) IsRedirect() bool
- func (o *GetV1CounterpartiesOK) IsServerError() bool
- func (o *GetV1CounterpartiesOK) IsSuccess() bool
- func (o *GetV1CounterpartiesOK) String() string
- type GetV1CounterpartiesOKBody
- func (o *GetV1CounterpartiesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1CounterpartiesOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1CounterpartiesOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1CounterpartiesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1CounterpartiesOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1CounterpartiesOKBody) Validate(formats strfmt.Registry) error
- type GetV1CounterpartiesParams
- func NewGetV1CounterpartiesParams() *GetV1CounterpartiesParams
- func NewGetV1CounterpartiesParamsWithContext(ctx context.Context) *GetV1CounterpartiesParams
- func NewGetV1CounterpartiesParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesParams
- func NewGetV1CounterpartiesParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) SetContext(ctx context.Context)
- func (o *GetV1CounterpartiesParams) SetDefaults()
- func (o *GetV1CounterpartiesParams) SetHTTPClient(client *http.Client)
- func (o *GetV1CounterpartiesParams) SetLimit(limit *int64)
- func (o *GetV1CounterpartiesParams) SetQuery(query *int64)
- func (o *GetV1CounterpartiesParams) SetTimeout(timeout time.Duration)
- func (o *GetV1CounterpartiesParams) SetToken(token *string)
- func (o *GetV1CounterpartiesParams) WithContext(ctx context.Context) *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) WithDefaults() *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) WithLimit(limit *int64) *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) WithQuery(query *int64) *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) WithToken(token *string) *GetV1CounterpartiesParams
- func (o *GetV1CounterpartiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1CounterpartiesReader
- type PostV1CounterpartiesBadRequest
- func (o *PostV1CounterpartiesBadRequest) Code() int
- func (o *PostV1CounterpartiesBadRequest) Error() string
- func (o *PostV1CounterpartiesBadRequest) GetPayload() *models.ErrorResponse
- func (o *PostV1CounterpartiesBadRequest) IsClientError() bool
- func (o *PostV1CounterpartiesBadRequest) IsCode(code int) bool
- func (o *PostV1CounterpartiesBadRequest) IsRedirect() bool
- func (o *PostV1CounterpartiesBadRequest) IsServerError() bool
- func (o *PostV1CounterpartiesBadRequest) IsSuccess() bool
- func (o *PostV1CounterpartiesBadRequest) String() string
- type PostV1CounterpartiesCreated
- func (o *PostV1CounterpartiesCreated) Code() int
- func (o *PostV1CounterpartiesCreated) Error() string
- func (o *PostV1CounterpartiesCreated) GetPayload() *models.Counterparty
- func (o *PostV1CounterpartiesCreated) IsClientError() bool
- func (o *PostV1CounterpartiesCreated) IsCode(code int) bool
- func (o *PostV1CounterpartiesCreated) IsRedirect() bool
- func (o *PostV1CounterpartiesCreated) IsServerError() bool
- func (o *PostV1CounterpartiesCreated) IsSuccess() bool
- func (o *PostV1CounterpartiesCreated) String() string
- type PostV1CounterpartiesParams
- func NewPostV1CounterpartiesParams() *PostV1CounterpartiesParams
- func NewPostV1CounterpartiesParamsWithContext(ctx context.Context) *PostV1CounterpartiesParams
- func NewPostV1CounterpartiesParamsWithHTTPClient(client *http.Client) *PostV1CounterpartiesParams
- func NewPostV1CounterpartiesParamsWithTimeout(timeout time.Duration) *PostV1CounterpartiesParams
- func (o *PostV1CounterpartiesParams) SetContext(ctx context.Context)
- func (o *PostV1CounterpartiesParams) SetCounterparty(counterparty *models.CreateCounterpartyRequest)
- func (o *PostV1CounterpartiesParams) SetDefaults()
- func (o *PostV1CounterpartiesParams) SetHTTPClient(client *http.Client)
- func (o *PostV1CounterpartiesParams) SetTimeout(timeout time.Duration)
- func (o *PostV1CounterpartiesParams) WithContext(ctx context.Context) *PostV1CounterpartiesParams
- func (o *PostV1CounterpartiesParams) WithCounterparty(counterparty *models.CreateCounterpartyRequest) *PostV1CounterpartiesParams
- func (o *PostV1CounterpartiesParams) WithDefaults() *PostV1CounterpartiesParams
- func (o *PostV1CounterpartiesParams) WithHTTPClient(client *http.Client) *PostV1CounterpartiesParams
- func (o *PostV1CounterpartiesParams) WithTimeout(timeout time.Duration) *PostV1CounterpartiesParams
- func (o *PostV1CounterpartiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1CounterpartiesReader
- type PutV1CounterpartiesIDBadRequest
- func (o *PutV1CounterpartiesIDBadRequest) Code() int
- func (o *PutV1CounterpartiesIDBadRequest) Error() string
- func (o *PutV1CounterpartiesIDBadRequest) GetPayload() *models.ErrorResponse
- func (o *PutV1CounterpartiesIDBadRequest) IsClientError() bool
- func (o *PutV1CounterpartiesIDBadRequest) IsCode(code int) bool
- func (o *PutV1CounterpartiesIDBadRequest) IsRedirect() bool
- func (o *PutV1CounterpartiesIDBadRequest) IsServerError() bool
- func (o *PutV1CounterpartiesIDBadRequest) IsSuccess() bool
- func (o *PutV1CounterpartiesIDBadRequest) String() string
- type PutV1CounterpartiesIDConflict
- func (o *PutV1CounterpartiesIDConflict) Code() int
- func (o *PutV1CounterpartiesIDConflict) Error() string
- func (o *PutV1CounterpartiesIDConflict) GetPayload() *models.ErrorResponse
- func (o *PutV1CounterpartiesIDConflict) IsClientError() bool
- func (o *PutV1CounterpartiesIDConflict) IsCode(code int) bool
- func (o *PutV1CounterpartiesIDConflict) IsRedirect() bool
- func (o *PutV1CounterpartiesIDConflict) IsServerError() bool
- func (o *PutV1CounterpartiesIDConflict) IsSuccess() bool
- func (o *PutV1CounterpartiesIDConflict) String() string
- type PutV1CounterpartiesIDOK
- func (o *PutV1CounterpartiesIDOK) Code() int
- func (o *PutV1CounterpartiesIDOK) Error() string
- func (o *PutV1CounterpartiesIDOK) GetPayload() *models.Counterparty
- func (o *PutV1CounterpartiesIDOK) IsClientError() bool
- func (o *PutV1CounterpartiesIDOK) IsCode(code int) bool
- func (o *PutV1CounterpartiesIDOK) IsRedirect() bool
- func (o *PutV1CounterpartiesIDOK) IsServerError() bool
- func (o *PutV1CounterpartiesIDOK) IsSuccess() bool
- func (o *PutV1CounterpartiesIDOK) String() string
- type PutV1CounterpartiesIDParams
- func NewPutV1CounterpartiesIDParams() *PutV1CounterpartiesIDParams
- func NewPutV1CounterpartiesIDParamsWithContext(ctx context.Context) *PutV1CounterpartiesIDParams
- func NewPutV1CounterpartiesIDParamsWithHTTPClient(client *http.Client) *PutV1CounterpartiesIDParams
- func NewPutV1CounterpartiesIDParamsWithTimeout(timeout time.Duration) *PutV1CounterpartiesIDParams
- func (o *PutV1CounterpartiesIDParams) SetContext(ctx context.Context)
- func (o *PutV1CounterpartiesIDParams) SetCounterparty(counterparty *models.UpdateCounterpartyRequest)
- func (o *PutV1CounterpartiesIDParams) SetDefaults()
- func (o *PutV1CounterpartiesIDParams) SetHTTPClient(client *http.Client)
- func (o *PutV1CounterpartiesIDParams) SetID(id string)
- func (o *PutV1CounterpartiesIDParams) SetTimeout(timeout time.Duration)
- func (o *PutV1CounterpartiesIDParams) WithContext(ctx context.Context) *PutV1CounterpartiesIDParams
- func (o *PutV1CounterpartiesIDParams) WithCounterparty(counterparty *models.UpdateCounterpartyRequest) *PutV1CounterpartiesIDParams
- func (o *PutV1CounterpartiesIDParams) WithDefaults() *PutV1CounterpartiesIDParams
- func (o *PutV1CounterpartiesIDParams) WithHTTPClient(client *http.Client) *PutV1CounterpartiesIDParams
- func (o *PutV1CounterpartiesIDParams) WithID(id string) *PutV1CounterpartiesIDParams
- func (o *PutV1CounterpartiesIDParams) WithTimeout(timeout time.Duration) *PutV1CounterpartiesIDParams
- func (o *PutV1CounterpartiesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutV1CounterpartiesIDReader
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 counterparties API
func (*Client) DeleteV1CounterpartiesID ¶
func (a *Client) DeleteV1CounterpartiesID(params *DeleteV1CounterpartiesIDParams, opts ...ClientOption) (*DeleteV1CounterpartiesIDNoContent, error)
DeleteV1CounterpartiesID deletes counterparty
Deletes the identified counterparty.
func (*Client) GetV1Counterparties ¶
func (a *Client) GetV1Counterparties(params *GetV1CounterpartiesParams, opts ...ClientOption) (*GetV1CounterpartiesOK, error)
GetV1Counterparties queries counterparties
Returns a list of counterparties. For further details on Pagination, see section above.
func (*Client) GetV1CounterpartiesGetByExternalIDExternalID ¶
func (a *Client) GetV1CounterpartiesGetByExternalIDExternalID(params *GetV1CounterpartiesGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1CounterpartiesGetByExternalIDExternalIDOK, error)
GetV1CounterpartiesGetByExternalIDExternalID reads counterparty by its external Id
Returns the identified counterparty.
func (*Client) GetV1CounterpartiesID ¶
func (a *Client) GetV1CounterpartiesID(params *GetV1CounterpartiesIDParams, opts ...ClientOption) (*GetV1CounterpartiesIDOK, error)
GetV1CounterpartiesID reads counterparty
Returns the identified counterparty
func (*Client) GetV1CounterpartiesIDEvents ¶
func (a *Client) GetV1CounterpartiesIDEvents(params *GetV1CounterpartiesIDEventsParams, opts ...ClientOption) (*GetV1CounterpartiesIDEventsOK, error)
GetV1CounterpartiesIDEvents queries counterparty events
Returns a list of Counterparty events. For further details on Pagination, see the section above.
func (*Client) PostV1Counterparties ¶
func (a *Client) PostV1Counterparties(params *PostV1CounterpartiesParams, opts ...ClientOption) (*PostV1CounterpartiesCreated, error)
PostV1Counterparties creates counterparty
Creates a new counterparty.
func (*Client) PutV1CounterpartiesID ¶
func (a *Client) PutV1CounterpartiesID(params *PutV1CounterpartiesIDParams, opts ...ClientOption) (*PutV1CounterpartiesIDOK, error)
PutV1CounterpartiesID updates counterparty
Updates the identified counterparty. Note that you must supply the full Counterparty object when updating. If a field is omitted in the update request, that is set on the existing object, it will get 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 { DeleteV1CounterpartiesID(params *DeleteV1CounterpartiesIDParams, opts ...ClientOption) (*DeleteV1CounterpartiesIDNoContent, error) GetV1Counterparties(params *GetV1CounterpartiesParams, opts ...ClientOption) (*GetV1CounterpartiesOK, error) GetV1CounterpartiesGetByExternalIDExternalID(params *GetV1CounterpartiesGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1CounterpartiesGetByExternalIDExternalIDOK, error) GetV1CounterpartiesID(params *GetV1CounterpartiesIDParams, opts ...ClientOption) (*GetV1CounterpartiesIDOK, error) GetV1CounterpartiesIDEvents(params *GetV1CounterpartiesIDEventsParams, opts ...ClientOption) (*GetV1CounterpartiesIDEventsOK, error) PostV1Counterparties(params *PostV1CounterpartiesParams, opts ...ClientOption) (*PostV1CounterpartiesCreated, error) PutV1CounterpartiesID(params *PutV1CounterpartiesIDParams, opts ...ClientOption) (*PutV1CounterpartiesIDOK, 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 counterparties API client.
type DeleteV1CounterpartiesIDNoContent ¶
type DeleteV1CounterpartiesIDNoContent struct { }
DeleteV1CounterpartiesIDNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteV1CounterpartiesIDNoContent ¶
func NewDeleteV1CounterpartiesIDNoContent() *DeleteV1CounterpartiesIDNoContent
NewDeleteV1CounterpartiesIDNoContent creates a DeleteV1CounterpartiesIDNoContent with default headers values
func (*DeleteV1CounterpartiesIDNoContent) Code ¶
func (o *DeleteV1CounterpartiesIDNoContent) Code() int
Code gets the status code for the delete v1 counterparties Id no content response
func (*DeleteV1CounterpartiesIDNoContent) Error ¶
func (o *DeleteV1CounterpartiesIDNoContent) Error() string
func (*DeleteV1CounterpartiesIDNoContent) IsClientError ¶
func (o *DeleteV1CounterpartiesIDNoContent) IsClientError() bool
IsClientError returns true when this delete v1 counterparties Id no content response has a 4xx status code
func (*DeleteV1CounterpartiesIDNoContent) IsCode ¶
func (o *DeleteV1CounterpartiesIDNoContent) IsCode(code int) bool
IsCode returns true when this delete v1 counterparties Id no content response a status code equal to that given
func (*DeleteV1CounterpartiesIDNoContent) IsRedirect ¶
func (o *DeleteV1CounterpartiesIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete v1 counterparties Id no content response has a 3xx status code
func (*DeleteV1CounterpartiesIDNoContent) IsServerError ¶
func (o *DeleteV1CounterpartiesIDNoContent) IsServerError() bool
IsServerError returns true when this delete v1 counterparties Id no content response has a 5xx status code
func (*DeleteV1CounterpartiesIDNoContent) IsSuccess ¶
func (o *DeleteV1CounterpartiesIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v1 counterparties Id no content response has a 2xx status code
func (*DeleteV1CounterpartiesIDNoContent) String ¶
func (o *DeleteV1CounterpartiesIDNoContent) String() string
type DeleteV1CounterpartiesIDNotFound ¶
type DeleteV1CounterpartiesIDNotFound struct {
Payload *models.ErrorResponse
}
DeleteV1CounterpartiesIDNotFound describes a response with status code 404, with default header values.
The requested resource was not found
func NewDeleteV1CounterpartiesIDNotFound ¶
func NewDeleteV1CounterpartiesIDNotFound() *DeleteV1CounterpartiesIDNotFound
NewDeleteV1CounterpartiesIDNotFound creates a DeleteV1CounterpartiesIDNotFound with default headers values
func (*DeleteV1CounterpartiesIDNotFound) Code ¶
func (o *DeleteV1CounterpartiesIDNotFound) Code() int
Code gets the status code for the delete v1 counterparties Id not found response
func (*DeleteV1CounterpartiesIDNotFound) Error ¶
func (o *DeleteV1CounterpartiesIDNotFound) Error() string
func (*DeleteV1CounterpartiesIDNotFound) GetPayload ¶
func (o *DeleteV1CounterpartiesIDNotFound) GetPayload() *models.ErrorResponse
func (*DeleteV1CounterpartiesIDNotFound) IsClientError ¶
func (o *DeleteV1CounterpartiesIDNotFound) IsClientError() bool
IsClientError returns true when this delete v1 counterparties Id not found response has a 4xx status code
func (*DeleteV1CounterpartiesIDNotFound) IsCode ¶
func (o *DeleteV1CounterpartiesIDNotFound) IsCode(code int) bool
IsCode returns true when this delete v1 counterparties Id not found response a status code equal to that given
func (*DeleteV1CounterpartiesIDNotFound) IsRedirect ¶
func (o *DeleteV1CounterpartiesIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete v1 counterparties Id not found response has a 3xx status code
func (*DeleteV1CounterpartiesIDNotFound) IsServerError ¶
func (o *DeleteV1CounterpartiesIDNotFound) IsServerError() bool
IsServerError returns true when this delete v1 counterparties Id not found response has a 5xx status code
func (*DeleteV1CounterpartiesIDNotFound) IsSuccess ¶
func (o *DeleteV1CounterpartiesIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete v1 counterparties Id not found response has a 2xx status code
func (*DeleteV1CounterpartiesIDNotFound) String ¶
func (o *DeleteV1CounterpartiesIDNotFound) String() string
type DeleteV1CounterpartiesIDParams ¶
type DeleteV1CounterpartiesIDParams struct { /* ID. Counterparty ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteV1CounterpartiesIDParams contains all the parameters to send to the API endpoint
for the delete v1 counterparties ID operation. Typically these are written to a http.Request.
func NewDeleteV1CounterpartiesIDParams ¶
func NewDeleteV1CounterpartiesIDParams() *DeleteV1CounterpartiesIDParams
NewDeleteV1CounterpartiesIDParams creates a new DeleteV1CounterpartiesIDParams 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 NewDeleteV1CounterpartiesIDParamsWithContext ¶
func NewDeleteV1CounterpartiesIDParamsWithContext(ctx context.Context) *DeleteV1CounterpartiesIDParams
NewDeleteV1CounterpartiesIDParamsWithContext creates a new DeleteV1CounterpartiesIDParams object with the ability to set a context for a request.
func NewDeleteV1CounterpartiesIDParamsWithHTTPClient ¶
func NewDeleteV1CounterpartiesIDParamsWithHTTPClient(client *http.Client) *DeleteV1CounterpartiesIDParams
NewDeleteV1CounterpartiesIDParamsWithHTTPClient creates a new DeleteV1CounterpartiesIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1CounterpartiesIDParamsWithTimeout ¶
func NewDeleteV1CounterpartiesIDParamsWithTimeout(timeout time.Duration) *DeleteV1CounterpartiesIDParams
NewDeleteV1CounterpartiesIDParamsWithTimeout creates a new DeleteV1CounterpartiesIDParams object with the ability to set a timeout on a request.
func (*DeleteV1CounterpartiesIDParams) SetContext ¶
func (o *DeleteV1CounterpartiesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) SetDefaults ¶
func (o *DeleteV1CounterpartiesIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 counterparties ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1CounterpartiesIDParams) SetHTTPClient ¶
func (o *DeleteV1CounterpartiesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) SetID ¶
func (o *DeleteV1CounterpartiesIDParams) SetID(id string)
SetID adds the id to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) SetTimeout ¶
func (o *DeleteV1CounterpartiesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) WithContext ¶
func (o *DeleteV1CounterpartiesIDParams) WithContext(ctx context.Context) *DeleteV1CounterpartiesIDParams
WithContext adds the context to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) WithDefaults ¶
func (o *DeleteV1CounterpartiesIDParams) WithDefaults() *DeleteV1CounterpartiesIDParams
WithDefaults hydrates default values in the delete v1 counterparties ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1CounterpartiesIDParams) WithHTTPClient ¶
func (o *DeleteV1CounterpartiesIDParams) WithHTTPClient(client *http.Client) *DeleteV1CounterpartiesIDParams
WithHTTPClient adds the HTTPClient to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) WithID ¶
func (o *DeleteV1CounterpartiesIDParams) WithID(id string) *DeleteV1CounterpartiesIDParams
WithID adds the id to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) WithTimeout ¶
func (o *DeleteV1CounterpartiesIDParams) WithTimeout(timeout time.Duration) *DeleteV1CounterpartiesIDParams
WithTimeout adds the timeout to the delete v1 counterparties ID params
func (*DeleteV1CounterpartiesIDParams) WriteToRequest ¶
func (o *DeleteV1CounterpartiesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1CounterpartiesIDReader ¶
type DeleteV1CounterpartiesIDReader struct {
// contains filtered or unexported fields
}
DeleteV1CounterpartiesIDReader is a Reader for the DeleteV1CounterpartiesID structure.
func (*DeleteV1CounterpartiesIDReader) ReadResponse ¶
func (o *DeleteV1CounterpartiesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CounterpartiesBadRequest ¶ added in v1.3.0
type GetV1CounterpartiesBadRequest struct {
Payload *models.ErrorResponse
}
GetV1CounterpartiesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetV1CounterpartiesBadRequest ¶ added in v1.3.0
func NewGetV1CounterpartiesBadRequest() *GetV1CounterpartiesBadRequest
NewGetV1CounterpartiesBadRequest creates a GetV1CounterpartiesBadRequest with default headers values
func (*GetV1CounterpartiesBadRequest) Code ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) Code() int
Code gets the status code for the get v1 counterparties bad request response
func (*GetV1CounterpartiesBadRequest) Error ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) Error() string
func (*GetV1CounterpartiesBadRequest) GetPayload ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) GetPayload() *models.ErrorResponse
func (*GetV1CounterpartiesBadRequest) IsClientError ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) IsClientError() bool
IsClientError returns true when this get v1 counterparties bad request response has a 4xx status code
func (*GetV1CounterpartiesBadRequest) IsCode ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) IsCode(code int) bool
IsCode returns true when this get v1 counterparties bad request response a status code equal to that given
func (*GetV1CounterpartiesBadRequest) IsRedirect ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) IsRedirect() bool
IsRedirect returns true when this get v1 counterparties bad request response has a 3xx status code
func (*GetV1CounterpartiesBadRequest) IsServerError ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) IsServerError() bool
IsServerError returns true when this get v1 counterparties bad request response has a 5xx status code
func (*GetV1CounterpartiesBadRequest) IsSuccess ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) IsSuccess() bool
IsSuccess returns true when this get v1 counterparties bad request response has a 2xx status code
func (*GetV1CounterpartiesBadRequest) String ¶ added in v1.3.0
func (o *GetV1CounterpartiesBadRequest) String() string
type GetV1CounterpartiesGetByExternalIDExternalIDNotFound ¶
type GetV1CounterpartiesGetByExternalIDExternalIDNotFound struct {
Payload string
}
GetV1CounterpartiesGetByExternalIDExternalIDNotFound describes a response with status code 404, with default header values.
The identified counterparty doesn't exist.
func NewGetV1CounterpartiesGetByExternalIDExternalIDNotFound ¶
func NewGetV1CounterpartiesGetByExternalIDExternalIDNotFound() *GetV1CounterpartiesGetByExternalIDExternalIDNotFound
NewGetV1CounterpartiesGetByExternalIDExternalIDNotFound creates a GetV1CounterpartiesGetByExternalIDExternalIDNotFound with default headers values
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) Code ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) Code() int
Code gets the status code for the get v1 counterparties get by external Id external Id not found response
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) Error ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) Error() string
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) GetPayload ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) GetPayload() string
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsClientError ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsClientError() bool
IsClientError returns true when this get v1 counterparties get by external Id external Id not found response has a 4xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsCode ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsCode(code int) bool
IsCode returns true when this get v1 counterparties get by external Id external Id not found response a status code equal to that given
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsRedirect ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v1 counterparties get by external Id external Id not found response has a 3xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsServerError ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsServerError() bool
IsServerError returns true when this get v1 counterparties get by external Id external Id not found response has a 5xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsSuccess ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v1 counterparties get by external Id external Id not found response has a 2xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDNotFound) String ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDNotFound) String() string
type GetV1CounterpartiesGetByExternalIDExternalIDOK ¶
type GetV1CounterpartiesGetByExternalIDExternalIDOK struct {
Payload *models.Counterparty
}
GetV1CounterpartiesGetByExternalIDExternalIDOK describes a response with status code 200, with default header values.
The identified counterparty.
func NewGetV1CounterpartiesGetByExternalIDExternalIDOK ¶
func NewGetV1CounterpartiesGetByExternalIDExternalIDOK() *GetV1CounterpartiesGetByExternalIDExternalIDOK
NewGetV1CounterpartiesGetByExternalIDExternalIDOK creates a GetV1CounterpartiesGetByExternalIDExternalIDOK with default headers values
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) Code ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) Code() int
Code gets the status code for the get v1 counterparties get by external Id external Id o k response
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) Error ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) Error() string
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) GetPayload ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) GetPayload() *models.Counterparty
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) IsClientError ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsClientError() bool
IsClientError returns true when this get v1 counterparties get by external Id external Id o k response has a 4xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) IsCode ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsCode(code int) bool
IsCode returns true when this get v1 counterparties get by external Id external Id o k response a status code equal to that given
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) IsRedirect ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 counterparties get by external Id external Id o k response has a 3xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) IsServerError ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsServerError() bool
IsServerError returns true when this get v1 counterparties get by external Id external Id o k response has a 5xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) IsSuccess ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 counterparties get by external Id external Id o k response has a 2xx status code
func (*GetV1CounterpartiesGetByExternalIDExternalIDOK) String ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDOK) String() string
type GetV1CounterpartiesGetByExternalIDExternalIDParams ¶
type GetV1CounterpartiesGetByExternalIDExternalIDParams struct { /* ExternalID. The externalId of the counterparty. Supplied when creating counterparties. */ ExternalID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1CounterpartiesGetByExternalIDExternalIDParams contains all the parameters to send to the API endpoint
for the get v1 counterparties get by external ID external ID operation. Typically these are written to a http.Request.
func NewGetV1CounterpartiesGetByExternalIDExternalIDParams ¶
func NewGetV1CounterpartiesGetByExternalIDExternalIDParams() *GetV1CounterpartiesGetByExternalIDExternalIDParams
NewGetV1CounterpartiesGetByExternalIDExternalIDParams creates a new GetV1CounterpartiesGetByExternalIDExternalIDParams 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 NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithContext ¶
func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1CounterpartiesGetByExternalIDExternalIDParams
NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithContext creates a new GetV1CounterpartiesGetByExternalIDExternalIDParams object with the ability to set a context for a request.
func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithHTTPClient ¶
func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesGetByExternalIDExternalIDParams
NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithHTTPClient creates a new GetV1CounterpartiesGetByExternalIDExternalIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithTimeout ¶
func NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesGetByExternalIDExternalIDParams
NewGetV1CounterpartiesGetByExternalIDExternalIDParamsWithTimeout creates a new GetV1CounterpartiesGetByExternalIDExternalIDParams object with the ability to set a timeout on a request.
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) SetContext ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) SetDefaults ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 counterparties get by external ID external ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) SetExternalID ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetExternalID(externalID string)
SetExternalID adds the externalId to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) SetHTTPClient ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) SetTimeout ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) WithContext ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1CounterpartiesGetByExternalIDExternalIDParams
WithContext adds the context to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) WithDefaults ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithDefaults() *GetV1CounterpartiesGetByExternalIDExternalIDParams
WithDefaults hydrates default values in the get v1 counterparties get by external ID external ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) WithExternalID ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1CounterpartiesGetByExternalIDExternalIDParams
WithExternalID adds the externalID to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) WithHTTPClient ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesGetByExternalIDExternalIDParams
WithHTTPClient adds the HTTPClient to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) WithTimeout ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesGetByExternalIDExternalIDParams
WithTimeout adds the timeout to the get v1 counterparties get by external ID external ID params
func (*GetV1CounterpartiesGetByExternalIDExternalIDParams) WriteToRequest ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CounterpartiesGetByExternalIDExternalIDReader ¶
type GetV1CounterpartiesGetByExternalIDExternalIDReader struct {
// contains filtered or unexported fields
}
GetV1CounterpartiesGetByExternalIDExternalIDReader is a Reader for the GetV1CounterpartiesGetByExternalIDExternalID structure.
func (*GetV1CounterpartiesGetByExternalIDExternalIDReader) ReadResponse ¶
func (o *GetV1CounterpartiesGetByExternalIDExternalIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CounterpartiesIDEventsOK ¶
type GetV1CounterpartiesIDEventsOK struct {
Payload *GetV1CounterpartiesIDEventsOKBody
}
GetV1CounterpartiesIDEventsOK describes a response with status code 200, with default header values.
QueryResponse with a list of Events
func NewGetV1CounterpartiesIDEventsOK ¶
func NewGetV1CounterpartiesIDEventsOK() *GetV1CounterpartiesIDEventsOK
NewGetV1CounterpartiesIDEventsOK creates a GetV1CounterpartiesIDEventsOK with default headers values
func (*GetV1CounterpartiesIDEventsOK) Code ¶
func (o *GetV1CounterpartiesIDEventsOK) Code() int
Code gets the status code for the get v1 counterparties Id events o k response
func (*GetV1CounterpartiesIDEventsOK) Error ¶
func (o *GetV1CounterpartiesIDEventsOK) Error() string
func (*GetV1CounterpartiesIDEventsOK) GetPayload ¶
func (o *GetV1CounterpartiesIDEventsOK) GetPayload() *GetV1CounterpartiesIDEventsOKBody
func (*GetV1CounterpartiesIDEventsOK) IsClientError ¶
func (o *GetV1CounterpartiesIDEventsOK) IsClientError() bool
IsClientError returns true when this get v1 counterparties Id events o k response has a 4xx status code
func (*GetV1CounterpartiesIDEventsOK) IsCode ¶
func (o *GetV1CounterpartiesIDEventsOK) IsCode(code int) bool
IsCode returns true when this get v1 counterparties Id events o k response a status code equal to that given
func (*GetV1CounterpartiesIDEventsOK) IsRedirect ¶
func (o *GetV1CounterpartiesIDEventsOK) IsRedirect() bool
IsRedirect returns true when this get v1 counterparties Id events o k response has a 3xx status code
func (*GetV1CounterpartiesIDEventsOK) IsServerError ¶
func (o *GetV1CounterpartiesIDEventsOK) IsServerError() bool
IsServerError returns true when this get v1 counterparties Id events o k response has a 5xx status code
func (*GetV1CounterpartiesIDEventsOK) IsSuccess ¶
func (o *GetV1CounterpartiesIDEventsOK) IsSuccess() bool
IsSuccess returns true when this get v1 counterparties Id events o k response has a 2xx status code
func (*GetV1CounterpartiesIDEventsOK) String ¶
func (o *GetV1CounterpartiesIDEventsOK) String() string
type GetV1CounterpartiesIDEventsOKBody ¶
type GetV1CounterpartiesIDEventsOKBody struct { models.QueryResponse // items Items []*models.Event `json:"items"` }
GetV1CounterpartiesIDEventsOKBody get v1 counterparties ID events o k body swagger:model GetV1CounterpartiesIDEventsOKBody
func (*GetV1CounterpartiesIDEventsOKBody) ContextValidate ¶
func (o *GetV1CounterpartiesIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get v1 counterparties ID events o k body based on the context it is used
func (*GetV1CounterpartiesIDEventsOKBody) MarshalBinary ¶
func (o *GetV1CounterpartiesIDEventsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetV1CounterpartiesIDEventsOKBody) MarshalJSON ¶
func (o GetV1CounterpartiesIDEventsOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetV1CounterpartiesIDEventsOKBody) UnmarshalBinary ¶
func (o *GetV1CounterpartiesIDEventsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetV1CounterpartiesIDEventsOKBody) UnmarshalJSON ¶
func (o *GetV1CounterpartiesIDEventsOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetV1CounterpartiesIDEventsParams ¶
type GetV1CounterpartiesIDEventsParams struct { /* ID. Counterparty ID */ ID string /* Limit. Limit resulting response list. Defaults to 100. */ Limit *int64 /* Token. If the 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 }
GetV1CounterpartiesIDEventsParams contains all the parameters to send to the API endpoint
for the get v1 counterparties ID events operation. Typically these are written to a http.Request.
func NewGetV1CounterpartiesIDEventsParams ¶
func NewGetV1CounterpartiesIDEventsParams() *GetV1CounterpartiesIDEventsParams
NewGetV1CounterpartiesIDEventsParams creates a new GetV1CounterpartiesIDEventsParams 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 NewGetV1CounterpartiesIDEventsParamsWithContext ¶
func NewGetV1CounterpartiesIDEventsParamsWithContext(ctx context.Context) *GetV1CounterpartiesIDEventsParams
NewGetV1CounterpartiesIDEventsParamsWithContext creates a new GetV1CounterpartiesIDEventsParams object with the ability to set a context for a request.
func NewGetV1CounterpartiesIDEventsParamsWithHTTPClient ¶
func NewGetV1CounterpartiesIDEventsParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesIDEventsParams
NewGetV1CounterpartiesIDEventsParamsWithHTTPClient creates a new GetV1CounterpartiesIDEventsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CounterpartiesIDEventsParamsWithTimeout ¶
func NewGetV1CounterpartiesIDEventsParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesIDEventsParams
NewGetV1CounterpartiesIDEventsParamsWithTimeout creates a new GetV1CounterpartiesIDEventsParams object with the ability to set a timeout on a request.
func (*GetV1CounterpartiesIDEventsParams) SetContext ¶
func (o *GetV1CounterpartiesIDEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) SetDefaults ¶
func (o *GetV1CounterpartiesIDEventsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 counterparties ID events params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesIDEventsParams) SetHTTPClient ¶
func (o *GetV1CounterpartiesIDEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) SetID ¶
func (o *GetV1CounterpartiesIDEventsParams) SetID(id string)
SetID adds the id to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) SetLimit ¶
func (o *GetV1CounterpartiesIDEventsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) SetTimeout ¶
func (o *GetV1CounterpartiesIDEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) SetToken ¶
func (o *GetV1CounterpartiesIDEventsParams) SetToken(token *string)
SetToken adds the token to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) WithContext ¶
func (o *GetV1CounterpartiesIDEventsParams) WithContext(ctx context.Context) *GetV1CounterpartiesIDEventsParams
WithContext adds the context to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) WithDefaults ¶
func (o *GetV1CounterpartiesIDEventsParams) WithDefaults() *GetV1CounterpartiesIDEventsParams
WithDefaults hydrates default values in the get v1 counterparties ID events params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesIDEventsParams) WithHTTPClient ¶
func (o *GetV1CounterpartiesIDEventsParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesIDEventsParams
WithHTTPClient adds the HTTPClient to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) WithID ¶
func (o *GetV1CounterpartiesIDEventsParams) WithID(id string) *GetV1CounterpartiesIDEventsParams
WithID adds the id to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) WithLimit ¶
func (o *GetV1CounterpartiesIDEventsParams) WithLimit(limit *int64) *GetV1CounterpartiesIDEventsParams
WithLimit adds the limit to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) WithTimeout ¶
func (o *GetV1CounterpartiesIDEventsParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesIDEventsParams
WithTimeout adds the timeout to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) WithToken ¶
func (o *GetV1CounterpartiesIDEventsParams) WithToken(token *string) *GetV1CounterpartiesIDEventsParams
WithToken adds the token to the get v1 counterparties ID events params
func (*GetV1CounterpartiesIDEventsParams) WriteToRequest ¶
func (o *GetV1CounterpartiesIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CounterpartiesIDEventsReader ¶
type GetV1CounterpartiesIDEventsReader struct {
// contains filtered or unexported fields
}
GetV1CounterpartiesIDEventsReader is a Reader for the GetV1CounterpartiesIDEvents structure.
func (*GetV1CounterpartiesIDEventsReader) ReadResponse ¶
func (o *GetV1CounterpartiesIDEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CounterpartiesIDNotFound ¶
type GetV1CounterpartiesIDNotFound struct {
Payload string
}
GetV1CounterpartiesIDNotFound describes a response with status code 404, with default header values.
The identified counterparty doesn't exist.
func NewGetV1CounterpartiesIDNotFound ¶
func NewGetV1CounterpartiesIDNotFound() *GetV1CounterpartiesIDNotFound
NewGetV1CounterpartiesIDNotFound creates a GetV1CounterpartiesIDNotFound with default headers values
func (*GetV1CounterpartiesIDNotFound) Code ¶
func (o *GetV1CounterpartiesIDNotFound) Code() int
Code gets the status code for the get v1 counterparties Id not found response
func (*GetV1CounterpartiesIDNotFound) Error ¶
func (o *GetV1CounterpartiesIDNotFound) Error() string
func (*GetV1CounterpartiesIDNotFound) GetPayload ¶
func (o *GetV1CounterpartiesIDNotFound) GetPayload() string
func (*GetV1CounterpartiesIDNotFound) IsClientError ¶
func (o *GetV1CounterpartiesIDNotFound) IsClientError() bool
IsClientError returns true when this get v1 counterparties Id not found response has a 4xx status code
func (*GetV1CounterpartiesIDNotFound) IsCode ¶
func (o *GetV1CounterpartiesIDNotFound) IsCode(code int) bool
IsCode returns true when this get v1 counterparties Id not found response a status code equal to that given
func (*GetV1CounterpartiesIDNotFound) IsRedirect ¶
func (o *GetV1CounterpartiesIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v1 counterparties Id not found response has a 3xx status code
func (*GetV1CounterpartiesIDNotFound) IsServerError ¶
func (o *GetV1CounterpartiesIDNotFound) IsServerError() bool
IsServerError returns true when this get v1 counterparties Id not found response has a 5xx status code
func (*GetV1CounterpartiesIDNotFound) IsSuccess ¶
func (o *GetV1CounterpartiesIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v1 counterparties Id not found response has a 2xx status code
func (*GetV1CounterpartiesIDNotFound) String ¶
func (o *GetV1CounterpartiesIDNotFound) String() string
type GetV1CounterpartiesIDOK ¶
type GetV1CounterpartiesIDOK struct {
Payload *models.Counterparty
}
GetV1CounterpartiesIDOK describes a response with status code 200, with default header values.
The identified counterparty.
func NewGetV1CounterpartiesIDOK ¶
func NewGetV1CounterpartiesIDOK() *GetV1CounterpartiesIDOK
NewGetV1CounterpartiesIDOK creates a GetV1CounterpartiesIDOK with default headers values
func (*GetV1CounterpartiesIDOK) Code ¶
func (o *GetV1CounterpartiesIDOK) Code() int
Code gets the status code for the get v1 counterparties Id o k response
func (*GetV1CounterpartiesIDOK) Error ¶
func (o *GetV1CounterpartiesIDOK) Error() string
func (*GetV1CounterpartiesIDOK) GetPayload ¶
func (o *GetV1CounterpartiesIDOK) GetPayload() *models.Counterparty
func (*GetV1CounterpartiesIDOK) IsClientError ¶
func (o *GetV1CounterpartiesIDOK) IsClientError() bool
IsClientError returns true when this get v1 counterparties Id o k response has a 4xx status code
func (*GetV1CounterpartiesIDOK) IsCode ¶
func (o *GetV1CounterpartiesIDOK) IsCode(code int) bool
IsCode returns true when this get v1 counterparties Id o k response a status code equal to that given
func (*GetV1CounterpartiesIDOK) IsRedirect ¶
func (o *GetV1CounterpartiesIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 counterparties Id o k response has a 3xx status code
func (*GetV1CounterpartiesIDOK) IsServerError ¶
func (o *GetV1CounterpartiesIDOK) IsServerError() bool
IsServerError returns true when this get v1 counterparties Id o k response has a 5xx status code
func (*GetV1CounterpartiesIDOK) IsSuccess ¶
func (o *GetV1CounterpartiesIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 counterparties Id o k response has a 2xx status code
func (*GetV1CounterpartiesIDOK) String ¶
func (o *GetV1CounterpartiesIDOK) String() string
type GetV1CounterpartiesIDParams ¶
type GetV1CounterpartiesIDParams struct { /* ID. Counterparty ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1CounterpartiesIDParams contains all the parameters to send to the API endpoint
for the get v1 counterparties ID operation. Typically these are written to a http.Request.
func NewGetV1CounterpartiesIDParams ¶
func NewGetV1CounterpartiesIDParams() *GetV1CounterpartiesIDParams
NewGetV1CounterpartiesIDParams creates a new GetV1CounterpartiesIDParams 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 NewGetV1CounterpartiesIDParamsWithContext ¶
func NewGetV1CounterpartiesIDParamsWithContext(ctx context.Context) *GetV1CounterpartiesIDParams
NewGetV1CounterpartiesIDParamsWithContext creates a new GetV1CounterpartiesIDParams object with the ability to set a context for a request.
func NewGetV1CounterpartiesIDParamsWithHTTPClient ¶
func NewGetV1CounterpartiesIDParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesIDParams
NewGetV1CounterpartiesIDParamsWithHTTPClient creates a new GetV1CounterpartiesIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CounterpartiesIDParamsWithTimeout ¶
func NewGetV1CounterpartiesIDParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesIDParams
NewGetV1CounterpartiesIDParamsWithTimeout creates a new GetV1CounterpartiesIDParams object with the ability to set a timeout on a request.
func (*GetV1CounterpartiesIDParams) SetContext ¶
func (o *GetV1CounterpartiesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) SetDefaults ¶
func (o *GetV1CounterpartiesIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 counterparties ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesIDParams) SetHTTPClient ¶
func (o *GetV1CounterpartiesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) SetID ¶
func (o *GetV1CounterpartiesIDParams) SetID(id string)
SetID adds the id to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) SetTimeout ¶
func (o *GetV1CounterpartiesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) WithContext ¶
func (o *GetV1CounterpartiesIDParams) WithContext(ctx context.Context) *GetV1CounterpartiesIDParams
WithContext adds the context to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) WithDefaults ¶
func (o *GetV1CounterpartiesIDParams) WithDefaults() *GetV1CounterpartiesIDParams
WithDefaults hydrates default values in the get v1 counterparties ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesIDParams) WithHTTPClient ¶
func (o *GetV1CounterpartiesIDParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesIDParams
WithHTTPClient adds the HTTPClient to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) WithID ¶
func (o *GetV1CounterpartiesIDParams) WithID(id string) *GetV1CounterpartiesIDParams
WithID adds the id to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) WithTimeout ¶
func (o *GetV1CounterpartiesIDParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesIDParams
WithTimeout adds the timeout to the get v1 counterparties ID params
func (*GetV1CounterpartiesIDParams) WriteToRequest ¶
func (o *GetV1CounterpartiesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CounterpartiesIDReader ¶
type GetV1CounterpartiesIDReader struct {
// contains filtered or unexported fields
}
GetV1CounterpartiesIDReader is a Reader for the GetV1CounterpartiesID structure.
func (*GetV1CounterpartiesIDReader) ReadResponse ¶
func (o *GetV1CounterpartiesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1CounterpartiesOK ¶
type GetV1CounterpartiesOK struct {
Payload *GetV1CounterpartiesOKBody
}
GetV1CounterpartiesOK describes a response with status code 200, with default header values.
QueryResponse with list of Counterparties
func NewGetV1CounterpartiesOK ¶
func NewGetV1CounterpartiesOK() *GetV1CounterpartiesOK
NewGetV1CounterpartiesOK creates a GetV1CounterpartiesOK with default headers values
func (*GetV1CounterpartiesOK) Code ¶
func (o *GetV1CounterpartiesOK) Code() int
Code gets the status code for the get v1 counterparties o k response
func (*GetV1CounterpartiesOK) Error ¶
func (o *GetV1CounterpartiesOK) Error() string
func (*GetV1CounterpartiesOK) GetPayload ¶
func (o *GetV1CounterpartiesOK) GetPayload() *GetV1CounterpartiesOKBody
func (*GetV1CounterpartiesOK) IsClientError ¶
func (o *GetV1CounterpartiesOK) IsClientError() bool
IsClientError returns true when this get v1 counterparties o k response has a 4xx status code
func (*GetV1CounterpartiesOK) IsCode ¶
func (o *GetV1CounterpartiesOK) IsCode(code int) bool
IsCode returns true when this get v1 counterparties o k response a status code equal to that given
func (*GetV1CounterpartiesOK) IsRedirect ¶
func (o *GetV1CounterpartiesOK) IsRedirect() bool
IsRedirect returns true when this get v1 counterparties o k response has a 3xx status code
func (*GetV1CounterpartiesOK) IsServerError ¶
func (o *GetV1CounterpartiesOK) IsServerError() bool
IsServerError returns true when this get v1 counterparties o k response has a 5xx status code
func (*GetV1CounterpartiesOK) IsSuccess ¶
func (o *GetV1CounterpartiesOK) IsSuccess() bool
IsSuccess returns true when this get v1 counterparties o k response has a 2xx status code
func (*GetV1CounterpartiesOK) String ¶
func (o *GetV1CounterpartiesOK) String() string
type GetV1CounterpartiesOKBody ¶
type GetV1CounterpartiesOKBody struct { models.QueryResponse // items Items []*models.Counterparty `json:"items"` }
GetV1CounterpartiesOKBody get v1 counterparties o k body swagger:model GetV1CounterpartiesOKBody
func (*GetV1CounterpartiesOKBody) ContextValidate ¶
func (o *GetV1CounterpartiesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get v1 counterparties o k body based on the context it is used
func (*GetV1CounterpartiesOKBody) MarshalBinary ¶
func (o *GetV1CounterpartiesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetV1CounterpartiesOKBody) MarshalJSON ¶
func (o GetV1CounterpartiesOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetV1CounterpartiesOKBody) UnmarshalBinary ¶
func (o *GetV1CounterpartiesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetV1CounterpartiesOKBody) UnmarshalJSON ¶
func (o *GetV1CounterpartiesOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetV1CounterpartiesParams ¶
type GetV1CounterpartiesParams struct { /* Limit. Limit resulting response list. . Defaults to 100. */ Limit *int64 /* Query. Free text search of counterparty names and 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 }
GetV1CounterpartiesParams contains all the parameters to send to the API endpoint
for the get v1 counterparties operation. Typically these are written to a http.Request.
func NewGetV1CounterpartiesParams ¶
func NewGetV1CounterpartiesParams() *GetV1CounterpartiesParams
NewGetV1CounterpartiesParams creates a new GetV1CounterpartiesParams 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 NewGetV1CounterpartiesParamsWithContext ¶
func NewGetV1CounterpartiesParamsWithContext(ctx context.Context) *GetV1CounterpartiesParams
NewGetV1CounterpartiesParamsWithContext creates a new GetV1CounterpartiesParams object with the ability to set a context for a request.
func NewGetV1CounterpartiesParamsWithHTTPClient ¶
func NewGetV1CounterpartiesParamsWithHTTPClient(client *http.Client) *GetV1CounterpartiesParams
NewGetV1CounterpartiesParamsWithHTTPClient creates a new GetV1CounterpartiesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1CounterpartiesParamsWithTimeout ¶
func NewGetV1CounterpartiesParamsWithTimeout(timeout time.Duration) *GetV1CounterpartiesParams
NewGetV1CounterpartiesParamsWithTimeout creates a new GetV1CounterpartiesParams object with the ability to set a timeout on a request.
func (*GetV1CounterpartiesParams) SetContext ¶
func (o *GetV1CounterpartiesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 counterparties params
func (*GetV1CounterpartiesParams) SetDefaults ¶
func (o *GetV1CounterpartiesParams) SetDefaults()
SetDefaults hydrates default values in the get v1 counterparties params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesParams) SetHTTPClient ¶
func (o *GetV1CounterpartiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 counterparties params
func (*GetV1CounterpartiesParams) SetLimit ¶
func (o *GetV1CounterpartiesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get v1 counterparties params
func (*GetV1CounterpartiesParams) SetQuery ¶
func (o *GetV1CounterpartiesParams) SetQuery(query *int64)
SetQuery adds the query to the get v1 counterparties params
func (*GetV1CounterpartiesParams) SetTimeout ¶
func (o *GetV1CounterpartiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 counterparties params
func (*GetV1CounterpartiesParams) SetToken ¶
func (o *GetV1CounterpartiesParams) SetToken(token *string)
SetToken adds the token to the get v1 counterparties params
func (*GetV1CounterpartiesParams) WithContext ¶
func (o *GetV1CounterpartiesParams) WithContext(ctx context.Context) *GetV1CounterpartiesParams
WithContext adds the context to the get v1 counterparties params
func (*GetV1CounterpartiesParams) WithDefaults ¶
func (o *GetV1CounterpartiesParams) WithDefaults() *GetV1CounterpartiesParams
WithDefaults hydrates default values in the get v1 counterparties params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1CounterpartiesParams) WithHTTPClient ¶
func (o *GetV1CounterpartiesParams) WithHTTPClient(client *http.Client) *GetV1CounterpartiesParams
WithHTTPClient adds the HTTPClient to the get v1 counterparties params
func (*GetV1CounterpartiesParams) WithLimit ¶
func (o *GetV1CounterpartiesParams) WithLimit(limit *int64) *GetV1CounterpartiesParams
WithLimit adds the limit to the get v1 counterparties params
func (*GetV1CounterpartiesParams) WithQuery ¶
func (o *GetV1CounterpartiesParams) WithQuery(query *int64) *GetV1CounterpartiesParams
WithQuery adds the query to the get v1 counterparties params
func (*GetV1CounterpartiesParams) WithTimeout ¶
func (o *GetV1CounterpartiesParams) WithTimeout(timeout time.Duration) *GetV1CounterpartiesParams
WithTimeout adds the timeout to the get v1 counterparties params
func (*GetV1CounterpartiesParams) WithToken ¶
func (o *GetV1CounterpartiesParams) WithToken(token *string) *GetV1CounterpartiesParams
WithToken adds the token to the get v1 counterparties params
func (*GetV1CounterpartiesParams) WriteToRequest ¶
func (o *GetV1CounterpartiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1CounterpartiesReader ¶
type GetV1CounterpartiesReader struct {
// contains filtered or unexported fields
}
GetV1CounterpartiesReader is a Reader for the GetV1Counterparties structure.
func (*GetV1CounterpartiesReader) ReadResponse ¶
func (o *GetV1CounterpartiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1CounterpartiesBadRequest ¶ added in v1.3.0
type PostV1CounterpartiesBadRequest struct {
Payload *models.ErrorResponse
}
PostV1CounterpartiesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPostV1CounterpartiesBadRequest ¶ added in v1.3.0
func NewPostV1CounterpartiesBadRequest() *PostV1CounterpartiesBadRequest
NewPostV1CounterpartiesBadRequest creates a PostV1CounterpartiesBadRequest with default headers values
func (*PostV1CounterpartiesBadRequest) Code ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) Code() int
Code gets the status code for the post v1 counterparties bad request response
func (*PostV1CounterpartiesBadRequest) Error ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) Error() string
func (*PostV1CounterpartiesBadRequest) GetPayload ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) GetPayload() *models.ErrorResponse
func (*PostV1CounterpartiesBadRequest) IsClientError ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) IsClientError() bool
IsClientError returns true when this post v1 counterparties bad request response has a 4xx status code
func (*PostV1CounterpartiesBadRequest) IsCode ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) IsCode(code int) bool
IsCode returns true when this post v1 counterparties bad request response a status code equal to that given
func (*PostV1CounterpartiesBadRequest) IsRedirect ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) IsRedirect() bool
IsRedirect returns true when this post v1 counterparties bad request response has a 3xx status code
func (*PostV1CounterpartiesBadRequest) IsServerError ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) IsServerError() bool
IsServerError returns true when this post v1 counterparties bad request response has a 5xx status code
func (*PostV1CounterpartiesBadRequest) IsSuccess ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) IsSuccess() bool
IsSuccess returns true when this post v1 counterparties bad request response has a 2xx status code
func (*PostV1CounterpartiesBadRequest) String ¶ added in v1.3.0
func (o *PostV1CounterpartiesBadRequest) String() string
type PostV1CounterpartiesCreated ¶
type PostV1CounterpartiesCreated struct {
Payload *models.Counterparty
}
PostV1CounterpartiesCreated describes a response with status code 201, with default header values.
The created counterparty
func NewPostV1CounterpartiesCreated ¶
func NewPostV1CounterpartiesCreated() *PostV1CounterpartiesCreated
NewPostV1CounterpartiesCreated creates a PostV1CounterpartiesCreated with default headers values
func (*PostV1CounterpartiesCreated) Code ¶
func (o *PostV1CounterpartiesCreated) Code() int
Code gets the status code for the post v1 counterparties created response
func (*PostV1CounterpartiesCreated) Error ¶
func (o *PostV1CounterpartiesCreated) Error() string
func (*PostV1CounterpartiesCreated) GetPayload ¶
func (o *PostV1CounterpartiesCreated) GetPayload() *models.Counterparty
func (*PostV1CounterpartiesCreated) IsClientError ¶
func (o *PostV1CounterpartiesCreated) IsClientError() bool
IsClientError returns true when this post v1 counterparties created response has a 4xx status code
func (*PostV1CounterpartiesCreated) IsCode ¶
func (o *PostV1CounterpartiesCreated) IsCode(code int) bool
IsCode returns true when this post v1 counterparties created response a status code equal to that given
func (*PostV1CounterpartiesCreated) IsRedirect ¶
func (o *PostV1CounterpartiesCreated) IsRedirect() bool
IsRedirect returns true when this post v1 counterparties created response has a 3xx status code
func (*PostV1CounterpartiesCreated) IsServerError ¶
func (o *PostV1CounterpartiesCreated) IsServerError() bool
IsServerError returns true when this post v1 counterparties created response has a 5xx status code
func (*PostV1CounterpartiesCreated) IsSuccess ¶
func (o *PostV1CounterpartiesCreated) IsSuccess() bool
IsSuccess returns true when this post v1 counterparties created response has a 2xx status code
func (*PostV1CounterpartiesCreated) String ¶
func (o *PostV1CounterpartiesCreated) String() string
type PostV1CounterpartiesParams ¶
type PostV1CounterpartiesParams struct { /* Counterparty. CreateCounterpartyRequest */ Counterparty *models.CreateCounterpartyRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1CounterpartiesParams contains all the parameters to send to the API endpoint
for the post v1 counterparties operation. Typically these are written to a http.Request.
func NewPostV1CounterpartiesParams ¶
func NewPostV1CounterpartiesParams() *PostV1CounterpartiesParams
NewPostV1CounterpartiesParams creates a new PostV1CounterpartiesParams 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 NewPostV1CounterpartiesParamsWithContext ¶
func NewPostV1CounterpartiesParamsWithContext(ctx context.Context) *PostV1CounterpartiesParams
NewPostV1CounterpartiesParamsWithContext creates a new PostV1CounterpartiesParams object with the ability to set a context for a request.
func NewPostV1CounterpartiesParamsWithHTTPClient ¶
func NewPostV1CounterpartiesParamsWithHTTPClient(client *http.Client) *PostV1CounterpartiesParams
NewPostV1CounterpartiesParamsWithHTTPClient creates a new PostV1CounterpartiesParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1CounterpartiesParamsWithTimeout ¶
func NewPostV1CounterpartiesParamsWithTimeout(timeout time.Duration) *PostV1CounterpartiesParams
NewPostV1CounterpartiesParamsWithTimeout creates a new PostV1CounterpartiesParams object with the ability to set a timeout on a request.
func (*PostV1CounterpartiesParams) SetContext ¶
func (o *PostV1CounterpartiesParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 counterparties params
func (*PostV1CounterpartiesParams) SetCounterparty ¶
func (o *PostV1CounterpartiesParams) SetCounterparty(counterparty *models.CreateCounterpartyRequest)
SetCounterparty adds the counterparty to the post v1 counterparties params
func (*PostV1CounterpartiesParams) SetDefaults ¶
func (o *PostV1CounterpartiesParams) SetDefaults()
SetDefaults hydrates default values in the post v1 counterparties params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1CounterpartiesParams) SetHTTPClient ¶
func (o *PostV1CounterpartiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 counterparties params
func (*PostV1CounterpartiesParams) SetTimeout ¶
func (o *PostV1CounterpartiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 counterparties params
func (*PostV1CounterpartiesParams) WithContext ¶
func (o *PostV1CounterpartiesParams) WithContext(ctx context.Context) *PostV1CounterpartiesParams
WithContext adds the context to the post v1 counterparties params
func (*PostV1CounterpartiesParams) WithCounterparty ¶
func (o *PostV1CounterpartiesParams) WithCounterparty(counterparty *models.CreateCounterpartyRequest) *PostV1CounterpartiesParams
WithCounterparty adds the counterparty to the post v1 counterparties params
func (*PostV1CounterpartiesParams) WithDefaults ¶
func (o *PostV1CounterpartiesParams) WithDefaults() *PostV1CounterpartiesParams
WithDefaults hydrates default values in the post v1 counterparties params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1CounterpartiesParams) WithHTTPClient ¶
func (o *PostV1CounterpartiesParams) WithHTTPClient(client *http.Client) *PostV1CounterpartiesParams
WithHTTPClient adds the HTTPClient to the post v1 counterparties params
func (*PostV1CounterpartiesParams) WithTimeout ¶
func (o *PostV1CounterpartiesParams) WithTimeout(timeout time.Duration) *PostV1CounterpartiesParams
WithTimeout adds the timeout to the post v1 counterparties params
func (*PostV1CounterpartiesParams) WriteToRequest ¶
func (o *PostV1CounterpartiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1CounterpartiesReader ¶
type PostV1CounterpartiesReader struct {
// contains filtered or unexported fields
}
PostV1CounterpartiesReader is a Reader for the PostV1Counterparties structure.
func (*PostV1CounterpartiesReader) ReadResponse ¶
func (o *PostV1CounterpartiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutV1CounterpartiesIDBadRequest ¶ added in v1.3.0
type PutV1CounterpartiesIDBadRequest struct {
Payload *models.ErrorResponse
}
PutV1CounterpartiesIDBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPutV1CounterpartiesIDBadRequest ¶ added in v1.3.0
func NewPutV1CounterpartiesIDBadRequest() *PutV1CounterpartiesIDBadRequest
NewPutV1CounterpartiesIDBadRequest creates a PutV1CounterpartiesIDBadRequest with default headers values
func (*PutV1CounterpartiesIDBadRequest) Code ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) Code() int
Code gets the status code for the put v1 counterparties Id bad request response
func (*PutV1CounterpartiesIDBadRequest) Error ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) Error() string
func (*PutV1CounterpartiesIDBadRequest) GetPayload ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) GetPayload() *models.ErrorResponse
func (*PutV1CounterpartiesIDBadRequest) IsClientError ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) IsClientError() bool
IsClientError returns true when this put v1 counterparties Id bad request response has a 4xx status code
func (*PutV1CounterpartiesIDBadRequest) IsCode ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) IsCode(code int) bool
IsCode returns true when this put v1 counterparties Id bad request response a status code equal to that given
func (*PutV1CounterpartiesIDBadRequest) IsRedirect ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) IsRedirect() bool
IsRedirect returns true when this put v1 counterparties Id bad request response has a 3xx status code
func (*PutV1CounterpartiesIDBadRequest) IsServerError ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) IsServerError() bool
IsServerError returns true when this put v1 counterparties Id bad request response has a 5xx status code
func (*PutV1CounterpartiesIDBadRequest) IsSuccess ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) IsSuccess() bool
IsSuccess returns true when this put v1 counterparties Id bad request response has a 2xx status code
func (*PutV1CounterpartiesIDBadRequest) String ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDBadRequest) String() string
type PutV1CounterpartiesIDConflict ¶ added in v1.3.0
type PutV1CounterpartiesIDConflict struct {
Payload *models.ErrorResponse
}
PutV1CounterpartiesIDConflict describes a response with status code 409, with default header values.
Conflict with the current state of the target resource
func NewPutV1CounterpartiesIDConflict ¶ added in v1.3.0
func NewPutV1CounterpartiesIDConflict() *PutV1CounterpartiesIDConflict
NewPutV1CounterpartiesIDConflict creates a PutV1CounterpartiesIDConflict with default headers values
func (*PutV1CounterpartiesIDConflict) Code ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) Code() int
Code gets the status code for the put v1 counterparties Id conflict response
func (*PutV1CounterpartiesIDConflict) Error ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) Error() string
func (*PutV1CounterpartiesIDConflict) GetPayload ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) GetPayload() *models.ErrorResponse
func (*PutV1CounterpartiesIDConflict) IsClientError ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) IsClientError() bool
IsClientError returns true when this put v1 counterparties Id conflict response has a 4xx status code
func (*PutV1CounterpartiesIDConflict) IsCode ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) IsCode(code int) bool
IsCode returns true when this put v1 counterparties Id conflict response a status code equal to that given
func (*PutV1CounterpartiesIDConflict) IsRedirect ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) IsRedirect() bool
IsRedirect returns true when this put v1 counterparties Id conflict response has a 3xx status code
func (*PutV1CounterpartiesIDConflict) IsServerError ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) IsServerError() bool
IsServerError returns true when this put v1 counterparties Id conflict response has a 5xx status code
func (*PutV1CounterpartiesIDConflict) IsSuccess ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) IsSuccess() bool
IsSuccess returns true when this put v1 counterparties Id conflict response has a 2xx status code
func (*PutV1CounterpartiesIDConflict) String ¶ added in v1.3.0
func (o *PutV1CounterpartiesIDConflict) String() string
type PutV1CounterpartiesIDOK ¶
type PutV1CounterpartiesIDOK struct {
Payload *models.Counterparty
}
PutV1CounterpartiesIDOK describes a response with status code 200, with default header values.
The updated counterparty
func NewPutV1CounterpartiesIDOK ¶
func NewPutV1CounterpartiesIDOK() *PutV1CounterpartiesIDOK
NewPutV1CounterpartiesIDOK creates a PutV1CounterpartiesIDOK with default headers values
func (*PutV1CounterpartiesIDOK) Code ¶
func (o *PutV1CounterpartiesIDOK) Code() int
Code gets the status code for the put v1 counterparties Id o k response
func (*PutV1CounterpartiesIDOK) Error ¶
func (o *PutV1CounterpartiesIDOK) Error() string
func (*PutV1CounterpartiesIDOK) GetPayload ¶
func (o *PutV1CounterpartiesIDOK) GetPayload() *models.Counterparty
func (*PutV1CounterpartiesIDOK) IsClientError ¶
func (o *PutV1CounterpartiesIDOK) IsClientError() bool
IsClientError returns true when this put v1 counterparties Id o k response has a 4xx status code
func (*PutV1CounterpartiesIDOK) IsCode ¶
func (o *PutV1CounterpartiesIDOK) IsCode(code int) bool
IsCode returns true when this put v1 counterparties Id o k response a status code equal to that given
func (*PutV1CounterpartiesIDOK) IsRedirect ¶
func (o *PutV1CounterpartiesIDOK) IsRedirect() bool
IsRedirect returns true when this put v1 counterparties Id o k response has a 3xx status code
func (*PutV1CounterpartiesIDOK) IsServerError ¶
func (o *PutV1CounterpartiesIDOK) IsServerError() bool
IsServerError returns true when this put v1 counterparties Id o k response has a 5xx status code
func (*PutV1CounterpartiesIDOK) IsSuccess ¶
func (o *PutV1CounterpartiesIDOK) IsSuccess() bool
IsSuccess returns true when this put v1 counterparties Id o k response has a 2xx status code
func (*PutV1CounterpartiesIDOK) String ¶
func (o *PutV1CounterpartiesIDOK) String() string
type PutV1CounterpartiesIDParams ¶
type PutV1CounterpartiesIDParams struct { /* Counterparty. Counterparty */ Counterparty *models.UpdateCounterpartyRequest /* ID. Counterparty ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutV1CounterpartiesIDParams contains all the parameters to send to the API endpoint
for the put v1 counterparties ID operation. Typically these are written to a http.Request.
func NewPutV1CounterpartiesIDParams ¶
func NewPutV1CounterpartiesIDParams() *PutV1CounterpartiesIDParams
NewPutV1CounterpartiesIDParams creates a new PutV1CounterpartiesIDParams 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 NewPutV1CounterpartiesIDParamsWithContext ¶
func NewPutV1CounterpartiesIDParamsWithContext(ctx context.Context) *PutV1CounterpartiesIDParams
NewPutV1CounterpartiesIDParamsWithContext creates a new PutV1CounterpartiesIDParams object with the ability to set a context for a request.
func NewPutV1CounterpartiesIDParamsWithHTTPClient ¶
func NewPutV1CounterpartiesIDParamsWithHTTPClient(client *http.Client) *PutV1CounterpartiesIDParams
NewPutV1CounterpartiesIDParamsWithHTTPClient creates a new PutV1CounterpartiesIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutV1CounterpartiesIDParamsWithTimeout ¶
func NewPutV1CounterpartiesIDParamsWithTimeout(timeout time.Duration) *PutV1CounterpartiesIDParams
NewPutV1CounterpartiesIDParamsWithTimeout creates a new PutV1CounterpartiesIDParams object with the ability to set a timeout on a request.
func (*PutV1CounterpartiesIDParams) SetContext ¶
func (o *PutV1CounterpartiesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) SetCounterparty ¶
func (o *PutV1CounterpartiesIDParams) SetCounterparty(counterparty *models.UpdateCounterpartyRequest)
SetCounterparty adds the counterparty to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) SetDefaults ¶
func (o *PutV1CounterpartiesIDParams) SetDefaults()
SetDefaults hydrates default values in the put v1 counterparties ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutV1CounterpartiesIDParams) SetHTTPClient ¶
func (o *PutV1CounterpartiesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) SetID ¶
func (o *PutV1CounterpartiesIDParams) SetID(id string)
SetID adds the id to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) SetTimeout ¶
func (o *PutV1CounterpartiesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) WithContext ¶
func (o *PutV1CounterpartiesIDParams) WithContext(ctx context.Context) *PutV1CounterpartiesIDParams
WithContext adds the context to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) WithCounterparty ¶
func (o *PutV1CounterpartiesIDParams) WithCounterparty(counterparty *models.UpdateCounterpartyRequest) *PutV1CounterpartiesIDParams
WithCounterparty adds the counterparty to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) WithDefaults ¶
func (o *PutV1CounterpartiesIDParams) WithDefaults() *PutV1CounterpartiesIDParams
WithDefaults hydrates default values in the put v1 counterparties ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutV1CounterpartiesIDParams) WithHTTPClient ¶
func (o *PutV1CounterpartiesIDParams) WithHTTPClient(client *http.Client) *PutV1CounterpartiesIDParams
WithHTTPClient adds the HTTPClient to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) WithID ¶
func (o *PutV1CounterpartiesIDParams) WithID(id string) *PutV1CounterpartiesIDParams
WithID adds the id to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) WithTimeout ¶
func (o *PutV1CounterpartiesIDParams) WithTimeout(timeout time.Duration) *PutV1CounterpartiesIDParams
WithTimeout adds the timeout to the put v1 counterparties ID params
func (*PutV1CounterpartiesIDParams) WriteToRequest ¶
func (o *PutV1CounterpartiesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutV1CounterpartiesIDReader ¶
type PutV1CounterpartiesIDReader struct {
// contains filtered or unexported fields
}
PutV1CounterpartiesIDReader is a Reader for the PutV1CounterpartiesID structure.
func (*PutV1CounterpartiesIDReader) ReadResponse ¶
func (o *PutV1CounterpartiesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- counterparties_client.go
- delete_v1_counterparties_id_parameters.go
- delete_v1_counterparties_id_responses.go
- get_v1_counterparties_get_by_external_id_external_id_parameters.go
- get_v1_counterparties_get_by_external_id_external_id_responses.go
- get_v1_counterparties_id_events_parameters.go
- get_v1_counterparties_id_events_responses.go
- get_v1_counterparties_id_parameters.go
- get_v1_counterparties_id_responses.go
- get_v1_counterparties_parameters.go
- get_v1_counterparties_responses.go
- post_v1_counterparties_parameters.go
- post_v1_counterparties_responses.go
- put_v1_counterparties_id_parameters.go
- put_v1_counterparties_id_responses.go