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) ConsumeOBUKConsent

func (a *Client) ConsumeOBUKConsent(params *ConsumeOBUKConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsumeOBUKConsentOK, error)
ConsumeOBUKConsent consumes openbanking consent by ID

This API consumes openbanking consent by consent id.

For backwards compatibility it can also be used to consume OBBR consents and in that case returns BrazilConsent (deprecated)

func (*Client) GetOBConsents

func (a *Client) GetOBConsents(params *GetOBConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOBConsentsOK, error)
GetOBConsents gets openbanking consents

This API returns the list of openbanking consents.

You can narrow the list of returned consents using filters defined in query parameters. See GetConsentsParams for details.

func (*Client) ListOBConsents

func (a *Client) ListOBConsents(params *ListOBConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOBConsentsOK, error)
ListOBConsents lists openbanking consents

This API returns the list of openbanking consents.

You can narrow the list of returned consents using filters defined in request body. See ListConsentsParams for details.

func (*Client) RevokeOBUKConsent

func (a *Client) RevokeOBUKConsent(params *RevokeOBUKConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBUKConsentNoContent, error)
RevokeOBUKConsent revokes openbanking consent by ID

This API revokes openbanking consent by consent id.

For backwards compatibility it can also be used to revoke OBBR consents (deprecated)

func (*Client) RevokeOBUKConsents

func (a *Client) RevokeOBUKConsents(params *RevokeOBUKConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBUKConsentsOK, error)
RevokeOBUKConsents revokes openbanking consents

This API revokes openbanking consents matching provided parameters.

Currently supporting removal by client id. Use ?client_id={clientID} to remove all consents by a given client.

You can also optionally specify which consent should be removed by specifying consent type example: ?client_id={clientID}&consent_type=account_access

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 {
	ConsumeOBUKConsent(params *ConsumeOBUKConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConsumeOBUKConsentOK, error)

	GetOBConsents(params *GetOBConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOBConsentsOK, error)

	ListOBConsents(params *ListOBConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOBConsentsOK, error)

	RevokeOBUKConsent(params *RevokeOBUKConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBUKConsentNoContent, error)

	RevokeOBUKConsents(params *RevokeOBUKConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeOBUKConsentsOK, 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 ConsumeOBUKConsentBadRequest

type ConsumeOBUKConsentBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewConsumeOBUKConsentBadRequest

func NewConsumeOBUKConsentBadRequest() *ConsumeOBUKConsentBadRequest

NewConsumeOBUKConsentBadRequest creates a ConsumeOBUKConsentBadRequest with default headers values

func (*ConsumeOBUKConsentBadRequest) Code

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

func (*ConsumeOBUKConsentBadRequest) Error

func (*ConsumeOBUKConsentBadRequest) GetPayload

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

func (*ConsumeOBUKConsentBadRequest) IsClientError

func (o *ConsumeOBUKConsentBadRequest) IsClientError() bool

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

func (*ConsumeOBUKConsentBadRequest) IsCode

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

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

func (*ConsumeOBUKConsentBadRequest) IsRedirect

func (o *ConsumeOBUKConsentBadRequest) IsRedirect() bool

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

func (*ConsumeOBUKConsentBadRequest) IsServerError

func (o *ConsumeOBUKConsentBadRequest) IsServerError() bool

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

func (*ConsumeOBUKConsentBadRequest) IsSuccess

func (o *ConsumeOBUKConsentBadRequest) IsSuccess() bool

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

func (*ConsumeOBUKConsentBadRequest) String

type ConsumeOBUKConsentForbidden

type ConsumeOBUKConsentForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewConsumeOBUKConsentForbidden

func NewConsumeOBUKConsentForbidden() *ConsumeOBUKConsentForbidden

NewConsumeOBUKConsentForbidden creates a ConsumeOBUKConsentForbidden with default headers values

func (*ConsumeOBUKConsentForbidden) Code

func (o *ConsumeOBUKConsentForbidden) Code() int

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

func (*ConsumeOBUKConsentForbidden) Error

func (*ConsumeOBUKConsentForbidden) GetPayload

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

func (*ConsumeOBUKConsentForbidden) IsClientError

func (o *ConsumeOBUKConsentForbidden) IsClientError() bool

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

func (*ConsumeOBUKConsentForbidden) IsCode

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

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

func (*ConsumeOBUKConsentForbidden) IsRedirect

func (o *ConsumeOBUKConsentForbidden) IsRedirect() bool

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

func (*ConsumeOBUKConsentForbidden) IsServerError

func (o *ConsumeOBUKConsentForbidden) IsServerError() bool

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

func (*ConsumeOBUKConsentForbidden) IsSuccess

func (o *ConsumeOBUKConsentForbidden) IsSuccess() bool

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

func (*ConsumeOBUKConsentForbidden) String

func (o *ConsumeOBUKConsentForbidden) String() string

type ConsumeOBUKConsentNotFound

type ConsumeOBUKConsentNotFound struct {
	Payload *models.Error
}

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

Not found

func NewConsumeOBUKConsentNotFound

func NewConsumeOBUKConsentNotFound() *ConsumeOBUKConsentNotFound

NewConsumeOBUKConsentNotFound creates a ConsumeOBUKConsentNotFound with default headers values

func (*ConsumeOBUKConsentNotFound) Code

func (o *ConsumeOBUKConsentNotFound) Code() int

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

func (*ConsumeOBUKConsentNotFound) Error

func (*ConsumeOBUKConsentNotFound) GetPayload

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

func (*ConsumeOBUKConsentNotFound) IsClientError

func (o *ConsumeOBUKConsentNotFound) IsClientError() bool

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

func (*ConsumeOBUKConsentNotFound) IsCode

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

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

func (*ConsumeOBUKConsentNotFound) IsRedirect

func (o *ConsumeOBUKConsentNotFound) IsRedirect() bool

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

func (*ConsumeOBUKConsentNotFound) IsServerError

func (o *ConsumeOBUKConsentNotFound) IsServerError() bool

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

func (*ConsumeOBUKConsentNotFound) IsSuccess

func (o *ConsumeOBUKConsentNotFound) IsSuccess() bool

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

func (*ConsumeOBUKConsentNotFound) String

func (o *ConsumeOBUKConsentNotFound) String() string

type ConsumeOBUKConsentOK

type ConsumeOBUKConsentOK struct {
	Payload *models.UKConsent
}

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

UKConsent

func NewConsumeOBUKConsentOK

func NewConsumeOBUKConsentOK() *ConsumeOBUKConsentOK

NewConsumeOBUKConsentOK creates a ConsumeOBUKConsentOK with default headers values

func (*ConsumeOBUKConsentOK) Code

func (o *ConsumeOBUKConsentOK) Code() int

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

func (*ConsumeOBUKConsentOK) Error

func (o *ConsumeOBUKConsentOK) Error() string

func (*ConsumeOBUKConsentOK) GetPayload

func (o *ConsumeOBUKConsentOK) GetPayload() *models.UKConsent

func (*ConsumeOBUKConsentOK) IsClientError

func (o *ConsumeOBUKConsentOK) IsClientError() bool

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

func (*ConsumeOBUKConsentOK) IsCode

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

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

func (*ConsumeOBUKConsentOK) IsRedirect

func (o *ConsumeOBUKConsentOK) IsRedirect() bool

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

func (*ConsumeOBUKConsentOK) IsServerError

func (o *ConsumeOBUKConsentOK) IsServerError() bool

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

func (*ConsumeOBUKConsentOK) IsSuccess

func (o *ConsumeOBUKConsentOK) IsSuccess() bool

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

func (*ConsumeOBUKConsentOK) String

func (o *ConsumeOBUKConsentOK) String() string

type ConsumeOBUKConsentParams

type ConsumeOBUKConsentParams struct {

	// ConsentID.
	ConsentID string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ConsumeOBUKConsentParams contains all the parameters to send to the API endpoint

for the consume o b u k consent operation.

Typically these are written to a http.Request.

func NewConsumeOBUKConsentParams

func NewConsumeOBUKConsentParams() *ConsumeOBUKConsentParams

NewConsumeOBUKConsentParams creates a new ConsumeOBUKConsentParams 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 NewConsumeOBUKConsentParamsWithContext

func NewConsumeOBUKConsentParamsWithContext(ctx context.Context) *ConsumeOBUKConsentParams

NewConsumeOBUKConsentParamsWithContext creates a new ConsumeOBUKConsentParams object with the ability to set a context for a request.

func NewConsumeOBUKConsentParamsWithHTTPClient

func NewConsumeOBUKConsentParamsWithHTTPClient(client *http.Client) *ConsumeOBUKConsentParams

NewConsumeOBUKConsentParamsWithHTTPClient creates a new ConsumeOBUKConsentParams object with the ability to set a custom HTTPClient for a request.

func NewConsumeOBUKConsentParamsWithTimeout

func NewConsumeOBUKConsentParamsWithTimeout(timeout time.Duration) *ConsumeOBUKConsentParams

NewConsumeOBUKConsentParamsWithTimeout creates a new ConsumeOBUKConsentParams object with the ability to set a timeout on a request.

func (*ConsumeOBUKConsentParams) SetConsentID

func (o *ConsumeOBUKConsentParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) SetContext

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

SetContext adds the context to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) SetDefaults

func (o *ConsumeOBUKConsentParams) SetDefaults()

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

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

func (*ConsumeOBUKConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) SetTimeout

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

SetTimeout adds the timeout to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) SetWid

func (o *ConsumeOBUKConsentParams) SetWid(wid string)

SetWid adds the wid to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) WithConsentID

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

WithConsentID adds the consentID to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) WithContext

WithContext adds the context to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) WithDefaults

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

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

func (*ConsumeOBUKConsentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) WithTimeout

WithTimeout adds the timeout to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) WithWid

WithWid adds the wid to the consume o b u k consent params

func (*ConsumeOBUKConsentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ConsumeOBUKConsentReader

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

ConsumeOBUKConsentReader is a Reader for the ConsumeOBUKConsent structure.

func (*ConsumeOBUKConsentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ConsumeOBUKConsentTooManyRequests

type ConsumeOBUKConsentTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewConsumeOBUKConsentTooManyRequests

func NewConsumeOBUKConsentTooManyRequests() *ConsumeOBUKConsentTooManyRequests

NewConsumeOBUKConsentTooManyRequests creates a ConsumeOBUKConsentTooManyRequests with default headers values

func (*ConsumeOBUKConsentTooManyRequests) Code

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

func (*ConsumeOBUKConsentTooManyRequests) Error

func (*ConsumeOBUKConsentTooManyRequests) GetPayload

func (*ConsumeOBUKConsentTooManyRequests) IsClientError

func (o *ConsumeOBUKConsentTooManyRequests) IsClientError() bool

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

func (*ConsumeOBUKConsentTooManyRequests) IsCode

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

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

func (*ConsumeOBUKConsentTooManyRequests) IsRedirect

func (o *ConsumeOBUKConsentTooManyRequests) IsRedirect() bool

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

func (*ConsumeOBUKConsentTooManyRequests) IsServerError

func (o *ConsumeOBUKConsentTooManyRequests) IsServerError() bool

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

func (*ConsumeOBUKConsentTooManyRequests) IsSuccess

func (o *ConsumeOBUKConsentTooManyRequests) IsSuccess() bool

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

func (*ConsumeOBUKConsentTooManyRequests) String

type ConsumeOBUKConsentUnauthorized

type ConsumeOBUKConsentUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewConsumeOBUKConsentUnauthorized

func NewConsumeOBUKConsentUnauthorized() *ConsumeOBUKConsentUnauthorized

NewConsumeOBUKConsentUnauthorized creates a ConsumeOBUKConsentUnauthorized with default headers values

func (*ConsumeOBUKConsentUnauthorized) Code

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

func (*ConsumeOBUKConsentUnauthorized) Error

func (*ConsumeOBUKConsentUnauthorized) GetPayload

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

func (*ConsumeOBUKConsentUnauthorized) IsClientError

func (o *ConsumeOBUKConsentUnauthorized) IsClientError() bool

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

func (*ConsumeOBUKConsentUnauthorized) IsCode

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

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

func (*ConsumeOBUKConsentUnauthorized) IsRedirect

func (o *ConsumeOBUKConsentUnauthorized) IsRedirect() bool

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

func (*ConsumeOBUKConsentUnauthorized) IsServerError

func (o *ConsumeOBUKConsentUnauthorized) IsServerError() bool

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

func (*ConsumeOBUKConsentUnauthorized) IsSuccess

func (o *ConsumeOBUKConsentUnauthorized) IsSuccess() bool

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

func (*ConsumeOBUKConsentUnauthorized) String

type GetOBConsentsBadRequest

type GetOBConsentsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewGetOBConsentsBadRequest

func NewGetOBConsentsBadRequest() *GetOBConsentsBadRequest

NewGetOBConsentsBadRequest creates a GetOBConsentsBadRequest with default headers values

func (*GetOBConsentsBadRequest) Code

func (o *GetOBConsentsBadRequest) Code() int

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

func (*GetOBConsentsBadRequest) Error

func (o *GetOBConsentsBadRequest) Error() string

func (*GetOBConsentsBadRequest) GetPayload

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

func (*GetOBConsentsBadRequest) IsClientError

func (o *GetOBConsentsBadRequest) IsClientError() bool

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

func (*GetOBConsentsBadRequest) IsCode

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

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

func (*GetOBConsentsBadRequest) IsRedirect

func (o *GetOBConsentsBadRequest) IsRedirect() bool

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

func (*GetOBConsentsBadRequest) IsServerError

func (o *GetOBConsentsBadRequest) IsServerError() bool

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

func (*GetOBConsentsBadRequest) IsSuccess

func (o *GetOBConsentsBadRequest) IsSuccess() bool

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

func (*GetOBConsentsBadRequest) String

func (o *GetOBConsentsBadRequest) String() string

type GetOBConsentsForbidden

type GetOBConsentsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetOBConsentsForbidden

func NewGetOBConsentsForbidden() *GetOBConsentsForbidden

NewGetOBConsentsForbidden creates a GetOBConsentsForbidden with default headers values

func (*GetOBConsentsForbidden) Code

func (o *GetOBConsentsForbidden) Code() int

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

func (*GetOBConsentsForbidden) Error

func (o *GetOBConsentsForbidden) Error() string

func (*GetOBConsentsForbidden) GetPayload

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

func (*GetOBConsentsForbidden) IsClientError

func (o *GetOBConsentsForbidden) IsClientError() bool

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

func (*GetOBConsentsForbidden) IsCode

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

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

func (*GetOBConsentsForbidden) IsRedirect

func (o *GetOBConsentsForbidden) IsRedirect() bool

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

func (*GetOBConsentsForbidden) IsServerError

func (o *GetOBConsentsForbidden) IsServerError() bool

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

func (*GetOBConsentsForbidden) IsSuccess

func (o *GetOBConsentsForbidden) IsSuccess() bool

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

func (*GetOBConsentsForbidden) String

func (o *GetOBConsentsForbidden) String() string

type GetOBConsentsNotFound

type GetOBConsentsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetOBConsentsNotFound

func NewGetOBConsentsNotFound() *GetOBConsentsNotFound

NewGetOBConsentsNotFound creates a GetOBConsentsNotFound with default headers values

func (*GetOBConsentsNotFound) Code

func (o *GetOBConsentsNotFound) Code() int

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

func (*GetOBConsentsNotFound) Error

func (o *GetOBConsentsNotFound) Error() string

func (*GetOBConsentsNotFound) GetPayload

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

func (*GetOBConsentsNotFound) IsClientError

func (o *GetOBConsentsNotFound) IsClientError() bool

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

func (*GetOBConsentsNotFound) IsCode

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

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

func (*GetOBConsentsNotFound) IsRedirect

func (o *GetOBConsentsNotFound) IsRedirect() bool

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

func (*GetOBConsentsNotFound) IsServerError

func (o *GetOBConsentsNotFound) IsServerError() bool

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

func (*GetOBConsentsNotFound) IsSuccess

func (o *GetOBConsentsNotFound) IsSuccess() bool

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

func (*GetOBConsentsNotFound) String

func (o *GetOBConsentsNotFound) String() string

type GetOBConsentsOK

type GetOBConsentsOK struct {
	Payload *models.OBUKConsents
}

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

Consents

func NewGetOBConsentsOK

func NewGetOBConsentsOK() *GetOBConsentsOK

NewGetOBConsentsOK creates a GetOBConsentsOK with default headers values

func (*GetOBConsentsOK) Code

func (o *GetOBConsentsOK) Code() int

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

func (*GetOBConsentsOK) Error

func (o *GetOBConsentsOK) Error() string

func (*GetOBConsentsOK) GetPayload

func (o *GetOBConsentsOK) GetPayload() *models.OBUKConsents

func (*GetOBConsentsOK) IsClientError

func (o *GetOBConsentsOK) IsClientError() bool

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

func (*GetOBConsentsOK) IsCode

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

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

func (*GetOBConsentsOK) IsRedirect

func (o *GetOBConsentsOK) IsRedirect() bool

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

func (*GetOBConsentsOK) IsServerError

func (o *GetOBConsentsOK) IsServerError() bool

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

func (*GetOBConsentsOK) IsSuccess

func (o *GetOBConsentsOK) IsSuccess() bool

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

func (*GetOBConsentsOK) String

func (o *GetOBConsentsOK) String() string

type GetOBConsentsParams

type GetOBConsentsParams 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 identifier.
	*/
	ClientID *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
}

GetOBConsentsParams contains all the parameters to send to the API endpoint

for the get o b consents operation.

Typically these are written to a http.Request.

func NewGetOBConsentsParams

func NewGetOBConsentsParams() *GetOBConsentsParams

NewGetOBConsentsParams creates a new GetOBConsentsParams 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 NewGetOBConsentsParamsWithContext

func NewGetOBConsentsParamsWithContext(ctx context.Context) *GetOBConsentsParams

NewGetOBConsentsParamsWithContext creates a new GetOBConsentsParams object with the ability to set a context for a request.

func NewGetOBConsentsParamsWithHTTPClient

func NewGetOBConsentsParamsWithHTTPClient(client *http.Client) *GetOBConsentsParams

NewGetOBConsentsParamsWithHTTPClient creates a new GetOBConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOBConsentsParamsWithTimeout

func NewGetOBConsentsParamsWithTimeout(timeout time.Duration) *GetOBConsentsParams

NewGetOBConsentsParamsWithTimeout creates a new GetOBConsentsParams object with the ability to set a timeout on a request.

func (*GetOBConsentsParams) SetAccounts

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

SetAccounts adds the accounts to the get o b consents params

func (*GetOBConsentsParams) SetAfterConsentID

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

SetAfterConsentID adds the afterConsentId to the get o b consents params

func (*GetOBConsentsParams) SetBeforeConsentID

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

SetBeforeConsentID adds the beforeConsentId to the get o b consents params

func (*GetOBConsentsParams) SetClientID

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

SetClientID adds the clientId to the get o b consents params

func (*GetOBConsentsParams) SetContext

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

SetContext adds the context to the get o b consents params

func (*GetOBConsentsParams) SetDefaults

func (o *GetOBConsentsParams) SetDefaults()

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

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

func (*GetOBConsentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get o b consents params

func (*GetOBConsentsParams) SetLimit

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

SetLimit adds the limit to the get o b consents params

func (*GetOBConsentsParams) SetOrder

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

SetOrder adds the order to the get o b consents params

func (*GetOBConsentsParams) SetSort

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

SetSort adds the sort to the get o b consents params

func (*GetOBConsentsParams) SetStatus

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

SetStatus adds the status to the get o b consents params

func (*GetOBConsentsParams) SetTimeout

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

SetTimeout adds the timeout to the get o b consents params

func (*GetOBConsentsParams) SetTypes

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

SetTypes adds the types to the get o b consents params

func (*GetOBConsentsParams) SetWid

func (o *GetOBConsentsParams) SetWid(wid string)

SetWid adds the wid to the get o b consents params

func (*GetOBConsentsParams) WithAccounts

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

WithAccounts adds the accounts to the get o b consents params

func (*GetOBConsentsParams) WithAfterConsentID

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

WithAfterConsentID adds the afterConsentID to the get o b consents params

func (*GetOBConsentsParams) WithBeforeConsentID

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

WithBeforeConsentID adds the beforeConsentID to the get o b consents params

func (*GetOBConsentsParams) WithClientID

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

WithClientID adds the clientID to the get o b consents params

func (*GetOBConsentsParams) WithContext

WithContext adds the context to the get o b consents params

func (*GetOBConsentsParams) WithDefaults

func (o *GetOBConsentsParams) WithDefaults() *GetOBConsentsParams

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

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

func (*GetOBConsentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get o b consents params

func (*GetOBConsentsParams) WithLimit

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

WithLimit adds the limit to the get o b consents params

func (*GetOBConsentsParams) WithOrder

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

WithOrder adds the order to the get o b consents params

func (*GetOBConsentsParams) WithSort

func (o *GetOBConsentsParams) WithSort(sort *string) *GetOBConsentsParams

WithSort adds the sort to the get o b consents params

func (*GetOBConsentsParams) WithStatus

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

WithStatus adds the status to the get o b consents params

func (*GetOBConsentsParams) WithTimeout

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

WithTimeout adds the timeout to the get o b consents params

func (*GetOBConsentsParams) WithTypes

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

WithTypes adds the types to the get o b consents params

func (*GetOBConsentsParams) WithWid

WithWid adds the wid to the get o b consents params

func (*GetOBConsentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOBConsentsReader

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

GetOBConsentsReader is a Reader for the GetOBConsents structure.

func (*GetOBConsentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOBConsentsTooManyRequests

type GetOBConsentsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetOBConsentsTooManyRequests

func NewGetOBConsentsTooManyRequests() *GetOBConsentsTooManyRequests

NewGetOBConsentsTooManyRequests creates a GetOBConsentsTooManyRequests with default headers values

func (*GetOBConsentsTooManyRequests) Code

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

func (*GetOBConsentsTooManyRequests) Error

func (*GetOBConsentsTooManyRequests) GetPayload

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

func (*GetOBConsentsTooManyRequests) IsClientError

func (o *GetOBConsentsTooManyRequests) IsClientError() bool

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

func (*GetOBConsentsTooManyRequests) IsCode

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

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

func (*GetOBConsentsTooManyRequests) IsRedirect

func (o *GetOBConsentsTooManyRequests) IsRedirect() bool

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

func (*GetOBConsentsTooManyRequests) IsServerError

func (o *GetOBConsentsTooManyRequests) IsServerError() bool

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

func (*GetOBConsentsTooManyRequests) IsSuccess

func (o *GetOBConsentsTooManyRequests) IsSuccess() bool

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

func (*GetOBConsentsTooManyRequests) String

type GetOBConsentsUnauthorized

type GetOBConsentsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetOBConsentsUnauthorized

func NewGetOBConsentsUnauthorized() *GetOBConsentsUnauthorized

NewGetOBConsentsUnauthorized creates a GetOBConsentsUnauthorized with default headers values

func (*GetOBConsentsUnauthorized) Code

func (o *GetOBConsentsUnauthorized) Code() int

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

func (*GetOBConsentsUnauthorized) Error

func (o *GetOBConsentsUnauthorized) Error() string

func (*GetOBConsentsUnauthorized) GetPayload

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

func (*GetOBConsentsUnauthorized) IsClientError

func (o *GetOBConsentsUnauthorized) IsClientError() bool

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

func (*GetOBConsentsUnauthorized) IsCode

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

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

func (*GetOBConsentsUnauthorized) IsRedirect

func (o *GetOBConsentsUnauthorized) IsRedirect() bool

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

func (*GetOBConsentsUnauthorized) IsServerError

func (o *GetOBConsentsUnauthorized) IsServerError() bool

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

func (*GetOBConsentsUnauthorized) IsSuccess

func (o *GetOBConsentsUnauthorized) IsSuccess() bool

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

func (*GetOBConsentsUnauthorized) String

func (o *GetOBConsentsUnauthorized) String() string

type ListOBConsentsBadRequest

type ListOBConsentsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewListOBConsentsBadRequest

func NewListOBConsentsBadRequest() *ListOBConsentsBadRequest

NewListOBConsentsBadRequest creates a ListOBConsentsBadRequest with default headers values

func (*ListOBConsentsBadRequest) Code

func (o *ListOBConsentsBadRequest) Code() int

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

func (*ListOBConsentsBadRequest) Error

func (o *ListOBConsentsBadRequest) Error() string

func (*ListOBConsentsBadRequest) GetPayload

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

func (*ListOBConsentsBadRequest) IsClientError

func (o *ListOBConsentsBadRequest) IsClientError() bool

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

func (*ListOBConsentsBadRequest) IsCode

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

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

func (*ListOBConsentsBadRequest) IsRedirect

func (o *ListOBConsentsBadRequest) IsRedirect() bool

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

func (*ListOBConsentsBadRequest) IsServerError

func (o *ListOBConsentsBadRequest) IsServerError() bool

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

func (*ListOBConsentsBadRequest) IsSuccess

func (o *ListOBConsentsBadRequest) IsSuccess() bool

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

func (*ListOBConsentsBadRequest) String

func (o *ListOBConsentsBadRequest) String() string

type ListOBConsentsForbidden

type ListOBConsentsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListOBConsentsForbidden

func NewListOBConsentsForbidden() *ListOBConsentsForbidden

NewListOBConsentsForbidden creates a ListOBConsentsForbidden with default headers values

func (*ListOBConsentsForbidden) Code

func (o *ListOBConsentsForbidden) Code() int

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

func (*ListOBConsentsForbidden) Error

func (o *ListOBConsentsForbidden) Error() string

func (*ListOBConsentsForbidden) GetPayload

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

func (*ListOBConsentsForbidden) IsClientError

func (o *ListOBConsentsForbidden) IsClientError() bool

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

func (*ListOBConsentsForbidden) IsCode

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

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

func (*ListOBConsentsForbidden) IsRedirect

func (o *ListOBConsentsForbidden) IsRedirect() bool

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

func (*ListOBConsentsForbidden) IsServerError

func (o *ListOBConsentsForbidden) IsServerError() bool

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

func (*ListOBConsentsForbidden) IsSuccess

func (o *ListOBConsentsForbidden) IsSuccess() bool

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

func (*ListOBConsentsForbidden) String

func (o *ListOBConsentsForbidden) String() string

type ListOBConsentsNotFound

type ListOBConsentsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListOBConsentsNotFound

func NewListOBConsentsNotFound() *ListOBConsentsNotFound

NewListOBConsentsNotFound creates a ListOBConsentsNotFound with default headers values

func (*ListOBConsentsNotFound) Code

func (o *ListOBConsentsNotFound) Code() int

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

func (*ListOBConsentsNotFound) Error

func (o *ListOBConsentsNotFound) Error() string

func (*ListOBConsentsNotFound) GetPayload

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

func (*ListOBConsentsNotFound) IsClientError

func (o *ListOBConsentsNotFound) IsClientError() bool

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

func (*ListOBConsentsNotFound) IsCode

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

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

func (*ListOBConsentsNotFound) IsRedirect

func (o *ListOBConsentsNotFound) IsRedirect() bool

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

func (*ListOBConsentsNotFound) IsServerError

func (o *ListOBConsentsNotFound) IsServerError() bool

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

func (*ListOBConsentsNotFound) IsSuccess

func (o *ListOBConsentsNotFound) IsSuccess() bool

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

func (*ListOBConsentsNotFound) String

func (o *ListOBConsentsNotFound) String() string

type ListOBConsentsOK

type ListOBConsentsOK struct {
	Payload *models.OBUKConsents
}

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

Consents

func NewListOBConsentsOK

func NewListOBConsentsOK() *ListOBConsentsOK

NewListOBConsentsOK creates a ListOBConsentsOK with default headers values

func (*ListOBConsentsOK) Code

func (o *ListOBConsentsOK) Code() int

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

func (*ListOBConsentsOK) Error

func (o *ListOBConsentsOK) Error() string

func (*ListOBConsentsOK) GetPayload

func (o *ListOBConsentsOK) GetPayload() *models.OBUKConsents

func (*ListOBConsentsOK) IsClientError

func (o *ListOBConsentsOK) IsClientError() bool

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

func (*ListOBConsentsOK) IsCode

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

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

func (*ListOBConsentsOK) IsRedirect

func (o *ListOBConsentsOK) IsRedirect() bool

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

func (*ListOBConsentsOK) IsServerError

func (o *ListOBConsentsOK) IsServerError() bool

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

func (*ListOBConsentsOK) IsSuccess

func (o *ListOBConsentsOK) IsSuccess() bool

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

func (*ListOBConsentsOK) String

func (o *ListOBConsentsOK) String() string

type ListOBConsentsParams

type ListOBConsentsParams struct {

	// ConsentsRequest.
	ConsentsRequest *models.ConsentsRequest

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListOBConsentsParams contains all the parameters to send to the API endpoint

for the list o b consents operation.

Typically these are written to a http.Request.

func NewListOBConsentsParams

func NewListOBConsentsParams() *ListOBConsentsParams

NewListOBConsentsParams creates a new ListOBConsentsParams 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 NewListOBConsentsParamsWithContext

func NewListOBConsentsParamsWithContext(ctx context.Context) *ListOBConsentsParams

NewListOBConsentsParamsWithContext creates a new ListOBConsentsParams object with the ability to set a context for a request.

func NewListOBConsentsParamsWithHTTPClient

func NewListOBConsentsParamsWithHTTPClient(client *http.Client) *ListOBConsentsParams

NewListOBConsentsParamsWithHTTPClient creates a new ListOBConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewListOBConsentsParamsWithTimeout

func NewListOBConsentsParamsWithTimeout(timeout time.Duration) *ListOBConsentsParams

NewListOBConsentsParamsWithTimeout creates a new ListOBConsentsParams object with the ability to set a timeout on a request.

func (*ListOBConsentsParams) SetConsentsRequest

func (o *ListOBConsentsParams) SetConsentsRequest(consentsRequest *models.ConsentsRequest)

SetConsentsRequest adds the consentsRequest to the list o b consents params

func (*ListOBConsentsParams) SetContext

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

SetContext adds the context to the list o b consents params

func (*ListOBConsentsParams) SetDefaults

func (o *ListOBConsentsParams) SetDefaults()

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

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

func (*ListOBConsentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list o b consents params

func (*ListOBConsentsParams) SetTimeout

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

SetTimeout adds the timeout to the list o b consents params

func (*ListOBConsentsParams) SetWid

func (o *ListOBConsentsParams) SetWid(wid string)

SetWid adds the wid to the list o b consents params

func (*ListOBConsentsParams) WithConsentsRequest

func (o *ListOBConsentsParams) WithConsentsRequest(consentsRequest *models.ConsentsRequest) *ListOBConsentsParams

WithConsentsRequest adds the consentsRequest to the list o b consents params

func (*ListOBConsentsParams) WithContext

WithContext adds the context to the list o b consents params

func (*ListOBConsentsParams) WithDefaults

func (o *ListOBConsentsParams) WithDefaults() *ListOBConsentsParams

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

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

func (*ListOBConsentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list o b consents params

func (*ListOBConsentsParams) WithTimeout

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

WithTimeout adds the timeout to the list o b consents params

func (*ListOBConsentsParams) WithWid

WithWid adds the wid to the list o b consents params

func (*ListOBConsentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListOBConsentsReader

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

ListOBConsentsReader is a Reader for the ListOBConsents structure.

func (*ListOBConsentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListOBConsentsTooManyRequests

type ListOBConsentsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListOBConsentsTooManyRequests

func NewListOBConsentsTooManyRequests() *ListOBConsentsTooManyRequests

NewListOBConsentsTooManyRequests creates a ListOBConsentsTooManyRequests with default headers values

func (*ListOBConsentsTooManyRequests) Code

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

func (*ListOBConsentsTooManyRequests) Error

func (*ListOBConsentsTooManyRequests) GetPayload

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

func (*ListOBConsentsTooManyRequests) IsClientError

func (o *ListOBConsentsTooManyRequests) IsClientError() bool

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

func (*ListOBConsentsTooManyRequests) IsCode

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

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

func (*ListOBConsentsTooManyRequests) IsRedirect

func (o *ListOBConsentsTooManyRequests) IsRedirect() bool

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

func (*ListOBConsentsTooManyRequests) IsServerError

func (o *ListOBConsentsTooManyRequests) IsServerError() bool

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

func (*ListOBConsentsTooManyRequests) IsSuccess

func (o *ListOBConsentsTooManyRequests) IsSuccess() bool

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

func (*ListOBConsentsTooManyRequests) String

type ListOBConsentsUnauthorized

type ListOBConsentsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListOBConsentsUnauthorized

func NewListOBConsentsUnauthorized() *ListOBConsentsUnauthorized

NewListOBConsentsUnauthorized creates a ListOBConsentsUnauthorized with default headers values

func (*ListOBConsentsUnauthorized) Code

func (o *ListOBConsentsUnauthorized) Code() int

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

func (*ListOBConsentsUnauthorized) Error

func (*ListOBConsentsUnauthorized) GetPayload

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

func (*ListOBConsentsUnauthorized) IsClientError

func (o *ListOBConsentsUnauthorized) IsClientError() bool

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

func (*ListOBConsentsUnauthorized) IsCode

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

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

func (*ListOBConsentsUnauthorized) IsRedirect

func (o *ListOBConsentsUnauthorized) IsRedirect() bool

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

func (*ListOBConsentsUnauthorized) IsServerError

func (o *ListOBConsentsUnauthorized) IsServerError() bool

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

func (*ListOBConsentsUnauthorized) IsSuccess

func (o *ListOBConsentsUnauthorized) IsSuccess() bool

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

func (*ListOBConsentsUnauthorized) String

func (o *ListOBConsentsUnauthorized) String() string

type ListOBConsentsUnprocessableEntity

type ListOBConsentsUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewListOBConsentsUnprocessableEntity

func NewListOBConsentsUnprocessableEntity() *ListOBConsentsUnprocessableEntity

NewListOBConsentsUnprocessableEntity creates a ListOBConsentsUnprocessableEntity with default headers values

func (*ListOBConsentsUnprocessableEntity) Code

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

func (*ListOBConsentsUnprocessableEntity) Error

func (*ListOBConsentsUnprocessableEntity) GetPayload

func (*ListOBConsentsUnprocessableEntity) IsClientError

func (o *ListOBConsentsUnprocessableEntity) IsClientError() bool

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

func (*ListOBConsentsUnprocessableEntity) IsCode

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

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

func (*ListOBConsentsUnprocessableEntity) IsRedirect

func (o *ListOBConsentsUnprocessableEntity) IsRedirect() bool

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

func (*ListOBConsentsUnprocessableEntity) IsServerError

func (o *ListOBConsentsUnprocessableEntity) IsServerError() bool

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

func (*ListOBConsentsUnprocessableEntity) IsSuccess

func (o *ListOBConsentsUnprocessableEntity) IsSuccess() bool

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

func (*ListOBConsentsUnprocessableEntity) String

type RevokeOBUKConsentBadRequest

type RevokeOBUKConsentBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewRevokeOBUKConsentBadRequest

func NewRevokeOBUKConsentBadRequest() *RevokeOBUKConsentBadRequest

NewRevokeOBUKConsentBadRequest creates a RevokeOBUKConsentBadRequest with default headers values

func (*RevokeOBUKConsentBadRequest) Code

func (o *RevokeOBUKConsentBadRequest) Code() int

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

func (*RevokeOBUKConsentBadRequest) Error

func (*RevokeOBUKConsentBadRequest) GetPayload

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

func (*RevokeOBUKConsentBadRequest) IsClientError

func (o *RevokeOBUKConsentBadRequest) IsClientError() bool

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

func (*RevokeOBUKConsentBadRequest) IsCode

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

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

func (*RevokeOBUKConsentBadRequest) IsRedirect

func (o *RevokeOBUKConsentBadRequest) IsRedirect() bool

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

func (*RevokeOBUKConsentBadRequest) IsServerError

func (o *RevokeOBUKConsentBadRequest) IsServerError() bool

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

func (*RevokeOBUKConsentBadRequest) IsSuccess

func (o *RevokeOBUKConsentBadRequest) IsSuccess() bool

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

func (*RevokeOBUKConsentBadRequest) String

func (o *RevokeOBUKConsentBadRequest) String() string

type RevokeOBUKConsentForbidden

type RevokeOBUKConsentForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeOBUKConsentForbidden

func NewRevokeOBUKConsentForbidden() *RevokeOBUKConsentForbidden

NewRevokeOBUKConsentForbidden creates a RevokeOBUKConsentForbidden with default headers values

func (*RevokeOBUKConsentForbidden) Code

func (o *RevokeOBUKConsentForbidden) Code() int

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

func (*RevokeOBUKConsentForbidden) Error

func (*RevokeOBUKConsentForbidden) GetPayload

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

func (*RevokeOBUKConsentForbidden) IsClientError

func (o *RevokeOBUKConsentForbidden) IsClientError() bool

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

func (*RevokeOBUKConsentForbidden) IsCode

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

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

func (*RevokeOBUKConsentForbidden) IsRedirect

func (o *RevokeOBUKConsentForbidden) IsRedirect() bool

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

func (*RevokeOBUKConsentForbidden) IsServerError

func (o *RevokeOBUKConsentForbidden) IsServerError() bool

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

func (*RevokeOBUKConsentForbidden) IsSuccess

func (o *RevokeOBUKConsentForbidden) IsSuccess() bool

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

func (*RevokeOBUKConsentForbidden) String

func (o *RevokeOBUKConsentForbidden) String() string

type RevokeOBUKConsentNoContent

type RevokeOBUKConsentNoContent struct {
}

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

Consent has been revoked

func NewRevokeOBUKConsentNoContent

func NewRevokeOBUKConsentNoContent() *RevokeOBUKConsentNoContent

NewRevokeOBUKConsentNoContent creates a RevokeOBUKConsentNoContent with default headers values

func (*RevokeOBUKConsentNoContent) Code

func (o *RevokeOBUKConsentNoContent) Code() int

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

func (*RevokeOBUKConsentNoContent) Error

func (*RevokeOBUKConsentNoContent) IsClientError

func (o *RevokeOBUKConsentNoContent) IsClientError() bool

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

func (*RevokeOBUKConsentNoContent) IsCode

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

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

func (*RevokeOBUKConsentNoContent) IsRedirect

func (o *RevokeOBUKConsentNoContent) IsRedirect() bool

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

func (*RevokeOBUKConsentNoContent) IsServerError

func (o *RevokeOBUKConsentNoContent) IsServerError() bool

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

func (*RevokeOBUKConsentNoContent) IsSuccess

func (o *RevokeOBUKConsentNoContent) IsSuccess() bool

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

func (*RevokeOBUKConsentNoContent) String

func (o *RevokeOBUKConsentNoContent) String() string

type RevokeOBUKConsentNotFound

type RevokeOBUKConsentNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeOBUKConsentNotFound

func NewRevokeOBUKConsentNotFound() *RevokeOBUKConsentNotFound

NewRevokeOBUKConsentNotFound creates a RevokeOBUKConsentNotFound with default headers values

func (*RevokeOBUKConsentNotFound) Code

func (o *RevokeOBUKConsentNotFound) Code() int

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

func (*RevokeOBUKConsentNotFound) Error

func (o *RevokeOBUKConsentNotFound) Error() string

func (*RevokeOBUKConsentNotFound) GetPayload

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

func (*RevokeOBUKConsentNotFound) IsClientError

func (o *RevokeOBUKConsentNotFound) IsClientError() bool

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

func (*RevokeOBUKConsentNotFound) IsCode

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

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

func (*RevokeOBUKConsentNotFound) IsRedirect

func (o *RevokeOBUKConsentNotFound) IsRedirect() bool

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

func (*RevokeOBUKConsentNotFound) IsServerError

func (o *RevokeOBUKConsentNotFound) IsServerError() bool

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

func (*RevokeOBUKConsentNotFound) IsSuccess

func (o *RevokeOBUKConsentNotFound) IsSuccess() bool

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

func (*RevokeOBUKConsentNotFound) String

func (o *RevokeOBUKConsentNotFound) String() string

type RevokeOBUKConsentParams

type RevokeOBUKConsentParams struct {

	// ConsentID.
	ConsentID string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

RevokeOBUKConsentParams contains all the parameters to send to the API endpoint

for the revoke o b u k consent operation.

Typically these are written to a http.Request.

func NewRevokeOBUKConsentParams

func NewRevokeOBUKConsentParams() *RevokeOBUKConsentParams

NewRevokeOBUKConsentParams creates a new RevokeOBUKConsentParams 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 NewRevokeOBUKConsentParamsWithContext

func NewRevokeOBUKConsentParamsWithContext(ctx context.Context) *RevokeOBUKConsentParams

NewRevokeOBUKConsentParamsWithContext creates a new RevokeOBUKConsentParams object with the ability to set a context for a request.

func NewRevokeOBUKConsentParamsWithHTTPClient

func NewRevokeOBUKConsentParamsWithHTTPClient(client *http.Client) *RevokeOBUKConsentParams

NewRevokeOBUKConsentParamsWithHTTPClient creates a new RevokeOBUKConsentParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeOBUKConsentParamsWithTimeout

func NewRevokeOBUKConsentParamsWithTimeout(timeout time.Duration) *RevokeOBUKConsentParams

NewRevokeOBUKConsentParamsWithTimeout creates a new RevokeOBUKConsentParams object with the ability to set a timeout on a request.

func (*RevokeOBUKConsentParams) SetConsentID

func (o *RevokeOBUKConsentParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) SetContext

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

SetContext adds the context to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) SetDefaults

func (o *RevokeOBUKConsentParams) SetDefaults()

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

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

func (*RevokeOBUKConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) SetTimeout

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

SetTimeout adds the timeout to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) SetWid

func (o *RevokeOBUKConsentParams) SetWid(wid string)

SetWid adds the wid to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) WithConsentID

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

WithConsentID adds the consentID to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) WithContext

WithContext adds the context to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) WithDefaults

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

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

func (*RevokeOBUKConsentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) WithTimeout

WithTimeout adds the timeout to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) WithWid

WithWid adds the wid to the revoke o b u k consent params

func (*RevokeOBUKConsentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeOBUKConsentReader

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

RevokeOBUKConsentReader is a Reader for the RevokeOBUKConsent structure.

func (*RevokeOBUKConsentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeOBUKConsentTooManyRequests

type RevokeOBUKConsentTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeOBUKConsentTooManyRequests

func NewRevokeOBUKConsentTooManyRequests() *RevokeOBUKConsentTooManyRequests

NewRevokeOBUKConsentTooManyRequests creates a RevokeOBUKConsentTooManyRequests with default headers values

func (*RevokeOBUKConsentTooManyRequests) Code

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

func (*RevokeOBUKConsentTooManyRequests) Error

func (*RevokeOBUKConsentTooManyRequests) GetPayload

func (*RevokeOBUKConsentTooManyRequests) IsClientError

func (o *RevokeOBUKConsentTooManyRequests) IsClientError() bool

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

func (*RevokeOBUKConsentTooManyRequests) IsCode

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

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

func (*RevokeOBUKConsentTooManyRequests) IsRedirect

func (o *RevokeOBUKConsentTooManyRequests) IsRedirect() bool

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

func (*RevokeOBUKConsentTooManyRequests) IsServerError

func (o *RevokeOBUKConsentTooManyRequests) IsServerError() bool

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

func (*RevokeOBUKConsentTooManyRequests) IsSuccess

func (o *RevokeOBUKConsentTooManyRequests) IsSuccess() bool

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

func (*RevokeOBUKConsentTooManyRequests) String

type RevokeOBUKConsentUnauthorized

type RevokeOBUKConsentUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeOBUKConsentUnauthorized

func NewRevokeOBUKConsentUnauthorized() *RevokeOBUKConsentUnauthorized

NewRevokeOBUKConsentUnauthorized creates a RevokeOBUKConsentUnauthorized with default headers values

func (*RevokeOBUKConsentUnauthorized) Code

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

func (*RevokeOBUKConsentUnauthorized) Error

func (*RevokeOBUKConsentUnauthorized) GetPayload

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

func (*RevokeOBUKConsentUnauthorized) IsClientError

func (o *RevokeOBUKConsentUnauthorized) IsClientError() bool

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

func (*RevokeOBUKConsentUnauthorized) IsCode

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

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

func (*RevokeOBUKConsentUnauthorized) IsRedirect

func (o *RevokeOBUKConsentUnauthorized) IsRedirect() bool

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

func (*RevokeOBUKConsentUnauthorized) IsServerError

func (o *RevokeOBUKConsentUnauthorized) IsServerError() bool

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

func (*RevokeOBUKConsentUnauthorized) IsSuccess

func (o *RevokeOBUKConsentUnauthorized) IsSuccess() bool

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

func (*RevokeOBUKConsentUnauthorized) String

type RevokeOBUKConsentsBadRequest

type RevokeOBUKConsentsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewRevokeOBUKConsentsBadRequest

func NewRevokeOBUKConsentsBadRequest() *RevokeOBUKConsentsBadRequest

NewRevokeOBUKConsentsBadRequest creates a RevokeOBUKConsentsBadRequest with default headers values

func (*RevokeOBUKConsentsBadRequest) Code

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

func (*RevokeOBUKConsentsBadRequest) Error

func (*RevokeOBUKConsentsBadRequest) GetPayload

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

func (*RevokeOBUKConsentsBadRequest) IsClientError

func (o *RevokeOBUKConsentsBadRequest) IsClientError() bool

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

func (*RevokeOBUKConsentsBadRequest) IsCode

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

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

func (*RevokeOBUKConsentsBadRequest) IsRedirect

func (o *RevokeOBUKConsentsBadRequest) IsRedirect() bool

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

func (*RevokeOBUKConsentsBadRequest) IsServerError

func (o *RevokeOBUKConsentsBadRequest) IsServerError() bool

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

func (*RevokeOBUKConsentsBadRequest) IsSuccess

func (o *RevokeOBUKConsentsBadRequest) IsSuccess() bool

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

func (*RevokeOBUKConsentsBadRequest) String

type RevokeOBUKConsentsForbidden

type RevokeOBUKConsentsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeOBUKConsentsForbidden

func NewRevokeOBUKConsentsForbidden() *RevokeOBUKConsentsForbidden

NewRevokeOBUKConsentsForbidden creates a RevokeOBUKConsentsForbidden with default headers values

func (*RevokeOBUKConsentsForbidden) Code

func (o *RevokeOBUKConsentsForbidden) Code() int

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

func (*RevokeOBUKConsentsForbidden) Error

func (*RevokeOBUKConsentsForbidden) GetPayload

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

func (*RevokeOBUKConsentsForbidden) IsClientError

func (o *RevokeOBUKConsentsForbidden) IsClientError() bool

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

func (*RevokeOBUKConsentsForbidden) IsCode

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

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

func (*RevokeOBUKConsentsForbidden) IsRedirect

func (o *RevokeOBUKConsentsForbidden) IsRedirect() bool

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

func (*RevokeOBUKConsentsForbidden) IsServerError

func (o *RevokeOBUKConsentsForbidden) IsServerError() bool

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

func (*RevokeOBUKConsentsForbidden) IsSuccess

func (o *RevokeOBUKConsentsForbidden) IsSuccess() bool

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

func (*RevokeOBUKConsentsForbidden) String

func (o *RevokeOBUKConsentsForbidden) String() string

type RevokeOBUKConsentsNotFound

type RevokeOBUKConsentsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeOBUKConsentsNotFound

func NewRevokeOBUKConsentsNotFound() *RevokeOBUKConsentsNotFound

NewRevokeOBUKConsentsNotFound creates a RevokeOBUKConsentsNotFound with default headers values

func (*RevokeOBUKConsentsNotFound) Code

func (o *RevokeOBUKConsentsNotFound) Code() int

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

func (*RevokeOBUKConsentsNotFound) Error

func (*RevokeOBUKConsentsNotFound) GetPayload

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

func (*RevokeOBUKConsentsNotFound) IsClientError

func (o *RevokeOBUKConsentsNotFound) IsClientError() bool

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

func (*RevokeOBUKConsentsNotFound) IsCode

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

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

func (*RevokeOBUKConsentsNotFound) IsRedirect

func (o *RevokeOBUKConsentsNotFound) IsRedirect() bool

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

func (*RevokeOBUKConsentsNotFound) IsServerError

func (o *RevokeOBUKConsentsNotFound) IsServerError() bool

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

func (*RevokeOBUKConsentsNotFound) IsSuccess

func (o *RevokeOBUKConsentsNotFound) IsSuccess() bool

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

func (*RevokeOBUKConsentsNotFound) String

func (o *RevokeOBUKConsentsNotFound) String() string

type RevokeOBUKConsentsOK

type RevokeOBUKConsentsOK struct {
	Payload *models.ConsentsRemovedResponse
}

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

Consents Revoked

func NewRevokeOBUKConsentsOK

func NewRevokeOBUKConsentsOK() *RevokeOBUKConsentsOK

NewRevokeOBUKConsentsOK creates a RevokeOBUKConsentsOK with default headers values

func (*RevokeOBUKConsentsOK) Code

func (o *RevokeOBUKConsentsOK) Code() int

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

func (*RevokeOBUKConsentsOK) Error

func (o *RevokeOBUKConsentsOK) Error() string

func (*RevokeOBUKConsentsOK) GetPayload

func (*RevokeOBUKConsentsOK) IsClientError

func (o *RevokeOBUKConsentsOK) IsClientError() bool

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

func (*RevokeOBUKConsentsOK) IsCode

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

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

func (*RevokeOBUKConsentsOK) IsRedirect

func (o *RevokeOBUKConsentsOK) IsRedirect() bool

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

func (*RevokeOBUKConsentsOK) IsServerError

func (o *RevokeOBUKConsentsOK) IsServerError() bool

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

func (*RevokeOBUKConsentsOK) IsSuccess

func (o *RevokeOBUKConsentsOK) IsSuccess() bool

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

func (*RevokeOBUKConsentsOK) String

func (o *RevokeOBUKConsentsOK) String() string

type RevokeOBUKConsentsParams

type RevokeOBUKConsentsParams struct {

	/* ClientID.

	   Client ID
	*/
	ClientID *string

	/* ConsentTypes.

	   Required consent types
	*/
	ConsentTypes []string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

RevokeOBUKConsentsParams contains all the parameters to send to the API endpoint

for the revoke o b u k consents operation.

Typically these are written to a http.Request.

func NewRevokeOBUKConsentsParams

func NewRevokeOBUKConsentsParams() *RevokeOBUKConsentsParams

NewRevokeOBUKConsentsParams creates a new RevokeOBUKConsentsParams 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 NewRevokeOBUKConsentsParamsWithContext

func NewRevokeOBUKConsentsParamsWithContext(ctx context.Context) *RevokeOBUKConsentsParams

NewRevokeOBUKConsentsParamsWithContext creates a new RevokeOBUKConsentsParams object with the ability to set a context for a request.

func NewRevokeOBUKConsentsParamsWithHTTPClient

func NewRevokeOBUKConsentsParamsWithHTTPClient(client *http.Client) *RevokeOBUKConsentsParams

NewRevokeOBUKConsentsParamsWithHTTPClient creates a new RevokeOBUKConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeOBUKConsentsParamsWithTimeout

func NewRevokeOBUKConsentsParamsWithTimeout(timeout time.Duration) *RevokeOBUKConsentsParams

NewRevokeOBUKConsentsParamsWithTimeout creates a new RevokeOBUKConsentsParams object with the ability to set a timeout on a request.

func (*RevokeOBUKConsentsParams) SetClientID

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

SetClientID adds the clientId to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) SetConsentTypes

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

SetConsentTypes adds the consentTypes to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) SetContext

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

SetContext adds the context to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) SetDefaults

func (o *RevokeOBUKConsentsParams) SetDefaults()

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

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

func (*RevokeOBUKConsentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) SetWid

func (o *RevokeOBUKConsentsParams) SetWid(wid string)

SetWid adds the wid to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) WithClientID

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

WithClientID adds the clientID to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) WithConsentTypes

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

WithConsentTypes adds the consentTypes to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) WithContext

WithContext adds the context to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) WithDefaults

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

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

func (*RevokeOBUKConsentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) WithTimeout

WithTimeout adds the timeout to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) WithWid

WithWid adds the wid to the revoke o b u k consents params

func (*RevokeOBUKConsentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeOBUKConsentsReader

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

RevokeOBUKConsentsReader is a Reader for the RevokeOBUKConsents structure.

func (*RevokeOBUKConsentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeOBUKConsentsTooManyRequests

type RevokeOBUKConsentsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeOBUKConsentsTooManyRequests

func NewRevokeOBUKConsentsTooManyRequests() *RevokeOBUKConsentsTooManyRequests

NewRevokeOBUKConsentsTooManyRequests creates a RevokeOBUKConsentsTooManyRequests with default headers values

func (*RevokeOBUKConsentsTooManyRequests) Code

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

func (*RevokeOBUKConsentsTooManyRequests) Error

func (*RevokeOBUKConsentsTooManyRequests) GetPayload

func (*RevokeOBUKConsentsTooManyRequests) IsClientError

func (o *RevokeOBUKConsentsTooManyRequests) IsClientError() bool

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

func (*RevokeOBUKConsentsTooManyRequests) IsCode

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

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

func (*RevokeOBUKConsentsTooManyRequests) IsRedirect

func (o *RevokeOBUKConsentsTooManyRequests) IsRedirect() bool

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

func (*RevokeOBUKConsentsTooManyRequests) IsServerError

func (o *RevokeOBUKConsentsTooManyRequests) IsServerError() bool

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

func (*RevokeOBUKConsentsTooManyRequests) IsSuccess

func (o *RevokeOBUKConsentsTooManyRequests) IsSuccess() bool

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

func (*RevokeOBUKConsentsTooManyRequests) String

type RevokeOBUKConsentsUnauthorized

type RevokeOBUKConsentsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeOBUKConsentsUnauthorized

func NewRevokeOBUKConsentsUnauthorized() *RevokeOBUKConsentsUnauthorized

NewRevokeOBUKConsentsUnauthorized creates a RevokeOBUKConsentsUnauthorized with default headers values

func (*RevokeOBUKConsentsUnauthorized) Code

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

func (*RevokeOBUKConsentsUnauthorized) Error

func (*RevokeOBUKConsentsUnauthorized) GetPayload

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

func (*RevokeOBUKConsentsUnauthorized) IsClientError

func (o *RevokeOBUKConsentsUnauthorized) IsClientError() bool

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

func (*RevokeOBUKConsentsUnauthorized) IsCode

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

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

func (*RevokeOBUKConsentsUnauthorized) IsRedirect

func (o *RevokeOBUKConsentsUnauthorized) IsRedirect() bool

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

func (*RevokeOBUKConsentsUnauthorized) IsServerError

func (o *RevokeOBUKConsentsUnauthorized) IsServerError() bool

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

func (*RevokeOBUKConsentsUnauthorized) IsSuccess

func (o *RevokeOBUKConsentsUnauthorized) IsSuccess() bool

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

func (*RevokeOBUKConsentsUnauthorized) String

Jump to

Keyboard shortcuts

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