consents

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for consents API

func (*Client) ConsentsDeleteConsentsConsentID

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

Code gets the status code for the consents delete consents consent Id bad request response

func (*ConsentsDeleteConsentsConsentIDBadRequest) Error

func (*ConsentsDeleteConsentsConsentIDBadRequest) GetPayload

func (*ConsentsDeleteConsentsConsentIDBadRequest) IsClientError

IsClientError returns true when this consents delete consents consent Id bad request response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDBadRequest) IsCode

IsCode returns true when this consents delete consents consent Id bad request response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDBadRequest) IsRedirect

IsRedirect returns true when this consents delete consents consent Id bad request response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDBadRequest) IsServerError

IsServerError returns true when this consents delete consents consent Id bad request response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDBadRequest) IsSuccess

IsSuccess returns true when this consents delete consents consent Id bad request response has a 2xx status code

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

Code gets the status code for the consents delete consents consent Id default response

func (*ConsentsDeleteConsentsConsentIDDefault) Error

func (*ConsentsDeleteConsentsConsentIDDefault) GetPayload

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

IsCode returns true when this consents delete consents consent Id default response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDDefault) IsRedirect

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

IsSuccess returns true when this consents delete consents consent Id default response has a 2xx status code

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

Code gets the status code for the consents delete consents consent Id forbidden response

func (*ConsentsDeleteConsentsConsentIDForbidden) Error

func (*ConsentsDeleteConsentsConsentIDForbidden) GetPayload

func (*ConsentsDeleteConsentsConsentIDForbidden) IsClientError

IsClientError returns true when this consents delete consents consent Id forbidden response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDForbidden) IsCode

IsCode returns true when this consents delete consents consent Id forbidden response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDForbidden) IsRedirect

IsRedirect returns true when this consents delete consents consent Id forbidden response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDForbidden) IsServerError

IsServerError returns true when this consents delete consents consent Id forbidden response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDForbidden) IsSuccess

IsSuccess returns true when this consents delete consents consent Id forbidden response has a 2xx status code

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

Code gets the status code for the consents delete consents consent Id internal server error response

func (*ConsentsDeleteConsentsConsentIDInternalServerError) Error

func (*ConsentsDeleteConsentsConsentIDInternalServerError) GetPayload

func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsClientError

IsClientError returns true when this consents delete consents consent Id internal server error response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsCode

IsCode returns true when this consents delete consents consent Id internal server error response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsRedirect

IsRedirect returns true when this consents delete consents consent Id internal server error response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsServerError

IsServerError returns true when this consents delete consents consent Id internal server error response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDInternalServerError) IsSuccess

IsSuccess returns true when this consents delete consents consent Id internal server error response has a 2xx status code

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

Code gets the status code for the consents delete consents consent Id method not allowed response

func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) Error

func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) GetPayload

func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsClientError

IsClientError returns true when this consents delete consents consent Id method not allowed response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsCode

IsCode returns true when this consents delete consents consent Id method not allowed response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsRedirect

IsRedirect returns true when this consents delete consents consent Id method not allowed response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsServerError

IsServerError returns true when this consents delete consents consent Id method not allowed response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDMethodNotAllowed) IsSuccess

IsSuccess returns true when this consents delete consents consent Id method not allowed response has a 2xx status code

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

Code gets the status code for the consents delete consents consent Id no content response

func (*ConsentsDeleteConsentsConsentIDNoContent) Error

func (*ConsentsDeleteConsentsConsentIDNoContent) IsClientError

IsClientError returns true when this consents delete consents consent Id no content response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDNoContent) IsCode

IsCode returns true when this consents delete consents consent Id no content response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDNoContent) IsRedirect

IsRedirect returns true when this consents delete consents consent Id no content response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDNoContent) IsServerError

IsServerError returns true when this consents delete consents consent Id no content response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDNoContent) IsSuccess

IsSuccess returns true when this consents delete consents consent Id no content response has a 2xx status code

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

Code gets the status code for the consents delete consents consent Id not acceptable response

func (*ConsentsDeleteConsentsConsentIDNotAcceptable) Error

func (*ConsentsDeleteConsentsConsentIDNotAcceptable) GetPayload

func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsClientError

IsClientError returns true when this consents delete consents consent Id not acceptable response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsCode

IsCode returns true when this consents delete consents consent Id not acceptable response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsRedirect

IsRedirect returns true when this consents delete consents consent Id not acceptable response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsServerError

IsServerError returns true when this consents delete consents consent Id not acceptable response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDNotAcceptable) IsSuccess

IsSuccess returns true when this consents delete consents consent Id not acceptable response has a 2xx status code

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

Code gets the status code for the consents delete consents consent Id not found response

func (*ConsentsDeleteConsentsConsentIDNotFound) Error

func (*ConsentsDeleteConsentsConsentIDNotFound) GetPayload

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

IsCode returns true when this consents delete consents consent Id not found response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDNotFound) IsRedirect

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

IsSuccess returns true when this consents delete consents consent Id not found response has a 2xx status code

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

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

WithAuthorization adds the authorization to the consents delete consents consent Id params

func (*ConsentsDeleteConsentsConsentIDParams) WithConsentID

WithConsentID adds the consentID to the consents delete consents consent Id params

func (*ConsentsDeleteConsentsConsentIDParams) WithContext

WithContext adds the context to the consents delete consents consent Id params

func (*ConsentsDeleteConsentsConsentIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the consents delete consents consent Id params

func (*ConsentsDeleteConsentsConsentIDParams) WithTimeout

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

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

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

Code gets the status code for the consents delete consents consent Id too many requests response

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) Error

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) GetPayload

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsClientError

IsClientError returns true when this consents delete consents consent Id too many requests response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsCode

IsCode returns true when this consents delete consents consent Id too many requests response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsRedirect

IsRedirect returns true when this consents delete consents consent Id too many requests response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsServerError

IsServerError returns true when this consents delete consents consent Id too many requests response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) IsSuccess

IsSuccess returns true when this consents delete consents consent Id too many requests response has a 2xx status code

func (*ConsentsDeleteConsentsConsentIDTooManyRequests) String

type ConsentsDeleteConsentsConsentIDUnauthorized

type ConsentsDeleteConsentsConsentIDUnauthorized struct {
	Payload *models.ResponseError
}

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

Code gets the status code for the consents delete consents consent Id unauthorized response

func (*ConsentsDeleteConsentsConsentIDUnauthorized) Error

func (*ConsentsDeleteConsentsConsentIDUnauthorized) GetPayload

func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsClientError

IsClientError returns true when this consents delete consents consent Id unauthorized response has a 4xx status code

func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsCode

IsCode returns true when this consents delete consents consent Id unauthorized response a status code equal to that given

func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsRedirect

IsRedirect returns true when this consents delete consents consent Id unauthorized response has a 3xx status code

func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsServerError

IsServerError returns true when this consents delete consents consent Id unauthorized response has a 5xx status code

func (*ConsentsDeleteConsentsConsentIDUnauthorized) IsSuccess

IsSuccess returns true when this consents delete consents consent Id unauthorized response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id bad request response

func (*ConsentsGetConsentsConsentIDBadRequest) Error

func (*ConsentsGetConsentsConsentIDBadRequest) GetPayload

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

IsCode returns true when this consents get consents consent Id bad request response a status code equal to that given

func (*ConsentsGetConsentsConsentIDBadRequest) IsRedirect

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

IsSuccess returns true when this consents get consents consent Id bad request response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id default response

func (*ConsentsGetConsentsConsentIDDefault) Error

func (*ConsentsGetConsentsConsentIDDefault) GetPayload

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

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

IsSuccess returns true when this consents get consents consent Id default response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id forbidden response

func (*ConsentsGetConsentsConsentIDForbidden) Error

func (*ConsentsGetConsentsConsentIDForbidden) GetPayload

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

IsCode returns true when this consents get consents consent Id forbidden response a status code equal to that given

func (*ConsentsGetConsentsConsentIDForbidden) IsRedirect

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

IsSuccess returns true when this consents get consents consent Id forbidden response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id internal server error response

func (*ConsentsGetConsentsConsentIDInternalServerError) Error

func (*ConsentsGetConsentsConsentIDInternalServerError) GetPayload

func (*ConsentsGetConsentsConsentIDInternalServerError) IsClientError

IsClientError returns true when this consents get consents consent Id internal server error response has a 4xx status code

func (*ConsentsGetConsentsConsentIDInternalServerError) IsCode

IsCode returns true when this consents get consents consent Id internal server error response a status code equal to that given

func (*ConsentsGetConsentsConsentIDInternalServerError) IsRedirect

IsRedirect returns true when this consents get consents consent Id internal server error response has a 3xx status code

func (*ConsentsGetConsentsConsentIDInternalServerError) IsServerError

IsServerError returns true when this consents get consents consent Id internal server error response has a 5xx status code

func (*ConsentsGetConsentsConsentIDInternalServerError) IsSuccess

IsSuccess returns true when this consents get consents consent Id internal server error response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id method not allowed response

func (*ConsentsGetConsentsConsentIDMethodNotAllowed) Error

func (*ConsentsGetConsentsConsentIDMethodNotAllowed) GetPayload

func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsClientError

IsClientError returns true when this consents get consents consent Id method not allowed response has a 4xx status code

func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsCode

IsCode returns true when this consents get consents consent Id method not allowed response a status code equal to that given

func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsRedirect

IsRedirect returns true when this consents get consents consent Id method not allowed response has a 3xx status code

func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsServerError

IsServerError returns true when this consents get consents consent Id method not allowed response has a 5xx status code

func (*ConsentsGetConsentsConsentIDMethodNotAllowed) IsSuccess

IsSuccess returns true when this consents get consents consent Id method not allowed response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id not acceptable response

func (*ConsentsGetConsentsConsentIDNotAcceptable) Error

func (*ConsentsGetConsentsConsentIDNotAcceptable) GetPayload

func (*ConsentsGetConsentsConsentIDNotAcceptable) IsClientError

IsClientError returns true when this consents get consents consent Id not acceptable response has a 4xx status code

func (*ConsentsGetConsentsConsentIDNotAcceptable) IsCode

IsCode returns true when this consents get consents consent Id not acceptable response a status code equal to that given

func (*ConsentsGetConsentsConsentIDNotAcceptable) IsRedirect

IsRedirect returns true when this consents get consents consent Id not acceptable response has a 3xx status code

func (*ConsentsGetConsentsConsentIDNotAcceptable) IsServerError

IsServerError returns true when this consents get consents consent Id not acceptable response has a 5xx status code

func (*ConsentsGetConsentsConsentIDNotAcceptable) IsSuccess

IsSuccess returns true when this consents get consents consent Id not acceptable response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id not found response

func (*ConsentsGetConsentsConsentIDNotFound) Error

func (*ConsentsGetConsentsConsentIDNotFound) GetPayload

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

IsCode returns true when this consents get consents consent Id not found response a status code equal to that given

func (*ConsentsGetConsentsConsentIDNotFound) IsRedirect

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

IsSuccess returns true when this consents get consents consent Id not found response has a 2xx status code

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

Code gets the status code for the consents get consents consent Id o k response

func (*ConsentsGetConsentsConsentIDOK) Error

func (*ConsentsGetConsentsConsentIDOK) GetPayload

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

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

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

WithAuthorization adds the authorization to the consents get consents consent Id params

func (*ConsentsGetConsentsConsentIDParams) WithConsentID

WithConsentID adds the consentID to the consents get consents consent Id params

func (*ConsentsGetConsentsConsentIDParams) WithContext

WithContext adds the context to the consents get consents consent Id params

func (*ConsentsGetConsentsConsentIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the consents get consents consent Id params

func (*ConsentsGetConsentsConsentIDParams) WithTimeout

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

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

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

Code gets the status code for the consents get consents consent Id too many requests response

func (*ConsentsGetConsentsConsentIDTooManyRequests) Error

func (*ConsentsGetConsentsConsentIDTooManyRequests) GetPayload

func (*ConsentsGetConsentsConsentIDTooManyRequests) IsClientError

IsClientError returns true when this consents get consents consent Id too many requests response has a 4xx status code

func (*ConsentsGetConsentsConsentIDTooManyRequests) IsCode

IsCode returns true when this consents get consents consent Id too many requests response a status code equal to that given

func (*ConsentsGetConsentsConsentIDTooManyRequests) IsRedirect

IsRedirect returns true when this consents get consents consent Id too many requests response has a 3xx status code

func (*ConsentsGetConsentsConsentIDTooManyRequests) IsServerError

IsServerError returns true when this consents get consents consent Id too many requests response has a 5xx status code

func (*ConsentsGetConsentsConsentIDTooManyRequests) IsSuccess

IsSuccess returns true when this consents get consents consent Id too many requests response has a 2xx status code

func (*ConsentsGetConsentsConsentIDTooManyRequests) String

type ConsentsGetConsentsConsentIDUnauthorized

type ConsentsGetConsentsConsentIDUnauthorized struct {
	Payload *models.ResponseError
}

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

Code gets the status code for the consents get consents consent Id unauthorized response

func (*ConsentsGetConsentsConsentIDUnauthorized) Error

func (*ConsentsGetConsentsConsentIDUnauthorized) GetPayload

func (*ConsentsGetConsentsConsentIDUnauthorized) IsClientError

IsClientError returns true when this consents get consents consent Id unauthorized response has a 4xx status code

func (*ConsentsGetConsentsConsentIDUnauthorized) IsCode

IsCode returns true when this consents get consents consent Id unauthorized response a status code equal to that given

func (*ConsentsGetConsentsConsentIDUnauthorized) IsRedirect

IsRedirect returns true when this consents get consents consent Id unauthorized response has a 3xx status code

func (*ConsentsGetConsentsConsentIDUnauthorized) IsServerError

IsServerError returns true when this consents get consents consent Id unauthorized response has a 5xx status code

func (*ConsentsGetConsentsConsentIDUnauthorized) IsSuccess

IsSuccess returns true when this consents get consents consent Id unauthorized response has a 2xx status code

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

Code gets the status code for the consents post consents bad request response

func (*ConsentsPostConsentsBadRequest) Error

func (*ConsentsPostConsentsBadRequest) GetPayload

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

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 (*ConsentsPostConsentsCreated) GetPayload

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 (*ConsentsPostConsentsDefault) GetPayload

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

Code gets the status code for the consents post consents forbidden response

func (*ConsentsPostConsentsForbidden) Error

func (*ConsentsPostConsentsForbidden) GetPayload

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

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

Code gets the status code for the consents post consents internal server error response

func (*ConsentsPostConsentsInternalServerError) Error

func (*ConsentsPostConsentsInternalServerError) GetPayload

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

IsCode returns true when this consents post consents internal server error response a status code equal to that given

func (*ConsentsPostConsentsInternalServerError) IsRedirect

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

IsSuccess returns true when this consents post consents internal server error response has a 2xx status code

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

Code gets the status code for the consents post consents method not allowed response

func (*ConsentsPostConsentsMethodNotAllowed) Error

func (*ConsentsPostConsentsMethodNotAllowed) GetPayload

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

IsCode returns true when this consents post consents method not allowed response a status code equal to that given

func (*ConsentsPostConsentsMethodNotAllowed) IsRedirect

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

IsSuccess returns true when this consents post consents method not allowed response has a 2xx status code

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

Code gets the status code for the consents post consents not acceptable response

func (*ConsentsPostConsentsNotAcceptable) Error

func (*ConsentsPostConsentsNotAcceptable) GetPayload

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

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

Code gets the status code for the consents post consents not found response

func (*ConsentsPostConsentsNotFound) Error

func (*ConsentsPostConsentsNotFound) GetPayload

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

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

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

WithBody adds the body to the consents post consents params

func (*ConsentsPostConsentsParams) WithContext

WithContext adds the context to the consents post consents params

func (*ConsentsPostConsentsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the consents post consents params

func (*ConsentsPostConsentsParams) WithTimeout

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

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

Code gets the status code for the consents post consents too many requests response

func (*ConsentsPostConsentsTooManyRequests) Error

func (*ConsentsPostConsentsTooManyRequests) GetPayload

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

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

IsSuccess returns true when this consents post consents too many requests response has a 2xx status code

func (*ConsentsPostConsentsTooManyRequests) String

type ConsentsPostConsentsUnauthorized

type ConsentsPostConsentsUnauthorized struct {
	Payload *models.ResponseError
}

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

Code gets the status code for the consents post consents unauthorized response

func (*ConsentsPostConsentsUnauthorized) Error

func (*ConsentsPostConsentsUnauthorized) GetPayload

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

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

Code gets the status code for the consents post consents unprocessable entity response

func (*ConsentsPostConsentsUnprocessableEntity) Error

func (*ConsentsPostConsentsUnprocessableEntity) GetPayload

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

IsCode returns true when this consents post consents unprocessable entity response a status code equal to that given

func (*ConsentsPostConsentsUnprocessableEntity) IsRedirect

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

IsSuccess returns true when this consents post consents unprocessable entity response has a 2xx status code

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

Code gets the status code for the consents post consents unsupported media type response

func (*ConsentsPostConsentsUnsupportedMediaType) Error

func (*ConsentsPostConsentsUnsupportedMediaType) GetPayload

func (*ConsentsPostConsentsUnsupportedMediaType) IsClientError

IsClientError returns true when this consents post consents unsupported media type response has a 4xx status code

func (*ConsentsPostConsentsUnsupportedMediaType) IsCode

IsCode returns true when this consents post consents unsupported media type response a status code equal to that given

func (*ConsentsPostConsentsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this consents post consents unsupported media type response has a 3xx status code

func (*ConsentsPostConsentsUnsupportedMediaType) IsServerError

IsServerError returns true when this consents post consents unsupported media type response has a 5xx status code

func (*ConsentsPostConsentsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this consents post consents unsupported media type response has a 2xx status code

func (*ConsentsPostConsentsUnsupportedMediaType) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL