Documentation ¶
Index ¶
- type Client
- func (a *Client) GetV1Mandates(params *GetV1MandatesParams, opts ...ClientOption) (*GetV1MandatesOK, error)
- func (a *Client) GetV1MandatesGetByExternalIDExternalID(params *GetV1MandatesGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1MandatesGetByExternalIDExternalIDOK, error)
- func (a *Client) GetV1MandatesID(params *GetV1MandatesIDParams, opts ...ClientOption) (*GetV1MandatesIDOK, error)
- func (a *Client) GetV1MandatesIDEvents(params *GetV1MandatesIDEventsParams, opts ...ClientOption) (*GetV1MandatesIDEventsOK, error)
- func (a *Client) PostV1Mandates(params *PostV1MandatesParams, opts ...ClientOption) (*PostV1MandatesCreated, error)
- func (a *Client) PostV1MandatesIDCancel(params *PostV1MandatesIDCancelParams, opts ...ClientOption) (*PostV1MandatesIDCancelAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetV1MandatesBadRequest
- func (o *GetV1MandatesBadRequest) Code() int
- func (o *GetV1MandatesBadRequest) Error() string
- func (o *GetV1MandatesBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetV1MandatesBadRequest) IsClientError() bool
- func (o *GetV1MandatesBadRequest) IsCode(code int) bool
- func (o *GetV1MandatesBadRequest) IsRedirect() bool
- func (o *GetV1MandatesBadRequest) IsServerError() bool
- func (o *GetV1MandatesBadRequest) IsSuccess() bool
- func (o *GetV1MandatesBadRequest) String() string
- type GetV1MandatesGetByExternalIDExternalIDNotFound
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) Code() int
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) Error() string
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) GetPayload() string
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsClientError() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsCode(code int) bool
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsRedirect() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsServerError() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsSuccess() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) String() string
- type GetV1MandatesGetByExternalIDExternalIDOK
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) Code() int
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) Error() string
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) GetPayload() *models.Mandate
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsClientError() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsCode(code int) bool
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsRedirect() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsServerError() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsSuccess() bool
- func (o *GetV1MandatesGetByExternalIDExternalIDOK) String() string
- type GetV1MandatesGetByExternalIDExternalIDParams
- func NewGetV1MandatesGetByExternalIDExternalIDParams() *GetV1MandatesGetByExternalIDExternalIDParams
- func NewGetV1MandatesGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1MandatesGetByExternalIDExternalIDParams
- func NewGetV1MandatesGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1MandatesGetByExternalIDExternalIDParams
- func NewGetV1MandatesGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1MandatesGetByExternalIDExternalIDParams
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetDefaults()
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetExternalID(externalID string)
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1MandatesGetByExternalIDExternalIDParams
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithDefaults() *GetV1MandatesGetByExternalIDExternalIDParams
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1MandatesGetByExternalIDExternalIDParams
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1MandatesGetByExternalIDExternalIDParams
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1MandatesGetByExternalIDExternalIDParams
- func (o *GetV1MandatesGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MandatesGetByExternalIDExternalIDReader
- type GetV1MandatesIDEventsOK
- func (o *GetV1MandatesIDEventsOK) Code() int
- func (o *GetV1MandatesIDEventsOK) Error() string
- func (o *GetV1MandatesIDEventsOK) GetPayload() *GetV1MandatesIDEventsOKBody
- func (o *GetV1MandatesIDEventsOK) IsClientError() bool
- func (o *GetV1MandatesIDEventsOK) IsCode(code int) bool
- func (o *GetV1MandatesIDEventsOK) IsRedirect() bool
- func (o *GetV1MandatesIDEventsOK) IsServerError() bool
- func (o *GetV1MandatesIDEventsOK) IsSuccess() bool
- func (o *GetV1MandatesIDEventsOK) String() string
- type GetV1MandatesIDEventsOKBody
- func (o *GetV1MandatesIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1MandatesIDEventsOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1MandatesIDEventsOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1MandatesIDEventsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1MandatesIDEventsOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1MandatesIDEventsOKBody) Validate(formats strfmt.Registry) error
- type GetV1MandatesIDEventsParams
- func NewGetV1MandatesIDEventsParams() *GetV1MandatesIDEventsParams
- func NewGetV1MandatesIDEventsParamsWithContext(ctx context.Context) *GetV1MandatesIDEventsParams
- func NewGetV1MandatesIDEventsParamsWithHTTPClient(client *http.Client) *GetV1MandatesIDEventsParams
- func NewGetV1MandatesIDEventsParamsWithTimeout(timeout time.Duration) *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) SetContext(ctx context.Context)
- func (o *GetV1MandatesIDEventsParams) SetDefaults()
- func (o *GetV1MandatesIDEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MandatesIDEventsParams) SetID(id string)
- func (o *GetV1MandatesIDEventsParams) SetLimit(limit *int64)
- func (o *GetV1MandatesIDEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MandatesIDEventsParams) SetToken(token *string)
- func (o *GetV1MandatesIDEventsParams) WithContext(ctx context.Context) *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) WithDefaults() *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) WithHTTPClient(client *http.Client) *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) WithID(id string) *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) WithLimit(limit *int64) *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) WithTimeout(timeout time.Duration) *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) WithToken(token *string) *GetV1MandatesIDEventsParams
- func (o *GetV1MandatesIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MandatesIDEventsReader
- type GetV1MandatesIDNotFound
- func (o *GetV1MandatesIDNotFound) Code() int
- func (o *GetV1MandatesIDNotFound) Error() string
- func (o *GetV1MandatesIDNotFound) GetPayload() string
- func (o *GetV1MandatesIDNotFound) IsClientError() bool
- func (o *GetV1MandatesIDNotFound) IsCode(code int) bool
- func (o *GetV1MandatesIDNotFound) IsRedirect() bool
- func (o *GetV1MandatesIDNotFound) IsServerError() bool
- func (o *GetV1MandatesIDNotFound) IsSuccess() bool
- func (o *GetV1MandatesIDNotFound) String() string
- type GetV1MandatesIDOK
- func (o *GetV1MandatesIDOK) Code() int
- func (o *GetV1MandatesIDOK) Error() string
- func (o *GetV1MandatesIDOK) GetPayload() *models.Mandate
- func (o *GetV1MandatesIDOK) IsClientError() bool
- func (o *GetV1MandatesIDOK) IsCode(code int) bool
- func (o *GetV1MandatesIDOK) IsRedirect() bool
- func (o *GetV1MandatesIDOK) IsServerError() bool
- func (o *GetV1MandatesIDOK) IsSuccess() bool
- func (o *GetV1MandatesIDOK) String() string
- type GetV1MandatesIDParams
- func NewGetV1MandatesIDParams() *GetV1MandatesIDParams
- func NewGetV1MandatesIDParamsWithContext(ctx context.Context) *GetV1MandatesIDParams
- func NewGetV1MandatesIDParamsWithHTTPClient(client *http.Client) *GetV1MandatesIDParams
- func NewGetV1MandatesIDParamsWithTimeout(timeout time.Duration) *GetV1MandatesIDParams
- func (o *GetV1MandatesIDParams) SetContext(ctx context.Context)
- func (o *GetV1MandatesIDParams) SetDefaults()
- func (o *GetV1MandatesIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MandatesIDParams) SetID(id string)
- func (o *GetV1MandatesIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MandatesIDParams) WithContext(ctx context.Context) *GetV1MandatesIDParams
- func (o *GetV1MandatesIDParams) WithDefaults() *GetV1MandatesIDParams
- func (o *GetV1MandatesIDParams) WithHTTPClient(client *http.Client) *GetV1MandatesIDParams
- func (o *GetV1MandatesIDParams) WithID(id string) *GetV1MandatesIDParams
- func (o *GetV1MandatesIDParams) WithTimeout(timeout time.Duration) *GetV1MandatesIDParams
- func (o *GetV1MandatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MandatesIDReader
- type GetV1MandatesOK
- func (o *GetV1MandatesOK) Code() int
- func (o *GetV1MandatesOK) Error() string
- func (o *GetV1MandatesOK) GetPayload() *GetV1MandatesOKBody
- func (o *GetV1MandatesOK) IsClientError() bool
- func (o *GetV1MandatesOK) IsCode(code int) bool
- func (o *GetV1MandatesOK) IsRedirect() bool
- func (o *GetV1MandatesOK) IsServerError() bool
- func (o *GetV1MandatesOK) IsSuccess() bool
- func (o *GetV1MandatesOK) String() string
- type GetV1MandatesOKBody
- func (o *GetV1MandatesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1MandatesOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1MandatesOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1MandatesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1MandatesOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1MandatesOKBody) Validate(formats strfmt.Registry) error
- type GetV1MandatesParams
- func (o *GetV1MandatesParams) SetContext(ctx context.Context)
- func (o *GetV1MandatesParams) SetCounterpartyID(counterpartyID *string)
- func (o *GetV1MandatesParams) SetDefaults()
- func (o *GetV1MandatesParams) SetDirectDebitSchemeType(directDebitSchemeType *string)
- func (o *GetV1MandatesParams) SetExternalAccountID(externalAccountID *string)
- func (o *GetV1MandatesParams) SetHTTPClient(client *http.Client)
- func (o *GetV1MandatesParams) SetLimit(limit *int64)
- func (o *GetV1MandatesParams) SetStatus(status *string)
- func (o *GetV1MandatesParams) SetTimeout(timeout time.Duration)
- func (o *GetV1MandatesParams) SetToken(token *string)
- func (o *GetV1MandatesParams) WithContext(ctx context.Context) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithCounterpartyID(counterpartyID *string) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithDefaults() *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithDirectDebitSchemeType(directDebitSchemeType *string) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithExternalAccountID(externalAccountID *string) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithHTTPClient(client *http.Client) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithLimit(limit *int64) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithStatus(status *string) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithTimeout(timeout time.Duration) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WithToken(token *string) *GetV1MandatesParams
- func (o *GetV1MandatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1MandatesReader
- type PostV1MandatesBadRequest
- func (o *PostV1MandatesBadRequest) Code() int
- func (o *PostV1MandatesBadRequest) Error() string
- func (o *PostV1MandatesBadRequest) GetPayload() *models.ErrorResponse
- func (o *PostV1MandatesBadRequest) IsClientError() bool
- func (o *PostV1MandatesBadRequest) IsCode(code int) bool
- func (o *PostV1MandatesBadRequest) IsRedirect() bool
- func (o *PostV1MandatesBadRequest) IsServerError() bool
- func (o *PostV1MandatesBadRequest) IsSuccess() bool
- func (o *PostV1MandatesBadRequest) String() string
- type PostV1MandatesCreated
- func (o *PostV1MandatesCreated) Code() int
- func (o *PostV1MandatesCreated) Error() string
- func (o *PostV1MandatesCreated) GetPayload() *models.Mandate
- func (o *PostV1MandatesCreated) IsClientError() bool
- func (o *PostV1MandatesCreated) IsCode(code int) bool
- func (o *PostV1MandatesCreated) IsRedirect() bool
- func (o *PostV1MandatesCreated) IsServerError() bool
- func (o *PostV1MandatesCreated) IsSuccess() bool
- func (o *PostV1MandatesCreated) String() string
- type PostV1MandatesIDCancelAccepted
- func (o *PostV1MandatesIDCancelAccepted) Code() int
- func (o *PostV1MandatesIDCancelAccepted) Error() string
- func (o *PostV1MandatesIDCancelAccepted) GetPayload() *models.Mandate
- func (o *PostV1MandatesIDCancelAccepted) IsClientError() bool
- func (o *PostV1MandatesIDCancelAccepted) IsCode(code int) bool
- func (o *PostV1MandatesIDCancelAccepted) IsRedirect() bool
- func (o *PostV1MandatesIDCancelAccepted) IsServerError() bool
- func (o *PostV1MandatesIDCancelAccepted) IsSuccess() bool
- func (o *PostV1MandatesIDCancelAccepted) String() string
- type PostV1MandatesIDCancelNotFound
- func (o *PostV1MandatesIDCancelNotFound) Code() int
- func (o *PostV1MandatesIDCancelNotFound) Error() string
- func (o *PostV1MandatesIDCancelNotFound) GetPayload() string
- func (o *PostV1MandatesIDCancelNotFound) IsClientError() bool
- func (o *PostV1MandatesIDCancelNotFound) IsCode(code int) bool
- func (o *PostV1MandatesIDCancelNotFound) IsRedirect() bool
- func (o *PostV1MandatesIDCancelNotFound) IsServerError() bool
- func (o *PostV1MandatesIDCancelNotFound) IsSuccess() bool
- func (o *PostV1MandatesIDCancelNotFound) String() string
- type PostV1MandatesIDCancelParams
- func NewPostV1MandatesIDCancelParams() *PostV1MandatesIDCancelParams
- func NewPostV1MandatesIDCancelParamsWithContext(ctx context.Context) *PostV1MandatesIDCancelParams
- func NewPostV1MandatesIDCancelParamsWithHTTPClient(client *http.Client) *PostV1MandatesIDCancelParams
- func NewPostV1MandatesIDCancelParamsWithTimeout(timeout time.Duration) *PostV1MandatesIDCancelParams
- func (o *PostV1MandatesIDCancelParams) SetContext(ctx context.Context)
- func (o *PostV1MandatesIDCancelParams) SetDefaults()
- func (o *PostV1MandatesIDCancelParams) SetHTTPClient(client *http.Client)
- func (o *PostV1MandatesIDCancelParams) SetID(id string)
- func (o *PostV1MandatesIDCancelParams) SetIfMatch(ifMatch *string)
- func (o *PostV1MandatesIDCancelParams) SetTimeout(timeout time.Duration)
- func (o *PostV1MandatesIDCancelParams) WithContext(ctx context.Context) *PostV1MandatesIDCancelParams
- func (o *PostV1MandatesIDCancelParams) WithDefaults() *PostV1MandatesIDCancelParams
- func (o *PostV1MandatesIDCancelParams) WithHTTPClient(client *http.Client) *PostV1MandatesIDCancelParams
- func (o *PostV1MandatesIDCancelParams) WithID(id string) *PostV1MandatesIDCancelParams
- func (o *PostV1MandatesIDCancelParams) WithIfMatch(ifMatch *string) *PostV1MandatesIDCancelParams
- func (o *PostV1MandatesIDCancelParams) WithTimeout(timeout time.Duration) *PostV1MandatesIDCancelParams
- func (o *PostV1MandatesIDCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1MandatesIDCancelReader
- type PostV1MandatesParams
- func NewPostV1MandatesParams() *PostV1MandatesParams
- func NewPostV1MandatesParamsWithContext(ctx context.Context) *PostV1MandatesParams
- func NewPostV1MandatesParamsWithHTTPClient(client *http.Client) *PostV1MandatesParams
- func NewPostV1MandatesParamsWithTimeout(timeout time.Duration) *PostV1MandatesParams
- func (o *PostV1MandatesParams) SetContext(ctx context.Context)
- func (o *PostV1MandatesParams) SetDefaults()
- func (o *PostV1MandatesParams) SetHTTPClient(client *http.Client)
- func (o *PostV1MandatesParams) SetMandate(mandate *models.CreateMandateRequest)
- func (o *PostV1MandatesParams) SetTimeout(timeout time.Duration)
- func (o *PostV1MandatesParams) WithContext(ctx context.Context) *PostV1MandatesParams
- func (o *PostV1MandatesParams) WithDefaults() *PostV1MandatesParams
- func (o *PostV1MandatesParams) WithHTTPClient(client *http.Client) *PostV1MandatesParams
- func (o *PostV1MandatesParams) WithMandate(mandate *models.CreateMandateRequest) *PostV1MandatesParams
- func (o *PostV1MandatesParams) WithTimeout(timeout time.Duration) *PostV1MandatesParams
- func (o *PostV1MandatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1MandatesReader
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 mandates API
func (*Client) GetV1Mandates ¶
func (a *Client) GetV1Mandates(params *GetV1MandatesParams, opts ...ClientOption) (*GetV1MandatesOK, error)
GetV1Mandates queries mandates
Returns a list of Mandates. For further details on Pagination, see the section above.
func (*Client) GetV1MandatesGetByExternalIDExternalID ¶
func (a *Client) GetV1MandatesGetByExternalIDExternalID(params *GetV1MandatesGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1MandatesGetByExternalIDExternalIDOK, error)
GetV1MandatesGetByExternalIDExternalID reads mandate by its external Id
Returns the identified Mandate.
func (*Client) GetV1MandatesID ¶
func (a *Client) GetV1MandatesID(params *GetV1MandatesIDParams, opts ...ClientOption) (*GetV1MandatesIDOK, error)
GetV1MandatesID reads mandate
Returns the identified Mandate.
func (*Client) GetV1MandatesIDEvents ¶
func (a *Client) GetV1MandatesIDEvents(params *GetV1MandatesIDEventsParams, opts ...ClientOption) (*GetV1MandatesIDEventsOK, error)
GetV1MandatesIDEvents queries mandate events
Returns a list of Mandate events. For further details on Pagination, see the section above.
func (*Client) PostV1Mandates ¶
func (a *Client) PostV1Mandates(params *PostV1MandatesParams, opts ...ClientOption) (*PostV1MandatesCreated, error)
PostV1Mandates creates mandate
Returns the created Mandate.
func (*Client) PostV1MandatesIDCancel ¶
func (a *Client) PostV1MandatesIDCancel(params *PostV1MandatesIDCancelParams, opts ...ClientOption) (*PostV1MandatesIDCancelAccepted, error)
PostV1MandatesIDCancel cancels mandate
Returns the mandate to be cancelled.
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 { GetV1Mandates(params *GetV1MandatesParams, opts ...ClientOption) (*GetV1MandatesOK, error) GetV1MandatesGetByExternalIDExternalID(params *GetV1MandatesGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1MandatesGetByExternalIDExternalIDOK, error) GetV1MandatesID(params *GetV1MandatesIDParams, opts ...ClientOption) (*GetV1MandatesIDOK, error) GetV1MandatesIDEvents(params *GetV1MandatesIDEventsParams, opts ...ClientOption) (*GetV1MandatesIDEventsOK, error) PostV1Mandates(params *PostV1MandatesParams, opts ...ClientOption) (*PostV1MandatesCreated, error) PostV1MandatesIDCancel(params *PostV1MandatesIDCancelParams, opts ...ClientOption) (*PostV1MandatesIDCancelAccepted, 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 mandates API client.
type GetV1MandatesBadRequest ¶ added in v1.3.0
type GetV1MandatesBadRequest struct {
Payload *models.ErrorResponse
}
GetV1MandatesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetV1MandatesBadRequest ¶ added in v1.3.0
func NewGetV1MandatesBadRequest() *GetV1MandatesBadRequest
NewGetV1MandatesBadRequest creates a GetV1MandatesBadRequest with default headers values
func (*GetV1MandatesBadRequest) Code ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) Code() int
Code gets the status code for the get v1 mandates bad request response
func (*GetV1MandatesBadRequest) Error ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) Error() string
func (*GetV1MandatesBadRequest) GetPayload ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) GetPayload() *models.ErrorResponse
func (*GetV1MandatesBadRequest) IsClientError ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) IsClientError() bool
IsClientError returns true when this get v1 mandates bad request response has a 4xx status code
func (*GetV1MandatesBadRequest) IsCode ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) IsCode(code int) bool
IsCode returns true when this get v1 mandates bad request response a status code equal to that given
func (*GetV1MandatesBadRequest) IsRedirect ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) IsRedirect() bool
IsRedirect returns true when this get v1 mandates bad request response has a 3xx status code
func (*GetV1MandatesBadRequest) IsServerError ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) IsServerError() bool
IsServerError returns true when this get v1 mandates bad request response has a 5xx status code
func (*GetV1MandatesBadRequest) IsSuccess ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) IsSuccess() bool
IsSuccess returns true when this get v1 mandates bad request response has a 2xx status code
func (*GetV1MandatesBadRequest) String ¶ added in v1.3.0
func (o *GetV1MandatesBadRequest) String() string
type GetV1MandatesGetByExternalIDExternalIDNotFound ¶
type GetV1MandatesGetByExternalIDExternalIDNotFound struct {
Payload string
}
GetV1MandatesGetByExternalIDExternalIDNotFound describes a response with status code 404, with default header values.
The identified Mandate doesn't exist.
func NewGetV1MandatesGetByExternalIDExternalIDNotFound ¶
func NewGetV1MandatesGetByExternalIDExternalIDNotFound() *GetV1MandatesGetByExternalIDExternalIDNotFound
NewGetV1MandatesGetByExternalIDExternalIDNotFound creates a GetV1MandatesGetByExternalIDExternalIDNotFound with default headers values
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) Code ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) Code() int
Code gets the status code for the get v1 mandates get by external Id external Id not found response
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) Error ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) Error() string
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) GetPayload ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) GetPayload() string
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) IsClientError ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsClientError() bool
IsClientError returns true when this get v1 mandates get by external Id external Id not found response has a 4xx status code
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) IsCode ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsCode(code int) bool
IsCode returns true when this get v1 mandates get by external Id external Id not found response a status code equal to that given
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) IsRedirect ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v1 mandates get by external Id external Id not found response has a 3xx status code
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) IsServerError ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsServerError() bool
IsServerError returns true when this get v1 mandates get by external Id external Id not found response has a 5xx status code
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) IsSuccess ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v1 mandates get by external Id external Id not found response has a 2xx status code
func (*GetV1MandatesGetByExternalIDExternalIDNotFound) String ¶
func (o *GetV1MandatesGetByExternalIDExternalIDNotFound) String() string
type GetV1MandatesGetByExternalIDExternalIDOK ¶
GetV1MandatesGetByExternalIDExternalIDOK describes a response with status code 200, with default header values.
The identified Mandate.
func NewGetV1MandatesGetByExternalIDExternalIDOK ¶
func NewGetV1MandatesGetByExternalIDExternalIDOK() *GetV1MandatesGetByExternalIDExternalIDOK
NewGetV1MandatesGetByExternalIDExternalIDOK creates a GetV1MandatesGetByExternalIDExternalIDOK with default headers values
func (*GetV1MandatesGetByExternalIDExternalIDOK) Code ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) Code() int
Code gets the status code for the get v1 mandates get by external Id external Id o k response
func (*GetV1MandatesGetByExternalIDExternalIDOK) Error ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) Error() string
func (*GetV1MandatesGetByExternalIDExternalIDOK) GetPayload ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) GetPayload() *models.Mandate
func (*GetV1MandatesGetByExternalIDExternalIDOK) IsClientError ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsClientError() bool
IsClientError returns true when this get v1 mandates get by external Id external Id o k response has a 4xx status code
func (*GetV1MandatesGetByExternalIDExternalIDOK) IsCode ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsCode(code int) bool
IsCode returns true when this get v1 mandates get by external Id external Id o k response a status code equal to that given
func (*GetV1MandatesGetByExternalIDExternalIDOK) IsRedirect ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 mandates get by external Id external Id o k response has a 3xx status code
func (*GetV1MandatesGetByExternalIDExternalIDOK) IsServerError ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsServerError() bool
IsServerError returns true when this get v1 mandates get by external Id external Id o k response has a 5xx status code
func (*GetV1MandatesGetByExternalIDExternalIDOK) IsSuccess ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 mandates get by external Id external Id o k response has a 2xx status code
func (*GetV1MandatesGetByExternalIDExternalIDOK) String ¶
func (o *GetV1MandatesGetByExternalIDExternalIDOK) String() string
type GetV1MandatesGetByExternalIDExternalIDParams ¶
type GetV1MandatesGetByExternalIDExternalIDParams struct { /* ExternalID. The externalId of the Mandate. Supplied when creating the Mandate. */ ExternalID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1MandatesGetByExternalIDExternalIDParams contains all the parameters to send to the API endpoint
for the get v1 mandates get by external ID external ID operation. Typically these are written to a http.Request.
func NewGetV1MandatesGetByExternalIDExternalIDParams ¶
func NewGetV1MandatesGetByExternalIDExternalIDParams() *GetV1MandatesGetByExternalIDExternalIDParams
NewGetV1MandatesGetByExternalIDExternalIDParams creates a new GetV1MandatesGetByExternalIDExternalIDParams 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 NewGetV1MandatesGetByExternalIDExternalIDParamsWithContext ¶
func NewGetV1MandatesGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1MandatesGetByExternalIDExternalIDParams
NewGetV1MandatesGetByExternalIDExternalIDParamsWithContext creates a new GetV1MandatesGetByExternalIDExternalIDParams object with the ability to set a context for a request.
func NewGetV1MandatesGetByExternalIDExternalIDParamsWithHTTPClient ¶
func NewGetV1MandatesGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1MandatesGetByExternalIDExternalIDParams
NewGetV1MandatesGetByExternalIDExternalIDParamsWithHTTPClient creates a new GetV1MandatesGetByExternalIDExternalIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MandatesGetByExternalIDExternalIDParamsWithTimeout ¶
func NewGetV1MandatesGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1MandatesGetByExternalIDExternalIDParams
NewGetV1MandatesGetByExternalIDExternalIDParamsWithTimeout creates a new GetV1MandatesGetByExternalIDExternalIDParams object with the ability to set a timeout on a request.
func (*GetV1MandatesGetByExternalIDExternalIDParams) SetContext ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) SetDefaults ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 mandates get by external ID external ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesGetByExternalIDExternalIDParams) SetExternalID ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetExternalID(externalID string)
SetExternalID adds the externalId to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) SetHTTPClient ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) SetTimeout ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) WithContext ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1MandatesGetByExternalIDExternalIDParams
WithContext adds the context to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) WithDefaults ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithDefaults() *GetV1MandatesGetByExternalIDExternalIDParams
WithDefaults hydrates default values in the get v1 mandates get by external ID external ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesGetByExternalIDExternalIDParams) WithExternalID ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1MandatesGetByExternalIDExternalIDParams
WithExternalID adds the externalID to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) WithHTTPClient ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1MandatesGetByExternalIDExternalIDParams
WithHTTPClient adds the HTTPClient to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) WithTimeout ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1MandatesGetByExternalIDExternalIDParams
WithTimeout adds the timeout to the get v1 mandates get by external ID external ID params
func (*GetV1MandatesGetByExternalIDExternalIDParams) WriteToRequest ¶
func (o *GetV1MandatesGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MandatesGetByExternalIDExternalIDReader ¶
type GetV1MandatesGetByExternalIDExternalIDReader struct {
// contains filtered or unexported fields
}
GetV1MandatesGetByExternalIDExternalIDReader is a Reader for the GetV1MandatesGetByExternalIDExternalID structure.
func (*GetV1MandatesGetByExternalIDExternalIDReader) ReadResponse ¶
func (o *GetV1MandatesGetByExternalIDExternalIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1MandatesIDEventsOK ¶
type GetV1MandatesIDEventsOK struct {
Payload *GetV1MandatesIDEventsOKBody
}
GetV1MandatesIDEventsOK describes a response with status code 200, with default header values.
QueryResponse with a list of Mandate events
func NewGetV1MandatesIDEventsOK ¶
func NewGetV1MandatesIDEventsOK() *GetV1MandatesIDEventsOK
NewGetV1MandatesIDEventsOK creates a GetV1MandatesIDEventsOK with default headers values
func (*GetV1MandatesIDEventsOK) Code ¶
func (o *GetV1MandatesIDEventsOK) Code() int
Code gets the status code for the get v1 mandates Id events o k response
func (*GetV1MandatesIDEventsOK) Error ¶
func (o *GetV1MandatesIDEventsOK) Error() string
func (*GetV1MandatesIDEventsOK) GetPayload ¶
func (o *GetV1MandatesIDEventsOK) GetPayload() *GetV1MandatesIDEventsOKBody
func (*GetV1MandatesIDEventsOK) IsClientError ¶
func (o *GetV1MandatesIDEventsOK) IsClientError() bool
IsClientError returns true when this get v1 mandates Id events o k response has a 4xx status code
func (*GetV1MandatesIDEventsOK) IsCode ¶
func (o *GetV1MandatesIDEventsOK) IsCode(code int) bool
IsCode returns true when this get v1 mandates Id events o k response a status code equal to that given
func (*GetV1MandatesIDEventsOK) IsRedirect ¶
func (o *GetV1MandatesIDEventsOK) IsRedirect() bool
IsRedirect returns true when this get v1 mandates Id events o k response has a 3xx status code
func (*GetV1MandatesIDEventsOK) IsServerError ¶
func (o *GetV1MandatesIDEventsOK) IsServerError() bool
IsServerError returns true when this get v1 mandates Id events o k response has a 5xx status code
func (*GetV1MandatesIDEventsOK) IsSuccess ¶
func (o *GetV1MandatesIDEventsOK) IsSuccess() bool
IsSuccess returns true when this get v1 mandates Id events o k response has a 2xx status code
func (*GetV1MandatesIDEventsOK) String ¶
func (o *GetV1MandatesIDEventsOK) String() string
type GetV1MandatesIDEventsOKBody ¶
type GetV1MandatesIDEventsOKBody struct { models.QueryResponse // items Items []*models.Event `json:"items"` }
GetV1MandatesIDEventsOKBody get v1 mandates ID events o k body swagger:model GetV1MandatesIDEventsOKBody
func (*GetV1MandatesIDEventsOKBody) ContextValidate ¶
func (o *GetV1MandatesIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get v1 mandates ID events o k body based on the context it is used
func (*GetV1MandatesIDEventsOKBody) MarshalBinary ¶
func (o *GetV1MandatesIDEventsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetV1MandatesIDEventsOKBody) MarshalJSON ¶
func (o GetV1MandatesIDEventsOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetV1MandatesIDEventsOKBody) UnmarshalBinary ¶
func (o *GetV1MandatesIDEventsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetV1MandatesIDEventsOKBody) UnmarshalJSON ¶
func (o *GetV1MandatesIDEventsOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetV1MandatesIDEventsParams ¶
type GetV1MandatesIDEventsParams struct { /* ID. Mandate ID */ ID string /* Limit. Limit resulting response list.Value must be between 1 and 500 (higher values will be coerced down to 500). Defaults to 100. */ Limit *int64 /* 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 }
GetV1MandatesIDEventsParams contains all the parameters to send to the API endpoint
for the get v1 mandates ID events operation. Typically these are written to a http.Request.
func NewGetV1MandatesIDEventsParams ¶
func NewGetV1MandatesIDEventsParams() *GetV1MandatesIDEventsParams
NewGetV1MandatesIDEventsParams creates a new GetV1MandatesIDEventsParams 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 NewGetV1MandatesIDEventsParamsWithContext ¶
func NewGetV1MandatesIDEventsParamsWithContext(ctx context.Context) *GetV1MandatesIDEventsParams
NewGetV1MandatesIDEventsParamsWithContext creates a new GetV1MandatesIDEventsParams object with the ability to set a context for a request.
func NewGetV1MandatesIDEventsParamsWithHTTPClient ¶
func NewGetV1MandatesIDEventsParamsWithHTTPClient(client *http.Client) *GetV1MandatesIDEventsParams
NewGetV1MandatesIDEventsParamsWithHTTPClient creates a new GetV1MandatesIDEventsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MandatesIDEventsParamsWithTimeout ¶
func NewGetV1MandatesIDEventsParamsWithTimeout(timeout time.Duration) *GetV1MandatesIDEventsParams
NewGetV1MandatesIDEventsParamsWithTimeout creates a new GetV1MandatesIDEventsParams object with the ability to set a timeout on a request.
func (*GetV1MandatesIDEventsParams) SetContext ¶
func (o *GetV1MandatesIDEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) SetDefaults ¶
func (o *GetV1MandatesIDEventsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 mandates ID events params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesIDEventsParams) SetHTTPClient ¶
func (o *GetV1MandatesIDEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) SetID ¶
func (o *GetV1MandatesIDEventsParams) SetID(id string)
SetID adds the id to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) SetLimit ¶
func (o *GetV1MandatesIDEventsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) SetTimeout ¶
func (o *GetV1MandatesIDEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) SetToken ¶
func (o *GetV1MandatesIDEventsParams) SetToken(token *string)
SetToken adds the token to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) WithContext ¶
func (o *GetV1MandatesIDEventsParams) WithContext(ctx context.Context) *GetV1MandatesIDEventsParams
WithContext adds the context to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) WithDefaults ¶
func (o *GetV1MandatesIDEventsParams) WithDefaults() *GetV1MandatesIDEventsParams
WithDefaults hydrates default values in the get v1 mandates ID events params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesIDEventsParams) WithHTTPClient ¶
func (o *GetV1MandatesIDEventsParams) WithHTTPClient(client *http.Client) *GetV1MandatesIDEventsParams
WithHTTPClient adds the HTTPClient to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) WithID ¶
func (o *GetV1MandatesIDEventsParams) WithID(id string) *GetV1MandatesIDEventsParams
WithID adds the id to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) WithLimit ¶
func (o *GetV1MandatesIDEventsParams) WithLimit(limit *int64) *GetV1MandatesIDEventsParams
WithLimit adds the limit to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) WithTimeout ¶
func (o *GetV1MandatesIDEventsParams) WithTimeout(timeout time.Duration) *GetV1MandatesIDEventsParams
WithTimeout adds the timeout to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) WithToken ¶
func (o *GetV1MandatesIDEventsParams) WithToken(token *string) *GetV1MandatesIDEventsParams
WithToken adds the token to the get v1 mandates ID events params
func (*GetV1MandatesIDEventsParams) WriteToRequest ¶
func (o *GetV1MandatesIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MandatesIDEventsReader ¶
type GetV1MandatesIDEventsReader struct {
// contains filtered or unexported fields
}
GetV1MandatesIDEventsReader is a Reader for the GetV1MandatesIDEvents structure.
func (*GetV1MandatesIDEventsReader) ReadResponse ¶
func (o *GetV1MandatesIDEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1MandatesIDNotFound ¶
type GetV1MandatesIDNotFound struct {
Payload string
}
GetV1MandatesIDNotFound describes a response with status code 404, with default header values.
The identified Mandate doesn't exist
func NewGetV1MandatesIDNotFound ¶
func NewGetV1MandatesIDNotFound() *GetV1MandatesIDNotFound
NewGetV1MandatesIDNotFound creates a GetV1MandatesIDNotFound with default headers values
func (*GetV1MandatesIDNotFound) Code ¶
func (o *GetV1MandatesIDNotFound) Code() int
Code gets the status code for the get v1 mandates Id not found response
func (*GetV1MandatesIDNotFound) Error ¶
func (o *GetV1MandatesIDNotFound) Error() string
func (*GetV1MandatesIDNotFound) GetPayload ¶
func (o *GetV1MandatesIDNotFound) GetPayload() string
func (*GetV1MandatesIDNotFound) IsClientError ¶
func (o *GetV1MandatesIDNotFound) IsClientError() bool
IsClientError returns true when this get v1 mandates Id not found response has a 4xx status code
func (*GetV1MandatesIDNotFound) IsCode ¶
func (o *GetV1MandatesIDNotFound) IsCode(code int) bool
IsCode returns true when this get v1 mandates Id not found response a status code equal to that given
func (*GetV1MandatesIDNotFound) IsRedirect ¶
func (o *GetV1MandatesIDNotFound) IsRedirect() bool
IsRedirect returns true when this get v1 mandates Id not found response has a 3xx status code
func (*GetV1MandatesIDNotFound) IsServerError ¶
func (o *GetV1MandatesIDNotFound) IsServerError() bool
IsServerError returns true when this get v1 mandates Id not found response has a 5xx status code
func (*GetV1MandatesIDNotFound) IsSuccess ¶
func (o *GetV1MandatesIDNotFound) IsSuccess() bool
IsSuccess returns true when this get v1 mandates Id not found response has a 2xx status code
func (*GetV1MandatesIDNotFound) String ¶
func (o *GetV1MandatesIDNotFound) String() string
type GetV1MandatesIDOK ¶
GetV1MandatesIDOK describes a response with status code 200, with default header values.
The identified Mandate
func NewGetV1MandatesIDOK ¶
func NewGetV1MandatesIDOK() *GetV1MandatesIDOK
NewGetV1MandatesIDOK creates a GetV1MandatesIDOK with default headers values
func (*GetV1MandatesIDOK) Code ¶
func (o *GetV1MandatesIDOK) Code() int
Code gets the status code for the get v1 mandates Id o k response
func (*GetV1MandatesIDOK) Error ¶
func (o *GetV1MandatesIDOK) Error() string
func (*GetV1MandatesIDOK) GetPayload ¶
func (o *GetV1MandatesIDOK) GetPayload() *models.Mandate
func (*GetV1MandatesIDOK) IsClientError ¶
func (o *GetV1MandatesIDOK) IsClientError() bool
IsClientError returns true when this get v1 mandates Id o k response has a 4xx status code
func (*GetV1MandatesIDOK) IsCode ¶
func (o *GetV1MandatesIDOK) IsCode(code int) bool
IsCode returns true when this get v1 mandates Id o k response a status code equal to that given
func (*GetV1MandatesIDOK) IsRedirect ¶
func (o *GetV1MandatesIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 mandates Id o k response has a 3xx status code
func (*GetV1MandatesIDOK) IsServerError ¶
func (o *GetV1MandatesIDOK) IsServerError() bool
IsServerError returns true when this get v1 mandates Id o k response has a 5xx status code
func (*GetV1MandatesIDOK) IsSuccess ¶
func (o *GetV1MandatesIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 mandates Id o k response has a 2xx status code
func (*GetV1MandatesIDOK) String ¶
func (o *GetV1MandatesIDOK) String() string
type GetV1MandatesIDParams ¶
type GetV1MandatesIDParams struct { /* ID. Mandate ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetV1MandatesIDParams contains all the parameters to send to the API endpoint
for the get v1 mandates ID operation. Typically these are written to a http.Request.
func NewGetV1MandatesIDParams ¶
func NewGetV1MandatesIDParams() *GetV1MandatesIDParams
NewGetV1MandatesIDParams creates a new GetV1MandatesIDParams 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 NewGetV1MandatesIDParamsWithContext ¶
func NewGetV1MandatesIDParamsWithContext(ctx context.Context) *GetV1MandatesIDParams
NewGetV1MandatesIDParamsWithContext creates a new GetV1MandatesIDParams object with the ability to set a context for a request.
func NewGetV1MandatesIDParamsWithHTTPClient ¶
func NewGetV1MandatesIDParamsWithHTTPClient(client *http.Client) *GetV1MandatesIDParams
NewGetV1MandatesIDParamsWithHTTPClient creates a new GetV1MandatesIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MandatesIDParamsWithTimeout ¶
func NewGetV1MandatesIDParamsWithTimeout(timeout time.Duration) *GetV1MandatesIDParams
NewGetV1MandatesIDParamsWithTimeout creates a new GetV1MandatesIDParams object with the ability to set a timeout on a request.
func (*GetV1MandatesIDParams) SetContext ¶
func (o *GetV1MandatesIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 mandates ID params
func (*GetV1MandatesIDParams) SetDefaults ¶
func (o *GetV1MandatesIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 mandates ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesIDParams) SetHTTPClient ¶
func (o *GetV1MandatesIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 mandates ID params
func (*GetV1MandatesIDParams) SetID ¶
func (o *GetV1MandatesIDParams) SetID(id string)
SetID adds the id to the get v1 mandates ID params
func (*GetV1MandatesIDParams) SetTimeout ¶
func (o *GetV1MandatesIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 mandates ID params
func (*GetV1MandatesIDParams) WithContext ¶
func (o *GetV1MandatesIDParams) WithContext(ctx context.Context) *GetV1MandatesIDParams
WithContext adds the context to the get v1 mandates ID params
func (*GetV1MandatesIDParams) WithDefaults ¶
func (o *GetV1MandatesIDParams) WithDefaults() *GetV1MandatesIDParams
WithDefaults hydrates default values in the get v1 mandates ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesIDParams) WithHTTPClient ¶
func (o *GetV1MandatesIDParams) WithHTTPClient(client *http.Client) *GetV1MandatesIDParams
WithHTTPClient adds the HTTPClient to the get v1 mandates ID params
func (*GetV1MandatesIDParams) WithID ¶
func (o *GetV1MandatesIDParams) WithID(id string) *GetV1MandatesIDParams
WithID adds the id to the get v1 mandates ID params
func (*GetV1MandatesIDParams) WithTimeout ¶
func (o *GetV1MandatesIDParams) WithTimeout(timeout time.Duration) *GetV1MandatesIDParams
WithTimeout adds the timeout to the get v1 mandates ID params
func (*GetV1MandatesIDParams) WriteToRequest ¶
func (o *GetV1MandatesIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MandatesIDReader ¶
type GetV1MandatesIDReader struct {
// contains filtered or unexported fields
}
GetV1MandatesIDReader is a Reader for the GetV1MandatesID structure.
func (*GetV1MandatesIDReader) ReadResponse ¶
func (o *GetV1MandatesIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1MandatesOK ¶
type GetV1MandatesOK struct {
Payload *GetV1MandatesOKBody
}
GetV1MandatesOK describes a response with status code 200, with default header values.
QueryResponse with list of Mandates
func NewGetV1MandatesOK ¶
func NewGetV1MandatesOK() *GetV1MandatesOK
NewGetV1MandatesOK creates a GetV1MandatesOK with default headers values
func (*GetV1MandatesOK) Code ¶
func (o *GetV1MandatesOK) Code() int
Code gets the status code for the get v1 mandates o k response
func (*GetV1MandatesOK) Error ¶
func (o *GetV1MandatesOK) Error() string
func (*GetV1MandatesOK) GetPayload ¶
func (o *GetV1MandatesOK) GetPayload() *GetV1MandatesOKBody
func (*GetV1MandatesOK) IsClientError ¶
func (o *GetV1MandatesOK) IsClientError() bool
IsClientError returns true when this get v1 mandates o k response has a 4xx status code
func (*GetV1MandatesOK) IsCode ¶
func (o *GetV1MandatesOK) IsCode(code int) bool
IsCode returns true when this get v1 mandates o k response a status code equal to that given
func (*GetV1MandatesOK) IsRedirect ¶
func (o *GetV1MandatesOK) IsRedirect() bool
IsRedirect returns true when this get v1 mandates o k response has a 3xx status code
func (*GetV1MandatesOK) IsServerError ¶
func (o *GetV1MandatesOK) IsServerError() bool
IsServerError returns true when this get v1 mandates o k response has a 5xx status code
func (*GetV1MandatesOK) IsSuccess ¶
func (o *GetV1MandatesOK) IsSuccess() bool
IsSuccess returns true when this get v1 mandates o k response has a 2xx status code
func (*GetV1MandatesOK) String ¶
func (o *GetV1MandatesOK) String() string
type GetV1MandatesOKBody ¶
type GetV1MandatesOKBody struct { models.QueryResponse // items Items []*models.Mandate `json:"items"` }
GetV1MandatesOKBody get v1 mandates o k body swagger:model GetV1MandatesOKBody
func (*GetV1MandatesOKBody) ContextValidate ¶
ContextValidate validate this get v1 mandates o k body based on the context it is used
func (*GetV1MandatesOKBody) MarshalBinary ¶
func (o *GetV1MandatesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetV1MandatesOKBody) MarshalJSON ¶
func (o GetV1MandatesOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetV1MandatesOKBody) UnmarshalBinary ¶
func (o *GetV1MandatesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetV1MandatesOKBody) UnmarshalJSON ¶
func (o *GetV1MandatesOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetV1MandatesParams ¶
type GetV1MandatesParams struct { /* CounterpartyID. Filters out mandates for the given counterparty ID. */ CounterpartyID *string /* DirectDebitSchemeType. Filters out mandates of the given scheme type. */ DirectDebitSchemeType *string /* ExternalAccountID. Filters out mandates for the given external account ID. */ ExternalAccountID *string /* Limit. Limit resulting response list. Default: 100 */ Limit *int64 /* Status. Filters out mandates with the given status. */ Status *string /* 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 }
GetV1MandatesParams contains all the parameters to send to the API endpoint
for the get v1 mandates operation. Typically these are written to a http.Request.
func NewGetV1MandatesParams ¶
func NewGetV1MandatesParams() *GetV1MandatesParams
NewGetV1MandatesParams creates a new GetV1MandatesParams 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 NewGetV1MandatesParamsWithContext ¶
func NewGetV1MandatesParamsWithContext(ctx context.Context) *GetV1MandatesParams
NewGetV1MandatesParamsWithContext creates a new GetV1MandatesParams object with the ability to set a context for a request.
func NewGetV1MandatesParamsWithHTTPClient ¶
func NewGetV1MandatesParamsWithHTTPClient(client *http.Client) *GetV1MandatesParams
NewGetV1MandatesParamsWithHTTPClient creates a new GetV1MandatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1MandatesParamsWithTimeout ¶
func NewGetV1MandatesParamsWithTimeout(timeout time.Duration) *GetV1MandatesParams
NewGetV1MandatesParamsWithTimeout creates a new GetV1MandatesParams object with the ability to set a timeout on a request.
func (*GetV1MandatesParams) SetContext ¶
func (o *GetV1MandatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 mandates params
func (*GetV1MandatesParams) SetCounterpartyID ¶
func (o *GetV1MandatesParams) SetCounterpartyID(counterpartyID *string)
SetCounterpartyID adds the counterpartyId to the get v1 mandates params
func (*GetV1MandatesParams) SetDefaults ¶
func (o *GetV1MandatesParams) SetDefaults()
SetDefaults hydrates default values in the get v1 mandates params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesParams) SetDirectDebitSchemeType ¶
func (o *GetV1MandatesParams) SetDirectDebitSchemeType(directDebitSchemeType *string)
SetDirectDebitSchemeType adds the directDebitSchemeType to the get v1 mandates params
func (*GetV1MandatesParams) SetExternalAccountID ¶
func (o *GetV1MandatesParams) SetExternalAccountID(externalAccountID *string)
SetExternalAccountID adds the externalAccountId to the get v1 mandates params
func (*GetV1MandatesParams) SetHTTPClient ¶
func (o *GetV1MandatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 mandates params
func (*GetV1MandatesParams) SetLimit ¶
func (o *GetV1MandatesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get v1 mandates params
func (*GetV1MandatesParams) SetStatus ¶
func (o *GetV1MandatesParams) SetStatus(status *string)
SetStatus adds the status to the get v1 mandates params
func (*GetV1MandatesParams) SetTimeout ¶
func (o *GetV1MandatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 mandates params
func (*GetV1MandatesParams) SetToken ¶
func (o *GetV1MandatesParams) SetToken(token *string)
SetToken adds the token to the get v1 mandates params
func (*GetV1MandatesParams) WithContext ¶
func (o *GetV1MandatesParams) WithContext(ctx context.Context) *GetV1MandatesParams
WithContext adds the context to the get v1 mandates params
func (*GetV1MandatesParams) WithCounterpartyID ¶
func (o *GetV1MandatesParams) WithCounterpartyID(counterpartyID *string) *GetV1MandatesParams
WithCounterpartyID adds the counterpartyID to the get v1 mandates params
func (*GetV1MandatesParams) WithDefaults ¶
func (o *GetV1MandatesParams) WithDefaults() *GetV1MandatesParams
WithDefaults hydrates default values in the get v1 mandates params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1MandatesParams) WithDirectDebitSchemeType ¶
func (o *GetV1MandatesParams) WithDirectDebitSchemeType(directDebitSchemeType *string) *GetV1MandatesParams
WithDirectDebitSchemeType adds the directDebitSchemeType to the get v1 mandates params
func (*GetV1MandatesParams) WithExternalAccountID ¶
func (o *GetV1MandatesParams) WithExternalAccountID(externalAccountID *string) *GetV1MandatesParams
WithExternalAccountID adds the externalAccountID to the get v1 mandates params
func (*GetV1MandatesParams) WithHTTPClient ¶
func (o *GetV1MandatesParams) WithHTTPClient(client *http.Client) *GetV1MandatesParams
WithHTTPClient adds the HTTPClient to the get v1 mandates params
func (*GetV1MandatesParams) WithLimit ¶
func (o *GetV1MandatesParams) WithLimit(limit *int64) *GetV1MandatesParams
WithLimit adds the limit to the get v1 mandates params
func (*GetV1MandatesParams) WithStatus ¶
func (o *GetV1MandatesParams) WithStatus(status *string) *GetV1MandatesParams
WithStatus adds the status to the get v1 mandates params
func (*GetV1MandatesParams) WithTimeout ¶
func (o *GetV1MandatesParams) WithTimeout(timeout time.Duration) *GetV1MandatesParams
WithTimeout adds the timeout to the get v1 mandates params
func (*GetV1MandatesParams) WithToken ¶
func (o *GetV1MandatesParams) WithToken(token *string) *GetV1MandatesParams
WithToken adds the token to the get v1 mandates params
func (*GetV1MandatesParams) WriteToRequest ¶
func (o *GetV1MandatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1MandatesReader ¶
type GetV1MandatesReader struct {
// contains filtered or unexported fields
}
GetV1MandatesReader is a Reader for the GetV1Mandates structure.
func (*GetV1MandatesReader) ReadResponse ¶
func (o *GetV1MandatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1MandatesBadRequest ¶ added in v1.3.0
type PostV1MandatesBadRequest struct {
Payload *models.ErrorResponse
}
PostV1MandatesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPostV1MandatesBadRequest ¶ added in v1.3.0
func NewPostV1MandatesBadRequest() *PostV1MandatesBadRequest
NewPostV1MandatesBadRequest creates a PostV1MandatesBadRequest with default headers values
func (*PostV1MandatesBadRequest) Code ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) Code() int
Code gets the status code for the post v1 mandates bad request response
func (*PostV1MandatesBadRequest) Error ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) Error() string
func (*PostV1MandatesBadRequest) GetPayload ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) GetPayload() *models.ErrorResponse
func (*PostV1MandatesBadRequest) IsClientError ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) IsClientError() bool
IsClientError returns true when this post v1 mandates bad request response has a 4xx status code
func (*PostV1MandatesBadRequest) IsCode ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) IsCode(code int) bool
IsCode returns true when this post v1 mandates bad request response a status code equal to that given
func (*PostV1MandatesBadRequest) IsRedirect ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) IsRedirect() bool
IsRedirect returns true when this post v1 mandates bad request response has a 3xx status code
func (*PostV1MandatesBadRequest) IsServerError ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) IsServerError() bool
IsServerError returns true when this post v1 mandates bad request response has a 5xx status code
func (*PostV1MandatesBadRequest) IsSuccess ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) IsSuccess() bool
IsSuccess returns true when this post v1 mandates bad request response has a 2xx status code
func (*PostV1MandatesBadRequest) String ¶ added in v1.3.0
func (o *PostV1MandatesBadRequest) String() string
type PostV1MandatesCreated ¶
PostV1MandatesCreated describes a response with status code 201, with default header values.
The created Mandate
func NewPostV1MandatesCreated ¶
func NewPostV1MandatesCreated() *PostV1MandatesCreated
NewPostV1MandatesCreated creates a PostV1MandatesCreated with default headers values
func (*PostV1MandatesCreated) Code ¶
func (o *PostV1MandatesCreated) Code() int
Code gets the status code for the post v1 mandates created response
func (*PostV1MandatesCreated) Error ¶
func (o *PostV1MandatesCreated) Error() string
func (*PostV1MandatesCreated) GetPayload ¶
func (o *PostV1MandatesCreated) GetPayload() *models.Mandate
func (*PostV1MandatesCreated) IsClientError ¶
func (o *PostV1MandatesCreated) IsClientError() bool
IsClientError returns true when this post v1 mandates created response has a 4xx status code
func (*PostV1MandatesCreated) IsCode ¶
func (o *PostV1MandatesCreated) IsCode(code int) bool
IsCode returns true when this post v1 mandates created response a status code equal to that given
func (*PostV1MandatesCreated) IsRedirect ¶
func (o *PostV1MandatesCreated) IsRedirect() bool
IsRedirect returns true when this post v1 mandates created response has a 3xx status code
func (*PostV1MandatesCreated) IsServerError ¶
func (o *PostV1MandatesCreated) IsServerError() bool
IsServerError returns true when this post v1 mandates created response has a 5xx status code
func (*PostV1MandatesCreated) IsSuccess ¶
func (o *PostV1MandatesCreated) IsSuccess() bool
IsSuccess returns true when this post v1 mandates created response has a 2xx status code
func (*PostV1MandatesCreated) String ¶
func (o *PostV1MandatesCreated) String() string
type PostV1MandatesIDCancelAccepted ¶
PostV1MandatesIDCancelAccepted describes a response with status code 202, with default header values.
Accepted
func NewPostV1MandatesIDCancelAccepted ¶
func NewPostV1MandatesIDCancelAccepted() *PostV1MandatesIDCancelAccepted
NewPostV1MandatesIDCancelAccepted creates a PostV1MandatesIDCancelAccepted with default headers values
func (*PostV1MandatesIDCancelAccepted) Code ¶
func (o *PostV1MandatesIDCancelAccepted) Code() int
Code gets the status code for the post v1 mandates Id cancel accepted response
func (*PostV1MandatesIDCancelAccepted) Error ¶
func (o *PostV1MandatesIDCancelAccepted) Error() string
func (*PostV1MandatesIDCancelAccepted) GetPayload ¶
func (o *PostV1MandatesIDCancelAccepted) GetPayload() *models.Mandate
func (*PostV1MandatesIDCancelAccepted) IsClientError ¶
func (o *PostV1MandatesIDCancelAccepted) IsClientError() bool
IsClientError returns true when this post v1 mandates Id cancel accepted response has a 4xx status code
func (*PostV1MandatesIDCancelAccepted) IsCode ¶
func (o *PostV1MandatesIDCancelAccepted) IsCode(code int) bool
IsCode returns true when this post v1 mandates Id cancel accepted response a status code equal to that given
func (*PostV1MandatesIDCancelAccepted) IsRedirect ¶
func (o *PostV1MandatesIDCancelAccepted) IsRedirect() bool
IsRedirect returns true when this post v1 mandates Id cancel accepted response has a 3xx status code
func (*PostV1MandatesIDCancelAccepted) IsServerError ¶
func (o *PostV1MandatesIDCancelAccepted) IsServerError() bool
IsServerError returns true when this post v1 mandates Id cancel accepted response has a 5xx status code
func (*PostV1MandatesIDCancelAccepted) IsSuccess ¶
func (o *PostV1MandatesIDCancelAccepted) IsSuccess() bool
IsSuccess returns true when this post v1 mandates Id cancel accepted response has a 2xx status code
func (*PostV1MandatesIDCancelAccepted) String ¶
func (o *PostV1MandatesIDCancelAccepted) String() string
type PostV1MandatesIDCancelNotFound ¶
type PostV1MandatesIDCancelNotFound struct {
Payload string
}
PostV1MandatesIDCancelNotFound describes a response with status code 404, with default header values.
The identified Mandate doesn't exist
func NewPostV1MandatesIDCancelNotFound ¶
func NewPostV1MandatesIDCancelNotFound() *PostV1MandatesIDCancelNotFound
NewPostV1MandatesIDCancelNotFound creates a PostV1MandatesIDCancelNotFound with default headers values
func (*PostV1MandatesIDCancelNotFound) Code ¶
func (o *PostV1MandatesIDCancelNotFound) Code() int
Code gets the status code for the post v1 mandates Id cancel not found response
func (*PostV1MandatesIDCancelNotFound) Error ¶
func (o *PostV1MandatesIDCancelNotFound) Error() string
func (*PostV1MandatesIDCancelNotFound) GetPayload ¶
func (o *PostV1MandatesIDCancelNotFound) GetPayload() string
func (*PostV1MandatesIDCancelNotFound) IsClientError ¶
func (o *PostV1MandatesIDCancelNotFound) IsClientError() bool
IsClientError returns true when this post v1 mandates Id cancel not found response has a 4xx status code
func (*PostV1MandatesIDCancelNotFound) IsCode ¶
func (o *PostV1MandatesIDCancelNotFound) IsCode(code int) bool
IsCode returns true when this post v1 mandates Id cancel not found response a status code equal to that given
func (*PostV1MandatesIDCancelNotFound) IsRedirect ¶
func (o *PostV1MandatesIDCancelNotFound) IsRedirect() bool
IsRedirect returns true when this post v1 mandates Id cancel not found response has a 3xx status code
func (*PostV1MandatesIDCancelNotFound) IsServerError ¶
func (o *PostV1MandatesIDCancelNotFound) IsServerError() bool
IsServerError returns true when this post v1 mandates Id cancel not found response has a 5xx status code
func (*PostV1MandatesIDCancelNotFound) IsSuccess ¶
func (o *PostV1MandatesIDCancelNotFound) IsSuccess() bool
IsSuccess returns true when this post v1 mandates Id cancel not found response has a 2xx status code
func (*PostV1MandatesIDCancelNotFound) String ¶
func (o *PostV1MandatesIDCancelNotFound) String() string
type PostV1MandatesIDCancelParams ¶
type PostV1MandatesIDCancelParams struct { /* IfMatch. The ETag of the Mandate */ IfMatch *string /* ID. Mandate ID */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1MandatesIDCancelParams contains all the parameters to send to the API endpoint
for the post v1 mandates ID cancel operation. Typically these are written to a http.Request.
func NewPostV1MandatesIDCancelParams ¶
func NewPostV1MandatesIDCancelParams() *PostV1MandatesIDCancelParams
NewPostV1MandatesIDCancelParams creates a new PostV1MandatesIDCancelParams 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 NewPostV1MandatesIDCancelParamsWithContext ¶
func NewPostV1MandatesIDCancelParamsWithContext(ctx context.Context) *PostV1MandatesIDCancelParams
NewPostV1MandatesIDCancelParamsWithContext creates a new PostV1MandatesIDCancelParams object with the ability to set a context for a request.
func NewPostV1MandatesIDCancelParamsWithHTTPClient ¶
func NewPostV1MandatesIDCancelParamsWithHTTPClient(client *http.Client) *PostV1MandatesIDCancelParams
NewPostV1MandatesIDCancelParamsWithHTTPClient creates a new PostV1MandatesIDCancelParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1MandatesIDCancelParamsWithTimeout ¶
func NewPostV1MandatesIDCancelParamsWithTimeout(timeout time.Duration) *PostV1MandatesIDCancelParams
NewPostV1MandatesIDCancelParamsWithTimeout creates a new PostV1MandatesIDCancelParams object with the ability to set a timeout on a request.
func (*PostV1MandatesIDCancelParams) SetContext ¶
func (o *PostV1MandatesIDCancelParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) SetDefaults ¶
func (o *PostV1MandatesIDCancelParams) SetDefaults()
SetDefaults hydrates default values in the post v1 mandates ID cancel params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1MandatesIDCancelParams) SetHTTPClient ¶
func (o *PostV1MandatesIDCancelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) SetID ¶
func (o *PostV1MandatesIDCancelParams) SetID(id string)
SetID adds the id to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) SetIfMatch ¶
func (o *PostV1MandatesIDCancelParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) SetTimeout ¶
func (o *PostV1MandatesIDCancelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) WithContext ¶
func (o *PostV1MandatesIDCancelParams) WithContext(ctx context.Context) *PostV1MandatesIDCancelParams
WithContext adds the context to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) WithDefaults ¶
func (o *PostV1MandatesIDCancelParams) WithDefaults() *PostV1MandatesIDCancelParams
WithDefaults hydrates default values in the post v1 mandates ID cancel params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1MandatesIDCancelParams) WithHTTPClient ¶
func (o *PostV1MandatesIDCancelParams) WithHTTPClient(client *http.Client) *PostV1MandatesIDCancelParams
WithHTTPClient adds the HTTPClient to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) WithID ¶
func (o *PostV1MandatesIDCancelParams) WithID(id string) *PostV1MandatesIDCancelParams
WithID adds the id to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) WithIfMatch ¶
func (o *PostV1MandatesIDCancelParams) WithIfMatch(ifMatch *string) *PostV1MandatesIDCancelParams
WithIfMatch adds the ifMatch to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) WithTimeout ¶
func (o *PostV1MandatesIDCancelParams) WithTimeout(timeout time.Duration) *PostV1MandatesIDCancelParams
WithTimeout adds the timeout to the post v1 mandates ID cancel params
func (*PostV1MandatesIDCancelParams) WriteToRequest ¶
func (o *PostV1MandatesIDCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1MandatesIDCancelReader ¶
type PostV1MandatesIDCancelReader struct {
// contains filtered or unexported fields
}
PostV1MandatesIDCancelReader is a Reader for the PostV1MandatesIDCancel structure.
func (*PostV1MandatesIDCancelReader) ReadResponse ¶
func (o *PostV1MandatesIDCancelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1MandatesParams ¶
type PostV1MandatesParams struct { /* Mandate. Mandate */ Mandate *models.CreateMandateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostV1MandatesParams contains all the parameters to send to the API endpoint
for the post v1 mandates operation. Typically these are written to a http.Request.
func NewPostV1MandatesParams ¶
func NewPostV1MandatesParams() *PostV1MandatesParams
NewPostV1MandatesParams creates a new PostV1MandatesParams 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 NewPostV1MandatesParamsWithContext ¶
func NewPostV1MandatesParamsWithContext(ctx context.Context) *PostV1MandatesParams
NewPostV1MandatesParamsWithContext creates a new PostV1MandatesParams object with the ability to set a context for a request.
func NewPostV1MandatesParamsWithHTTPClient ¶
func NewPostV1MandatesParamsWithHTTPClient(client *http.Client) *PostV1MandatesParams
NewPostV1MandatesParamsWithHTTPClient creates a new PostV1MandatesParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1MandatesParamsWithTimeout ¶
func NewPostV1MandatesParamsWithTimeout(timeout time.Duration) *PostV1MandatesParams
NewPostV1MandatesParamsWithTimeout creates a new PostV1MandatesParams object with the ability to set a timeout on a request.
func (*PostV1MandatesParams) SetContext ¶
func (o *PostV1MandatesParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 mandates params
func (*PostV1MandatesParams) SetDefaults ¶
func (o *PostV1MandatesParams) SetDefaults()
SetDefaults hydrates default values in the post v1 mandates params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1MandatesParams) SetHTTPClient ¶
func (o *PostV1MandatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 mandates params
func (*PostV1MandatesParams) SetMandate ¶
func (o *PostV1MandatesParams) SetMandate(mandate *models.CreateMandateRequest)
SetMandate adds the mandate to the post v1 mandates params
func (*PostV1MandatesParams) SetTimeout ¶
func (o *PostV1MandatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 mandates params
func (*PostV1MandatesParams) WithContext ¶
func (o *PostV1MandatesParams) WithContext(ctx context.Context) *PostV1MandatesParams
WithContext adds the context to the post v1 mandates params
func (*PostV1MandatesParams) WithDefaults ¶
func (o *PostV1MandatesParams) WithDefaults() *PostV1MandatesParams
WithDefaults hydrates default values in the post v1 mandates params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1MandatesParams) WithHTTPClient ¶
func (o *PostV1MandatesParams) WithHTTPClient(client *http.Client) *PostV1MandatesParams
WithHTTPClient adds the HTTPClient to the post v1 mandates params
func (*PostV1MandatesParams) WithMandate ¶
func (o *PostV1MandatesParams) WithMandate(mandate *models.CreateMandateRequest) *PostV1MandatesParams
WithMandate adds the mandate to the post v1 mandates params
func (*PostV1MandatesParams) WithTimeout ¶
func (o *PostV1MandatesParams) WithTimeout(timeout time.Duration) *PostV1MandatesParams
WithTimeout adds the timeout to the post v1 mandates params
func (*PostV1MandatesParams) WriteToRequest ¶
func (o *PostV1MandatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1MandatesReader ¶
type PostV1MandatesReader struct {
// contains filtered or unexported fields
}
PostV1MandatesReader is a Reader for the PostV1Mandates structure.
func (*PostV1MandatesReader) ReadResponse ¶
func (o *PostV1MandatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_v1_mandates_get_by_external_id_external_id_parameters.go
- get_v1_mandates_get_by_external_id_external_id_responses.go
- get_v1_mandates_id_events_parameters.go
- get_v1_mandates_id_events_responses.go
- get_v1_mandates_id_parameters.go
- get_v1_mandates_id_responses.go
- get_v1_mandates_parameters.go
- get_v1_mandates_responses.go
- mandates_client.go
- post_v1_mandates_id_cancel_parameters.go
- post_v1_mandates_id_cancel_responses.go
- post_v1_mandates_parameters.go
- post_v1_mandates_responses.go