m_a_n_a_g_e_m_e_n_t

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: 11 Imported by: 2

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 m a n a g e m e n t API

func (*Client) ConsumeOBBRConsent

func (a *Client) ConsumeOBBRConsent(params *ConsumeOBBRConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsumeOBBRConsentOK, error)
ConsumeOBBRConsent consumes open banking brazil consent by ID

Retrieve the details of an Open Banking Brazil data access or payment initiation consent. Specify the required

consent identifier along with the identifier of the related workspace in the path.

The response contains detailed data about the consent, including both versions of `customer_data_access_consent`, `customer_payment_consent`, and `customer_insurance_data_access_consent`.

For authorization, pass the `Authorization: Bearer` header with a token as the bearer value. To obtain the token with the necessary scopes, apply the [Client Credentials](https://cloudentity.com/developers/basics/oauth-grant-types/client-credentials-flow/) grant type.

Find the scope list in the AUTHORIZATIONS block.

func (*Client) GetOBBRConsent

func (a *Client) GetOBBRConsent(params *GetOBBRConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOBBRConsentOK, error)
GetOBBRConsent gets open banking brazil consent by ID

Call this endpoint to get the details of a consent within the specified workspace.

For authorization, pass the `Authorization: Bearer` header with a token as the bearer value. To obtain the token and the necessary scopes, apply the [Client Credentials](https://cloudentity.com/developers/basics/oauth-grant-types/client-credentials-flow/) grant type.

Find the scope list in the AUTHORIZATIONS block.

func (*Client) GetOBBRConsents

func (a *Client) GetOBBRConsents(params *GetOBBRConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOBBRConsentsOK, error)
GetOBBRConsents gets open banking brazil consents

Retrieve the list of Open Banking Brazil consents per workspace. Pass the required workspace identifier in the path.

To narrow the list, use the query parameters. Currently, this endpoint supports v1 and v2 consents.

For authorization, pass the `Authorization: Bearer` header with a token as the bearer value. To obtain the token with the required scopes, apply the [Client Credentials](https://cloudentity.com/developers/basics/oauth-grant-types/client-credentials-flow/) grant type.

Find the scope list in the AUTHORIZATIONS block.

func (*Client) ListOBBRConsents

func (a *Client) ListOBBRConsents(params *ListOBBRConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOBBRConsentsOK, error)
ListOBBRConsents lists open banking brazil consents

Retrieve the list of Open Banking Brazil consents per workplace. Pass the required workplace identifier in the path.

This endpoint currently supports v1 and v2 consents. To narrow the list, filter the response with the request body parameters.

For authorization, pass the `Authorization: Bearer` header with a token as the bearer value. To obtain the token with the necessary scopes, apply the [Client Credentials](https://cloudentity.com/developers/basics/oauth-grant-types/client-credentials-flow/) grant type.

Find the scope list in the AUTHORIZATIONS block.

func (*Client) RevokeOBBRConsent

func (a *Client) RevokeOBBRConsent(params *RevokeOBBRConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBBRConsentNoContent, error)
RevokeOBBRConsent revokes open banking brazil consent by ID

Revoke an Open Banking Brazil consent by ID. Pass the identifiers of the required consent and the related workspace

in the path.

Currently, v1 and v2 consents are supported.

For authorization, pass the `Authorization: Bearer` header with a token as the bearer value. To obtain the token and the necessary scopes, apply the [Client Credentials](https://cloudentity.com/developers/basics/oauth-grant-types/client-credentials-flow/) grant type.

Find the scope list in the AUTHORIZATIONS block.

func (*Client) RevokeOBBRConsents

func (a *Client) RevokeOBBRConsents(params *RevokeOBBRConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBBRConsentsOK, error)
RevokeOBBRConsents revokes open banking brazil consents

Revoke Open Banking Brazil consents by a client ID or combination of client ID and consent types.

For this, pass the `client_id` query parameter with the value set to the required client identifier. It revokes all consents for the given client application.

Currently, v1 and v2 consents are supported.

For authorization, pass the `Authorization: Bearer` with a token as the bearer value. To obtain the token with the necessary scopes, apply the [Client Credentials](https://cloudentity.com/developers/basics/oauth-grant-types/client-credentials-flow/) grant type.

Find the scope list in the AUTHORIZATIONS block.

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 {
	ConsumeOBBRConsent(params *ConsumeOBBRConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsumeOBBRConsentOK, error)

	GetOBBRConsent(params *GetOBBRConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOBBRConsentOK, error)

	GetOBBRConsents(params *GetOBBRConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOBBRConsentsOK, error)

	ListOBBRConsents(params *ListOBBRConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOBBRConsentsOK, error)

	RevokeOBBRConsent(params *RevokeOBBRConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBBRConsentNoContent, error)

	RevokeOBBRConsents(params *RevokeOBBRConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBBRConsentsOK, 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 m a n a g e m e n t API client.

type ConsumeOBBRConsentBadRequest

type ConsumeOBBRConsentBadRequest struct {
	Payload *models.Error
}

ConsumeOBBRConsentBadRequest describes a response with status code 400, with default header values.

Bad request

func NewConsumeOBBRConsentBadRequest

func NewConsumeOBBRConsentBadRequest() *ConsumeOBBRConsentBadRequest

NewConsumeOBBRConsentBadRequest creates a ConsumeOBBRConsentBadRequest with default headers values

func (*ConsumeOBBRConsentBadRequest) Code

Code gets the status code for the consume o b b r consent bad request response

func (*ConsumeOBBRConsentBadRequest) Error

func (*ConsumeOBBRConsentBadRequest) GetPayload

func (o *ConsumeOBBRConsentBadRequest) GetPayload() *models.Error

func (*ConsumeOBBRConsentBadRequest) IsClientError

func (o *ConsumeOBBRConsentBadRequest) IsClientError() bool

IsClientError returns true when this consume o b b r consent bad request response has a 4xx status code

func (*ConsumeOBBRConsentBadRequest) IsCode

func (o *ConsumeOBBRConsentBadRequest) IsCode(code int) bool

IsCode returns true when this consume o b b r consent bad request response a status code equal to that given

func (*ConsumeOBBRConsentBadRequest) IsRedirect

func (o *ConsumeOBBRConsentBadRequest) IsRedirect() bool

IsRedirect returns true when this consume o b b r consent bad request response has a 3xx status code

func (*ConsumeOBBRConsentBadRequest) IsServerError

func (o *ConsumeOBBRConsentBadRequest) IsServerError() bool

IsServerError returns true when this consume o b b r consent bad request response has a 5xx status code

func (*ConsumeOBBRConsentBadRequest) IsSuccess

func (o *ConsumeOBBRConsentBadRequest) IsSuccess() bool

IsSuccess returns true when this consume o b b r consent bad request response has a 2xx status code

func (*ConsumeOBBRConsentBadRequest) String

type ConsumeOBBRConsentForbidden

type ConsumeOBBRConsentForbidden struct {
	Payload *models.Error
}

ConsumeOBBRConsentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewConsumeOBBRConsentForbidden

func NewConsumeOBBRConsentForbidden() *ConsumeOBBRConsentForbidden

NewConsumeOBBRConsentForbidden creates a ConsumeOBBRConsentForbidden with default headers values

func (*ConsumeOBBRConsentForbidden) Code

func (o *ConsumeOBBRConsentForbidden) Code() int

Code gets the status code for the consume o b b r consent forbidden response

func (*ConsumeOBBRConsentForbidden) Error

func (*ConsumeOBBRConsentForbidden) GetPayload

func (o *ConsumeOBBRConsentForbidden) GetPayload() *models.Error

func (*ConsumeOBBRConsentForbidden) IsClientError

func (o *ConsumeOBBRConsentForbidden) IsClientError() bool

IsClientError returns true when this consume o b b r consent forbidden response has a 4xx status code

func (*ConsumeOBBRConsentForbidden) IsCode

func (o *ConsumeOBBRConsentForbidden) IsCode(code int) bool

IsCode returns true when this consume o b b r consent forbidden response a status code equal to that given

func (*ConsumeOBBRConsentForbidden) IsRedirect

func (o *ConsumeOBBRConsentForbidden) IsRedirect() bool

IsRedirect returns true when this consume o b b r consent forbidden response has a 3xx status code

func (*ConsumeOBBRConsentForbidden) IsServerError

func (o *ConsumeOBBRConsentForbidden) IsServerError() bool

IsServerError returns true when this consume o b b r consent forbidden response has a 5xx status code

func (*ConsumeOBBRConsentForbidden) IsSuccess

func (o *ConsumeOBBRConsentForbidden) IsSuccess() bool

IsSuccess returns true when this consume o b b r consent forbidden response has a 2xx status code

func (*ConsumeOBBRConsentForbidden) String

func (o *ConsumeOBBRConsentForbidden) String() string

type ConsumeOBBRConsentNotFound

type ConsumeOBBRConsentNotFound struct {
	Payload *models.Error
}

ConsumeOBBRConsentNotFound describes a response with status code 404, with default header values.

Not found

func NewConsumeOBBRConsentNotFound

func NewConsumeOBBRConsentNotFound() *ConsumeOBBRConsentNotFound

NewConsumeOBBRConsentNotFound creates a ConsumeOBBRConsentNotFound with default headers values

func (*ConsumeOBBRConsentNotFound) Code

func (o *ConsumeOBBRConsentNotFound) Code() int

Code gets the status code for the consume o b b r consent not found response

func (*ConsumeOBBRConsentNotFound) Error

func (*ConsumeOBBRConsentNotFound) GetPayload

func (o *ConsumeOBBRConsentNotFound) GetPayload() *models.Error

func (*ConsumeOBBRConsentNotFound) IsClientError

func (o *ConsumeOBBRConsentNotFound) IsClientError() bool

IsClientError returns true when this consume o b b r consent not found response has a 4xx status code

func (*ConsumeOBBRConsentNotFound) IsCode

func (o *ConsumeOBBRConsentNotFound) IsCode(code int) bool

IsCode returns true when this consume o b b r consent not found response a status code equal to that given

func (*ConsumeOBBRConsentNotFound) IsRedirect

func (o *ConsumeOBBRConsentNotFound) IsRedirect() bool

IsRedirect returns true when this consume o b b r consent not found response has a 3xx status code

func (*ConsumeOBBRConsentNotFound) IsServerError

func (o *ConsumeOBBRConsentNotFound) IsServerError() bool

IsServerError returns true when this consume o b b r consent not found response has a 5xx status code

func (*ConsumeOBBRConsentNotFound) IsSuccess

func (o *ConsumeOBBRConsentNotFound) IsSuccess() bool

IsSuccess returns true when this consume o b b r consent not found response has a 2xx status code

func (*ConsumeOBBRConsentNotFound) String

func (o *ConsumeOBBRConsentNotFound) String() string

type ConsumeOBBRConsentOK

type ConsumeOBBRConsentOK struct {
	Payload *models.BrazilConsent
}

ConsumeOBBRConsentOK describes a response with status code 200, with default header values.

Open Banking Brazil Consent

func NewConsumeOBBRConsentOK

func NewConsumeOBBRConsentOK() *ConsumeOBBRConsentOK

NewConsumeOBBRConsentOK creates a ConsumeOBBRConsentOK with default headers values

func (*ConsumeOBBRConsentOK) Code

func (o *ConsumeOBBRConsentOK) Code() int

Code gets the status code for the consume o b b r consent o k response

func (*ConsumeOBBRConsentOK) Error

func (o *ConsumeOBBRConsentOK) Error() string

func (*ConsumeOBBRConsentOK) GetPayload

func (o *ConsumeOBBRConsentOK) GetPayload() *models.BrazilConsent

func (*ConsumeOBBRConsentOK) IsClientError

func (o *ConsumeOBBRConsentOK) IsClientError() bool

IsClientError returns true when this consume o b b r consent o k response has a 4xx status code

func (*ConsumeOBBRConsentOK) IsCode

func (o *ConsumeOBBRConsentOK) IsCode(code int) bool

IsCode returns true when this consume o b b r consent o k response a status code equal to that given

func (*ConsumeOBBRConsentOK) IsRedirect

func (o *ConsumeOBBRConsentOK) IsRedirect() bool

IsRedirect returns true when this consume o b b r consent o k response has a 3xx status code

func (*ConsumeOBBRConsentOK) IsServerError

func (o *ConsumeOBBRConsentOK) IsServerError() bool

IsServerError returns true when this consume o b b r consent o k response has a 5xx status code

func (*ConsumeOBBRConsentOK) IsSuccess

func (o *ConsumeOBBRConsentOK) IsSuccess() bool

IsSuccess returns true when this consume o b b r consent o k response has a 2xx status code

func (*ConsumeOBBRConsentOK) String

func (o *ConsumeOBBRConsentOK) String() string

type ConsumeOBBRConsentParams

type ConsumeOBBRConsentParams struct {

	// ConsentID.
	ConsentID string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ConsumeOBBRConsentParams contains all the parameters to send to the API endpoint

for the consume o b b r consent operation.

Typically these are written to a http.Request.

func NewConsumeOBBRConsentParams

func NewConsumeOBBRConsentParams() *ConsumeOBBRConsentParams

NewConsumeOBBRConsentParams creates a new ConsumeOBBRConsentParams 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 NewConsumeOBBRConsentParamsWithContext

func NewConsumeOBBRConsentParamsWithContext(ctx context.Context) *ConsumeOBBRConsentParams

NewConsumeOBBRConsentParamsWithContext creates a new ConsumeOBBRConsentParams object with the ability to set a context for a request.

func NewConsumeOBBRConsentParamsWithHTTPClient

func NewConsumeOBBRConsentParamsWithHTTPClient(client *http.Client) *ConsumeOBBRConsentParams

NewConsumeOBBRConsentParamsWithHTTPClient creates a new ConsumeOBBRConsentParams object with the ability to set a custom HTTPClient for a request.

func NewConsumeOBBRConsentParamsWithTimeout

func NewConsumeOBBRConsentParamsWithTimeout(timeout time.Duration) *ConsumeOBBRConsentParams

NewConsumeOBBRConsentParamsWithTimeout creates a new ConsumeOBBRConsentParams object with the ability to set a timeout on a request.

func (*ConsumeOBBRConsentParams) SetConsentID

func (o *ConsumeOBBRConsentParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) SetContext

func (o *ConsumeOBBRConsentParams) SetContext(ctx context.Context)

SetContext adds the context to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) SetDefaults

func (o *ConsumeOBBRConsentParams) SetDefaults()

SetDefaults hydrates default values in the consume o b b r consent params (not the query body).

All values with no default are reset to their zero value.

func (*ConsumeOBBRConsentParams) SetHTTPClient

func (o *ConsumeOBBRConsentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) SetTimeout

func (o *ConsumeOBBRConsentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) SetWid

func (o *ConsumeOBBRConsentParams) SetWid(wid string)

SetWid adds the wid to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) WithConsentID

func (o *ConsumeOBBRConsentParams) WithConsentID(consentID string) *ConsumeOBBRConsentParams

WithConsentID adds the consentID to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) WithContext

WithContext adds the context to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) WithDefaults

WithDefaults hydrates default values in the consume o b b r consent params (not the query body).

All values with no default are reset to their zero value.

func (*ConsumeOBBRConsentParams) WithHTTPClient

func (o *ConsumeOBBRConsentParams) WithHTTPClient(client *http.Client) *ConsumeOBBRConsentParams

WithHTTPClient adds the HTTPClient to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) WithTimeout

WithTimeout adds the timeout to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) WithWid

WithWid adds the wid to the consume o b b r consent params

func (*ConsumeOBBRConsentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConsumeOBBRConsentReader

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

ConsumeOBBRConsentReader is a Reader for the ConsumeOBBRConsent structure.

func (*ConsumeOBBRConsentReader) ReadResponse

func (o *ConsumeOBBRConsentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ConsumeOBBRConsentTooManyRequests

type ConsumeOBBRConsentTooManyRequests struct {
	Payload *models.Error
}

ConsumeOBBRConsentTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewConsumeOBBRConsentTooManyRequests

func NewConsumeOBBRConsentTooManyRequests() *ConsumeOBBRConsentTooManyRequests

NewConsumeOBBRConsentTooManyRequests creates a ConsumeOBBRConsentTooManyRequests with default headers values

func (*ConsumeOBBRConsentTooManyRequests) Code

Code gets the status code for the consume o b b r consent too many requests response

func (*ConsumeOBBRConsentTooManyRequests) Error

func (*ConsumeOBBRConsentTooManyRequests) GetPayload

func (*ConsumeOBBRConsentTooManyRequests) IsClientError

func (o *ConsumeOBBRConsentTooManyRequests) IsClientError() bool

IsClientError returns true when this consume o b b r consent too many requests response has a 4xx status code

func (*ConsumeOBBRConsentTooManyRequests) IsCode

func (o *ConsumeOBBRConsentTooManyRequests) IsCode(code int) bool

IsCode returns true when this consume o b b r consent too many requests response a status code equal to that given

func (*ConsumeOBBRConsentTooManyRequests) IsRedirect

func (o *ConsumeOBBRConsentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this consume o b b r consent too many requests response has a 3xx status code

func (*ConsumeOBBRConsentTooManyRequests) IsServerError

func (o *ConsumeOBBRConsentTooManyRequests) IsServerError() bool

IsServerError returns true when this consume o b b r consent too many requests response has a 5xx status code

func (*ConsumeOBBRConsentTooManyRequests) IsSuccess

func (o *ConsumeOBBRConsentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this consume o b b r consent too many requests response has a 2xx status code

func (*ConsumeOBBRConsentTooManyRequests) String

type ConsumeOBBRConsentUnauthorized

type ConsumeOBBRConsentUnauthorized struct {
	Payload *models.Error
}

ConsumeOBBRConsentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewConsumeOBBRConsentUnauthorized

func NewConsumeOBBRConsentUnauthorized() *ConsumeOBBRConsentUnauthorized

NewConsumeOBBRConsentUnauthorized creates a ConsumeOBBRConsentUnauthorized with default headers values

func (*ConsumeOBBRConsentUnauthorized) Code

Code gets the status code for the consume o b b r consent unauthorized response

func (*ConsumeOBBRConsentUnauthorized) Error

func (*ConsumeOBBRConsentUnauthorized) GetPayload

func (o *ConsumeOBBRConsentUnauthorized) GetPayload() *models.Error

func (*ConsumeOBBRConsentUnauthorized) IsClientError

func (o *ConsumeOBBRConsentUnauthorized) IsClientError() bool

IsClientError returns true when this consume o b b r consent unauthorized response has a 4xx status code

func (*ConsumeOBBRConsentUnauthorized) IsCode

func (o *ConsumeOBBRConsentUnauthorized) IsCode(code int) bool

IsCode returns true when this consume o b b r consent unauthorized response a status code equal to that given

func (*ConsumeOBBRConsentUnauthorized) IsRedirect

func (o *ConsumeOBBRConsentUnauthorized) IsRedirect() bool

IsRedirect returns true when this consume o b b r consent unauthorized response has a 3xx status code

func (*ConsumeOBBRConsentUnauthorized) IsServerError

func (o *ConsumeOBBRConsentUnauthorized) IsServerError() bool

IsServerError returns true when this consume o b b r consent unauthorized response has a 5xx status code

func (*ConsumeOBBRConsentUnauthorized) IsSuccess

func (o *ConsumeOBBRConsentUnauthorized) IsSuccess() bool

IsSuccess returns true when this consume o b b r consent unauthorized response has a 2xx status code

func (*ConsumeOBBRConsentUnauthorized) String

type GetOBBRConsentBadRequest

type GetOBBRConsentBadRequest struct {
	Payload *models.Error
}

GetOBBRConsentBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetOBBRConsentBadRequest

func NewGetOBBRConsentBadRequest() *GetOBBRConsentBadRequest

NewGetOBBRConsentBadRequest creates a GetOBBRConsentBadRequest with default headers values

func (*GetOBBRConsentBadRequest) Code

func (o *GetOBBRConsentBadRequest) Code() int

Code gets the status code for the get o b b r consent bad request response

func (*GetOBBRConsentBadRequest) Error

func (o *GetOBBRConsentBadRequest) Error() string

func (*GetOBBRConsentBadRequest) GetPayload

func (o *GetOBBRConsentBadRequest) GetPayload() *models.Error

func (*GetOBBRConsentBadRequest) IsClientError

func (o *GetOBBRConsentBadRequest) IsClientError() bool

IsClientError returns true when this get o b b r consent bad request response has a 4xx status code

func (*GetOBBRConsentBadRequest) IsCode

func (o *GetOBBRConsentBadRequest) IsCode(code int) bool

IsCode returns true when this get o b b r consent bad request response a status code equal to that given

func (*GetOBBRConsentBadRequest) IsRedirect

func (o *GetOBBRConsentBadRequest) IsRedirect() bool

IsRedirect returns true when this get o b b r consent bad request response has a 3xx status code

func (*GetOBBRConsentBadRequest) IsServerError

func (o *GetOBBRConsentBadRequest) IsServerError() bool

IsServerError returns true when this get o b b r consent bad request response has a 5xx status code

func (*GetOBBRConsentBadRequest) IsSuccess

func (o *GetOBBRConsentBadRequest) IsSuccess() bool

IsSuccess returns true when this get o b b r consent bad request response has a 2xx status code

func (*GetOBBRConsentBadRequest) String

func (o *GetOBBRConsentBadRequest) String() string

type GetOBBRConsentForbidden

type GetOBBRConsentForbidden struct {
	Payload *models.Error
}

GetOBBRConsentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetOBBRConsentForbidden

func NewGetOBBRConsentForbidden() *GetOBBRConsentForbidden

NewGetOBBRConsentForbidden creates a GetOBBRConsentForbidden with default headers values

func (*GetOBBRConsentForbidden) Code

func (o *GetOBBRConsentForbidden) Code() int

Code gets the status code for the get o b b r consent forbidden response

func (*GetOBBRConsentForbidden) Error

func (o *GetOBBRConsentForbidden) Error() string

func (*GetOBBRConsentForbidden) GetPayload

func (o *GetOBBRConsentForbidden) GetPayload() *models.Error

func (*GetOBBRConsentForbidden) IsClientError

func (o *GetOBBRConsentForbidden) IsClientError() bool

IsClientError returns true when this get o b b r consent forbidden response has a 4xx status code

func (*GetOBBRConsentForbidden) IsCode

func (o *GetOBBRConsentForbidden) IsCode(code int) bool

IsCode returns true when this get o b b r consent forbidden response a status code equal to that given

func (*GetOBBRConsentForbidden) IsRedirect

func (o *GetOBBRConsentForbidden) IsRedirect() bool

IsRedirect returns true when this get o b b r consent forbidden response has a 3xx status code

func (*GetOBBRConsentForbidden) IsServerError

func (o *GetOBBRConsentForbidden) IsServerError() bool

IsServerError returns true when this get o b b r consent forbidden response has a 5xx status code

func (*GetOBBRConsentForbidden) IsSuccess

func (o *GetOBBRConsentForbidden) IsSuccess() bool

IsSuccess returns true when this get o b b r consent forbidden response has a 2xx status code

func (*GetOBBRConsentForbidden) String

func (o *GetOBBRConsentForbidden) String() string

type GetOBBRConsentNotFound

type GetOBBRConsentNotFound struct {
	Payload *models.Error
}

GetOBBRConsentNotFound describes a response with status code 404, with default header values.

Not found

func NewGetOBBRConsentNotFound

func NewGetOBBRConsentNotFound() *GetOBBRConsentNotFound

NewGetOBBRConsentNotFound creates a GetOBBRConsentNotFound with default headers values

func (*GetOBBRConsentNotFound) Code

func (o *GetOBBRConsentNotFound) Code() int

Code gets the status code for the get o b b r consent not found response

func (*GetOBBRConsentNotFound) Error

func (o *GetOBBRConsentNotFound) Error() string

func (*GetOBBRConsentNotFound) GetPayload

func (o *GetOBBRConsentNotFound) GetPayload() *models.Error

func (*GetOBBRConsentNotFound) IsClientError

func (o *GetOBBRConsentNotFound) IsClientError() bool

IsClientError returns true when this get o b b r consent not found response has a 4xx status code

func (*GetOBBRConsentNotFound) IsCode

func (o *GetOBBRConsentNotFound) IsCode(code int) bool

IsCode returns true when this get o b b r consent not found response a status code equal to that given

func (*GetOBBRConsentNotFound) IsRedirect

func (o *GetOBBRConsentNotFound) IsRedirect() bool

IsRedirect returns true when this get o b b r consent not found response has a 3xx status code

func (*GetOBBRConsentNotFound) IsServerError

func (o *GetOBBRConsentNotFound) IsServerError() bool

IsServerError returns true when this get o b b r consent not found response has a 5xx status code

func (*GetOBBRConsentNotFound) IsSuccess

func (o *GetOBBRConsentNotFound) IsSuccess() bool

IsSuccess returns true when this get o b b r consent not found response has a 2xx status code

func (*GetOBBRConsentNotFound) String

func (o *GetOBBRConsentNotFound) String() string

type GetOBBRConsentOK

type GetOBBRConsentOK struct {
	Payload *models.BrazilConsent
}

GetOBBRConsentOK describes a response with status code 200, with default header values.

Open Banking Brazil Consent

func NewGetOBBRConsentOK

func NewGetOBBRConsentOK() *GetOBBRConsentOK

NewGetOBBRConsentOK creates a GetOBBRConsentOK with default headers values

func (*GetOBBRConsentOK) Code

func (o *GetOBBRConsentOK) Code() int

Code gets the status code for the get o b b r consent o k response

func (*GetOBBRConsentOK) Error

func (o *GetOBBRConsentOK) Error() string

func (*GetOBBRConsentOK) GetPayload

func (o *GetOBBRConsentOK) GetPayload() *models.BrazilConsent

func (*GetOBBRConsentOK) IsClientError

func (o *GetOBBRConsentOK) IsClientError() bool

IsClientError returns true when this get o b b r consent o k response has a 4xx status code

func (*GetOBBRConsentOK) IsCode

func (o *GetOBBRConsentOK) IsCode(code int) bool

IsCode returns true when this get o b b r consent o k response a status code equal to that given

func (*GetOBBRConsentOK) IsRedirect

func (o *GetOBBRConsentOK) IsRedirect() bool

IsRedirect returns true when this get o b b r consent o k response has a 3xx status code

func (*GetOBBRConsentOK) IsServerError

func (o *GetOBBRConsentOK) IsServerError() bool

IsServerError returns true when this get o b b r consent o k response has a 5xx status code

func (*GetOBBRConsentOK) IsSuccess

func (o *GetOBBRConsentOK) IsSuccess() bool

IsSuccess returns true when this get o b b r consent o k response has a 2xx status code

func (*GetOBBRConsentOK) String

func (o *GetOBBRConsentOK) String() string

type GetOBBRConsentParams

type GetOBBRConsentParams struct {

	// ConsentID.
	ConsentID string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOBBRConsentParams contains all the parameters to send to the API endpoint

for the get o b b r consent operation.

Typically these are written to a http.Request.

func NewGetOBBRConsentParams

func NewGetOBBRConsentParams() *GetOBBRConsentParams

NewGetOBBRConsentParams creates a new GetOBBRConsentParams 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 NewGetOBBRConsentParamsWithContext

func NewGetOBBRConsentParamsWithContext(ctx context.Context) *GetOBBRConsentParams

NewGetOBBRConsentParamsWithContext creates a new GetOBBRConsentParams object with the ability to set a context for a request.

func NewGetOBBRConsentParamsWithHTTPClient

func NewGetOBBRConsentParamsWithHTTPClient(client *http.Client) *GetOBBRConsentParams

NewGetOBBRConsentParamsWithHTTPClient creates a new GetOBBRConsentParams object with the ability to set a custom HTTPClient for a request.

func NewGetOBBRConsentParamsWithTimeout

func NewGetOBBRConsentParamsWithTimeout(timeout time.Duration) *GetOBBRConsentParams

NewGetOBBRConsentParamsWithTimeout creates a new GetOBBRConsentParams object with the ability to set a timeout on a request.

func (*GetOBBRConsentParams) SetConsentID

func (o *GetOBBRConsentParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the get o b b r consent params

func (*GetOBBRConsentParams) SetContext

func (o *GetOBBRConsentParams) SetContext(ctx context.Context)

SetContext adds the context to the get o b b r consent params

func (*GetOBBRConsentParams) SetDefaults

func (o *GetOBBRConsentParams) SetDefaults()

SetDefaults hydrates default values in the get o b b r consent params (not the query body).

All values with no default are reset to their zero value.

func (*GetOBBRConsentParams) SetHTTPClient

func (o *GetOBBRConsentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get o b b r consent params

func (*GetOBBRConsentParams) SetTimeout

func (o *GetOBBRConsentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get o b b r consent params

func (*GetOBBRConsentParams) SetWid

func (o *GetOBBRConsentParams) SetWid(wid string)

SetWid adds the wid to the get o b b r consent params

func (*GetOBBRConsentParams) WithConsentID

func (o *GetOBBRConsentParams) WithConsentID(consentID string) *GetOBBRConsentParams

WithConsentID adds the consentID to the get o b b r consent params

func (*GetOBBRConsentParams) WithContext

WithContext adds the context to the get o b b r consent params

func (*GetOBBRConsentParams) WithDefaults

func (o *GetOBBRConsentParams) WithDefaults() *GetOBBRConsentParams

WithDefaults hydrates default values in the get o b b r consent params (not the query body).

All values with no default are reset to their zero value.

func (*GetOBBRConsentParams) WithHTTPClient

func (o *GetOBBRConsentParams) WithHTTPClient(client *http.Client) *GetOBBRConsentParams

WithHTTPClient adds the HTTPClient to the get o b b r consent params

func (*GetOBBRConsentParams) WithTimeout

func (o *GetOBBRConsentParams) WithTimeout(timeout time.Duration) *GetOBBRConsentParams

WithTimeout adds the timeout to the get o b b r consent params

func (*GetOBBRConsentParams) WithWid

WithWid adds the wid to the get o b b r consent params

func (*GetOBBRConsentParams) WriteToRequest

func (o *GetOBBRConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOBBRConsentReader

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

GetOBBRConsentReader is a Reader for the GetOBBRConsent structure.

func (*GetOBBRConsentReader) ReadResponse

func (o *GetOBBRConsentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOBBRConsentTooManyRequests

type GetOBBRConsentTooManyRequests struct {
	Payload *models.Error
}

GetOBBRConsentTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetOBBRConsentTooManyRequests

func NewGetOBBRConsentTooManyRequests() *GetOBBRConsentTooManyRequests

NewGetOBBRConsentTooManyRequests creates a GetOBBRConsentTooManyRequests with default headers values

func (*GetOBBRConsentTooManyRequests) Code

Code gets the status code for the get o b b r consent too many requests response

func (*GetOBBRConsentTooManyRequests) Error

func (*GetOBBRConsentTooManyRequests) GetPayload

func (o *GetOBBRConsentTooManyRequests) GetPayload() *models.Error

func (*GetOBBRConsentTooManyRequests) IsClientError

func (o *GetOBBRConsentTooManyRequests) IsClientError() bool

IsClientError returns true when this get o b b r consent too many requests response has a 4xx status code

func (*GetOBBRConsentTooManyRequests) IsCode

func (o *GetOBBRConsentTooManyRequests) IsCode(code int) bool

IsCode returns true when this get o b b r consent too many requests response a status code equal to that given

func (*GetOBBRConsentTooManyRequests) IsRedirect

func (o *GetOBBRConsentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get o b b r consent too many requests response has a 3xx status code

func (*GetOBBRConsentTooManyRequests) IsServerError

func (o *GetOBBRConsentTooManyRequests) IsServerError() bool

IsServerError returns true when this get o b b r consent too many requests response has a 5xx status code

func (*GetOBBRConsentTooManyRequests) IsSuccess

func (o *GetOBBRConsentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get o b b r consent too many requests response has a 2xx status code

func (*GetOBBRConsentTooManyRequests) String

type GetOBBRConsentUnauthorized

type GetOBBRConsentUnauthorized struct {
	Payload *models.Error
}

GetOBBRConsentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetOBBRConsentUnauthorized

func NewGetOBBRConsentUnauthorized() *GetOBBRConsentUnauthorized

NewGetOBBRConsentUnauthorized creates a GetOBBRConsentUnauthorized with default headers values

func (*GetOBBRConsentUnauthorized) Code

func (o *GetOBBRConsentUnauthorized) Code() int

Code gets the status code for the get o b b r consent unauthorized response

func (*GetOBBRConsentUnauthorized) Error

func (*GetOBBRConsentUnauthorized) GetPayload

func (o *GetOBBRConsentUnauthorized) GetPayload() *models.Error

func (*GetOBBRConsentUnauthorized) IsClientError

func (o *GetOBBRConsentUnauthorized) IsClientError() bool

IsClientError returns true when this get o b b r consent unauthorized response has a 4xx status code

func (*GetOBBRConsentUnauthorized) IsCode

func (o *GetOBBRConsentUnauthorized) IsCode(code int) bool

IsCode returns true when this get o b b r consent unauthorized response a status code equal to that given

func (*GetOBBRConsentUnauthorized) IsRedirect

func (o *GetOBBRConsentUnauthorized) IsRedirect() bool

IsRedirect returns true when this get o b b r consent unauthorized response has a 3xx status code

func (*GetOBBRConsentUnauthorized) IsServerError

func (o *GetOBBRConsentUnauthorized) IsServerError() bool

IsServerError returns true when this get o b b r consent unauthorized response has a 5xx status code

func (*GetOBBRConsentUnauthorized) IsSuccess

func (o *GetOBBRConsentUnauthorized) IsSuccess() bool

IsSuccess returns true when this get o b b r consent unauthorized response has a 2xx status code

func (*GetOBBRConsentUnauthorized) String

func (o *GetOBBRConsentUnauthorized) String() string

type GetOBBRConsentsBadRequest

type GetOBBRConsentsBadRequest struct {
	Payload *models.Error
}

GetOBBRConsentsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetOBBRConsentsBadRequest

func NewGetOBBRConsentsBadRequest() *GetOBBRConsentsBadRequest

NewGetOBBRConsentsBadRequest creates a GetOBBRConsentsBadRequest with default headers values

func (*GetOBBRConsentsBadRequest) Code

func (o *GetOBBRConsentsBadRequest) Code() int

Code gets the status code for the get o b b r consents bad request response

func (*GetOBBRConsentsBadRequest) Error

func (o *GetOBBRConsentsBadRequest) Error() string

func (*GetOBBRConsentsBadRequest) GetPayload

func (o *GetOBBRConsentsBadRequest) GetPayload() *models.Error

func (*GetOBBRConsentsBadRequest) IsClientError

func (o *GetOBBRConsentsBadRequest) IsClientError() bool

IsClientError returns true when this get o b b r consents bad request response has a 4xx status code

func (*GetOBBRConsentsBadRequest) IsCode

func (o *GetOBBRConsentsBadRequest) IsCode(code int) bool

IsCode returns true when this get o b b r consents bad request response a status code equal to that given

func (*GetOBBRConsentsBadRequest) IsRedirect

func (o *GetOBBRConsentsBadRequest) IsRedirect() bool

IsRedirect returns true when this get o b b r consents bad request response has a 3xx status code

func (*GetOBBRConsentsBadRequest) IsServerError

func (o *GetOBBRConsentsBadRequest) IsServerError() bool

IsServerError returns true when this get o b b r consents bad request response has a 5xx status code

func (*GetOBBRConsentsBadRequest) IsSuccess

func (o *GetOBBRConsentsBadRequest) IsSuccess() bool

IsSuccess returns true when this get o b b r consents bad request response has a 2xx status code

func (*GetOBBRConsentsBadRequest) String

func (o *GetOBBRConsentsBadRequest) String() string

type GetOBBRConsentsForbidden

type GetOBBRConsentsForbidden struct {
	Payload *models.Error
}

GetOBBRConsentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetOBBRConsentsForbidden

func NewGetOBBRConsentsForbidden() *GetOBBRConsentsForbidden

NewGetOBBRConsentsForbidden creates a GetOBBRConsentsForbidden with default headers values

func (*GetOBBRConsentsForbidden) Code

func (o *GetOBBRConsentsForbidden) Code() int

Code gets the status code for the get o b b r consents forbidden response

func (*GetOBBRConsentsForbidden) Error

func (o *GetOBBRConsentsForbidden) Error() string

func (*GetOBBRConsentsForbidden) GetPayload

func (o *GetOBBRConsentsForbidden) GetPayload() *models.Error

func (*GetOBBRConsentsForbidden) IsClientError

func (o *GetOBBRConsentsForbidden) IsClientError() bool

IsClientError returns true when this get o b b r consents forbidden response has a 4xx status code

func (*GetOBBRConsentsForbidden) IsCode

func (o *GetOBBRConsentsForbidden) IsCode(code int) bool

IsCode returns true when this get o b b r consents forbidden response a status code equal to that given

func (*GetOBBRConsentsForbidden) IsRedirect

func (o *GetOBBRConsentsForbidden) IsRedirect() bool

IsRedirect returns true when this get o b b r consents forbidden response has a 3xx status code

func (*GetOBBRConsentsForbidden) IsServerError

func (o *GetOBBRConsentsForbidden) IsServerError() bool

IsServerError returns true when this get o b b r consents forbidden response has a 5xx status code

func (*GetOBBRConsentsForbidden) IsSuccess

func (o *GetOBBRConsentsForbidden) IsSuccess() bool

IsSuccess returns true when this get o b b r consents forbidden response has a 2xx status code

func (*GetOBBRConsentsForbidden) String

func (o *GetOBBRConsentsForbidden) String() string

type GetOBBRConsentsNotFound

type GetOBBRConsentsNotFound struct {
	Payload *models.Error
}

GetOBBRConsentsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetOBBRConsentsNotFound

func NewGetOBBRConsentsNotFound() *GetOBBRConsentsNotFound

NewGetOBBRConsentsNotFound creates a GetOBBRConsentsNotFound with default headers values

func (*GetOBBRConsentsNotFound) Code

func (o *GetOBBRConsentsNotFound) Code() int

Code gets the status code for the get o b b r consents not found response

func (*GetOBBRConsentsNotFound) Error

func (o *GetOBBRConsentsNotFound) Error() string

func (*GetOBBRConsentsNotFound) GetPayload

func (o *GetOBBRConsentsNotFound) GetPayload() *models.Error

func (*GetOBBRConsentsNotFound) IsClientError

func (o *GetOBBRConsentsNotFound) IsClientError() bool

IsClientError returns true when this get o b b r consents not found response has a 4xx status code

func (*GetOBBRConsentsNotFound) IsCode

func (o *GetOBBRConsentsNotFound) IsCode(code int) bool

IsCode returns true when this get o b b r consents not found response a status code equal to that given

func (*GetOBBRConsentsNotFound) IsRedirect

func (o *GetOBBRConsentsNotFound) IsRedirect() bool

IsRedirect returns true when this get o b b r consents not found response has a 3xx status code

func (*GetOBBRConsentsNotFound) IsServerError

func (o *GetOBBRConsentsNotFound) IsServerError() bool

IsServerError returns true when this get o b b r consents not found response has a 5xx status code

func (*GetOBBRConsentsNotFound) IsSuccess

func (o *GetOBBRConsentsNotFound) IsSuccess() bool

IsSuccess returns true when this get o b b r consents not found response has a 2xx status code

func (*GetOBBRConsentsNotFound) String

func (o *GetOBBRConsentsNotFound) String() string

type GetOBBRConsentsOK

type GetOBBRConsentsOK struct {
	Payload *models.OBBRConsents
}

GetOBBRConsentsOK describes a response with status code 200, with default header values.

Open Banking Brazil Consents

func NewGetOBBRConsentsOK

func NewGetOBBRConsentsOK() *GetOBBRConsentsOK

NewGetOBBRConsentsOK creates a GetOBBRConsentsOK with default headers values

func (*GetOBBRConsentsOK) Code

func (o *GetOBBRConsentsOK) Code() int

Code gets the status code for the get o b b r consents o k response

func (*GetOBBRConsentsOK) Error

func (o *GetOBBRConsentsOK) Error() string

func (*GetOBBRConsentsOK) GetPayload

func (o *GetOBBRConsentsOK) GetPayload() *models.OBBRConsents

func (*GetOBBRConsentsOK) IsClientError

func (o *GetOBBRConsentsOK) IsClientError() bool

IsClientError returns true when this get o b b r consents o k response has a 4xx status code

func (*GetOBBRConsentsOK) IsCode

func (o *GetOBBRConsentsOK) IsCode(code int) bool

IsCode returns true when this get o b b r consents o k response a status code equal to that given

func (*GetOBBRConsentsOK) IsRedirect

func (o *GetOBBRConsentsOK) IsRedirect() bool

IsRedirect returns true when this get o b b r consents o k response has a 3xx status code

func (*GetOBBRConsentsOK) IsServerError

func (o *GetOBBRConsentsOK) IsServerError() bool

IsServerError returns true when this get o b b r consents o k response has a 5xx status code

func (*GetOBBRConsentsOK) IsSuccess

func (o *GetOBBRConsentsOK) IsSuccess() bool

IsSuccess returns true when this get o b b r consents o k response has a 2xx status code

func (*GetOBBRConsentsOK) String

func (o *GetOBBRConsentsOK) String() string

type GetOBBRConsentsParams

type GetOBBRConsentsParams struct {

	/* Accounts.

	     List of accounts.

	It can refer to user bank accounts the client application is allowed to access.
	*/
	Accounts []string

	/* AfterConsentID.

	     A consent identifier.

	Use it to navigate through the request pagination when the number of consents is greater than
	the `limit` set for results in the response.

	With `after_consent_id`, the list you obtain starts from the subsequent consent after the specified one. Also,
	the response depends on the `sort` and `order` parameters, if any are passed.
	*/
	AfterConsentID *string

	/* BeforeConsentID.

	     A consent identifier.

	Use it to navigate through the request pagination when the number of consents is greater than
	the limit set for results in the response.

	With `before_consent_id`, the list you obtain comprises consents up to the specified one. The specified consent
	isn't included. Also, the response depends on the `sort` and `order` parameters, if any are passed.
	*/
	BeforeConsentID *string

	/* ClientID.

	   A client application identifier.
	*/
	ClientID *string

	/* Cnpj.

	     Optional. A
	[14-digit identification number](https://openbanking-brasil.github.io/specs-seguranca/open-banking-brasil-financial-api-1_ID3.html#section-5.2.2.4)
	of a company in Cadastro Nacional da Pessoa Jurídica (Brazilian National Registry of Legal Entities).
	*/
	Cnpj *string

	/* Cpf.

	     Optional. An
	[11-digit taxpayer identification number](https://openbanking-brasil.github.io/specs-seguranca/open-banking-brasil-financial-api-1_ID3.html#name-requesting-the-cpf-claim)
	in Cadastro de Pessoas Físicas (Natural Persons Register).
	*/
	Cpf *string

	/* DateFrom.

	     Optional. Consent creation date.

	Sets the start date of the consent retrieval date range.
	*/
	DateFrom *string

	/* DateTo.

	     Optional. Consent creation date.

	Sets the end date of the consent retrieval date range.
	*/
	DateTo *string

	/* Limit.

	   Limit the number of results returned in the response.

	   Format: int64
	   Default: 20
	*/
	Limit *int64

	/* Order.

	     Input: `acs` or `desc`.

	Set the order of results returned in the response.

	     Default: "desc"
	*/
	Order *string

	/* Sort.

	   Sort results returned in the response.
	*/
	Sort *string

	/* Status.

	   List of the consent statuses.
	*/
	Status []string

	/* Types.

	   Consent types.
	*/
	Types []string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOBBRConsentsParams contains all the parameters to send to the API endpoint

for the get o b b r consents operation.

Typically these are written to a http.Request.

func NewGetOBBRConsentsParams

func NewGetOBBRConsentsParams() *GetOBBRConsentsParams

NewGetOBBRConsentsParams creates a new GetOBBRConsentsParams 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 NewGetOBBRConsentsParamsWithContext

func NewGetOBBRConsentsParamsWithContext(ctx context.Context) *GetOBBRConsentsParams

NewGetOBBRConsentsParamsWithContext creates a new GetOBBRConsentsParams object with the ability to set a context for a request.

func NewGetOBBRConsentsParamsWithHTTPClient

func NewGetOBBRConsentsParamsWithHTTPClient(client *http.Client) *GetOBBRConsentsParams

NewGetOBBRConsentsParamsWithHTTPClient creates a new GetOBBRConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOBBRConsentsParamsWithTimeout

func NewGetOBBRConsentsParamsWithTimeout(timeout time.Duration) *GetOBBRConsentsParams

NewGetOBBRConsentsParamsWithTimeout creates a new GetOBBRConsentsParams object with the ability to set a timeout on a request.

func (*GetOBBRConsentsParams) SetAccounts

func (o *GetOBBRConsentsParams) SetAccounts(accounts []string)

SetAccounts adds the accounts to the get o b b r consents params

func (*GetOBBRConsentsParams) SetAfterConsentID

func (o *GetOBBRConsentsParams) SetAfterConsentID(afterConsentID *string)

SetAfterConsentID adds the afterConsentId to the get o b b r consents params

func (*GetOBBRConsentsParams) SetBeforeConsentID

func (o *GetOBBRConsentsParams) SetBeforeConsentID(beforeConsentID *string)

SetBeforeConsentID adds the beforeConsentId to the get o b b r consents params

func (*GetOBBRConsentsParams) SetClientID

func (o *GetOBBRConsentsParams) SetClientID(clientID *string)

SetClientID adds the clientId to the get o b b r consents params

func (*GetOBBRConsentsParams) SetCnpj

func (o *GetOBBRConsentsParams) SetCnpj(cnpj *string)

SetCnpj adds the cnpj to the get o b b r consents params

func (*GetOBBRConsentsParams) SetContext

func (o *GetOBBRConsentsParams) SetContext(ctx context.Context)

SetContext adds the context to the get o b b r consents params

func (*GetOBBRConsentsParams) SetCpf

func (o *GetOBBRConsentsParams) SetCpf(cpf *string)

SetCpf adds the cpf to the get o b b r consents params

func (*GetOBBRConsentsParams) SetDateFrom

func (o *GetOBBRConsentsParams) SetDateFrom(dateFrom *string)

SetDateFrom adds the dateFrom to the get o b b r consents params

func (*GetOBBRConsentsParams) SetDateTo

func (o *GetOBBRConsentsParams) SetDateTo(dateTo *string)

SetDateTo adds the dateTo to the get o b b r consents params

func (*GetOBBRConsentsParams) SetDefaults

func (o *GetOBBRConsentsParams) SetDefaults()

SetDefaults hydrates default values in the get o b b r consents params (not the query body).

All values with no default are reset to their zero value.

func (*GetOBBRConsentsParams) SetHTTPClient

func (o *GetOBBRConsentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get o b b r consents params

func (*GetOBBRConsentsParams) SetLimit

func (o *GetOBBRConsentsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get o b b r consents params

func (*GetOBBRConsentsParams) SetOrder

func (o *GetOBBRConsentsParams) SetOrder(order *string)

SetOrder adds the order to the get o b b r consents params

func (*GetOBBRConsentsParams) SetSort

func (o *GetOBBRConsentsParams) SetSort(sort *string)

SetSort adds the sort to the get o b b r consents params

func (*GetOBBRConsentsParams) SetStatus

func (o *GetOBBRConsentsParams) SetStatus(status []string)

SetStatus adds the status to the get o b b r consents params

func (*GetOBBRConsentsParams) SetTimeout

func (o *GetOBBRConsentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get o b b r consents params

func (*GetOBBRConsentsParams) SetTypes

func (o *GetOBBRConsentsParams) SetTypes(types []string)

SetTypes adds the types to the get o b b r consents params

func (*GetOBBRConsentsParams) SetWid

func (o *GetOBBRConsentsParams) SetWid(wid string)

SetWid adds the wid to the get o b b r consents params

func (*GetOBBRConsentsParams) WithAccounts

func (o *GetOBBRConsentsParams) WithAccounts(accounts []string) *GetOBBRConsentsParams

WithAccounts adds the accounts to the get o b b r consents params

func (*GetOBBRConsentsParams) WithAfterConsentID

func (o *GetOBBRConsentsParams) WithAfterConsentID(afterConsentID *string) *GetOBBRConsentsParams

WithAfterConsentID adds the afterConsentID to the get o b b r consents params

func (*GetOBBRConsentsParams) WithBeforeConsentID

func (o *GetOBBRConsentsParams) WithBeforeConsentID(beforeConsentID *string) *GetOBBRConsentsParams

WithBeforeConsentID adds the beforeConsentID to the get o b b r consents params

func (*GetOBBRConsentsParams) WithClientID

func (o *GetOBBRConsentsParams) WithClientID(clientID *string) *GetOBBRConsentsParams

WithClientID adds the clientID to the get o b b r consents params

func (*GetOBBRConsentsParams) WithCnpj

WithCnpj adds the cnpj to the get o b b r consents params

func (*GetOBBRConsentsParams) WithContext

WithContext adds the context to the get o b b r consents params

func (*GetOBBRConsentsParams) WithCpf

WithCpf adds the cpf to the get o b b r consents params

func (*GetOBBRConsentsParams) WithDateFrom

func (o *GetOBBRConsentsParams) WithDateFrom(dateFrom *string) *GetOBBRConsentsParams

WithDateFrom adds the dateFrom to the get o b b r consents params

func (*GetOBBRConsentsParams) WithDateTo

func (o *GetOBBRConsentsParams) WithDateTo(dateTo *string) *GetOBBRConsentsParams

WithDateTo adds the dateTo to the get o b b r consents params

func (*GetOBBRConsentsParams) WithDefaults

func (o *GetOBBRConsentsParams) WithDefaults() *GetOBBRConsentsParams

WithDefaults hydrates default values in the get o b b r consents params (not the query body).

All values with no default are reset to their zero value.

func (*GetOBBRConsentsParams) WithHTTPClient

func (o *GetOBBRConsentsParams) WithHTTPClient(client *http.Client) *GetOBBRConsentsParams

WithHTTPClient adds the HTTPClient to the get o b b r consents params

func (*GetOBBRConsentsParams) WithLimit

func (o *GetOBBRConsentsParams) WithLimit(limit *int64) *GetOBBRConsentsParams

WithLimit adds the limit to the get o b b r consents params

func (*GetOBBRConsentsParams) WithOrder

func (o *GetOBBRConsentsParams) WithOrder(order *string) *GetOBBRConsentsParams

WithOrder adds the order to the get o b b r consents params

func (*GetOBBRConsentsParams) WithSort

WithSort adds the sort to the get o b b r consents params

func (*GetOBBRConsentsParams) WithStatus

func (o *GetOBBRConsentsParams) WithStatus(status []string) *GetOBBRConsentsParams

WithStatus adds the status to the get o b b r consents params

func (*GetOBBRConsentsParams) WithTimeout

func (o *GetOBBRConsentsParams) WithTimeout(timeout time.Duration) *GetOBBRConsentsParams

WithTimeout adds the timeout to the get o b b r consents params

func (*GetOBBRConsentsParams) WithTypes

func (o *GetOBBRConsentsParams) WithTypes(types []string) *GetOBBRConsentsParams

WithTypes adds the types to the get o b b r consents params

func (*GetOBBRConsentsParams) WithWid

WithWid adds the wid to the get o b b r consents params

func (*GetOBBRConsentsParams) WriteToRequest

func (o *GetOBBRConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOBBRConsentsReader

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

GetOBBRConsentsReader is a Reader for the GetOBBRConsents structure.

func (*GetOBBRConsentsReader) ReadResponse

func (o *GetOBBRConsentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOBBRConsentsTooManyRequests

type GetOBBRConsentsTooManyRequests struct {
	Payload *models.Error
}

GetOBBRConsentsTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetOBBRConsentsTooManyRequests

func NewGetOBBRConsentsTooManyRequests() *GetOBBRConsentsTooManyRequests

NewGetOBBRConsentsTooManyRequests creates a GetOBBRConsentsTooManyRequests with default headers values

func (*GetOBBRConsentsTooManyRequests) Code

Code gets the status code for the get o b b r consents too many requests response

func (*GetOBBRConsentsTooManyRequests) Error

func (*GetOBBRConsentsTooManyRequests) GetPayload

func (o *GetOBBRConsentsTooManyRequests) GetPayload() *models.Error

func (*GetOBBRConsentsTooManyRequests) IsClientError

func (o *GetOBBRConsentsTooManyRequests) IsClientError() bool

IsClientError returns true when this get o b b r consents too many requests response has a 4xx status code

func (*GetOBBRConsentsTooManyRequests) IsCode

func (o *GetOBBRConsentsTooManyRequests) IsCode(code int) bool

IsCode returns true when this get o b b r consents too many requests response a status code equal to that given

func (*GetOBBRConsentsTooManyRequests) IsRedirect

func (o *GetOBBRConsentsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get o b b r consents too many requests response has a 3xx status code

func (*GetOBBRConsentsTooManyRequests) IsServerError

func (o *GetOBBRConsentsTooManyRequests) IsServerError() bool

IsServerError returns true when this get o b b r consents too many requests response has a 5xx status code

func (*GetOBBRConsentsTooManyRequests) IsSuccess

func (o *GetOBBRConsentsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get o b b r consents too many requests response has a 2xx status code

func (*GetOBBRConsentsTooManyRequests) String

type GetOBBRConsentsUnauthorized

type GetOBBRConsentsUnauthorized struct {
	Payload *models.Error
}

GetOBBRConsentsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetOBBRConsentsUnauthorized

func NewGetOBBRConsentsUnauthorized() *GetOBBRConsentsUnauthorized

NewGetOBBRConsentsUnauthorized creates a GetOBBRConsentsUnauthorized with default headers values

func (*GetOBBRConsentsUnauthorized) Code

func (o *GetOBBRConsentsUnauthorized) Code() int

Code gets the status code for the get o b b r consents unauthorized response

func (*GetOBBRConsentsUnauthorized) Error

func (*GetOBBRConsentsUnauthorized) GetPayload

func (o *GetOBBRConsentsUnauthorized) GetPayload() *models.Error

func (*GetOBBRConsentsUnauthorized) IsClientError

func (o *GetOBBRConsentsUnauthorized) IsClientError() bool

IsClientError returns true when this get o b b r consents unauthorized response has a 4xx status code

func (*GetOBBRConsentsUnauthorized) IsCode

func (o *GetOBBRConsentsUnauthorized) IsCode(code int) bool

IsCode returns true when this get o b b r consents unauthorized response a status code equal to that given

func (*GetOBBRConsentsUnauthorized) IsRedirect

func (o *GetOBBRConsentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get o b b r consents unauthorized response has a 3xx status code

func (*GetOBBRConsentsUnauthorized) IsServerError

func (o *GetOBBRConsentsUnauthorized) IsServerError() bool

IsServerError returns true when this get o b b r consents unauthorized response has a 5xx status code

func (*GetOBBRConsentsUnauthorized) IsSuccess

func (o *GetOBBRConsentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get o b b r consents unauthorized response has a 2xx status code

func (*GetOBBRConsentsUnauthorized) String

func (o *GetOBBRConsentsUnauthorized) String() string

type ListOBBRConsentsBadRequest

type ListOBBRConsentsBadRequest struct {
	Payload *models.Error
}

ListOBBRConsentsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewListOBBRConsentsBadRequest

func NewListOBBRConsentsBadRequest() *ListOBBRConsentsBadRequest

NewListOBBRConsentsBadRequest creates a ListOBBRConsentsBadRequest with default headers values

func (*ListOBBRConsentsBadRequest) Code

func (o *ListOBBRConsentsBadRequest) Code() int

Code gets the status code for the list o b b r consents bad request response

func (*ListOBBRConsentsBadRequest) Error

func (*ListOBBRConsentsBadRequest) GetPayload

func (o *ListOBBRConsentsBadRequest) GetPayload() *models.Error

func (*ListOBBRConsentsBadRequest) IsClientError

func (o *ListOBBRConsentsBadRequest) IsClientError() bool

IsClientError returns true when this list o b b r consents bad request response has a 4xx status code

func (*ListOBBRConsentsBadRequest) IsCode

func (o *ListOBBRConsentsBadRequest) IsCode(code int) bool

IsCode returns true when this list o b b r consents bad request response a status code equal to that given

func (*ListOBBRConsentsBadRequest) IsRedirect

func (o *ListOBBRConsentsBadRequest) IsRedirect() bool

IsRedirect returns true when this list o b b r consents bad request response has a 3xx status code

func (*ListOBBRConsentsBadRequest) IsServerError

func (o *ListOBBRConsentsBadRequest) IsServerError() bool

IsServerError returns true when this list o b b r consents bad request response has a 5xx status code

func (*ListOBBRConsentsBadRequest) IsSuccess

func (o *ListOBBRConsentsBadRequest) IsSuccess() bool

IsSuccess returns true when this list o b b r consents bad request response has a 2xx status code

func (*ListOBBRConsentsBadRequest) String

func (o *ListOBBRConsentsBadRequest) String() string

type ListOBBRConsentsForbidden

type ListOBBRConsentsForbidden struct {
	Payload *models.Error
}

ListOBBRConsentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListOBBRConsentsForbidden

func NewListOBBRConsentsForbidden() *ListOBBRConsentsForbidden

NewListOBBRConsentsForbidden creates a ListOBBRConsentsForbidden with default headers values

func (*ListOBBRConsentsForbidden) Code

func (o *ListOBBRConsentsForbidden) Code() int

Code gets the status code for the list o b b r consents forbidden response

func (*ListOBBRConsentsForbidden) Error

func (o *ListOBBRConsentsForbidden) Error() string

func (*ListOBBRConsentsForbidden) GetPayload

func (o *ListOBBRConsentsForbidden) GetPayload() *models.Error

func (*ListOBBRConsentsForbidden) IsClientError

func (o *ListOBBRConsentsForbidden) IsClientError() bool

IsClientError returns true when this list o b b r consents forbidden response has a 4xx status code

func (*ListOBBRConsentsForbidden) IsCode

func (o *ListOBBRConsentsForbidden) IsCode(code int) bool

IsCode returns true when this list o b b r consents forbidden response a status code equal to that given

func (*ListOBBRConsentsForbidden) IsRedirect

func (o *ListOBBRConsentsForbidden) IsRedirect() bool

IsRedirect returns true when this list o b b r consents forbidden response has a 3xx status code

func (*ListOBBRConsentsForbidden) IsServerError

func (o *ListOBBRConsentsForbidden) IsServerError() bool

IsServerError returns true when this list o b b r consents forbidden response has a 5xx status code

func (*ListOBBRConsentsForbidden) IsSuccess

func (o *ListOBBRConsentsForbidden) IsSuccess() bool

IsSuccess returns true when this list o b b r consents forbidden response has a 2xx status code

func (*ListOBBRConsentsForbidden) String

func (o *ListOBBRConsentsForbidden) String() string

type ListOBBRConsentsNotFound

type ListOBBRConsentsNotFound struct {
	Payload *models.Error
}

ListOBBRConsentsNotFound describes a response with status code 404, with default header values.

Not found

func NewListOBBRConsentsNotFound

func NewListOBBRConsentsNotFound() *ListOBBRConsentsNotFound

NewListOBBRConsentsNotFound creates a ListOBBRConsentsNotFound with default headers values

func (*ListOBBRConsentsNotFound) Code

func (o *ListOBBRConsentsNotFound) Code() int

Code gets the status code for the list o b b r consents not found response

func (*ListOBBRConsentsNotFound) Error

func (o *ListOBBRConsentsNotFound) Error() string

func (*ListOBBRConsentsNotFound) GetPayload

func (o *ListOBBRConsentsNotFound) GetPayload() *models.Error

func (*ListOBBRConsentsNotFound) IsClientError

func (o *ListOBBRConsentsNotFound) IsClientError() bool

IsClientError returns true when this list o b b r consents not found response has a 4xx status code

func (*ListOBBRConsentsNotFound) IsCode

func (o *ListOBBRConsentsNotFound) IsCode(code int) bool

IsCode returns true when this list o b b r consents not found response a status code equal to that given

func (*ListOBBRConsentsNotFound) IsRedirect

func (o *ListOBBRConsentsNotFound) IsRedirect() bool

IsRedirect returns true when this list o b b r consents not found response has a 3xx status code

func (*ListOBBRConsentsNotFound) IsServerError

func (o *ListOBBRConsentsNotFound) IsServerError() bool

IsServerError returns true when this list o b b r consents not found response has a 5xx status code

func (*ListOBBRConsentsNotFound) IsSuccess

func (o *ListOBBRConsentsNotFound) IsSuccess() bool

IsSuccess returns true when this list o b b r consents not found response has a 2xx status code

func (*ListOBBRConsentsNotFound) String

func (o *ListOBBRConsentsNotFound) String() string

type ListOBBRConsentsOK

type ListOBBRConsentsOK struct {
	Payload *models.OBBRConsents
}

ListOBBRConsentsOK describes a response with status code 200, with default header values.

Open Banking Brazil Consents

func NewListOBBRConsentsOK

func NewListOBBRConsentsOK() *ListOBBRConsentsOK

NewListOBBRConsentsOK creates a ListOBBRConsentsOK with default headers values

func (*ListOBBRConsentsOK) Code

func (o *ListOBBRConsentsOK) Code() int

Code gets the status code for the list o b b r consents o k response

func (*ListOBBRConsentsOK) Error

func (o *ListOBBRConsentsOK) Error() string

func (*ListOBBRConsentsOK) GetPayload

func (o *ListOBBRConsentsOK) GetPayload() *models.OBBRConsents

func (*ListOBBRConsentsOK) IsClientError

func (o *ListOBBRConsentsOK) IsClientError() bool

IsClientError returns true when this list o b b r consents o k response has a 4xx status code

func (*ListOBBRConsentsOK) IsCode

func (o *ListOBBRConsentsOK) IsCode(code int) bool

IsCode returns true when this list o b b r consents o k response a status code equal to that given

func (*ListOBBRConsentsOK) IsRedirect

func (o *ListOBBRConsentsOK) IsRedirect() bool

IsRedirect returns true when this list o b b r consents o k response has a 3xx status code

func (*ListOBBRConsentsOK) IsServerError

func (o *ListOBBRConsentsOK) IsServerError() bool

IsServerError returns true when this list o b b r consents o k response has a 5xx status code

func (*ListOBBRConsentsOK) IsSuccess

func (o *ListOBBRConsentsOK) IsSuccess() bool

IsSuccess returns true when this list o b b r consents o k response has a 2xx status code

func (*ListOBBRConsentsOK) String

func (o *ListOBBRConsentsOK) String() string

type ListOBBRConsentsParams

type ListOBBRConsentsParams struct {

	// ConsentsRequest.
	ConsentsRequest *models.OBBRConsentsRequest

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListOBBRConsentsParams contains all the parameters to send to the API endpoint

for the list o b b r consents operation.

Typically these are written to a http.Request.

func NewListOBBRConsentsParams

func NewListOBBRConsentsParams() *ListOBBRConsentsParams

NewListOBBRConsentsParams creates a new ListOBBRConsentsParams 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 NewListOBBRConsentsParamsWithContext

func NewListOBBRConsentsParamsWithContext(ctx context.Context) *ListOBBRConsentsParams

NewListOBBRConsentsParamsWithContext creates a new ListOBBRConsentsParams object with the ability to set a context for a request.

func NewListOBBRConsentsParamsWithHTTPClient

func NewListOBBRConsentsParamsWithHTTPClient(client *http.Client) *ListOBBRConsentsParams

NewListOBBRConsentsParamsWithHTTPClient creates a new ListOBBRConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewListOBBRConsentsParamsWithTimeout

func NewListOBBRConsentsParamsWithTimeout(timeout time.Duration) *ListOBBRConsentsParams

NewListOBBRConsentsParamsWithTimeout creates a new ListOBBRConsentsParams object with the ability to set a timeout on a request.

func (*ListOBBRConsentsParams) SetConsentsRequest

func (o *ListOBBRConsentsParams) SetConsentsRequest(consentsRequest *models.OBBRConsentsRequest)

SetConsentsRequest adds the consentsRequest to the list o b b r consents params

func (*ListOBBRConsentsParams) SetContext

func (o *ListOBBRConsentsParams) SetContext(ctx context.Context)

SetContext adds the context to the list o b b r consents params

func (*ListOBBRConsentsParams) SetDefaults

func (o *ListOBBRConsentsParams) SetDefaults()

SetDefaults hydrates default values in the list o b b r consents params (not the query body).

All values with no default are reset to their zero value.

func (*ListOBBRConsentsParams) SetHTTPClient

func (o *ListOBBRConsentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list o b b r consents params

func (*ListOBBRConsentsParams) SetTimeout

func (o *ListOBBRConsentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list o b b r consents params

func (*ListOBBRConsentsParams) SetWid

func (o *ListOBBRConsentsParams) SetWid(wid string)

SetWid adds the wid to the list o b b r consents params

func (*ListOBBRConsentsParams) WithConsentsRequest

func (o *ListOBBRConsentsParams) WithConsentsRequest(consentsRequest *models.OBBRConsentsRequest) *ListOBBRConsentsParams

WithConsentsRequest adds the consentsRequest to the list o b b r consents params

func (*ListOBBRConsentsParams) WithContext

WithContext adds the context to the list o b b r consents params

func (*ListOBBRConsentsParams) WithDefaults

WithDefaults hydrates default values in the list o b b r consents params (not the query body).

All values with no default are reset to their zero value.

func (*ListOBBRConsentsParams) WithHTTPClient

func (o *ListOBBRConsentsParams) WithHTTPClient(client *http.Client) *ListOBBRConsentsParams

WithHTTPClient adds the HTTPClient to the list o b b r consents params

func (*ListOBBRConsentsParams) WithTimeout

WithTimeout adds the timeout to the list o b b r consents params

func (*ListOBBRConsentsParams) WithWid

WithWid adds the wid to the list o b b r consents params

func (*ListOBBRConsentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListOBBRConsentsReader

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

ListOBBRConsentsReader is a Reader for the ListOBBRConsents structure.

func (*ListOBBRConsentsReader) ReadResponse

func (o *ListOBBRConsentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListOBBRConsentsTooManyRequests

type ListOBBRConsentsTooManyRequests struct {
	Payload *models.Error
}

ListOBBRConsentsTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListOBBRConsentsTooManyRequests

func NewListOBBRConsentsTooManyRequests() *ListOBBRConsentsTooManyRequests

NewListOBBRConsentsTooManyRequests creates a ListOBBRConsentsTooManyRequests with default headers values

func (*ListOBBRConsentsTooManyRequests) Code

Code gets the status code for the list o b b r consents too many requests response

func (*ListOBBRConsentsTooManyRequests) Error

func (*ListOBBRConsentsTooManyRequests) GetPayload

func (o *ListOBBRConsentsTooManyRequests) GetPayload() *models.Error

func (*ListOBBRConsentsTooManyRequests) IsClientError

func (o *ListOBBRConsentsTooManyRequests) IsClientError() bool

IsClientError returns true when this list o b b r consents too many requests response has a 4xx status code

func (*ListOBBRConsentsTooManyRequests) IsCode

func (o *ListOBBRConsentsTooManyRequests) IsCode(code int) bool

IsCode returns true when this list o b b r consents too many requests response a status code equal to that given

func (*ListOBBRConsentsTooManyRequests) IsRedirect

func (o *ListOBBRConsentsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list o b b r consents too many requests response has a 3xx status code

func (*ListOBBRConsentsTooManyRequests) IsServerError

func (o *ListOBBRConsentsTooManyRequests) IsServerError() bool

IsServerError returns true when this list o b b r consents too many requests response has a 5xx status code

func (*ListOBBRConsentsTooManyRequests) IsSuccess

func (o *ListOBBRConsentsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list o b b r consents too many requests response has a 2xx status code

func (*ListOBBRConsentsTooManyRequests) String

type ListOBBRConsentsUnauthorized

type ListOBBRConsentsUnauthorized struct {
	Payload *models.Error
}

ListOBBRConsentsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListOBBRConsentsUnauthorized

func NewListOBBRConsentsUnauthorized() *ListOBBRConsentsUnauthorized

NewListOBBRConsentsUnauthorized creates a ListOBBRConsentsUnauthorized with default headers values

func (*ListOBBRConsentsUnauthorized) Code

Code gets the status code for the list o b b r consents unauthorized response

func (*ListOBBRConsentsUnauthorized) Error

func (*ListOBBRConsentsUnauthorized) GetPayload

func (o *ListOBBRConsentsUnauthorized) GetPayload() *models.Error

func (*ListOBBRConsentsUnauthorized) IsClientError

func (o *ListOBBRConsentsUnauthorized) IsClientError() bool

IsClientError returns true when this list o b b r consents unauthorized response has a 4xx status code

func (*ListOBBRConsentsUnauthorized) IsCode

func (o *ListOBBRConsentsUnauthorized) IsCode(code int) bool

IsCode returns true when this list o b b r consents unauthorized response a status code equal to that given

func (*ListOBBRConsentsUnauthorized) IsRedirect

func (o *ListOBBRConsentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list o b b r consents unauthorized response has a 3xx status code

func (*ListOBBRConsentsUnauthorized) IsServerError

func (o *ListOBBRConsentsUnauthorized) IsServerError() bool

IsServerError returns true when this list o b b r consents unauthorized response has a 5xx status code

func (*ListOBBRConsentsUnauthorized) IsSuccess

func (o *ListOBBRConsentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list o b b r consents unauthorized response has a 2xx status code

func (*ListOBBRConsentsUnauthorized) String

type ListOBBRConsentsUnprocessableEntity

type ListOBBRConsentsUnprocessableEntity struct {
	Payload *models.Error
}

ListOBBRConsentsUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewListOBBRConsentsUnprocessableEntity

func NewListOBBRConsentsUnprocessableEntity() *ListOBBRConsentsUnprocessableEntity

NewListOBBRConsentsUnprocessableEntity creates a ListOBBRConsentsUnprocessableEntity with default headers values

func (*ListOBBRConsentsUnprocessableEntity) Code

Code gets the status code for the list o b b r consents unprocessable entity response

func (*ListOBBRConsentsUnprocessableEntity) Error

func (*ListOBBRConsentsUnprocessableEntity) GetPayload

func (*ListOBBRConsentsUnprocessableEntity) IsClientError

func (o *ListOBBRConsentsUnprocessableEntity) IsClientError() bool

IsClientError returns true when this list o b b r consents unprocessable entity response has a 4xx status code

func (*ListOBBRConsentsUnprocessableEntity) IsCode

IsCode returns true when this list o b b r consents unprocessable entity response a status code equal to that given

func (*ListOBBRConsentsUnprocessableEntity) IsRedirect

func (o *ListOBBRConsentsUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this list o b b r consents unprocessable entity response has a 3xx status code

func (*ListOBBRConsentsUnprocessableEntity) IsServerError

func (o *ListOBBRConsentsUnprocessableEntity) IsServerError() bool

IsServerError returns true when this list o b b r consents unprocessable entity response has a 5xx status code

func (*ListOBBRConsentsUnprocessableEntity) IsSuccess

IsSuccess returns true when this list o b b r consents unprocessable entity response has a 2xx status code

func (*ListOBBRConsentsUnprocessableEntity) String

type RevokeOBBRConsentBadRequest

type RevokeOBBRConsentBadRequest struct {
	Payload *models.Error
}

RevokeOBBRConsentBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRevokeOBBRConsentBadRequest

func NewRevokeOBBRConsentBadRequest() *RevokeOBBRConsentBadRequest

NewRevokeOBBRConsentBadRequest creates a RevokeOBBRConsentBadRequest with default headers values

func (*RevokeOBBRConsentBadRequest) Code

func (o *RevokeOBBRConsentBadRequest) Code() int

Code gets the status code for the revoke o b b r consent bad request response

func (*RevokeOBBRConsentBadRequest) Error

func (*RevokeOBBRConsentBadRequest) GetPayload

func (o *RevokeOBBRConsentBadRequest) GetPayload() *models.Error

func (*RevokeOBBRConsentBadRequest) IsClientError

func (o *RevokeOBBRConsentBadRequest) IsClientError() bool

IsClientError returns true when this revoke o b b r consent bad request response has a 4xx status code

func (*RevokeOBBRConsentBadRequest) IsCode

func (o *RevokeOBBRConsentBadRequest) IsCode(code int) bool

IsCode returns true when this revoke o b b r consent bad request response a status code equal to that given

func (*RevokeOBBRConsentBadRequest) IsRedirect

func (o *RevokeOBBRConsentBadRequest) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consent bad request response has a 3xx status code

func (*RevokeOBBRConsentBadRequest) IsServerError

func (o *RevokeOBBRConsentBadRequest) IsServerError() bool

IsServerError returns true when this revoke o b b r consent bad request response has a 5xx status code

func (*RevokeOBBRConsentBadRequest) IsSuccess

func (o *RevokeOBBRConsentBadRequest) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consent bad request response has a 2xx status code

func (*RevokeOBBRConsentBadRequest) String

func (o *RevokeOBBRConsentBadRequest) String() string

type RevokeOBBRConsentForbidden

type RevokeOBBRConsentForbidden struct {
	Payload *models.Error
}

RevokeOBBRConsentForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRevokeOBBRConsentForbidden

func NewRevokeOBBRConsentForbidden() *RevokeOBBRConsentForbidden

NewRevokeOBBRConsentForbidden creates a RevokeOBBRConsentForbidden with default headers values

func (*RevokeOBBRConsentForbidden) Code

func (o *RevokeOBBRConsentForbidden) Code() int

Code gets the status code for the revoke o b b r consent forbidden response

func (*RevokeOBBRConsentForbidden) Error

func (*RevokeOBBRConsentForbidden) GetPayload

func (o *RevokeOBBRConsentForbidden) GetPayload() *models.Error

func (*RevokeOBBRConsentForbidden) IsClientError

func (o *RevokeOBBRConsentForbidden) IsClientError() bool

IsClientError returns true when this revoke o b b r consent forbidden response has a 4xx status code

func (*RevokeOBBRConsentForbidden) IsCode

func (o *RevokeOBBRConsentForbidden) IsCode(code int) bool

IsCode returns true when this revoke o b b r consent forbidden response a status code equal to that given

func (*RevokeOBBRConsentForbidden) IsRedirect

func (o *RevokeOBBRConsentForbidden) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consent forbidden response has a 3xx status code

func (*RevokeOBBRConsentForbidden) IsServerError

func (o *RevokeOBBRConsentForbidden) IsServerError() bool

IsServerError returns true when this revoke o b b r consent forbidden response has a 5xx status code

func (*RevokeOBBRConsentForbidden) IsSuccess

func (o *RevokeOBBRConsentForbidden) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consent forbidden response has a 2xx status code

func (*RevokeOBBRConsentForbidden) String

func (o *RevokeOBBRConsentForbidden) String() string

type RevokeOBBRConsentNoContent

type RevokeOBBRConsentNoContent struct {
}

RevokeOBBRConsentNoContent describes a response with status code 204, with default header values.

Consent Revoked

func NewRevokeOBBRConsentNoContent

func NewRevokeOBBRConsentNoContent() *RevokeOBBRConsentNoContent

NewRevokeOBBRConsentNoContent creates a RevokeOBBRConsentNoContent with default headers values

func (*RevokeOBBRConsentNoContent) Code

func (o *RevokeOBBRConsentNoContent) Code() int

Code gets the status code for the revoke o b b r consent no content response

func (*RevokeOBBRConsentNoContent) Error

func (*RevokeOBBRConsentNoContent) IsClientError

func (o *RevokeOBBRConsentNoContent) IsClientError() bool

IsClientError returns true when this revoke o b b r consent no content response has a 4xx status code

func (*RevokeOBBRConsentNoContent) IsCode

func (o *RevokeOBBRConsentNoContent) IsCode(code int) bool

IsCode returns true when this revoke o b b r consent no content response a status code equal to that given

func (*RevokeOBBRConsentNoContent) IsRedirect

func (o *RevokeOBBRConsentNoContent) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consent no content response has a 3xx status code

func (*RevokeOBBRConsentNoContent) IsServerError

func (o *RevokeOBBRConsentNoContent) IsServerError() bool

IsServerError returns true when this revoke o b b r consent no content response has a 5xx status code

func (*RevokeOBBRConsentNoContent) IsSuccess

func (o *RevokeOBBRConsentNoContent) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consent no content response has a 2xx status code

func (*RevokeOBBRConsentNoContent) String

func (o *RevokeOBBRConsentNoContent) String() string

type RevokeOBBRConsentNotFound

type RevokeOBBRConsentNotFound struct {
	Payload *models.Error
}

RevokeOBBRConsentNotFound describes a response with status code 404, with default header values.

Not found

func NewRevokeOBBRConsentNotFound

func NewRevokeOBBRConsentNotFound() *RevokeOBBRConsentNotFound

NewRevokeOBBRConsentNotFound creates a RevokeOBBRConsentNotFound with default headers values

func (*RevokeOBBRConsentNotFound) Code

func (o *RevokeOBBRConsentNotFound) Code() int

Code gets the status code for the revoke o b b r consent not found response

func (*RevokeOBBRConsentNotFound) Error

func (o *RevokeOBBRConsentNotFound) Error() string

func (*RevokeOBBRConsentNotFound) GetPayload

func (o *RevokeOBBRConsentNotFound) GetPayload() *models.Error

func (*RevokeOBBRConsentNotFound) IsClientError

func (o *RevokeOBBRConsentNotFound) IsClientError() bool

IsClientError returns true when this revoke o b b r consent not found response has a 4xx status code

func (*RevokeOBBRConsentNotFound) IsCode

func (o *RevokeOBBRConsentNotFound) IsCode(code int) bool

IsCode returns true when this revoke o b b r consent not found response a status code equal to that given

func (*RevokeOBBRConsentNotFound) IsRedirect

func (o *RevokeOBBRConsentNotFound) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consent not found response has a 3xx status code

func (*RevokeOBBRConsentNotFound) IsServerError

func (o *RevokeOBBRConsentNotFound) IsServerError() bool

IsServerError returns true when this revoke o b b r consent not found response has a 5xx status code

func (*RevokeOBBRConsentNotFound) IsSuccess

func (o *RevokeOBBRConsentNotFound) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consent not found response has a 2xx status code

func (*RevokeOBBRConsentNotFound) String

func (o *RevokeOBBRConsentNotFound) String() string

type RevokeOBBRConsentParams

type RevokeOBBRConsentParams struct {

	// ConsentID.
	ConsentID string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RevokeOBBRConsentParams contains all the parameters to send to the API endpoint

for the revoke o b b r consent operation.

Typically these are written to a http.Request.

func NewRevokeOBBRConsentParams

func NewRevokeOBBRConsentParams() *RevokeOBBRConsentParams

NewRevokeOBBRConsentParams creates a new RevokeOBBRConsentParams 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 NewRevokeOBBRConsentParamsWithContext

func NewRevokeOBBRConsentParamsWithContext(ctx context.Context) *RevokeOBBRConsentParams

NewRevokeOBBRConsentParamsWithContext creates a new RevokeOBBRConsentParams object with the ability to set a context for a request.

func NewRevokeOBBRConsentParamsWithHTTPClient

func NewRevokeOBBRConsentParamsWithHTTPClient(client *http.Client) *RevokeOBBRConsentParams

NewRevokeOBBRConsentParamsWithHTTPClient creates a new RevokeOBBRConsentParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeOBBRConsentParamsWithTimeout

func NewRevokeOBBRConsentParamsWithTimeout(timeout time.Duration) *RevokeOBBRConsentParams

NewRevokeOBBRConsentParamsWithTimeout creates a new RevokeOBBRConsentParams object with the ability to set a timeout on a request.

func (*RevokeOBBRConsentParams) SetConsentID

func (o *RevokeOBBRConsentParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) SetContext

func (o *RevokeOBBRConsentParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) SetDefaults

func (o *RevokeOBBRConsentParams) SetDefaults()

SetDefaults hydrates default values in the revoke o b b r consent params (not the query body).

All values with no default are reset to their zero value.

func (*RevokeOBBRConsentParams) SetHTTPClient

func (o *RevokeOBBRConsentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) SetTimeout

func (o *RevokeOBBRConsentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) SetWid

func (o *RevokeOBBRConsentParams) SetWid(wid string)

SetWid adds the wid to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) WithConsentID

func (o *RevokeOBBRConsentParams) WithConsentID(consentID string) *RevokeOBBRConsentParams

WithConsentID adds the consentID to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) WithContext

WithContext adds the context to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) WithDefaults

WithDefaults hydrates default values in the revoke o b b r consent params (not the query body).

All values with no default are reset to their zero value.

func (*RevokeOBBRConsentParams) WithHTTPClient

func (o *RevokeOBBRConsentParams) WithHTTPClient(client *http.Client) *RevokeOBBRConsentParams

WithHTTPClient adds the HTTPClient to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) WithTimeout

WithTimeout adds the timeout to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) WithWid

WithWid adds the wid to the revoke o b b r consent params

func (*RevokeOBBRConsentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeOBBRConsentReader

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

RevokeOBBRConsentReader is a Reader for the RevokeOBBRConsent structure.

func (*RevokeOBBRConsentReader) ReadResponse

func (o *RevokeOBBRConsentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RevokeOBBRConsentTooManyRequests

type RevokeOBBRConsentTooManyRequests struct {
	Payload *models.Error
}

RevokeOBBRConsentTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewRevokeOBBRConsentTooManyRequests

func NewRevokeOBBRConsentTooManyRequests() *RevokeOBBRConsentTooManyRequests

NewRevokeOBBRConsentTooManyRequests creates a RevokeOBBRConsentTooManyRequests with default headers values

func (*RevokeOBBRConsentTooManyRequests) Code

Code gets the status code for the revoke o b b r consent too many requests response

func (*RevokeOBBRConsentTooManyRequests) Error

func (*RevokeOBBRConsentTooManyRequests) GetPayload

func (*RevokeOBBRConsentTooManyRequests) IsClientError

func (o *RevokeOBBRConsentTooManyRequests) IsClientError() bool

IsClientError returns true when this revoke o b b r consent too many requests response has a 4xx status code

func (*RevokeOBBRConsentTooManyRequests) IsCode

func (o *RevokeOBBRConsentTooManyRequests) IsCode(code int) bool

IsCode returns true when this revoke o b b r consent too many requests response a status code equal to that given

func (*RevokeOBBRConsentTooManyRequests) IsRedirect

func (o *RevokeOBBRConsentTooManyRequests) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consent too many requests response has a 3xx status code

func (*RevokeOBBRConsentTooManyRequests) IsServerError

func (o *RevokeOBBRConsentTooManyRequests) IsServerError() bool

IsServerError returns true when this revoke o b b r consent too many requests response has a 5xx status code

func (*RevokeOBBRConsentTooManyRequests) IsSuccess

func (o *RevokeOBBRConsentTooManyRequests) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consent too many requests response has a 2xx status code

func (*RevokeOBBRConsentTooManyRequests) String

type RevokeOBBRConsentUnauthorized

type RevokeOBBRConsentUnauthorized struct {
	Payload *models.Error
}

RevokeOBBRConsentUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewRevokeOBBRConsentUnauthorized

func NewRevokeOBBRConsentUnauthorized() *RevokeOBBRConsentUnauthorized

NewRevokeOBBRConsentUnauthorized creates a RevokeOBBRConsentUnauthorized with default headers values

func (*RevokeOBBRConsentUnauthorized) Code

Code gets the status code for the revoke o b b r consent unauthorized response

func (*RevokeOBBRConsentUnauthorized) Error

func (*RevokeOBBRConsentUnauthorized) GetPayload

func (o *RevokeOBBRConsentUnauthorized) GetPayload() *models.Error

func (*RevokeOBBRConsentUnauthorized) IsClientError

func (o *RevokeOBBRConsentUnauthorized) IsClientError() bool

IsClientError returns true when this revoke o b b r consent unauthorized response has a 4xx status code

func (*RevokeOBBRConsentUnauthorized) IsCode

func (o *RevokeOBBRConsentUnauthorized) IsCode(code int) bool

IsCode returns true when this revoke o b b r consent unauthorized response a status code equal to that given

func (*RevokeOBBRConsentUnauthorized) IsRedirect

func (o *RevokeOBBRConsentUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consent unauthorized response has a 3xx status code

func (*RevokeOBBRConsentUnauthorized) IsServerError

func (o *RevokeOBBRConsentUnauthorized) IsServerError() bool

IsServerError returns true when this revoke o b b r consent unauthorized response has a 5xx status code

func (*RevokeOBBRConsentUnauthorized) IsSuccess

func (o *RevokeOBBRConsentUnauthorized) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consent unauthorized response has a 2xx status code

func (*RevokeOBBRConsentUnauthorized) String

type RevokeOBBRConsentsBadRequest

type RevokeOBBRConsentsBadRequest struct {
	Payload *models.Error
}

RevokeOBBRConsentsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewRevokeOBBRConsentsBadRequest

func NewRevokeOBBRConsentsBadRequest() *RevokeOBBRConsentsBadRequest

NewRevokeOBBRConsentsBadRequest creates a RevokeOBBRConsentsBadRequest with default headers values

func (*RevokeOBBRConsentsBadRequest) Code

Code gets the status code for the revoke o b b r consents bad request response

func (*RevokeOBBRConsentsBadRequest) Error

func (*RevokeOBBRConsentsBadRequest) GetPayload

func (o *RevokeOBBRConsentsBadRequest) GetPayload() *models.Error

func (*RevokeOBBRConsentsBadRequest) IsClientError

func (o *RevokeOBBRConsentsBadRequest) IsClientError() bool

IsClientError returns true when this revoke o b b r consents bad request response has a 4xx status code

func (*RevokeOBBRConsentsBadRequest) IsCode

func (o *RevokeOBBRConsentsBadRequest) IsCode(code int) bool

IsCode returns true when this revoke o b b r consents bad request response a status code equal to that given

func (*RevokeOBBRConsentsBadRequest) IsRedirect

func (o *RevokeOBBRConsentsBadRequest) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consents bad request response has a 3xx status code

func (*RevokeOBBRConsentsBadRequest) IsServerError

func (o *RevokeOBBRConsentsBadRequest) IsServerError() bool

IsServerError returns true when this revoke o b b r consents bad request response has a 5xx status code

func (*RevokeOBBRConsentsBadRequest) IsSuccess

func (o *RevokeOBBRConsentsBadRequest) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consents bad request response has a 2xx status code

func (*RevokeOBBRConsentsBadRequest) String

type RevokeOBBRConsentsForbidden

type RevokeOBBRConsentsForbidden struct {
	Payload *models.Error
}

RevokeOBBRConsentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRevokeOBBRConsentsForbidden

func NewRevokeOBBRConsentsForbidden() *RevokeOBBRConsentsForbidden

NewRevokeOBBRConsentsForbidden creates a RevokeOBBRConsentsForbidden with default headers values

func (*RevokeOBBRConsentsForbidden) Code

func (o *RevokeOBBRConsentsForbidden) Code() int

Code gets the status code for the revoke o b b r consents forbidden response

func (*RevokeOBBRConsentsForbidden) Error

func (*RevokeOBBRConsentsForbidden) GetPayload

func (o *RevokeOBBRConsentsForbidden) GetPayload() *models.Error

func (*RevokeOBBRConsentsForbidden) IsClientError

func (o *RevokeOBBRConsentsForbidden) IsClientError() bool

IsClientError returns true when this revoke o b b r consents forbidden response has a 4xx status code

func (*RevokeOBBRConsentsForbidden) IsCode

func (o *RevokeOBBRConsentsForbidden) IsCode(code int) bool

IsCode returns true when this revoke o b b r consents forbidden response a status code equal to that given

func (*RevokeOBBRConsentsForbidden) IsRedirect

func (o *RevokeOBBRConsentsForbidden) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consents forbidden response has a 3xx status code

func (*RevokeOBBRConsentsForbidden) IsServerError

func (o *RevokeOBBRConsentsForbidden) IsServerError() bool

IsServerError returns true when this revoke o b b r consents forbidden response has a 5xx status code

func (*RevokeOBBRConsentsForbidden) IsSuccess

func (o *RevokeOBBRConsentsForbidden) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consents forbidden response has a 2xx status code

func (*RevokeOBBRConsentsForbidden) String

func (o *RevokeOBBRConsentsForbidden) String() string

type RevokeOBBRConsentsNotFound

type RevokeOBBRConsentsNotFound struct {
	Payload *models.Error
}

RevokeOBBRConsentsNotFound describes a response with status code 404, with default header values.

Not found

func NewRevokeOBBRConsentsNotFound

func NewRevokeOBBRConsentsNotFound() *RevokeOBBRConsentsNotFound

NewRevokeOBBRConsentsNotFound creates a RevokeOBBRConsentsNotFound with default headers values

func (*RevokeOBBRConsentsNotFound) Code

func (o *RevokeOBBRConsentsNotFound) Code() int

Code gets the status code for the revoke o b b r consents not found response

func (*RevokeOBBRConsentsNotFound) Error

func (*RevokeOBBRConsentsNotFound) GetPayload

func (o *RevokeOBBRConsentsNotFound) GetPayload() *models.Error

func (*RevokeOBBRConsentsNotFound) IsClientError

func (o *RevokeOBBRConsentsNotFound) IsClientError() bool

IsClientError returns true when this revoke o b b r consents not found response has a 4xx status code

func (*RevokeOBBRConsentsNotFound) IsCode

func (o *RevokeOBBRConsentsNotFound) IsCode(code int) bool

IsCode returns true when this revoke o b b r consents not found response a status code equal to that given

func (*RevokeOBBRConsentsNotFound) IsRedirect

func (o *RevokeOBBRConsentsNotFound) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consents not found response has a 3xx status code

func (*RevokeOBBRConsentsNotFound) IsServerError

func (o *RevokeOBBRConsentsNotFound) IsServerError() bool

IsServerError returns true when this revoke o b b r consents not found response has a 5xx status code

func (*RevokeOBBRConsentsNotFound) IsSuccess

func (o *RevokeOBBRConsentsNotFound) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consents not found response has a 2xx status code

func (*RevokeOBBRConsentsNotFound) String

func (o *RevokeOBBRConsentsNotFound) String() string

type RevokeOBBRConsentsOK

type RevokeOBBRConsentsOK struct {
	Payload *models.ConsentsRemovedResponse
}

RevokeOBBRConsentsOK describes a response with status code 200, with default header values.

Consents Revoked

func NewRevokeOBBRConsentsOK

func NewRevokeOBBRConsentsOK() *RevokeOBBRConsentsOK

NewRevokeOBBRConsentsOK creates a RevokeOBBRConsentsOK with default headers values

func (*RevokeOBBRConsentsOK) Code

func (o *RevokeOBBRConsentsOK) Code() int

Code gets the status code for the revoke o b b r consents o k response

func (*RevokeOBBRConsentsOK) Error

func (o *RevokeOBBRConsentsOK) Error() string

func (*RevokeOBBRConsentsOK) GetPayload

func (*RevokeOBBRConsentsOK) IsClientError

func (o *RevokeOBBRConsentsOK) IsClientError() bool

IsClientError returns true when this revoke o b b r consents o k response has a 4xx status code

func (*RevokeOBBRConsentsOK) IsCode

func (o *RevokeOBBRConsentsOK) IsCode(code int) bool

IsCode returns true when this revoke o b b r consents o k response a status code equal to that given

func (*RevokeOBBRConsentsOK) IsRedirect

func (o *RevokeOBBRConsentsOK) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consents o k response has a 3xx status code

func (*RevokeOBBRConsentsOK) IsServerError

func (o *RevokeOBBRConsentsOK) IsServerError() bool

IsServerError returns true when this revoke o b b r consents o k response has a 5xx status code

func (*RevokeOBBRConsentsOK) IsSuccess

func (o *RevokeOBBRConsentsOK) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consents o k response has a 2xx status code

func (*RevokeOBBRConsentsOK) String

func (o *RevokeOBBRConsentsOK) String() string

type RevokeOBBRConsentsParams

type RevokeOBBRConsentsParams struct {

	/* ClientID.

	   Client ID
	*/
	ClientID *string

	/* ConsentTypes.

	   A string of consent types you can pass along with the client identifier to detail your request.
	*/
	ConsentTypes []string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RevokeOBBRConsentsParams contains all the parameters to send to the API endpoint

for the revoke o b b r consents operation.

Typically these are written to a http.Request.

func NewRevokeOBBRConsentsParams

func NewRevokeOBBRConsentsParams() *RevokeOBBRConsentsParams

NewRevokeOBBRConsentsParams creates a new RevokeOBBRConsentsParams 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 NewRevokeOBBRConsentsParamsWithContext

func NewRevokeOBBRConsentsParamsWithContext(ctx context.Context) *RevokeOBBRConsentsParams

NewRevokeOBBRConsentsParamsWithContext creates a new RevokeOBBRConsentsParams object with the ability to set a context for a request.

func NewRevokeOBBRConsentsParamsWithHTTPClient

func NewRevokeOBBRConsentsParamsWithHTTPClient(client *http.Client) *RevokeOBBRConsentsParams

NewRevokeOBBRConsentsParamsWithHTTPClient creates a new RevokeOBBRConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeOBBRConsentsParamsWithTimeout

func NewRevokeOBBRConsentsParamsWithTimeout(timeout time.Duration) *RevokeOBBRConsentsParams

NewRevokeOBBRConsentsParamsWithTimeout creates a new RevokeOBBRConsentsParams object with the ability to set a timeout on a request.

func (*RevokeOBBRConsentsParams) SetClientID

func (o *RevokeOBBRConsentsParams) SetClientID(clientID *string)

SetClientID adds the clientId to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) SetConsentTypes

func (o *RevokeOBBRConsentsParams) SetConsentTypes(consentTypes []string)

SetConsentTypes adds the consentTypes to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) SetContext

func (o *RevokeOBBRConsentsParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) SetDefaults

func (o *RevokeOBBRConsentsParams) SetDefaults()

SetDefaults hydrates default values in the revoke o b b r consents params (not the query body).

All values with no default are reset to their zero value.

func (*RevokeOBBRConsentsParams) SetHTTPClient

func (o *RevokeOBBRConsentsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) SetTimeout

func (o *RevokeOBBRConsentsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) SetWid

func (o *RevokeOBBRConsentsParams) SetWid(wid string)

SetWid adds the wid to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) WithClientID

func (o *RevokeOBBRConsentsParams) WithClientID(clientID *string) *RevokeOBBRConsentsParams

WithClientID adds the clientID to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) WithConsentTypes

func (o *RevokeOBBRConsentsParams) WithConsentTypes(consentTypes []string) *RevokeOBBRConsentsParams

WithConsentTypes adds the consentTypes to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) WithContext

WithContext adds the context to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) WithDefaults

WithDefaults hydrates default values in the revoke o b b r consents params (not the query body).

All values with no default are reset to their zero value.

func (*RevokeOBBRConsentsParams) WithHTTPClient

func (o *RevokeOBBRConsentsParams) WithHTTPClient(client *http.Client) *RevokeOBBRConsentsParams

WithHTTPClient adds the HTTPClient to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) WithTimeout

WithTimeout adds the timeout to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) WithWid

WithWid adds the wid to the revoke o b b r consents params

func (*RevokeOBBRConsentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeOBBRConsentsReader

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

RevokeOBBRConsentsReader is a Reader for the RevokeOBBRConsents structure.

func (*RevokeOBBRConsentsReader) ReadResponse

func (o *RevokeOBBRConsentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RevokeOBBRConsentsTooManyRequests

type RevokeOBBRConsentsTooManyRequests struct {
	Payload *models.Error
}

RevokeOBBRConsentsTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewRevokeOBBRConsentsTooManyRequests

func NewRevokeOBBRConsentsTooManyRequests() *RevokeOBBRConsentsTooManyRequests

NewRevokeOBBRConsentsTooManyRequests creates a RevokeOBBRConsentsTooManyRequests with default headers values

func (*RevokeOBBRConsentsTooManyRequests) Code

Code gets the status code for the revoke o b b r consents too many requests response

func (*RevokeOBBRConsentsTooManyRequests) Error

func (*RevokeOBBRConsentsTooManyRequests) GetPayload

func (*RevokeOBBRConsentsTooManyRequests) IsClientError

func (o *RevokeOBBRConsentsTooManyRequests) IsClientError() bool

IsClientError returns true when this revoke o b b r consents too many requests response has a 4xx status code

func (*RevokeOBBRConsentsTooManyRequests) IsCode

func (o *RevokeOBBRConsentsTooManyRequests) IsCode(code int) bool

IsCode returns true when this revoke o b b r consents too many requests response a status code equal to that given

func (*RevokeOBBRConsentsTooManyRequests) IsRedirect

func (o *RevokeOBBRConsentsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consents too many requests response has a 3xx status code

func (*RevokeOBBRConsentsTooManyRequests) IsServerError

func (o *RevokeOBBRConsentsTooManyRequests) IsServerError() bool

IsServerError returns true when this revoke o b b r consents too many requests response has a 5xx status code

func (*RevokeOBBRConsentsTooManyRequests) IsSuccess

func (o *RevokeOBBRConsentsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consents too many requests response has a 2xx status code

func (*RevokeOBBRConsentsTooManyRequests) String

type RevokeOBBRConsentsUnauthorized

type RevokeOBBRConsentsUnauthorized struct {
	Payload *models.Error
}

RevokeOBBRConsentsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewRevokeOBBRConsentsUnauthorized

func NewRevokeOBBRConsentsUnauthorized() *RevokeOBBRConsentsUnauthorized

NewRevokeOBBRConsentsUnauthorized creates a RevokeOBBRConsentsUnauthorized with default headers values

func (*RevokeOBBRConsentsUnauthorized) Code

Code gets the status code for the revoke o b b r consents unauthorized response

func (*RevokeOBBRConsentsUnauthorized) Error

func (*RevokeOBBRConsentsUnauthorized) GetPayload

func (o *RevokeOBBRConsentsUnauthorized) GetPayload() *models.Error

func (*RevokeOBBRConsentsUnauthorized) IsClientError

func (o *RevokeOBBRConsentsUnauthorized) IsClientError() bool

IsClientError returns true when this revoke o b b r consents unauthorized response has a 4xx status code

func (*RevokeOBBRConsentsUnauthorized) IsCode

func (o *RevokeOBBRConsentsUnauthorized) IsCode(code int) bool

IsCode returns true when this revoke o b b r consents unauthorized response a status code equal to that given

func (*RevokeOBBRConsentsUnauthorized) IsRedirect

func (o *RevokeOBBRConsentsUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke o b b r consents unauthorized response has a 3xx status code

func (*RevokeOBBRConsentsUnauthorized) IsServerError

func (o *RevokeOBBRConsentsUnauthorized) IsServerError() bool

IsServerError returns true when this revoke o b b r consents unauthorized response has a 5xx status code

func (*RevokeOBBRConsentsUnauthorized) IsSuccess

func (o *RevokeOBBRConsentsUnauthorized) IsSuccess() bool

IsSuccess returns true when this revoke o b b r consents unauthorized response has a 2xx status code

func (*RevokeOBBRConsentsUnauthorized) String

Jump to

Keyboard shortcuts

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