Documentation ¶
Index ¶
- type Client
- func (a *Client) ConsentsDeleteConsentsConsentID(params *ConsentsDeleteConsentsConsentIDParams, ...) (*ConsentsDeleteConsentsConsentIDNoContent, error)
- func (a *Client) ConsentsGetConsentsConsentID(params *ConsentsGetConsentsConsentIDParams, ...) (*ConsentsGetConsentsConsentIDOK, error)
- func (a *Client) ConsentsPostConsents(params *ConsentsPostConsentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ConsentsPostConsentsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ConsentsDeleteConsentsConsentIDBadRequest
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) Code() int
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) Error() string
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDBadRequest) String() string
- type ConsentsDeleteConsentsConsentIDDefault
- func (o *ConsentsDeleteConsentsConsentIDDefault) Code() int
- func (o *ConsentsDeleteConsentsConsentIDDefault) Error() string
- func (o *ConsentsDeleteConsentsConsentIDDefault) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDDefault) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDDefault) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDDefault) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDDefault) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDDefault) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDDefault) String() string
- type ConsentsDeleteConsentsConsentIDForbidden
- func (o *ConsentsDeleteConsentsConsentIDForbidden) Code() int
- func (o *ConsentsDeleteConsentsConsentIDForbidden) Error() string
- func (o *ConsentsDeleteConsentsConsentIDForbidden) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDForbidden) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDForbidden) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDForbidden) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDForbidden) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDForbidden) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDForbidden) String() string
- type ConsentsDeleteConsentsConsentIDInternalServerError
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) Code() int
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) Error() string
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDInternalServerError) String() string
- type ConsentsDeleteConsentsConsentIDMethodNotAllowed
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) Code() int
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) Error() string
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) String() string
- type ConsentsDeleteConsentsConsentIDNoContent
- func (o *ConsentsDeleteConsentsConsentIDNoContent) Code() int
- func (o *ConsentsDeleteConsentsConsentIDNoContent) Error() string
- func (o *ConsentsDeleteConsentsConsentIDNoContent) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDNoContent) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDNoContent) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDNoContent) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDNoContent) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDNoContent) String() string
- type ConsentsDeleteConsentsConsentIDNotAcceptable
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) Code() int
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) Error() string
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) String() string
- type ConsentsDeleteConsentsConsentIDNotFound
- func (o *ConsentsDeleteConsentsConsentIDNotFound) Code() int
- func (o *ConsentsDeleteConsentsConsentIDNotFound) Error() string
- func (o *ConsentsDeleteConsentsConsentIDNotFound) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDNotFound) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDNotFound) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDNotFound) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDNotFound) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDNotFound) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDNotFound) String() string
- type ConsentsDeleteConsentsConsentIDParams
- func NewConsentsDeleteConsentsConsentIDParams() *ConsentsDeleteConsentsConsentIDParams
- func NewConsentsDeleteConsentsConsentIDParamsWithContext(ctx context.Context) *ConsentsDeleteConsentsConsentIDParams
- func NewConsentsDeleteConsentsConsentIDParamsWithHTTPClient(client *http.Client) *ConsentsDeleteConsentsConsentIDParams
- func NewConsentsDeleteConsentsConsentIDParamsWithTimeout(timeout time.Duration) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) SetAuthorization(authorization string)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetConsentID(consentID string)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetContext(ctx context.Context)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetDefaults()
- func (o *ConsentsDeleteConsentsConsentIDParams) SetHTTPClient(client *http.Client)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetTimeout(timeout time.Duration)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *ConsentsDeleteConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *ConsentsDeleteConsentsConsentIDParams) WithAuthorization(authorization string) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithConsentID(consentID string) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithContext(ctx context.Context) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithDefaults() *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithHTTPClient(client *http.Client) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithTimeout(timeout time.Duration) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *ConsentsDeleteConsentsConsentIDParams
- func (o *ConsentsDeleteConsentsConsentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConsentsDeleteConsentsConsentIDReader
- type ConsentsDeleteConsentsConsentIDTooManyRequests
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) Code() int
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) Error() string
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) String() string
- type ConsentsDeleteConsentsConsentIDUnauthorized
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) Code() int
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) Error() string
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) GetPayload() *models.ResponseError
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsClientError() bool
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsCode(code int) bool
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsRedirect() bool
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsServerError() bool
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsSuccess() bool
- func (o *ConsentsDeleteConsentsConsentIDUnauthorized) String() string
- type ConsentsGetConsentsConsentIDBadRequest
- func (o *ConsentsGetConsentsConsentIDBadRequest) Code() int
- func (o *ConsentsGetConsentsConsentIDBadRequest) Error() string
- func (o *ConsentsGetConsentsConsentIDBadRequest) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDBadRequest) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDBadRequest) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDBadRequest) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDBadRequest) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDBadRequest) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDBadRequest) String() string
- type ConsentsGetConsentsConsentIDDefault
- func (o *ConsentsGetConsentsConsentIDDefault) Code() int
- func (o *ConsentsGetConsentsConsentIDDefault) Error() string
- func (o *ConsentsGetConsentsConsentIDDefault) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDDefault) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDDefault) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDDefault) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDDefault) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDDefault) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDDefault) String() string
- type ConsentsGetConsentsConsentIDForbidden
- func (o *ConsentsGetConsentsConsentIDForbidden) Code() int
- func (o *ConsentsGetConsentsConsentIDForbidden) Error() string
- func (o *ConsentsGetConsentsConsentIDForbidden) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDForbidden) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDForbidden) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDForbidden) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDForbidden) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDForbidden) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDForbidden) String() string
- type ConsentsGetConsentsConsentIDInternalServerError
- func (o *ConsentsGetConsentsConsentIDInternalServerError) Code() int
- func (o *ConsentsGetConsentsConsentIDInternalServerError) Error() string
- func (o *ConsentsGetConsentsConsentIDInternalServerError) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDInternalServerError) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDInternalServerError) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDInternalServerError) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDInternalServerError) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDInternalServerError) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDInternalServerError) String() string
- type ConsentsGetConsentsConsentIDMethodNotAllowed
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) Code() int
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) Error() string
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) String() string
- type ConsentsGetConsentsConsentIDNotAcceptable
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) Code() int
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) Error() string
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDNotAcceptable) String() string
- type ConsentsGetConsentsConsentIDNotFound
- func (o *ConsentsGetConsentsConsentIDNotFound) Code() int
- func (o *ConsentsGetConsentsConsentIDNotFound) Error() string
- func (o *ConsentsGetConsentsConsentIDNotFound) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDNotFound) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDNotFound) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDNotFound) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDNotFound) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDNotFound) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDNotFound) String() string
- type ConsentsGetConsentsConsentIDOK
- func (o *ConsentsGetConsentsConsentIDOK) Code() int
- func (o *ConsentsGetConsentsConsentIDOK) Error() string
- func (o *ConsentsGetConsentsConsentIDOK) GetPayload() *models.ResponseConsent
- func (o *ConsentsGetConsentsConsentIDOK) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDOK) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDOK) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDOK) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDOK) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDOK) String() string
- type ConsentsGetConsentsConsentIDParams
- func NewConsentsGetConsentsConsentIDParams() *ConsentsGetConsentsConsentIDParams
- func NewConsentsGetConsentsConsentIDParamsWithContext(ctx context.Context) *ConsentsGetConsentsConsentIDParams
- func NewConsentsGetConsentsConsentIDParamsWithHTTPClient(client *http.Client) *ConsentsGetConsentsConsentIDParams
- func NewConsentsGetConsentsConsentIDParamsWithTimeout(timeout time.Duration) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) SetAuthorization(authorization string)
- func (o *ConsentsGetConsentsConsentIDParams) SetConsentID(consentID string)
- func (o *ConsentsGetConsentsConsentIDParams) SetContext(ctx context.Context)
- func (o *ConsentsGetConsentsConsentIDParams) SetDefaults()
- func (o *ConsentsGetConsentsConsentIDParams) SetHTTPClient(client *http.Client)
- func (o *ConsentsGetConsentsConsentIDParams) SetTimeout(timeout time.Duration)
- func (o *ConsentsGetConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *ConsentsGetConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *ConsentsGetConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *ConsentsGetConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *ConsentsGetConsentsConsentIDParams) WithAuthorization(authorization string) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithConsentID(consentID string) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithContext(ctx context.Context) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithDefaults() *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithHTTPClient(client *http.Client) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithTimeout(timeout time.Duration) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *ConsentsGetConsentsConsentIDParams
- func (o *ConsentsGetConsentsConsentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConsentsGetConsentsConsentIDReader
- type ConsentsGetConsentsConsentIDTooManyRequests
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) Code() int
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) Error() string
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDTooManyRequests) String() string
- type ConsentsGetConsentsConsentIDUnauthorized
- func (o *ConsentsGetConsentsConsentIDUnauthorized) Code() int
- func (o *ConsentsGetConsentsConsentIDUnauthorized) Error() string
- func (o *ConsentsGetConsentsConsentIDUnauthorized) GetPayload() *models.ResponseError
- func (o *ConsentsGetConsentsConsentIDUnauthorized) IsClientError() bool
- func (o *ConsentsGetConsentsConsentIDUnauthorized) IsCode(code int) bool
- func (o *ConsentsGetConsentsConsentIDUnauthorized) IsRedirect() bool
- func (o *ConsentsGetConsentsConsentIDUnauthorized) IsServerError() bool
- func (o *ConsentsGetConsentsConsentIDUnauthorized) IsSuccess() bool
- func (o *ConsentsGetConsentsConsentIDUnauthorized) String() string
- type ConsentsPostConsentsBadRequest
- func (o *ConsentsPostConsentsBadRequest) Code() int
- func (o *ConsentsPostConsentsBadRequest) Error() string
- func (o *ConsentsPostConsentsBadRequest) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsBadRequest) IsClientError() bool
- func (o *ConsentsPostConsentsBadRequest) IsCode(code int) bool
- func (o *ConsentsPostConsentsBadRequest) IsRedirect() bool
- func (o *ConsentsPostConsentsBadRequest) IsServerError() bool
- func (o *ConsentsPostConsentsBadRequest) IsSuccess() bool
- func (o *ConsentsPostConsentsBadRequest) String() string
- type ConsentsPostConsentsCreated
- func (o *ConsentsPostConsentsCreated) Code() int
- func (o *ConsentsPostConsentsCreated) Error() string
- func (o *ConsentsPostConsentsCreated) GetPayload() *models.ResponseConsent
- func (o *ConsentsPostConsentsCreated) IsClientError() bool
- func (o *ConsentsPostConsentsCreated) IsCode(code int) bool
- func (o *ConsentsPostConsentsCreated) IsRedirect() bool
- func (o *ConsentsPostConsentsCreated) IsServerError() bool
- func (o *ConsentsPostConsentsCreated) IsSuccess() bool
- func (o *ConsentsPostConsentsCreated) String() string
- type ConsentsPostConsentsDefault
- func (o *ConsentsPostConsentsDefault) Code() int
- func (o *ConsentsPostConsentsDefault) Error() string
- func (o *ConsentsPostConsentsDefault) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsDefault) IsClientError() bool
- func (o *ConsentsPostConsentsDefault) IsCode(code int) bool
- func (o *ConsentsPostConsentsDefault) IsRedirect() bool
- func (o *ConsentsPostConsentsDefault) IsServerError() bool
- func (o *ConsentsPostConsentsDefault) IsSuccess() bool
- func (o *ConsentsPostConsentsDefault) String() string
- type ConsentsPostConsentsForbidden
- func (o *ConsentsPostConsentsForbidden) Code() int
- func (o *ConsentsPostConsentsForbidden) Error() string
- func (o *ConsentsPostConsentsForbidden) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsForbidden) IsClientError() bool
- func (o *ConsentsPostConsentsForbidden) IsCode(code int) bool
- func (o *ConsentsPostConsentsForbidden) IsRedirect() bool
- func (o *ConsentsPostConsentsForbidden) IsServerError() bool
- func (o *ConsentsPostConsentsForbidden) IsSuccess() bool
- func (o *ConsentsPostConsentsForbidden) String() string
- type ConsentsPostConsentsInternalServerError
- func (o *ConsentsPostConsentsInternalServerError) Code() int
- func (o *ConsentsPostConsentsInternalServerError) Error() string
- func (o *ConsentsPostConsentsInternalServerError) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsInternalServerError) IsClientError() bool
- func (o *ConsentsPostConsentsInternalServerError) IsCode(code int) bool
- func (o *ConsentsPostConsentsInternalServerError) IsRedirect() bool
- func (o *ConsentsPostConsentsInternalServerError) IsServerError() bool
- func (o *ConsentsPostConsentsInternalServerError) IsSuccess() bool
- func (o *ConsentsPostConsentsInternalServerError) String() string
- type ConsentsPostConsentsMethodNotAllowed
- func (o *ConsentsPostConsentsMethodNotAllowed) Code() int
- func (o *ConsentsPostConsentsMethodNotAllowed) Error() string
- func (o *ConsentsPostConsentsMethodNotAllowed) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsMethodNotAllowed) IsClientError() bool
- func (o *ConsentsPostConsentsMethodNotAllowed) IsCode(code int) bool
- func (o *ConsentsPostConsentsMethodNotAllowed) IsRedirect() bool
- func (o *ConsentsPostConsentsMethodNotAllowed) IsServerError() bool
- func (o *ConsentsPostConsentsMethodNotAllowed) IsSuccess() bool
- func (o *ConsentsPostConsentsMethodNotAllowed) String() string
- type ConsentsPostConsentsNotAcceptable
- func (o *ConsentsPostConsentsNotAcceptable) Code() int
- func (o *ConsentsPostConsentsNotAcceptable) Error() string
- func (o *ConsentsPostConsentsNotAcceptable) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsNotAcceptable) IsClientError() bool
- func (o *ConsentsPostConsentsNotAcceptable) IsCode(code int) bool
- func (o *ConsentsPostConsentsNotAcceptable) IsRedirect() bool
- func (o *ConsentsPostConsentsNotAcceptable) IsServerError() bool
- func (o *ConsentsPostConsentsNotAcceptable) IsSuccess() bool
- func (o *ConsentsPostConsentsNotAcceptable) String() string
- type ConsentsPostConsentsNotFound
- func (o *ConsentsPostConsentsNotFound) Code() int
- func (o *ConsentsPostConsentsNotFound) Error() string
- func (o *ConsentsPostConsentsNotFound) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsNotFound) IsClientError() bool
- func (o *ConsentsPostConsentsNotFound) IsCode(code int) bool
- func (o *ConsentsPostConsentsNotFound) IsRedirect() bool
- func (o *ConsentsPostConsentsNotFound) IsServerError() bool
- func (o *ConsentsPostConsentsNotFound) IsSuccess() bool
- func (o *ConsentsPostConsentsNotFound) String() string
- type ConsentsPostConsentsParams
- func NewConsentsPostConsentsParams() *ConsentsPostConsentsParams
- func NewConsentsPostConsentsParamsWithContext(ctx context.Context) *ConsentsPostConsentsParams
- func NewConsentsPostConsentsParamsWithHTTPClient(client *http.Client) *ConsentsPostConsentsParams
- func NewConsentsPostConsentsParamsWithTimeout(timeout time.Duration) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) SetAuthorization(authorization string)
- func (o *ConsentsPostConsentsParams) SetBody(body *models.CreateConsent)
- func (o *ConsentsPostConsentsParams) SetContext(ctx context.Context)
- func (o *ConsentsPostConsentsParams) SetDefaults()
- func (o *ConsentsPostConsentsParams) SetHTTPClient(client *http.Client)
- func (o *ConsentsPostConsentsParams) SetTimeout(timeout time.Duration)
- func (o *ConsentsPostConsentsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *ConsentsPostConsentsParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *ConsentsPostConsentsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *ConsentsPostConsentsParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *ConsentsPostConsentsParams) WithAuthorization(authorization string) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithBody(body *models.CreateConsent) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithContext(ctx context.Context) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithDefaults() *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithHTTPClient(client *http.Client) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithTimeout(timeout time.Duration) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithXFapiAuthDate(xFapiAuthDate *string) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WithXFapiInteractionID(xFapiInteractionID *string) *ConsentsPostConsentsParams
- func (o *ConsentsPostConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConsentsPostConsentsReader
- type ConsentsPostConsentsTooManyRequests
- func (o *ConsentsPostConsentsTooManyRequests) Code() int
- func (o *ConsentsPostConsentsTooManyRequests) Error() string
- func (o *ConsentsPostConsentsTooManyRequests) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsTooManyRequests) IsClientError() bool
- func (o *ConsentsPostConsentsTooManyRequests) IsCode(code int) bool
- func (o *ConsentsPostConsentsTooManyRequests) IsRedirect() bool
- func (o *ConsentsPostConsentsTooManyRequests) IsServerError() bool
- func (o *ConsentsPostConsentsTooManyRequests) IsSuccess() bool
- func (o *ConsentsPostConsentsTooManyRequests) String() string
- type ConsentsPostConsentsUnauthorized
- func (o *ConsentsPostConsentsUnauthorized) Code() int
- func (o *ConsentsPostConsentsUnauthorized) Error() string
- func (o *ConsentsPostConsentsUnauthorized) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsUnauthorized) IsClientError() bool
- func (o *ConsentsPostConsentsUnauthorized) IsCode(code int) bool
- func (o *ConsentsPostConsentsUnauthorized) IsRedirect() bool
- func (o *ConsentsPostConsentsUnauthorized) IsServerError() bool
- func (o *ConsentsPostConsentsUnauthorized) IsSuccess() bool
- func (o *ConsentsPostConsentsUnauthorized) String() string
- type ConsentsPostConsentsUnprocessableEntity
- func (o *ConsentsPostConsentsUnprocessableEntity) Code() int
- func (o *ConsentsPostConsentsUnprocessableEntity) Error() string
- func (o *ConsentsPostConsentsUnprocessableEntity) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsUnprocessableEntity) IsClientError() bool
- func (o *ConsentsPostConsentsUnprocessableEntity) IsCode(code int) bool
- func (o *ConsentsPostConsentsUnprocessableEntity) IsRedirect() bool
- func (o *ConsentsPostConsentsUnprocessableEntity) IsServerError() bool
- func (o *ConsentsPostConsentsUnprocessableEntity) IsSuccess() bool
- func (o *ConsentsPostConsentsUnprocessableEntity) String() string
- type ConsentsPostConsentsUnsupportedMediaType
- func (o *ConsentsPostConsentsUnsupportedMediaType) Code() int
- func (o *ConsentsPostConsentsUnsupportedMediaType) Error() string
- func (o *ConsentsPostConsentsUnsupportedMediaType) GetPayload() *models.ResponseError
- func (o *ConsentsPostConsentsUnsupportedMediaType) IsClientError() bool
- func (o *ConsentsPostConsentsUnsupportedMediaType) IsCode(code int) bool
- func (o *ConsentsPostConsentsUnsupportedMediaType) IsRedirect() bool
- func (o *ConsentsPostConsentsUnsupportedMediaType) IsServerError() bool
- func (o *ConsentsPostConsentsUnsupportedMediaType) IsSuccess() bool
- func (o *ConsentsPostConsentsUnsupportedMediaType) String() string
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 consents API
func (*Client) ConsentsDeleteConsentsConsentID ¶
func (a *Client) ConsentsDeleteConsentsConsentID(params *ConsentsDeleteConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsentsDeleteConsentsConsentIDNoContent, error)
ConsentsDeleteConsentsConsentID consents delete consents consent Id
Mtodo para deletar / revogar o consentimento identificado por consentId.
func (*Client) ConsentsGetConsentsConsentID ¶
func (a *Client) ConsentsGetConsentsConsentID(params *ConsentsGetConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsentsGetConsentsConsentIDOK, error)
ConsentsGetConsentsConsentID consents get consents consent Id
Mtodo para obter detalhes do consentimento identificado por consentId.
func (*Client) ConsentsPostConsents ¶
func (a *Client) ConsentsPostConsents(params *ConsentsPostConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsentsPostConsentsCreated, error)
ConsentsPostConsents consents post consents
Mtodo para a criao de um novo consentimento.
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 { ConsentsDeleteConsentsConsentID(params *ConsentsDeleteConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsentsDeleteConsentsConsentIDNoContent, error) ConsentsGetConsentsConsentID(params *ConsentsGetConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsentsGetConsentsConsentIDOK, error) ConsentsPostConsents(params *ConsentsPostConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsentsPostConsentsCreated, 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 consents API client.
type ConsentsDeleteConsentsConsentIDBadRequest ¶
type ConsentsDeleteConsentsConsentIDBadRequest struct {
Payload *models.ResponseError
}
ConsentsDeleteConsentsConsentIDBadRequest describes a response with status code 400, with default header values.
A requisio foi malformada, omitindo atributos obrigatrios, seja no payload ou atravs de atributos na URL.
func NewConsentsDeleteConsentsConsentIDBadRequest ¶
func NewConsentsDeleteConsentsConsentIDBadRequest() *ConsentsDeleteConsentsConsentIDBadRequest
NewConsentsDeleteConsentsConsentIDBadRequest creates a ConsentsDeleteConsentsConsentIDBadRequest with default headers values
func (*ConsentsDeleteConsentsConsentIDBadRequest) Code ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) Code() int
Code gets the status code for the consents delete consents consent Id bad request response
func (*ConsentsDeleteConsentsConsentIDBadRequest) Error ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) Error() string
func (*ConsentsDeleteConsentsConsentIDBadRequest) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDBadRequest) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id bad request response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDBadRequest) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id bad request response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDBadRequest) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id bad request response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDBadRequest) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id bad request response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDBadRequest) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id bad request response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDBadRequest) String ¶
func (o *ConsentsDeleteConsentsConsentIDBadRequest) String() string
type ConsentsDeleteConsentsConsentIDDefault ¶
type ConsentsDeleteConsentsConsentIDDefault struct { Payload *models.ResponseError // contains filtered or unexported fields }
ConsentsDeleteConsentsConsentIDDefault describes a response with status code -1, with default header values.
Erro inesperado.
func NewConsentsDeleteConsentsConsentIDDefault ¶
func NewConsentsDeleteConsentsConsentIDDefault(code int) *ConsentsDeleteConsentsConsentIDDefault
NewConsentsDeleteConsentsConsentIDDefault creates a ConsentsDeleteConsentsConsentIDDefault with default headers values
func (*ConsentsDeleteConsentsConsentIDDefault) Code ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) Code() int
Code gets the status code for the consents delete consents consent Id default response
func (*ConsentsDeleteConsentsConsentIDDefault) Error ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) Error() string
func (*ConsentsDeleteConsentsConsentIDDefault) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDDefault) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id default response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDDefault) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id default response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDDefault) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id default response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDDefault) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id default response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDDefault) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id default response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDDefault) String ¶
func (o *ConsentsDeleteConsentsConsentIDDefault) String() string
type ConsentsDeleteConsentsConsentIDForbidden ¶
type ConsentsDeleteConsentsConsentIDForbidden struct {
Payload *models.ResponseError
}
ConsentsDeleteConsentsConsentIDForbidden describes a response with status code 403, with default header values.
O token tem escopo incorreto ou uma poltica de segurana foi violada
func NewConsentsDeleteConsentsConsentIDForbidden ¶
func NewConsentsDeleteConsentsConsentIDForbidden() *ConsentsDeleteConsentsConsentIDForbidden
NewConsentsDeleteConsentsConsentIDForbidden creates a ConsentsDeleteConsentsConsentIDForbidden with default headers values
func (*ConsentsDeleteConsentsConsentIDForbidden) Code ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) Code() int
Code gets the status code for the consents delete consents consent Id forbidden response
func (*ConsentsDeleteConsentsConsentIDForbidden) Error ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) Error() string
func (*ConsentsDeleteConsentsConsentIDForbidden) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDForbidden) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id forbidden response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDForbidden) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id forbidden response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDForbidden) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id forbidden response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDForbidden) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id forbidden response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDForbidden) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id forbidden response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDForbidden) String ¶
func (o *ConsentsDeleteConsentsConsentIDForbidden) String() string
type ConsentsDeleteConsentsConsentIDInternalServerError ¶
type ConsentsDeleteConsentsConsentIDInternalServerError struct {
Payload *models.ResponseError
}
ConsentsDeleteConsentsConsentIDInternalServerError describes a response with status code 500, with default header values.
Ocorreu um erro no gateway da API ou no microsservio
func NewConsentsDeleteConsentsConsentIDInternalServerError ¶
func NewConsentsDeleteConsentsConsentIDInternalServerError() *ConsentsDeleteConsentsConsentIDInternalServerError
NewConsentsDeleteConsentsConsentIDInternalServerError creates a ConsentsDeleteConsentsConsentIDInternalServerError with default headers values
func (*ConsentsDeleteConsentsConsentIDInternalServerError) Code ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) Code() int
Code gets the status code for the consents delete consents consent Id internal server error response
func (*ConsentsDeleteConsentsConsentIDInternalServerError) Error ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) Error() string
func (*ConsentsDeleteConsentsConsentIDInternalServerError) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id internal server error response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id internal server error response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id internal server error response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id internal server error response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id internal server error response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDInternalServerError) String ¶
func (o *ConsentsDeleteConsentsConsentIDInternalServerError) String() string
type ConsentsDeleteConsentsConsentIDMethodNotAllowed ¶
type ConsentsDeleteConsentsConsentIDMethodNotAllowed struct {
Payload *models.ResponseError
}
ConsentsDeleteConsentsConsentIDMethodNotAllowed describes a response with status code 405, with default header values.
O consumidor tentou acessar o recurso com um mtodo no suportado
func NewConsentsDeleteConsentsConsentIDMethodNotAllowed ¶
func NewConsentsDeleteConsentsConsentIDMethodNotAllowed() *ConsentsDeleteConsentsConsentIDMethodNotAllowed
NewConsentsDeleteConsentsConsentIDMethodNotAllowed creates a ConsentsDeleteConsentsConsentIDMethodNotAllowed with default headers values
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) Code ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) Code() int
Code gets the status code for the consents delete consents consent Id method not allowed response
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) Error ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) Error() string
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id method not allowed response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id method not allowed response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id method not allowed response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id method not allowed response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id method not allowed response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) String ¶
func (o *ConsentsDeleteConsentsConsentIDMethodNotAllowed) String() string
type ConsentsDeleteConsentsConsentIDNoContent ¶
type ConsentsDeleteConsentsConsentIDNoContent struct { /* Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta. Default: "85bac523-d3ae-2289-b106-330a6218710d" */ XFapiInteractionID string }
ConsentsDeleteConsentsConsentIDNoContent describes a response with status code 204, with default header values.
Consentimento revogado com sucesso.
func NewConsentsDeleteConsentsConsentIDNoContent ¶
func NewConsentsDeleteConsentsConsentIDNoContent() *ConsentsDeleteConsentsConsentIDNoContent
NewConsentsDeleteConsentsConsentIDNoContent creates a ConsentsDeleteConsentsConsentIDNoContent with default headers values
func (*ConsentsDeleteConsentsConsentIDNoContent) Code ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) Code() int
Code gets the status code for the consents delete consents consent Id no content response
func (*ConsentsDeleteConsentsConsentIDNoContent) Error ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) Error() string
func (*ConsentsDeleteConsentsConsentIDNoContent) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id no content response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDNoContent) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id no content response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDNoContent) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id no content response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDNoContent) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id no content response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDNoContent) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id no content response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDNoContent) String ¶
func (o *ConsentsDeleteConsentsConsentIDNoContent) String() string
type ConsentsDeleteConsentsConsentIDNotAcceptable ¶
type ConsentsDeleteConsentsConsentIDNotAcceptable struct {
Payload *models.ResponseError
}
ConsentsDeleteConsentsConsentIDNotAcceptable describes a response with status code 406, with default header values.
A solicitao continha um cabealho Accept diferente dos tipos de mdia permitidos ou um conjunto de caracteres diferente de UTF-8
func NewConsentsDeleteConsentsConsentIDNotAcceptable ¶
func NewConsentsDeleteConsentsConsentIDNotAcceptable() *ConsentsDeleteConsentsConsentIDNotAcceptable
NewConsentsDeleteConsentsConsentIDNotAcceptable creates a ConsentsDeleteConsentsConsentIDNotAcceptable with default headers values
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) Code ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) Code() int
Code gets the status code for the consents delete consents consent Id not acceptable response
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) Error ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) Error() string
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id not acceptable response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id not acceptable response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id not acceptable response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id not acceptable response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id not acceptable response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDNotAcceptable) String ¶
func (o *ConsentsDeleteConsentsConsentIDNotAcceptable) String() string
type ConsentsDeleteConsentsConsentIDNotFound ¶
type ConsentsDeleteConsentsConsentIDNotFound struct {
Payload *models.ResponseError
}
ConsentsDeleteConsentsConsentIDNotFound describes a response with status code 404, with default header values.
O recurso solicitado no existe ou no foi implementado
func NewConsentsDeleteConsentsConsentIDNotFound ¶
func NewConsentsDeleteConsentsConsentIDNotFound() *ConsentsDeleteConsentsConsentIDNotFound
NewConsentsDeleteConsentsConsentIDNotFound creates a ConsentsDeleteConsentsConsentIDNotFound with default headers values
func (*ConsentsDeleteConsentsConsentIDNotFound) Code ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) Code() int
Code gets the status code for the consents delete consents consent Id not found response
func (*ConsentsDeleteConsentsConsentIDNotFound) Error ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) Error() string
func (*ConsentsDeleteConsentsConsentIDNotFound) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDNotFound) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id not found response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDNotFound) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id not found response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDNotFound) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id not found response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDNotFound) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id not found response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDNotFound) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id not found response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDNotFound) String ¶
func (o *ConsentsDeleteConsentsConsentIDNotFound) String() string
type ConsentsDeleteConsentsConsentIDParams ¶
type ConsentsDeleteConsentsConsentIDParams struct { /* Authorization. Cabealho HTTP padro. Permite que as credenciais sejam fornecidas dependendo do tipo de recurso solicitado */ Authorization string /* ConsentID. O consentId o identificador nico do consentimento e dever ser um URN - Uniform Resource Name. Um URN, conforme definido na [RFC8141](https://tools.ietf.org/html/rfc8141) um Uniform Resource Identifier - URI - que atribudo sob o URI scheme "urn" e um namespace URN especfico, com a inteno de que o URN seja um identificador de recurso persistente e independente da localizao. Considerando a string urn:bancoex:C1DD33123 como exemplo para consentId temos: - o namespace(urn) - o identificador associado ao namespace da instituio transnmissora (bancoex) - o identificador especfico dentro do namespace (C1DD33123). Informaes mais detalhadas sobre a construo de namespaces devem ser consultadas na [RFC8141](https://tools.ietf.org/html/rfc8141). */ ConsentID string /* XCustomerUserAgent. Indica o user-agent que o usurio utiliza. */ XCustomerUserAgent *string /* XFapiAuthDate. Data em que o usurio logou pela ltima vez com o receptor. Representada de acordo com a [RFC7231](https://tools.ietf.org/html/rfc7231).Exemplo: Sun, 10 Sep 2017 19:43:31 UTC */ XFapiAuthDate *string /* XFapiCustomerIPAddress. O endereo IP do usurio se estiver atualmente logado com o receptor. */ XFapiCustomerIPAddress *string /* XFapiInteractionID. Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta. */ XFapiInteractionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConsentsDeleteConsentsConsentIDParams contains all the parameters to send to the API endpoint
for the consents delete consents consent Id operation. Typically these are written to a http.Request.
func NewConsentsDeleteConsentsConsentIDParams ¶
func NewConsentsDeleteConsentsConsentIDParams() *ConsentsDeleteConsentsConsentIDParams
NewConsentsDeleteConsentsConsentIDParams creates a new ConsentsDeleteConsentsConsentIDParams 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 NewConsentsDeleteConsentsConsentIDParamsWithContext ¶
func NewConsentsDeleteConsentsConsentIDParamsWithContext(ctx context.Context) *ConsentsDeleteConsentsConsentIDParams
NewConsentsDeleteConsentsConsentIDParamsWithContext creates a new ConsentsDeleteConsentsConsentIDParams object with the ability to set a context for a request.
func NewConsentsDeleteConsentsConsentIDParamsWithHTTPClient ¶
func NewConsentsDeleteConsentsConsentIDParamsWithHTTPClient(client *http.Client) *ConsentsDeleteConsentsConsentIDParams
NewConsentsDeleteConsentsConsentIDParamsWithHTTPClient creates a new ConsentsDeleteConsentsConsentIDParams object with the ability to set a custom HTTPClient for a request.
func NewConsentsDeleteConsentsConsentIDParamsWithTimeout ¶
func NewConsentsDeleteConsentsConsentIDParamsWithTimeout(timeout time.Duration) *ConsentsDeleteConsentsConsentIDParams
NewConsentsDeleteConsentsConsentIDParamsWithTimeout creates a new ConsentsDeleteConsentsConsentIDParams object with the ability to set a timeout on a request.
func (*ConsentsDeleteConsentsConsentIDParams) SetAuthorization ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetConsentID ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetConsentID(consentID string)
SetConsentID adds the consentId to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetContext ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetDefaults ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetDefaults()
SetDefaults hydrates default values in the consents delete consents consent Id params (not the query body).
All values with no default are reset to their zero value.
func (*ConsentsDeleteConsentsConsentIDParams) SetHTTPClient ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetTimeout ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetXCustomerUserAgent ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
SetXCustomerUserAgent adds the xCustomerUserAgent to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetXFapiAuthDate ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)
SetXFapiAuthDate adds the xFapiAuthDate to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetXFapiCustomerIPAddress ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) SetXFapiInteractionID ¶
func (o *ConsentsDeleteConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)
SetXFapiInteractionID adds the xFapiInteractionId to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithAuthorization ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithAuthorization(authorization string) *ConsentsDeleteConsentsConsentIDParams
WithAuthorization adds the authorization to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithConsentID ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithConsentID(consentID string) *ConsentsDeleteConsentsConsentIDParams
WithConsentID adds the consentID to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithContext ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithContext(ctx context.Context) *ConsentsDeleteConsentsConsentIDParams
WithContext adds the context to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithDefaults ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithDefaults() *ConsentsDeleteConsentsConsentIDParams
WithDefaults hydrates default values in the consents delete consents consent Id params (not the query body).
All values with no default are reset to their zero value.
func (*ConsentsDeleteConsentsConsentIDParams) WithHTTPClient ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithHTTPClient(client *http.Client) *ConsentsDeleteConsentsConsentIDParams
WithHTTPClient adds the HTTPClient to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithTimeout ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithTimeout(timeout time.Duration) *ConsentsDeleteConsentsConsentIDParams
WithTimeout adds the timeout to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithXCustomerUserAgent ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *ConsentsDeleteConsentsConsentIDParams
WithXCustomerUserAgent adds the xCustomerUserAgent to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithXFapiAuthDate ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *ConsentsDeleteConsentsConsentIDParams
WithXFapiAuthDate adds the xFapiAuthDate to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithXFapiCustomerIPAddress ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *ConsentsDeleteConsentsConsentIDParams
WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WithXFapiInteractionID ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *ConsentsDeleteConsentsConsentIDParams
WithXFapiInteractionID adds the xFapiInteractionID to the consents delete consents consent Id params
func (*ConsentsDeleteConsentsConsentIDParams) WriteToRequest ¶
func (o *ConsentsDeleteConsentsConsentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConsentsDeleteConsentsConsentIDReader ¶
type ConsentsDeleteConsentsConsentIDReader struct {
// contains filtered or unexported fields
}
ConsentsDeleteConsentsConsentIDReader is a Reader for the ConsentsDeleteConsentsConsentID structure.
func (*ConsentsDeleteConsentsConsentIDReader) ReadResponse ¶
func (o *ConsentsDeleteConsentsConsentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConsentsDeleteConsentsConsentIDTooManyRequests ¶
type ConsentsDeleteConsentsConsentIDTooManyRequests struct {
Payload *models.ResponseError
}
ConsentsDeleteConsentsConsentIDTooManyRequests describes a response with status code 429, with default header values.
A operao foi recusada, pois muitas solicitaes foram feitas dentro de um determinado perodo ou o limite global de requisies concorrentes foi atingido
func NewConsentsDeleteConsentsConsentIDTooManyRequests ¶
func NewConsentsDeleteConsentsConsentIDTooManyRequests() *ConsentsDeleteConsentsConsentIDTooManyRequests
NewConsentsDeleteConsentsConsentIDTooManyRequests creates a ConsentsDeleteConsentsConsentIDTooManyRequests with default headers values
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) Code ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) Code() int
Code gets the status code for the consents delete consents consent Id too many requests response
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) Error ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) Error() string
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id too many requests response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id too many requests response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id too many requests response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id too many requests response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id too many requests response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDTooManyRequests) String ¶
func (o *ConsentsDeleteConsentsConsentIDTooManyRequests) String() string
type ConsentsDeleteConsentsConsentIDUnauthorized ¶
type ConsentsDeleteConsentsConsentIDUnauthorized struct {
}ConsentsDeleteConsentsConsentIDUnauthorized describes a response with status code 401, with default header values.
Cabealho de autenticao ausente/invlido ou token invlido
func NewConsentsDeleteConsentsConsentIDUnauthorized ¶
func NewConsentsDeleteConsentsConsentIDUnauthorized() *ConsentsDeleteConsentsConsentIDUnauthorized
NewConsentsDeleteConsentsConsentIDUnauthorized creates a ConsentsDeleteConsentsConsentIDUnauthorized with default headers values
func (*ConsentsDeleteConsentsConsentIDUnauthorized) Code ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) Code() int
Code gets the status code for the consents delete consents consent Id unauthorized response
func (*ConsentsDeleteConsentsConsentIDUnauthorized) Error ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) Error() string
func (*ConsentsDeleteConsentsConsentIDUnauthorized) GetPayload ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) GetPayload() *models.ResponseError
func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsClientError ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsClientError() bool
IsClientError returns true when this consents delete consents consent Id unauthorized response has a 4xx status code
func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsCode ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsCode(code int) bool
IsCode returns true when this consents delete consents consent Id unauthorized response a status code equal to that given
func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsRedirect ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this consents delete consents consent Id unauthorized response has a 3xx status code
func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsServerError ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsServerError() bool
IsServerError returns true when this consents delete consents consent Id unauthorized response has a 5xx status code
func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsSuccess ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this consents delete consents consent Id unauthorized response has a 2xx status code
func (*ConsentsDeleteConsentsConsentIDUnauthorized) String ¶
func (o *ConsentsDeleteConsentsConsentIDUnauthorized) String() string
type ConsentsGetConsentsConsentIDBadRequest ¶
type ConsentsGetConsentsConsentIDBadRequest struct {
Payload *models.ResponseError
}
ConsentsGetConsentsConsentIDBadRequest describes a response with status code 400, with default header values.
A requisio foi malformada, omitindo atributos obrigatrios, seja no payload ou atravs de atributos na URL.
func NewConsentsGetConsentsConsentIDBadRequest ¶
func NewConsentsGetConsentsConsentIDBadRequest() *ConsentsGetConsentsConsentIDBadRequest
NewConsentsGetConsentsConsentIDBadRequest creates a ConsentsGetConsentsConsentIDBadRequest with default headers values
func (*ConsentsGetConsentsConsentIDBadRequest) Code ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) Code() int
Code gets the status code for the consents get consents consent Id bad request response
func (*ConsentsGetConsentsConsentIDBadRequest) Error ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) Error() string
func (*ConsentsGetConsentsConsentIDBadRequest) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDBadRequest) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) IsClientError() bool
IsClientError returns true when this consents get consents consent Id bad request response has a 4xx status code
func (*ConsentsGetConsentsConsentIDBadRequest) IsCode ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id bad request response a status code equal to that given
func (*ConsentsGetConsentsConsentIDBadRequest) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id bad request response has a 3xx status code
func (*ConsentsGetConsentsConsentIDBadRequest) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) IsServerError() bool
IsServerError returns true when this consents get consents consent Id bad request response has a 5xx status code
func (*ConsentsGetConsentsConsentIDBadRequest) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id bad request response has a 2xx status code
func (*ConsentsGetConsentsConsentIDBadRequest) String ¶
func (o *ConsentsGetConsentsConsentIDBadRequest) String() string
type ConsentsGetConsentsConsentIDDefault ¶
type ConsentsGetConsentsConsentIDDefault struct { Payload *models.ResponseError // contains filtered or unexported fields }
ConsentsGetConsentsConsentIDDefault describes a response with status code -1, with default header values.
Erro inesperado.
func NewConsentsGetConsentsConsentIDDefault ¶
func NewConsentsGetConsentsConsentIDDefault(code int) *ConsentsGetConsentsConsentIDDefault
NewConsentsGetConsentsConsentIDDefault creates a ConsentsGetConsentsConsentIDDefault with default headers values
func (*ConsentsGetConsentsConsentIDDefault) Code ¶
func (o *ConsentsGetConsentsConsentIDDefault) Code() int
Code gets the status code for the consents get consents consent Id default response
func (*ConsentsGetConsentsConsentIDDefault) Error ¶
func (o *ConsentsGetConsentsConsentIDDefault) Error() string
func (*ConsentsGetConsentsConsentIDDefault) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDDefault) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDDefault) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDDefault) IsClientError() bool
IsClientError returns true when this consents get consents consent Id default response has a 4xx status code
func (*ConsentsGetConsentsConsentIDDefault) IsCode ¶
func (o *ConsentsGetConsentsConsentIDDefault) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id default response a status code equal to that given
func (*ConsentsGetConsentsConsentIDDefault) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDDefault) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id default response has a 3xx status code
func (*ConsentsGetConsentsConsentIDDefault) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDDefault) IsServerError() bool
IsServerError returns true when this consents get consents consent Id default response has a 5xx status code
func (*ConsentsGetConsentsConsentIDDefault) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDDefault) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id default response has a 2xx status code
func (*ConsentsGetConsentsConsentIDDefault) String ¶
func (o *ConsentsGetConsentsConsentIDDefault) String() string
type ConsentsGetConsentsConsentIDForbidden ¶
type ConsentsGetConsentsConsentIDForbidden struct {
Payload *models.ResponseError
}
ConsentsGetConsentsConsentIDForbidden describes a response with status code 403, with default header values.
O token tem escopo incorreto ou uma poltica de segurana foi violada
func NewConsentsGetConsentsConsentIDForbidden ¶
func NewConsentsGetConsentsConsentIDForbidden() *ConsentsGetConsentsConsentIDForbidden
NewConsentsGetConsentsConsentIDForbidden creates a ConsentsGetConsentsConsentIDForbidden with default headers values
func (*ConsentsGetConsentsConsentIDForbidden) Code ¶
func (o *ConsentsGetConsentsConsentIDForbidden) Code() int
Code gets the status code for the consents get consents consent Id forbidden response
func (*ConsentsGetConsentsConsentIDForbidden) Error ¶
func (o *ConsentsGetConsentsConsentIDForbidden) Error() string
func (*ConsentsGetConsentsConsentIDForbidden) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDForbidden) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDForbidden) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDForbidden) IsClientError() bool
IsClientError returns true when this consents get consents consent Id forbidden response has a 4xx status code
func (*ConsentsGetConsentsConsentIDForbidden) IsCode ¶
func (o *ConsentsGetConsentsConsentIDForbidden) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id forbidden response a status code equal to that given
func (*ConsentsGetConsentsConsentIDForbidden) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDForbidden) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id forbidden response has a 3xx status code
func (*ConsentsGetConsentsConsentIDForbidden) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDForbidden) IsServerError() bool
IsServerError returns true when this consents get consents consent Id forbidden response has a 5xx status code
func (*ConsentsGetConsentsConsentIDForbidden) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDForbidden) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id forbidden response has a 2xx status code
func (*ConsentsGetConsentsConsentIDForbidden) String ¶
func (o *ConsentsGetConsentsConsentIDForbidden) String() string
type ConsentsGetConsentsConsentIDInternalServerError ¶
type ConsentsGetConsentsConsentIDInternalServerError struct {
Payload *models.ResponseError
}
ConsentsGetConsentsConsentIDInternalServerError describes a response with status code 500, with default header values.
Ocorreu um erro no gateway da API ou no microsservio
func NewConsentsGetConsentsConsentIDInternalServerError ¶
func NewConsentsGetConsentsConsentIDInternalServerError() *ConsentsGetConsentsConsentIDInternalServerError
NewConsentsGetConsentsConsentIDInternalServerError creates a ConsentsGetConsentsConsentIDInternalServerError with default headers values
func (*ConsentsGetConsentsConsentIDInternalServerError) Code ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) Code() int
Code gets the status code for the consents get consents consent Id internal server error response
func (*ConsentsGetConsentsConsentIDInternalServerError) Error ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) Error() string
func (*ConsentsGetConsentsConsentIDInternalServerError) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDInternalServerError) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) IsClientError() bool
IsClientError returns true when this consents get consents consent Id internal server error response has a 4xx status code
func (*ConsentsGetConsentsConsentIDInternalServerError) IsCode ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id internal server error response a status code equal to that given
func (*ConsentsGetConsentsConsentIDInternalServerError) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id internal server error response has a 3xx status code
func (*ConsentsGetConsentsConsentIDInternalServerError) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) IsServerError() bool
IsServerError returns true when this consents get consents consent Id internal server error response has a 5xx status code
func (*ConsentsGetConsentsConsentIDInternalServerError) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id internal server error response has a 2xx status code
func (*ConsentsGetConsentsConsentIDInternalServerError) String ¶
func (o *ConsentsGetConsentsConsentIDInternalServerError) String() string
type ConsentsGetConsentsConsentIDMethodNotAllowed ¶
type ConsentsGetConsentsConsentIDMethodNotAllowed struct {
Payload *models.ResponseError
}
ConsentsGetConsentsConsentIDMethodNotAllowed describes a response with status code 405, with default header values.
O consumidor tentou acessar o recurso com um mtodo no suportado
func NewConsentsGetConsentsConsentIDMethodNotAllowed ¶
func NewConsentsGetConsentsConsentIDMethodNotAllowed() *ConsentsGetConsentsConsentIDMethodNotAllowed
NewConsentsGetConsentsConsentIDMethodNotAllowed creates a ConsentsGetConsentsConsentIDMethodNotAllowed with default headers values
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) Code ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) Code() int
Code gets the status code for the consents get consents consent Id method not allowed response
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) Error ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) Error() string
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsClientError() bool
IsClientError returns true when this consents get consents consent Id method not allowed response has a 4xx status code
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsCode ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id method not allowed response a status code equal to that given
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id method not allowed response has a 3xx status code
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsServerError() bool
IsServerError returns true when this consents get consents consent Id method not allowed response has a 5xx status code
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id method not allowed response has a 2xx status code
func (*ConsentsGetConsentsConsentIDMethodNotAllowed) String ¶
func (o *ConsentsGetConsentsConsentIDMethodNotAllowed) String() string
type ConsentsGetConsentsConsentIDNotAcceptable ¶
type ConsentsGetConsentsConsentIDNotAcceptable struct {
Payload *models.ResponseError
}
ConsentsGetConsentsConsentIDNotAcceptable describes a response with status code 406, with default header values.
A solicitao continha um cabealho Accept diferente dos tipos de mdia permitidos ou um conjunto de caracteres diferente de UTF-8
func NewConsentsGetConsentsConsentIDNotAcceptable ¶
func NewConsentsGetConsentsConsentIDNotAcceptable() *ConsentsGetConsentsConsentIDNotAcceptable
NewConsentsGetConsentsConsentIDNotAcceptable creates a ConsentsGetConsentsConsentIDNotAcceptable with default headers values
func (*ConsentsGetConsentsConsentIDNotAcceptable) Code ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) Code() int
Code gets the status code for the consents get consents consent Id not acceptable response
func (*ConsentsGetConsentsConsentIDNotAcceptable) Error ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) Error() string
func (*ConsentsGetConsentsConsentIDNotAcceptable) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDNotAcceptable) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsClientError() bool
IsClientError returns true when this consents get consents consent Id not acceptable response has a 4xx status code
func (*ConsentsGetConsentsConsentIDNotAcceptable) IsCode ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id not acceptable response a status code equal to that given
func (*ConsentsGetConsentsConsentIDNotAcceptable) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id not acceptable response has a 3xx status code
func (*ConsentsGetConsentsConsentIDNotAcceptable) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsServerError() bool
IsServerError returns true when this consents get consents consent Id not acceptable response has a 5xx status code
func (*ConsentsGetConsentsConsentIDNotAcceptable) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id not acceptable response has a 2xx status code
func (*ConsentsGetConsentsConsentIDNotAcceptable) String ¶
func (o *ConsentsGetConsentsConsentIDNotAcceptable) String() string
type ConsentsGetConsentsConsentIDNotFound ¶
type ConsentsGetConsentsConsentIDNotFound struct {
Payload *models.ResponseError
}
ConsentsGetConsentsConsentIDNotFound describes a response with status code 404, with default header values.
O recurso solicitado no existe ou no foi implementado
func NewConsentsGetConsentsConsentIDNotFound ¶
func NewConsentsGetConsentsConsentIDNotFound() *ConsentsGetConsentsConsentIDNotFound
NewConsentsGetConsentsConsentIDNotFound creates a ConsentsGetConsentsConsentIDNotFound with default headers values
func (*ConsentsGetConsentsConsentIDNotFound) Code ¶
func (o *ConsentsGetConsentsConsentIDNotFound) Code() int
Code gets the status code for the consents get consents consent Id not found response
func (*ConsentsGetConsentsConsentIDNotFound) Error ¶
func (o *ConsentsGetConsentsConsentIDNotFound) Error() string
func (*ConsentsGetConsentsConsentIDNotFound) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDNotFound) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDNotFound) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDNotFound) IsClientError() bool
IsClientError returns true when this consents get consents consent Id not found response has a 4xx status code
func (*ConsentsGetConsentsConsentIDNotFound) IsCode ¶
func (o *ConsentsGetConsentsConsentIDNotFound) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id not found response a status code equal to that given
func (*ConsentsGetConsentsConsentIDNotFound) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDNotFound) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id not found response has a 3xx status code
func (*ConsentsGetConsentsConsentIDNotFound) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDNotFound) IsServerError() bool
IsServerError returns true when this consents get consents consent Id not found response has a 5xx status code
func (*ConsentsGetConsentsConsentIDNotFound) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDNotFound) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id not found response has a 2xx status code
func (*ConsentsGetConsentsConsentIDNotFound) String ¶
func (o *ConsentsGetConsentsConsentIDNotFound) String() string
type ConsentsGetConsentsConsentIDOK ¶
type ConsentsGetConsentsConsentIDOK struct { /* Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta. Default: "92cac523-d3ae-2289-b106-330a6218710d" */ XFapiInteractionID string Payload *models.ResponseConsent }
ConsentsGetConsentsConsentIDOK describes a response with status code 200, with default header values.
Consentimento consultado com sucesso.
func NewConsentsGetConsentsConsentIDOK ¶
func NewConsentsGetConsentsConsentIDOK() *ConsentsGetConsentsConsentIDOK
NewConsentsGetConsentsConsentIDOK creates a ConsentsGetConsentsConsentIDOK with default headers values
func (*ConsentsGetConsentsConsentIDOK) Code ¶
func (o *ConsentsGetConsentsConsentIDOK) Code() int
Code gets the status code for the consents get consents consent Id o k response
func (*ConsentsGetConsentsConsentIDOK) Error ¶
func (o *ConsentsGetConsentsConsentIDOK) Error() string
func (*ConsentsGetConsentsConsentIDOK) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDOK) GetPayload() *models.ResponseConsent
func (*ConsentsGetConsentsConsentIDOK) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDOK) IsClientError() bool
IsClientError returns true when this consents get consents consent Id o k response has a 4xx status code
func (*ConsentsGetConsentsConsentIDOK) IsCode ¶
func (o *ConsentsGetConsentsConsentIDOK) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id o k response a status code equal to that given
func (*ConsentsGetConsentsConsentIDOK) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDOK) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id o k response has a 3xx status code
func (*ConsentsGetConsentsConsentIDOK) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDOK) IsServerError() bool
IsServerError returns true when this consents get consents consent Id o k response has a 5xx status code
func (*ConsentsGetConsentsConsentIDOK) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDOK) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id o k response has a 2xx status code
func (*ConsentsGetConsentsConsentIDOK) String ¶
func (o *ConsentsGetConsentsConsentIDOK) String() string
type ConsentsGetConsentsConsentIDParams ¶
type ConsentsGetConsentsConsentIDParams struct { /* Authorization. Cabealho HTTP padro. Permite que as credenciais sejam fornecidas dependendo do tipo de recurso solicitado */ Authorization string /* ConsentID. O consentId o identificador nico do consentimento e dever ser um URN - Uniform Resource Name. Um URN, conforme definido na [RFC8141](https://tools.ietf.org/html/rfc8141) um Uniform Resource Identifier - URI - que atribudo sob o URI scheme "urn" e um namespace URN especfico, com a inteno de que o URN seja um identificador de recurso persistente e independente da localizao. Considerando a string urn:bancoex:C1DD33123 como exemplo para consentId temos: - o namespace(urn) - o identificador associado ao namespace da instituio transnmissora (bancoex) - o identificador especfico dentro do namespace (C1DD33123). Informaes mais detalhadas sobre a construo de namespaces devem ser consultadas na [RFC8141](https://tools.ietf.org/html/rfc8141). */ ConsentID string /* XCustomerUserAgent. Indica o user-agent que o usurio utiliza. */ XCustomerUserAgent *string /* XFapiAuthDate. Data em que o usurio logou pela ltima vez com o receptor. Representada de acordo com a [RFC7231](https://tools.ietf.org/html/rfc7231).Exemplo: Sun, 10 Sep 2017 19:43:31 UTC */ XFapiAuthDate *string /* XFapiCustomerIPAddress. O endereo IP do usurio se estiver atualmente logado com o receptor. */ XFapiCustomerIPAddress *string /* XFapiInteractionID. Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta. */ XFapiInteractionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConsentsGetConsentsConsentIDParams contains all the parameters to send to the API endpoint
for the consents get consents consent Id operation. Typically these are written to a http.Request.
func NewConsentsGetConsentsConsentIDParams ¶
func NewConsentsGetConsentsConsentIDParams() *ConsentsGetConsentsConsentIDParams
NewConsentsGetConsentsConsentIDParams creates a new ConsentsGetConsentsConsentIDParams 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 NewConsentsGetConsentsConsentIDParamsWithContext ¶
func NewConsentsGetConsentsConsentIDParamsWithContext(ctx context.Context) *ConsentsGetConsentsConsentIDParams
NewConsentsGetConsentsConsentIDParamsWithContext creates a new ConsentsGetConsentsConsentIDParams object with the ability to set a context for a request.
func NewConsentsGetConsentsConsentIDParamsWithHTTPClient ¶
func NewConsentsGetConsentsConsentIDParamsWithHTTPClient(client *http.Client) *ConsentsGetConsentsConsentIDParams
NewConsentsGetConsentsConsentIDParamsWithHTTPClient creates a new ConsentsGetConsentsConsentIDParams object with the ability to set a custom HTTPClient for a request.
func NewConsentsGetConsentsConsentIDParamsWithTimeout ¶
func NewConsentsGetConsentsConsentIDParamsWithTimeout(timeout time.Duration) *ConsentsGetConsentsConsentIDParams
NewConsentsGetConsentsConsentIDParamsWithTimeout creates a new ConsentsGetConsentsConsentIDParams object with the ability to set a timeout on a request.
func (*ConsentsGetConsentsConsentIDParams) SetAuthorization ¶
func (o *ConsentsGetConsentsConsentIDParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetConsentID ¶
func (o *ConsentsGetConsentsConsentIDParams) SetConsentID(consentID string)
SetConsentID adds the consentId to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetContext ¶
func (o *ConsentsGetConsentsConsentIDParams) SetContext(ctx context.Context)
SetContext adds the context to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetDefaults ¶
func (o *ConsentsGetConsentsConsentIDParams) SetDefaults()
SetDefaults hydrates default values in the consents get consents consent Id params (not the query body).
All values with no default are reset to their zero value.
func (*ConsentsGetConsentsConsentIDParams) SetHTTPClient ¶
func (o *ConsentsGetConsentsConsentIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetTimeout ¶
func (o *ConsentsGetConsentsConsentIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetXCustomerUserAgent ¶
func (o *ConsentsGetConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
SetXCustomerUserAgent adds the xCustomerUserAgent to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetXFapiAuthDate ¶
func (o *ConsentsGetConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)
SetXFapiAuthDate adds the xFapiAuthDate to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetXFapiCustomerIPAddress ¶
func (o *ConsentsGetConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) SetXFapiInteractionID ¶
func (o *ConsentsGetConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)
SetXFapiInteractionID adds the xFapiInteractionId to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithAuthorization ¶
func (o *ConsentsGetConsentsConsentIDParams) WithAuthorization(authorization string) *ConsentsGetConsentsConsentIDParams
WithAuthorization adds the authorization to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithConsentID ¶
func (o *ConsentsGetConsentsConsentIDParams) WithConsentID(consentID string) *ConsentsGetConsentsConsentIDParams
WithConsentID adds the consentID to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithContext ¶
func (o *ConsentsGetConsentsConsentIDParams) WithContext(ctx context.Context) *ConsentsGetConsentsConsentIDParams
WithContext adds the context to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithDefaults ¶
func (o *ConsentsGetConsentsConsentIDParams) WithDefaults() *ConsentsGetConsentsConsentIDParams
WithDefaults hydrates default values in the consents get consents consent Id params (not the query body).
All values with no default are reset to their zero value.
func (*ConsentsGetConsentsConsentIDParams) WithHTTPClient ¶
func (o *ConsentsGetConsentsConsentIDParams) WithHTTPClient(client *http.Client) *ConsentsGetConsentsConsentIDParams
WithHTTPClient adds the HTTPClient to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithTimeout ¶
func (o *ConsentsGetConsentsConsentIDParams) WithTimeout(timeout time.Duration) *ConsentsGetConsentsConsentIDParams
WithTimeout adds the timeout to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithXCustomerUserAgent ¶
func (o *ConsentsGetConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *ConsentsGetConsentsConsentIDParams
WithXCustomerUserAgent adds the xCustomerUserAgent to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithXFapiAuthDate ¶
func (o *ConsentsGetConsentsConsentIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *ConsentsGetConsentsConsentIDParams
WithXFapiAuthDate adds the xFapiAuthDate to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithXFapiCustomerIPAddress ¶
func (o *ConsentsGetConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *ConsentsGetConsentsConsentIDParams
WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WithXFapiInteractionID ¶
func (o *ConsentsGetConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *ConsentsGetConsentsConsentIDParams
WithXFapiInteractionID adds the xFapiInteractionID to the consents get consents consent Id params
func (*ConsentsGetConsentsConsentIDParams) WriteToRequest ¶
func (o *ConsentsGetConsentsConsentIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConsentsGetConsentsConsentIDReader ¶
type ConsentsGetConsentsConsentIDReader struct {
// contains filtered or unexported fields
}
ConsentsGetConsentsConsentIDReader is a Reader for the ConsentsGetConsentsConsentID structure.
func (*ConsentsGetConsentsConsentIDReader) ReadResponse ¶
func (o *ConsentsGetConsentsConsentIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConsentsGetConsentsConsentIDTooManyRequests ¶
type ConsentsGetConsentsConsentIDTooManyRequests struct {
Payload *models.ResponseError
}
ConsentsGetConsentsConsentIDTooManyRequests describes a response with status code 429, with default header values.
A operao foi recusada, pois muitas solicitaes foram feitas dentro de um determinado perodo ou o limite global de requisies concorrentes foi atingido
func NewConsentsGetConsentsConsentIDTooManyRequests ¶
func NewConsentsGetConsentsConsentIDTooManyRequests() *ConsentsGetConsentsConsentIDTooManyRequests
NewConsentsGetConsentsConsentIDTooManyRequests creates a ConsentsGetConsentsConsentIDTooManyRequests with default headers values
func (*ConsentsGetConsentsConsentIDTooManyRequests) Code ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) Code() int
Code gets the status code for the consents get consents consent Id too many requests response
func (*ConsentsGetConsentsConsentIDTooManyRequests) Error ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) Error() string
func (*ConsentsGetConsentsConsentIDTooManyRequests) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDTooManyRequests) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsClientError() bool
IsClientError returns true when this consents get consents consent Id too many requests response has a 4xx status code
func (*ConsentsGetConsentsConsentIDTooManyRequests) IsCode ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id too many requests response a status code equal to that given
func (*ConsentsGetConsentsConsentIDTooManyRequests) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id too many requests response has a 3xx status code
func (*ConsentsGetConsentsConsentIDTooManyRequests) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsServerError() bool
IsServerError returns true when this consents get consents consent Id too many requests response has a 5xx status code
func (*ConsentsGetConsentsConsentIDTooManyRequests) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id too many requests response has a 2xx status code
func (*ConsentsGetConsentsConsentIDTooManyRequests) String ¶
func (o *ConsentsGetConsentsConsentIDTooManyRequests) String() string
type ConsentsGetConsentsConsentIDUnauthorized ¶
type ConsentsGetConsentsConsentIDUnauthorized struct {
}ConsentsGetConsentsConsentIDUnauthorized describes a response with status code 401, with default header values.
Cabealho de autenticao ausente/invlido ou token invlido
func NewConsentsGetConsentsConsentIDUnauthorized ¶
func NewConsentsGetConsentsConsentIDUnauthorized() *ConsentsGetConsentsConsentIDUnauthorized
NewConsentsGetConsentsConsentIDUnauthorized creates a ConsentsGetConsentsConsentIDUnauthorized with default headers values
func (*ConsentsGetConsentsConsentIDUnauthorized) Code ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) Code() int
Code gets the status code for the consents get consents consent Id unauthorized response
func (*ConsentsGetConsentsConsentIDUnauthorized) Error ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) Error() string
func (*ConsentsGetConsentsConsentIDUnauthorized) GetPayload ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) GetPayload() *models.ResponseError
func (*ConsentsGetConsentsConsentIDUnauthorized) IsClientError ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) IsClientError() bool
IsClientError returns true when this consents get consents consent Id unauthorized response has a 4xx status code
func (*ConsentsGetConsentsConsentIDUnauthorized) IsCode ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) IsCode(code int) bool
IsCode returns true when this consents get consents consent Id unauthorized response a status code equal to that given
func (*ConsentsGetConsentsConsentIDUnauthorized) IsRedirect ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this consents get consents consent Id unauthorized response has a 3xx status code
func (*ConsentsGetConsentsConsentIDUnauthorized) IsServerError ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) IsServerError() bool
IsServerError returns true when this consents get consents consent Id unauthorized response has a 5xx status code
func (*ConsentsGetConsentsConsentIDUnauthorized) IsSuccess ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this consents get consents consent Id unauthorized response has a 2xx status code
func (*ConsentsGetConsentsConsentIDUnauthorized) String ¶
func (o *ConsentsGetConsentsConsentIDUnauthorized) String() string
type ConsentsPostConsentsBadRequest ¶
type ConsentsPostConsentsBadRequest struct {
Payload *models.ResponseError
}
ConsentsPostConsentsBadRequest describes a response with status code 400, with default header values.
A requisio foi malformada, omitindo atributos obrigatrios, seja no payload ou atravs de atributos na URL.
func NewConsentsPostConsentsBadRequest ¶
func NewConsentsPostConsentsBadRequest() *ConsentsPostConsentsBadRequest
NewConsentsPostConsentsBadRequest creates a ConsentsPostConsentsBadRequest with default headers values
func (*ConsentsPostConsentsBadRequest) Code ¶
func (o *ConsentsPostConsentsBadRequest) Code() int
Code gets the status code for the consents post consents bad request response
func (*ConsentsPostConsentsBadRequest) Error ¶
func (o *ConsentsPostConsentsBadRequest) Error() string
func (*ConsentsPostConsentsBadRequest) GetPayload ¶
func (o *ConsentsPostConsentsBadRequest) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsBadRequest) IsClientError ¶
func (o *ConsentsPostConsentsBadRequest) IsClientError() bool
IsClientError returns true when this consents post consents bad request response has a 4xx status code
func (*ConsentsPostConsentsBadRequest) IsCode ¶
func (o *ConsentsPostConsentsBadRequest) IsCode(code int) bool
IsCode returns true when this consents post consents bad request response a status code equal to that given
func (*ConsentsPostConsentsBadRequest) IsRedirect ¶
func (o *ConsentsPostConsentsBadRequest) IsRedirect() bool
IsRedirect returns true when this consents post consents bad request response has a 3xx status code
func (*ConsentsPostConsentsBadRequest) IsServerError ¶
func (o *ConsentsPostConsentsBadRequest) IsServerError() bool
IsServerError returns true when this consents post consents bad request response has a 5xx status code
func (*ConsentsPostConsentsBadRequest) IsSuccess ¶
func (o *ConsentsPostConsentsBadRequest) IsSuccess() bool
IsSuccess returns true when this consents post consents bad request response has a 2xx status code
func (*ConsentsPostConsentsBadRequest) String ¶
func (o *ConsentsPostConsentsBadRequest) String() string
type ConsentsPostConsentsCreated ¶
type ConsentsPostConsentsCreated struct { /* Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta. Default: "73cac523-d3ae-2289-b106-330a6218710d" */ XFapiInteractionID string Payload *models.ResponseConsent }
ConsentsPostConsentsCreated describes a response with status code 201, with default header values.
Consentimento criado com sucesso.
func NewConsentsPostConsentsCreated ¶
func NewConsentsPostConsentsCreated() *ConsentsPostConsentsCreated
NewConsentsPostConsentsCreated creates a ConsentsPostConsentsCreated with default headers values
func (*ConsentsPostConsentsCreated) Code ¶
func (o *ConsentsPostConsentsCreated) Code() int
Code gets the status code for the consents post consents created response
func (*ConsentsPostConsentsCreated) Error ¶
func (o *ConsentsPostConsentsCreated) Error() string
func (*ConsentsPostConsentsCreated) GetPayload ¶
func (o *ConsentsPostConsentsCreated) GetPayload() *models.ResponseConsent
func (*ConsentsPostConsentsCreated) IsClientError ¶
func (o *ConsentsPostConsentsCreated) IsClientError() bool
IsClientError returns true when this consents post consents created response has a 4xx status code
func (*ConsentsPostConsentsCreated) IsCode ¶
func (o *ConsentsPostConsentsCreated) IsCode(code int) bool
IsCode returns true when this consents post consents created response a status code equal to that given
func (*ConsentsPostConsentsCreated) IsRedirect ¶
func (o *ConsentsPostConsentsCreated) IsRedirect() bool
IsRedirect returns true when this consents post consents created response has a 3xx status code
func (*ConsentsPostConsentsCreated) IsServerError ¶
func (o *ConsentsPostConsentsCreated) IsServerError() bool
IsServerError returns true when this consents post consents created response has a 5xx status code
func (*ConsentsPostConsentsCreated) IsSuccess ¶
func (o *ConsentsPostConsentsCreated) IsSuccess() bool
IsSuccess returns true when this consents post consents created response has a 2xx status code
func (*ConsentsPostConsentsCreated) String ¶
func (o *ConsentsPostConsentsCreated) String() string
type ConsentsPostConsentsDefault ¶
type ConsentsPostConsentsDefault struct { Payload *models.ResponseError // contains filtered or unexported fields }
ConsentsPostConsentsDefault describes a response with status code -1, with default header values.
Erro inesperado.
func NewConsentsPostConsentsDefault ¶
func NewConsentsPostConsentsDefault(code int) *ConsentsPostConsentsDefault
NewConsentsPostConsentsDefault creates a ConsentsPostConsentsDefault with default headers values
func (*ConsentsPostConsentsDefault) Code ¶
func (o *ConsentsPostConsentsDefault) Code() int
Code gets the status code for the consents post consents default response
func (*ConsentsPostConsentsDefault) Error ¶
func (o *ConsentsPostConsentsDefault) Error() string
func (*ConsentsPostConsentsDefault) GetPayload ¶
func (o *ConsentsPostConsentsDefault) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsDefault) IsClientError ¶
func (o *ConsentsPostConsentsDefault) IsClientError() bool
IsClientError returns true when this consents post consents default response has a 4xx status code
func (*ConsentsPostConsentsDefault) IsCode ¶
func (o *ConsentsPostConsentsDefault) IsCode(code int) bool
IsCode returns true when this consents post consents default response a status code equal to that given
func (*ConsentsPostConsentsDefault) IsRedirect ¶
func (o *ConsentsPostConsentsDefault) IsRedirect() bool
IsRedirect returns true when this consents post consents default response has a 3xx status code
func (*ConsentsPostConsentsDefault) IsServerError ¶
func (o *ConsentsPostConsentsDefault) IsServerError() bool
IsServerError returns true when this consents post consents default response has a 5xx status code
func (*ConsentsPostConsentsDefault) IsSuccess ¶
func (o *ConsentsPostConsentsDefault) IsSuccess() bool
IsSuccess returns true when this consents post consents default response has a 2xx status code
func (*ConsentsPostConsentsDefault) String ¶
func (o *ConsentsPostConsentsDefault) String() string
type ConsentsPostConsentsForbidden ¶
type ConsentsPostConsentsForbidden struct {
Payload *models.ResponseError
}
ConsentsPostConsentsForbidden describes a response with status code 403, with default header values.
O token tem escopo incorreto ou uma poltica de segurana foi violada
func NewConsentsPostConsentsForbidden ¶
func NewConsentsPostConsentsForbidden() *ConsentsPostConsentsForbidden
NewConsentsPostConsentsForbidden creates a ConsentsPostConsentsForbidden with default headers values
func (*ConsentsPostConsentsForbidden) Code ¶
func (o *ConsentsPostConsentsForbidden) Code() int
Code gets the status code for the consents post consents forbidden response
func (*ConsentsPostConsentsForbidden) Error ¶
func (o *ConsentsPostConsentsForbidden) Error() string
func (*ConsentsPostConsentsForbidden) GetPayload ¶
func (o *ConsentsPostConsentsForbidden) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsForbidden) IsClientError ¶
func (o *ConsentsPostConsentsForbidden) IsClientError() bool
IsClientError returns true when this consents post consents forbidden response has a 4xx status code
func (*ConsentsPostConsentsForbidden) IsCode ¶
func (o *ConsentsPostConsentsForbidden) IsCode(code int) bool
IsCode returns true when this consents post consents forbidden response a status code equal to that given
func (*ConsentsPostConsentsForbidden) IsRedirect ¶
func (o *ConsentsPostConsentsForbidden) IsRedirect() bool
IsRedirect returns true when this consents post consents forbidden response has a 3xx status code
func (*ConsentsPostConsentsForbidden) IsServerError ¶
func (o *ConsentsPostConsentsForbidden) IsServerError() bool
IsServerError returns true when this consents post consents forbidden response has a 5xx status code
func (*ConsentsPostConsentsForbidden) IsSuccess ¶
func (o *ConsentsPostConsentsForbidden) IsSuccess() bool
IsSuccess returns true when this consents post consents forbidden response has a 2xx status code
func (*ConsentsPostConsentsForbidden) String ¶
func (o *ConsentsPostConsentsForbidden) String() string
type ConsentsPostConsentsInternalServerError ¶
type ConsentsPostConsentsInternalServerError struct {
Payload *models.ResponseError
}
ConsentsPostConsentsInternalServerError describes a response with status code 500, with default header values.
Ocorreu um erro no gateway da API ou no microsservio
func NewConsentsPostConsentsInternalServerError ¶
func NewConsentsPostConsentsInternalServerError() *ConsentsPostConsentsInternalServerError
NewConsentsPostConsentsInternalServerError creates a ConsentsPostConsentsInternalServerError with default headers values
func (*ConsentsPostConsentsInternalServerError) Code ¶
func (o *ConsentsPostConsentsInternalServerError) Code() int
Code gets the status code for the consents post consents internal server error response
func (*ConsentsPostConsentsInternalServerError) Error ¶
func (o *ConsentsPostConsentsInternalServerError) Error() string
func (*ConsentsPostConsentsInternalServerError) GetPayload ¶
func (o *ConsentsPostConsentsInternalServerError) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsInternalServerError) IsClientError ¶
func (o *ConsentsPostConsentsInternalServerError) IsClientError() bool
IsClientError returns true when this consents post consents internal server error response has a 4xx status code
func (*ConsentsPostConsentsInternalServerError) IsCode ¶
func (o *ConsentsPostConsentsInternalServerError) IsCode(code int) bool
IsCode returns true when this consents post consents internal server error response a status code equal to that given
func (*ConsentsPostConsentsInternalServerError) IsRedirect ¶
func (o *ConsentsPostConsentsInternalServerError) IsRedirect() bool
IsRedirect returns true when this consents post consents internal server error response has a 3xx status code
func (*ConsentsPostConsentsInternalServerError) IsServerError ¶
func (o *ConsentsPostConsentsInternalServerError) IsServerError() bool
IsServerError returns true when this consents post consents internal server error response has a 5xx status code
func (*ConsentsPostConsentsInternalServerError) IsSuccess ¶
func (o *ConsentsPostConsentsInternalServerError) IsSuccess() bool
IsSuccess returns true when this consents post consents internal server error response has a 2xx status code
func (*ConsentsPostConsentsInternalServerError) String ¶
func (o *ConsentsPostConsentsInternalServerError) String() string
type ConsentsPostConsentsMethodNotAllowed ¶
type ConsentsPostConsentsMethodNotAllowed struct {
Payload *models.ResponseError
}
ConsentsPostConsentsMethodNotAllowed describes a response with status code 405, with default header values.
O consumidor tentou acessar o recurso com um mtodo no suportado
func NewConsentsPostConsentsMethodNotAllowed ¶
func NewConsentsPostConsentsMethodNotAllowed() *ConsentsPostConsentsMethodNotAllowed
NewConsentsPostConsentsMethodNotAllowed creates a ConsentsPostConsentsMethodNotAllowed with default headers values
func (*ConsentsPostConsentsMethodNotAllowed) Code ¶
func (o *ConsentsPostConsentsMethodNotAllowed) Code() int
Code gets the status code for the consents post consents method not allowed response
func (*ConsentsPostConsentsMethodNotAllowed) Error ¶
func (o *ConsentsPostConsentsMethodNotAllowed) Error() string
func (*ConsentsPostConsentsMethodNotAllowed) GetPayload ¶
func (o *ConsentsPostConsentsMethodNotAllowed) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsMethodNotAllowed) IsClientError ¶
func (o *ConsentsPostConsentsMethodNotAllowed) IsClientError() bool
IsClientError returns true when this consents post consents method not allowed response has a 4xx status code
func (*ConsentsPostConsentsMethodNotAllowed) IsCode ¶
func (o *ConsentsPostConsentsMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this consents post consents method not allowed response a status code equal to that given
func (*ConsentsPostConsentsMethodNotAllowed) IsRedirect ¶
func (o *ConsentsPostConsentsMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this consents post consents method not allowed response has a 3xx status code
func (*ConsentsPostConsentsMethodNotAllowed) IsServerError ¶
func (o *ConsentsPostConsentsMethodNotAllowed) IsServerError() bool
IsServerError returns true when this consents post consents method not allowed response has a 5xx status code
func (*ConsentsPostConsentsMethodNotAllowed) IsSuccess ¶
func (o *ConsentsPostConsentsMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this consents post consents method not allowed response has a 2xx status code
func (*ConsentsPostConsentsMethodNotAllowed) String ¶
func (o *ConsentsPostConsentsMethodNotAllowed) String() string
type ConsentsPostConsentsNotAcceptable ¶
type ConsentsPostConsentsNotAcceptable struct {
Payload *models.ResponseError
}
ConsentsPostConsentsNotAcceptable describes a response with status code 406, with default header values.
A solicitao continha um cabealho Accept diferente dos tipos de mdia permitidos ou um conjunto de caracteres diferente de UTF-8
func NewConsentsPostConsentsNotAcceptable ¶
func NewConsentsPostConsentsNotAcceptable() *ConsentsPostConsentsNotAcceptable
NewConsentsPostConsentsNotAcceptable creates a ConsentsPostConsentsNotAcceptable with default headers values
func (*ConsentsPostConsentsNotAcceptable) Code ¶
func (o *ConsentsPostConsentsNotAcceptable) Code() int
Code gets the status code for the consents post consents not acceptable response
func (*ConsentsPostConsentsNotAcceptable) Error ¶
func (o *ConsentsPostConsentsNotAcceptable) Error() string
func (*ConsentsPostConsentsNotAcceptable) GetPayload ¶
func (o *ConsentsPostConsentsNotAcceptable) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsNotAcceptable) IsClientError ¶
func (o *ConsentsPostConsentsNotAcceptable) IsClientError() bool
IsClientError returns true when this consents post consents not acceptable response has a 4xx status code
func (*ConsentsPostConsentsNotAcceptable) IsCode ¶
func (o *ConsentsPostConsentsNotAcceptable) IsCode(code int) bool
IsCode returns true when this consents post consents not acceptable response a status code equal to that given
func (*ConsentsPostConsentsNotAcceptable) IsRedirect ¶
func (o *ConsentsPostConsentsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this consents post consents not acceptable response has a 3xx status code
func (*ConsentsPostConsentsNotAcceptable) IsServerError ¶
func (o *ConsentsPostConsentsNotAcceptable) IsServerError() bool
IsServerError returns true when this consents post consents not acceptable response has a 5xx status code
func (*ConsentsPostConsentsNotAcceptable) IsSuccess ¶
func (o *ConsentsPostConsentsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this consents post consents not acceptable response has a 2xx status code
func (*ConsentsPostConsentsNotAcceptable) String ¶
func (o *ConsentsPostConsentsNotAcceptable) String() string
type ConsentsPostConsentsNotFound ¶
type ConsentsPostConsentsNotFound struct {
Payload *models.ResponseError
}
ConsentsPostConsentsNotFound describes a response with status code 404, with default header values.
O recurso solicitado no existe ou no foi implementado
func NewConsentsPostConsentsNotFound ¶
func NewConsentsPostConsentsNotFound() *ConsentsPostConsentsNotFound
NewConsentsPostConsentsNotFound creates a ConsentsPostConsentsNotFound with default headers values
func (*ConsentsPostConsentsNotFound) Code ¶
func (o *ConsentsPostConsentsNotFound) Code() int
Code gets the status code for the consents post consents not found response
func (*ConsentsPostConsentsNotFound) Error ¶
func (o *ConsentsPostConsentsNotFound) Error() string
func (*ConsentsPostConsentsNotFound) GetPayload ¶
func (o *ConsentsPostConsentsNotFound) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsNotFound) IsClientError ¶
func (o *ConsentsPostConsentsNotFound) IsClientError() bool
IsClientError returns true when this consents post consents not found response has a 4xx status code
func (*ConsentsPostConsentsNotFound) IsCode ¶
func (o *ConsentsPostConsentsNotFound) IsCode(code int) bool
IsCode returns true when this consents post consents not found response a status code equal to that given
func (*ConsentsPostConsentsNotFound) IsRedirect ¶
func (o *ConsentsPostConsentsNotFound) IsRedirect() bool
IsRedirect returns true when this consents post consents not found response has a 3xx status code
func (*ConsentsPostConsentsNotFound) IsServerError ¶
func (o *ConsentsPostConsentsNotFound) IsServerError() bool
IsServerError returns true when this consents post consents not found response has a 5xx status code
func (*ConsentsPostConsentsNotFound) IsSuccess ¶
func (o *ConsentsPostConsentsNotFound) IsSuccess() bool
IsSuccess returns true when this consents post consents not found response has a 2xx status code
func (*ConsentsPostConsentsNotFound) String ¶
func (o *ConsentsPostConsentsNotFound) String() string
type ConsentsPostConsentsParams ¶
type ConsentsPostConsentsParams struct { /* Authorization. Cabealho HTTP padro. Permite que as credenciais sejam fornecidas dependendo do tipo de recurso solicitado */ Authorization string /* Body. Payload para criao do consentimento. */ Body *models.CreateConsent /* XCustomerUserAgent. Indica o user-agent que o usurio utiliza. */ XCustomerUserAgent *string /* XFapiAuthDate. Data em que o usurio logou pela ltima vez com o receptor. Representada de acordo com a [RFC7231](https://tools.ietf.org/html/rfc7231).Exemplo: Sun, 10 Sep 2017 19:43:31 UTC */ XFapiAuthDate *string /* XFapiCustomerIPAddress. O endereo IP do usurio se estiver atualmente logado com o receptor. */ XFapiCustomerIPAddress *string /* XFapiInteractionID. Um UID [RFC4122](https://tools.ietf.org/html/rfc4122) usado como um ID de correlao. Se fornecido, o transmissor deve "reproduzir" esse valor no cabealho de resposta. */ XFapiInteractionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConsentsPostConsentsParams contains all the parameters to send to the API endpoint
for the consents post consents operation. Typically these are written to a http.Request.
func NewConsentsPostConsentsParams ¶
func NewConsentsPostConsentsParams() *ConsentsPostConsentsParams
NewConsentsPostConsentsParams creates a new ConsentsPostConsentsParams 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 NewConsentsPostConsentsParamsWithContext ¶
func NewConsentsPostConsentsParamsWithContext(ctx context.Context) *ConsentsPostConsentsParams
NewConsentsPostConsentsParamsWithContext creates a new ConsentsPostConsentsParams object with the ability to set a context for a request.
func NewConsentsPostConsentsParamsWithHTTPClient ¶
func NewConsentsPostConsentsParamsWithHTTPClient(client *http.Client) *ConsentsPostConsentsParams
NewConsentsPostConsentsParamsWithHTTPClient creates a new ConsentsPostConsentsParams object with the ability to set a custom HTTPClient for a request.
func NewConsentsPostConsentsParamsWithTimeout ¶
func NewConsentsPostConsentsParamsWithTimeout(timeout time.Duration) *ConsentsPostConsentsParams
NewConsentsPostConsentsParamsWithTimeout creates a new ConsentsPostConsentsParams object with the ability to set a timeout on a request.
func (*ConsentsPostConsentsParams) SetAuthorization ¶
func (o *ConsentsPostConsentsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the consents post consents params
func (*ConsentsPostConsentsParams) SetBody ¶
func (o *ConsentsPostConsentsParams) SetBody(body *models.CreateConsent)
SetBody adds the body to the consents post consents params
func (*ConsentsPostConsentsParams) SetContext ¶
func (o *ConsentsPostConsentsParams) SetContext(ctx context.Context)
SetContext adds the context to the consents post consents params
func (*ConsentsPostConsentsParams) SetDefaults ¶
func (o *ConsentsPostConsentsParams) SetDefaults()
SetDefaults hydrates default values in the consents post consents params (not the query body).
All values with no default are reset to their zero value.
func (*ConsentsPostConsentsParams) SetHTTPClient ¶
func (o *ConsentsPostConsentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the consents post consents params
func (*ConsentsPostConsentsParams) SetTimeout ¶
func (o *ConsentsPostConsentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the consents post consents params
func (*ConsentsPostConsentsParams) SetXCustomerUserAgent ¶
func (o *ConsentsPostConsentsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
SetXCustomerUserAgent adds the xCustomerUserAgent to the consents post consents params
func (*ConsentsPostConsentsParams) SetXFapiAuthDate ¶
func (o *ConsentsPostConsentsParams) SetXFapiAuthDate(xFapiAuthDate *string)
SetXFapiAuthDate adds the xFapiAuthDate to the consents post consents params
func (*ConsentsPostConsentsParams) SetXFapiCustomerIPAddress ¶
func (o *ConsentsPostConsentsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the consents post consents params
func (*ConsentsPostConsentsParams) SetXFapiInteractionID ¶
func (o *ConsentsPostConsentsParams) SetXFapiInteractionID(xFapiInteractionID *string)
SetXFapiInteractionID adds the xFapiInteractionId to the consents post consents params
func (*ConsentsPostConsentsParams) WithAuthorization ¶
func (o *ConsentsPostConsentsParams) WithAuthorization(authorization string) *ConsentsPostConsentsParams
WithAuthorization adds the authorization to the consents post consents params
func (*ConsentsPostConsentsParams) WithBody ¶
func (o *ConsentsPostConsentsParams) WithBody(body *models.CreateConsent) *ConsentsPostConsentsParams
WithBody adds the body to the consents post consents params
func (*ConsentsPostConsentsParams) WithContext ¶
func (o *ConsentsPostConsentsParams) WithContext(ctx context.Context) *ConsentsPostConsentsParams
WithContext adds the context to the consents post consents params
func (*ConsentsPostConsentsParams) WithDefaults ¶
func (o *ConsentsPostConsentsParams) WithDefaults() *ConsentsPostConsentsParams
WithDefaults hydrates default values in the consents post consents params (not the query body).
All values with no default are reset to their zero value.
func (*ConsentsPostConsentsParams) WithHTTPClient ¶
func (o *ConsentsPostConsentsParams) WithHTTPClient(client *http.Client) *ConsentsPostConsentsParams
WithHTTPClient adds the HTTPClient to the consents post consents params
func (*ConsentsPostConsentsParams) WithTimeout ¶
func (o *ConsentsPostConsentsParams) WithTimeout(timeout time.Duration) *ConsentsPostConsentsParams
WithTimeout adds the timeout to the consents post consents params
func (*ConsentsPostConsentsParams) WithXCustomerUserAgent ¶
func (o *ConsentsPostConsentsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *ConsentsPostConsentsParams
WithXCustomerUserAgent adds the xCustomerUserAgent to the consents post consents params
func (*ConsentsPostConsentsParams) WithXFapiAuthDate ¶
func (o *ConsentsPostConsentsParams) WithXFapiAuthDate(xFapiAuthDate *string) *ConsentsPostConsentsParams
WithXFapiAuthDate adds the xFapiAuthDate to the consents post consents params
func (*ConsentsPostConsentsParams) WithXFapiCustomerIPAddress ¶
func (o *ConsentsPostConsentsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *ConsentsPostConsentsParams
WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the consents post consents params
func (*ConsentsPostConsentsParams) WithXFapiInteractionID ¶
func (o *ConsentsPostConsentsParams) WithXFapiInteractionID(xFapiInteractionID *string) *ConsentsPostConsentsParams
WithXFapiInteractionID adds the xFapiInteractionID to the consents post consents params
func (*ConsentsPostConsentsParams) WriteToRequest ¶
func (o *ConsentsPostConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConsentsPostConsentsReader ¶
type ConsentsPostConsentsReader struct {
// contains filtered or unexported fields
}
ConsentsPostConsentsReader is a Reader for the ConsentsPostConsents structure.
func (*ConsentsPostConsentsReader) ReadResponse ¶
func (o *ConsentsPostConsentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ConsentsPostConsentsTooManyRequests ¶
type ConsentsPostConsentsTooManyRequests struct {
Payload *models.ResponseError
}
ConsentsPostConsentsTooManyRequests describes a response with status code 429, with default header values.
A operao foi recusada, pois muitas solicitaes foram feitas dentro de um determinado perodo ou o limite global de requisies concorrentes foi atingido
func NewConsentsPostConsentsTooManyRequests ¶
func NewConsentsPostConsentsTooManyRequests() *ConsentsPostConsentsTooManyRequests
NewConsentsPostConsentsTooManyRequests creates a ConsentsPostConsentsTooManyRequests with default headers values
func (*ConsentsPostConsentsTooManyRequests) Code ¶
func (o *ConsentsPostConsentsTooManyRequests) Code() int
Code gets the status code for the consents post consents too many requests response
func (*ConsentsPostConsentsTooManyRequests) Error ¶
func (o *ConsentsPostConsentsTooManyRequests) Error() string
func (*ConsentsPostConsentsTooManyRequests) GetPayload ¶
func (o *ConsentsPostConsentsTooManyRequests) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsTooManyRequests) IsClientError ¶
func (o *ConsentsPostConsentsTooManyRequests) IsClientError() bool
IsClientError returns true when this consents post consents too many requests response has a 4xx status code
func (*ConsentsPostConsentsTooManyRequests) IsCode ¶
func (o *ConsentsPostConsentsTooManyRequests) IsCode(code int) bool
IsCode returns true when this consents post consents too many requests response a status code equal to that given
func (*ConsentsPostConsentsTooManyRequests) IsRedirect ¶
func (o *ConsentsPostConsentsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this consents post consents too many requests response has a 3xx status code
func (*ConsentsPostConsentsTooManyRequests) IsServerError ¶
func (o *ConsentsPostConsentsTooManyRequests) IsServerError() bool
IsServerError returns true when this consents post consents too many requests response has a 5xx status code
func (*ConsentsPostConsentsTooManyRequests) IsSuccess ¶
func (o *ConsentsPostConsentsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this consents post consents too many requests response has a 2xx status code
func (*ConsentsPostConsentsTooManyRequests) String ¶
func (o *ConsentsPostConsentsTooManyRequests) String() string
type ConsentsPostConsentsUnauthorized ¶
type ConsentsPostConsentsUnauthorized struct {
}ConsentsPostConsentsUnauthorized describes a response with status code 401, with default header values.
Cabealho de autenticao ausente/invlido ou token invlido
func NewConsentsPostConsentsUnauthorized ¶
func NewConsentsPostConsentsUnauthorized() *ConsentsPostConsentsUnauthorized
NewConsentsPostConsentsUnauthorized creates a ConsentsPostConsentsUnauthorized with default headers values
func (*ConsentsPostConsentsUnauthorized) Code ¶
func (o *ConsentsPostConsentsUnauthorized) Code() int
Code gets the status code for the consents post consents unauthorized response
func (*ConsentsPostConsentsUnauthorized) Error ¶
func (o *ConsentsPostConsentsUnauthorized) Error() string
func (*ConsentsPostConsentsUnauthorized) GetPayload ¶
func (o *ConsentsPostConsentsUnauthorized) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsUnauthorized) IsClientError ¶
func (o *ConsentsPostConsentsUnauthorized) IsClientError() bool
IsClientError returns true when this consents post consents unauthorized response has a 4xx status code
func (*ConsentsPostConsentsUnauthorized) IsCode ¶
func (o *ConsentsPostConsentsUnauthorized) IsCode(code int) bool
IsCode returns true when this consents post consents unauthorized response a status code equal to that given
func (*ConsentsPostConsentsUnauthorized) IsRedirect ¶
func (o *ConsentsPostConsentsUnauthorized) IsRedirect() bool
IsRedirect returns true when this consents post consents unauthorized response has a 3xx status code
func (*ConsentsPostConsentsUnauthorized) IsServerError ¶
func (o *ConsentsPostConsentsUnauthorized) IsServerError() bool
IsServerError returns true when this consents post consents unauthorized response has a 5xx status code
func (*ConsentsPostConsentsUnauthorized) IsSuccess ¶
func (o *ConsentsPostConsentsUnauthorized) IsSuccess() bool
IsSuccess returns true when this consents post consents unauthorized response has a 2xx status code
func (*ConsentsPostConsentsUnauthorized) String ¶
func (o *ConsentsPostConsentsUnauthorized) String() string
type ConsentsPostConsentsUnprocessableEntity ¶
type ConsentsPostConsentsUnprocessableEntity struct {
Payload *models.ResponseError
}
ConsentsPostConsentsUnprocessableEntity describes a response with status code 422, with default header values.
A sintaxe da requisio esta correta, mas no foi possvel processar as instrues presentes.
func NewConsentsPostConsentsUnprocessableEntity ¶
func NewConsentsPostConsentsUnprocessableEntity() *ConsentsPostConsentsUnprocessableEntity
NewConsentsPostConsentsUnprocessableEntity creates a ConsentsPostConsentsUnprocessableEntity with default headers values
func (*ConsentsPostConsentsUnprocessableEntity) Code ¶
func (o *ConsentsPostConsentsUnprocessableEntity) Code() int
Code gets the status code for the consents post consents unprocessable entity response
func (*ConsentsPostConsentsUnprocessableEntity) Error ¶
func (o *ConsentsPostConsentsUnprocessableEntity) Error() string
func (*ConsentsPostConsentsUnprocessableEntity) GetPayload ¶
func (o *ConsentsPostConsentsUnprocessableEntity) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsUnprocessableEntity) IsClientError ¶
func (o *ConsentsPostConsentsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this consents post consents unprocessable entity response has a 4xx status code
func (*ConsentsPostConsentsUnprocessableEntity) IsCode ¶
func (o *ConsentsPostConsentsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this consents post consents unprocessable entity response a status code equal to that given
func (*ConsentsPostConsentsUnprocessableEntity) IsRedirect ¶
func (o *ConsentsPostConsentsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this consents post consents unprocessable entity response has a 3xx status code
func (*ConsentsPostConsentsUnprocessableEntity) IsServerError ¶
func (o *ConsentsPostConsentsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this consents post consents unprocessable entity response has a 5xx status code
func (*ConsentsPostConsentsUnprocessableEntity) IsSuccess ¶
func (o *ConsentsPostConsentsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this consents post consents unprocessable entity response has a 2xx status code
func (*ConsentsPostConsentsUnprocessableEntity) String ¶
func (o *ConsentsPostConsentsUnprocessableEntity) String() string
type ConsentsPostConsentsUnsupportedMediaType ¶
type ConsentsPostConsentsUnsupportedMediaType struct {
Payload *models.ResponseError
}
ConsentsPostConsentsUnsupportedMediaType describes a response with status code 415, with default header values.
O formato do payload no um formato suportado.
func NewConsentsPostConsentsUnsupportedMediaType ¶
func NewConsentsPostConsentsUnsupportedMediaType() *ConsentsPostConsentsUnsupportedMediaType
NewConsentsPostConsentsUnsupportedMediaType creates a ConsentsPostConsentsUnsupportedMediaType with default headers values
func (*ConsentsPostConsentsUnsupportedMediaType) Code ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) Code() int
Code gets the status code for the consents post consents unsupported media type response
func (*ConsentsPostConsentsUnsupportedMediaType) Error ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) Error() string
func (*ConsentsPostConsentsUnsupportedMediaType) GetPayload ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) GetPayload() *models.ResponseError
func (*ConsentsPostConsentsUnsupportedMediaType) IsClientError ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this consents post consents unsupported media type response has a 4xx status code
func (*ConsentsPostConsentsUnsupportedMediaType) IsCode ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this consents post consents unsupported media type response a status code equal to that given
func (*ConsentsPostConsentsUnsupportedMediaType) IsRedirect ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this consents post consents unsupported media type response has a 3xx status code
func (*ConsentsPostConsentsUnsupportedMediaType) IsServerError ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this consents post consents unsupported media type response has a 5xx status code
func (*ConsentsPostConsentsUnsupportedMediaType) IsSuccess ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this consents post consents unsupported media type response has a 2xx status code
func (*ConsentsPostConsentsUnsupportedMediaType) String ¶
func (o *ConsentsPostConsentsUnsupportedMediaType) String() string