consents

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for consents API

func (*Client) CreateConsent

func (a *Client) CreateConsent(params *CreateConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConsentCreated, error)
CreateConsent creates consent

Consents are created per tenant.

ID, Name and UpdateExistingGrants strategy are required fields when creating a new consent.

UpdateExistingGrants has the following options:

explicitAll - all the existing grants should not be updated. It is required that the user grants the consent explicitly.

implicitAll - all previously existing consent grants should be updated, to the new version of the consent, but

all of those grants should be implicit from the moment on.

keepCurrent - if a previously existing consent grant was set implicitly, it is automatically updated and a new

consent grant is produced, which is also implicit. if a previously existing consent grant was set explicitly, it should not be updated. It is required that the user grants the consent explicitly.

func (*Client) CreateConsentAction

func (a *Client) CreateConsentAction(params *CreateConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConsentActionCreated, error)
CreateConsentAction creates consent action

Consent action allows to group list of consents. A Tenant Application asking for the consent it can

ask for +by the action name+ instead of asking for a list of consents directly. It allows for cleaner abstraction and adds the ability to dynamically configure the consents required for particular applications.

ID and Name are required fields.

For each consent provide id and specify if it is required.

func (*Client) DeleteConsent

func (a *Client) DeleteConsent(params *DeleteConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConsentNoContent, error)

DeleteConsent deletes consent

Delete consent.

func (*Client) DeleteConsentAction

func (a *Client) DeleteConsentAction(params *DeleteConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConsentActionNoContent, error)

DeleteConsentAction deletes consent action

Delete consent action.

func (*Client) GetConsent

func (a *Client) GetConsent(params *GetConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConsentOK, error)

GetConsent gets consent details

Get consent details.

func (*Client) GetConsentAction

func (a *Client) GetConsentAction(params *GetConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConsentActionOK, error)

GetConsentAction gets consent action with consents

Get consent action with consents.

func (*Client) ListConsentActions

func (a *Client) ListConsentActions(params *ListConsentActionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsentActionsOK, error)

ListConsentActions lists consent actions

List consent actions.

func (*Client) ListConsents

func (a *Client) ListConsents(params *ListConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsentsOK, error)

ListConsents lists consents

List consents.

func (*Client) ListPrivacyLedgerEventsBySubject

func (a *Client) ListPrivacyLedgerEventsBySubject(params *ListPrivacyLedgerEventsBySubjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPrivacyLedgerEventsBySubjectOK, error)

ListPrivacyLedgerEventsBySubject lists privacy ledger events

List privacy ledger events.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateConsent

func (a *Client) UpdateConsent(params *UpdateConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConsentCreated, error)
UpdateConsent updates consent

Every time consent is updated, its version is incremented.

If ValidFrom attribute is not provided it will be set to current time.

func (*Client) UpdateConsentAction

func (a *Client) UpdateConsentAction(params *UpdateConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConsentActionCreated, error)

UpdateConsentAction updates consent action

Update consent action.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateConsent(params *CreateConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConsentCreated, error)

	CreateConsentAction(params *CreateConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateConsentActionCreated, error)

	DeleteConsent(params *DeleteConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConsentNoContent, error)

	DeleteConsentAction(params *DeleteConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteConsentActionNoContent, error)

	GetConsent(params *GetConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConsentOK, error)

	GetConsentAction(params *GetConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetConsentActionOK, error)

	ListConsentActions(params *ListConsentActionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsentActionsOK, error)

	ListConsents(params *ListConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConsentsOK, error)

	ListPrivacyLedgerEventsBySubject(params *ListPrivacyLedgerEventsBySubjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPrivacyLedgerEventsBySubjectOK, error)

	UpdateConsent(params *UpdateConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConsentCreated, error)

	UpdateConsentAction(params *UpdateConsentActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateConsentActionCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new consents API client.

type CreateConsentActionConflict

type CreateConsentActionConflict struct {
	Payload *models.Error
}

CreateConsentActionConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateConsentActionConflict

func NewCreateConsentActionConflict() *CreateConsentActionConflict

NewCreateConsentActionConflict creates a CreateConsentActionConflict with default headers values

func (*CreateConsentActionConflict) Code

func (o *CreateConsentActionConflict) Code() int

Code gets the status code for the create consent action conflict response

func (*CreateConsentActionConflict) Error

func (*CreateConsentActionConflict) GetPayload

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

func (*CreateConsentActionConflict) IsClientError

func (o *CreateConsentActionConflict) IsClientError() bool

IsClientError returns true when this create consent action conflict response has a 4xx status code

func (*CreateConsentActionConflict) IsCode

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

IsCode returns true when this create consent action conflict response a status code equal to that given

func (*CreateConsentActionConflict) IsRedirect

func (o *CreateConsentActionConflict) IsRedirect() bool

IsRedirect returns true when this create consent action conflict response has a 3xx status code

func (*CreateConsentActionConflict) IsServerError

func (o *CreateConsentActionConflict) IsServerError() bool

IsServerError returns true when this create consent action conflict response has a 5xx status code

func (*CreateConsentActionConflict) IsSuccess

func (o *CreateConsentActionConflict) IsSuccess() bool

IsSuccess returns true when this create consent action conflict response has a 2xx status code

func (*CreateConsentActionConflict) String

func (o *CreateConsentActionConflict) String() string

type CreateConsentActionCreated

type CreateConsentActionCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ConsentActionWithConsents
}

CreateConsentActionCreated describes a response with status code 201, with default header values.

Consent action with consents

func NewCreateConsentActionCreated

func NewCreateConsentActionCreated() *CreateConsentActionCreated

NewCreateConsentActionCreated creates a CreateConsentActionCreated with default headers values

func (*CreateConsentActionCreated) Code

func (o *CreateConsentActionCreated) Code() int

Code gets the status code for the create consent action created response

func (*CreateConsentActionCreated) Error

func (*CreateConsentActionCreated) GetPayload

func (*CreateConsentActionCreated) IsClientError

func (o *CreateConsentActionCreated) IsClientError() bool

IsClientError returns true when this create consent action created response has a 4xx status code

func (*CreateConsentActionCreated) IsCode

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

IsCode returns true when this create consent action created response a status code equal to that given

func (*CreateConsentActionCreated) IsRedirect

func (o *CreateConsentActionCreated) IsRedirect() bool

IsRedirect returns true when this create consent action created response has a 3xx status code

func (*CreateConsentActionCreated) IsServerError

func (o *CreateConsentActionCreated) IsServerError() bool

IsServerError returns true when this create consent action created response has a 5xx status code

func (*CreateConsentActionCreated) IsSuccess

func (o *CreateConsentActionCreated) IsSuccess() bool

IsSuccess returns true when this create consent action created response has a 2xx status code

func (*CreateConsentActionCreated) String

func (o *CreateConsentActionCreated) String() string

type CreateConsentActionForbidden

type CreateConsentActionForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateConsentActionForbidden

func NewCreateConsentActionForbidden() *CreateConsentActionForbidden

NewCreateConsentActionForbidden creates a CreateConsentActionForbidden with default headers values

func (*CreateConsentActionForbidden) Code

Code gets the status code for the create consent action forbidden response

func (*CreateConsentActionForbidden) Error

func (*CreateConsentActionForbidden) GetPayload

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

func (*CreateConsentActionForbidden) IsClientError

func (o *CreateConsentActionForbidden) IsClientError() bool

IsClientError returns true when this create consent action forbidden response has a 4xx status code

func (*CreateConsentActionForbidden) IsCode

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

IsCode returns true when this create consent action forbidden response a status code equal to that given

func (*CreateConsentActionForbidden) IsRedirect

func (o *CreateConsentActionForbidden) IsRedirect() bool

IsRedirect returns true when this create consent action forbidden response has a 3xx status code

func (*CreateConsentActionForbidden) IsServerError

func (o *CreateConsentActionForbidden) IsServerError() bool

IsServerError returns true when this create consent action forbidden response has a 5xx status code

func (*CreateConsentActionForbidden) IsSuccess

func (o *CreateConsentActionForbidden) IsSuccess() bool

IsSuccess returns true when this create consent action forbidden response has a 2xx status code

func (*CreateConsentActionForbidden) String

type CreateConsentActionNotFound

type CreateConsentActionNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateConsentActionNotFound

func NewCreateConsentActionNotFound() *CreateConsentActionNotFound

NewCreateConsentActionNotFound creates a CreateConsentActionNotFound with default headers values

func (*CreateConsentActionNotFound) Code

func (o *CreateConsentActionNotFound) Code() int

Code gets the status code for the create consent action not found response

func (*CreateConsentActionNotFound) Error

func (*CreateConsentActionNotFound) GetPayload

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

func (*CreateConsentActionNotFound) IsClientError

func (o *CreateConsentActionNotFound) IsClientError() bool

IsClientError returns true when this create consent action not found response has a 4xx status code

func (*CreateConsentActionNotFound) IsCode

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

IsCode returns true when this create consent action not found response a status code equal to that given

func (*CreateConsentActionNotFound) IsRedirect

func (o *CreateConsentActionNotFound) IsRedirect() bool

IsRedirect returns true when this create consent action not found response has a 3xx status code

func (*CreateConsentActionNotFound) IsServerError

func (o *CreateConsentActionNotFound) IsServerError() bool

IsServerError returns true when this create consent action not found response has a 5xx status code

func (*CreateConsentActionNotFound) IsSuccess

func (o *CreateConsentActionNotFound) IsSuccess() bool

IsSuccess returns true when this create consent action not found response has a 2xx status code

func (*CreateConsentActionNotFound) String

func (o *CreateConsentActionNotFound) String() string

type CreateConsentActionParams

type CreateConsentActionParams struct {

	// ConsentAction.
	ConsentAction *models.ConsentActionWithConsents

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

CreateConsentActionParams contains all the parameters to send to the API endpoint

for the create consent action operation.

Typically these are written to a http.Request.

func NewCreateConsentActionParams

func NewCreateConsentActionParams() *CreateConsentActionParams

NewCreateConsentActionParams creates a new CreateConsentActionParams 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 NewCreateConsentActionParamsWithContext

func NewCreateConsentActionParamsWithContext(ctx context.Context) *CreateConsentActionParams

NewCreateConsentActionParamsWithContext creates a new CreateConsentActionParams object with the ability to set a context for a request.

func NewCreateConsentActionParamsWithHTTPClient

func NewCreateConsentActionParamsWithHTTPClient(client *http.Client) *CreateConsentActionParams

NewCreateConsentActionParamsWithHTTPClient creates a new CreateConsentActionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConsentActionParamsWithTimeout

func NewCreateConsentActionParamsWithTimeout(timeout time.Duration) *CreateConsentActionParams

NewCreateConsentActionParamsWithTimeout creates a new CreateConsentActionParams object with the ability to set a timeout on a request.

func (*CreateConsentActionParams) SetConsentAction

func (o *CreateConsentActionParams) SetConsentAction(consentAction *models.ConsentActionWithConsents)

SetConsentAction adds the consentAction to the create consent action params

func (*CreateConsentActionParams) SetContext

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

SetContext adds the context to the create consent action params

func (*CreateConsentActionParams) SetDefaults

func (o *CreateConsentActionParams) SetDefaults()

SetDefaults hydrates default values in the create consent action params (not the query body).

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

func (*CreateConsentActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create consent action params

func (*CreateConsentActionParams) SetIfMatch

func (o *CreateConsentActionParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create consent action params

func (*CreateConsentActionParams) SetTimeout

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

SetTimeout adds the timeout to the create consent action params

func (*CreateConsentActionParams) WithConsentAction

WithConsentAction adds the consentAction to the create consent action params

func (*CreateConsentActionParams) WithContext

WithContext adds the context to the create consent action params

func (*CreateConsentActionParams) WithDefaults

WithDefaults hydrates default values in the create consent action params (not the query body).

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

func (*CreateConsentActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create consent action params

func (*CreateConsentActionParams) WithIfMatch

WithIfMatch adds the ifMatch to the create consent action params

func (*CreateConsentActionParams) WithTimeout

WithTimeout adds the timeout to the create consent action params

func (*CreateConsentActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateConsentActionReader

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

CreateConsentActionReader is a Reader for the CreateConsentAction structure.

func (*CreateConsentActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConsentActionTooManyRequests

type CreateConsentActionTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreateConsentActionTooManyRequests

func NewCreateConsentActionTooManyRequests() *CreateConsentActionTooManyRequests

NewCreateConsentActionTooManyRequests creates a CreateConsentActionTooManyRequests with default headers values

func (*CreateConsentActionTooManyRequests) Code

Code gets the status code for the create consent action too many requests response

func (*CreateConsentActionTooManyRequests) Error

func (*CreateConsentActionTooManyRequests) GetPayload

func (*CreateConsentActionTooManyRequests) IsClientError

func (o *CreateConsentActionTooManyRequests) IsClientError() bool

IsClientError returns true when this create consent action too many requests response has a 4xx status code

func (*CreateConsentActionTooManyRequests) IsCode

IsCode returns true when this create consent action too many requests response a status code equal to that given

func (*CreateConsentActionTooManyRequests) IsRedirect

func (o *CreateConsentActionTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create consent action too many requests response has a 3xx status code

func (*CreateConsentActionTooManyRequests) IsServerError

func (o *CreateConsentActionTooManyRequests) IsServerError() bool

IsServerError returns true when this create consent action too many requests response has a 5xx status code

func (*CreateConsentActionTooManyRequests) IsSuccess

IsSuccess returns true when this create consent action too many requests response has a 2xx status code

func (*CreateConsentActionTooManyRequests) String

type CreateConsentActionUnauthorized

type CreateConsentActionUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateConsentActionUnauthorized

func NewCreateConsentActionUnauthorized() *CreateConsentActionUnauthorized

NewCreateConsentActionUnauthorized creates a CreateConsentActionUnauthorized with default headers values

func (*CreateConsentActionUnauthorized) Code

Code gets the status code for the create consent action unauthorized response

func (*CreateConsentActionUnauthorized) Error

func (*CreateConsentActionUnauthorized) GetPayload

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

func (*CreateConsentActionUnauthorized) IsClientError

func (o *CreateConsentActionUnauthorized) IsClientError() bool

IsClientError returns true when this create consent action unauthorized response has a 4xx status code

func (*CreateConsentActionUnauthorized) IsCode

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

IsCode returns true when this create consent action unauthorized response a status code equal to that given

func (*CreateConsentActionUnauthorized) IsRedirect

func (o *CreateConsentActionUnauthorized) IsRedirect() bool

IsRedirect returns true when this create consent action unauthorized response has a 3xx status code

func (*CreateConsentActionUnauthorized) IsServerError

func (o *CreateConsentActionUnauthorized) IsServerError() bool

IsServerError returns true when this create consent action unauthorized response has a 5xx status code

func (*CreateConsentActionUnauthorized) IsSuccess

func (o *CreateConsentActionUnauthorized) IsSuccess() bool

IsSuccess returns true when this create consent action unauthorized response has a 2xx status code

func (*CreateConsentActionUnauthorized) String

type CreateConsentActionUnprocessableEntity

type CreateConsentActionUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewCreateConsentActionUnprocessableEntity

func NewCreateConsentActionUnprocessableEntity() *CreateConsentActionUnprocessableEntity

NewCreateConsentActionUnprocessableEntity creates a CreateConsentActionUnprocessableEntity with default headers values

func (*CreateConsentActionUnprocessableEntity) Code

Code gets the status code for the create consent action unprocessable entity response

func (*CreateConsentActionUnprocessableEntity) Error

func (*CreateConsentActionUnprocessableEntity) GetPayload

func (*CreateConsentActionUnprocessableEntity) IsClientError

func (o *CreateConsentActionUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create consent action unprocessable entity response has a 4xx status code

func (*CreateConsentActionUnprocessableEntity) IsCode

IsCode returns true when this create consent action unprocessable entity response a status code equal to that given

func (*CreateConsentActionUnprocessableEntity) IsRedirect

IsRedirect returns true when this create consent action unprocessable entity response has a 3xx status code

func (*CreateConsentActionUnprocessableEntity) IsServerError

func (o *CreateConsentActionUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create consent action unprocessable entity response has a 5xx status code

func (*CreateConsentActionUnprocessableEntity) IsSuccess

IsSuccess returns true when this create consent action unprocessable entity response has a 2xx status code

func (*CreateConsentActionUnprocessableEntity) String

type CreateConsentConflict

type CreateConsentConflict struct {
	Payload *models.Error
}

CreateConsentConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateConsentConflict

func NewCreateConsentConflict() *CreateConsentConflict

NewCreateConsentConflict creates a CreateConsentConflict with default headers values

func (*CreateConsentConflict) Code

func (o *CreateConsentConflict) Code() int

Code gets the status code for the create consent conflict response

func (*CreateConsentConflict) Error

func (o *CreateConsentConflict) Error() string

func (*CreateConsentConflict) GetPayload

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

func (*CreateConsentConflict) IsClientError

func (o *CreateConsentConflict) IsClientError() bool

IsClientError returns true when this create consent conflict response has a 4xx status code

func (*CreateConsentConflict) IsCode

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

IsCode returns true when this create consent conflict response a status code equal to that given

func (*CreateConsentConflict) IsRedirect

func (o *CreateConsentConflict) IsRedirect() bool

IsRedirect returns true when this create consent conflict response has a 3xx status code

func (*CreateConsentConflict) IsServerError

func (o *CreateConsentConflict) IsServerError() bool

IsServerError returns true when this create consent conflict response has a 5xx status code

func (*CreateConsentConflict) IsSuccess

func (o *CreateConsentConflict) IsSuccess() bool

IsSuccess returns true when this create consent conflict response has a 2xx status code

func (*CreateConsentConflict) String

func (o *CreateConsentConflict) String() string

type CreateConsentCreated

type CreateConsentCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Consent
}

CreateConsentCreated describes a response with status code 201, with default header values.

Consent

func NewCreateConsentCreated

func NewCreateConsentCreated() *CreateConsentCreated

NewCreateConsentCreated creates a CreateConsentCreated with default headers values

func (*CreateConsentCreated) Code

func (o *CreateConsentCreated) Code() int

Code gets the status code for the create consent created response

func (*CreateConsentCreated) Error

func (o *CreateConsentCreated) Error() string

func (*CreateConsentCreated) GetPayload

func (o *CreateConsentCreated) GetPayload() *models.Consent

func (*CreateConsentCreated) IsClientError

func (o *CreateConsentCreated) IsClientError() bool

IsClientError returns true when this create consent created response has a 4xx status code

func (*CreateConsentCreated) IsCode

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

IsCode returns true when this create consent created response a status code equal to that given

func (*CreateConsentCreated) IsRedirect

func (o *CreateConsentCreated) IsRedirect() bool

IsRedirect returns true when this create consent created response has a 3xx status code

func (*CreateConsentCreated) IsServerError

func (o *CreateConsentCreated) IsServerError() bool

IsServerError returns true when this create consent created response has a 5xx status code

func (*CreateConsentCreated) IsSuccess

func (o *CreateConsentCreated) IsSuccess() bool

IsSuccess returns true when this create consent created response has a 2xx status code

func (*CreateConsentCreated) String

func (o *CreateConsentCreated) String() string

type CreateConsentForbidden

type CreateConsentForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateConsentForbidden

func NewCreateConsentForbidden() *CreateConsentForbidden

NewCreateConsentForbidden creates a CreateConsentForbidden with default headers values

func (*CreateConsentForbidden) Code

func (o *CreateConsentForbidden) Code() int

Code gets the status code for the create consent forbidden response

func (*CreateConsentForbidden) Error

func (o *CreateConsentForbidden) Error() string

func (*CreateConsentForbidden) GetPayload

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

func (*CreateConsentForbidden) IsClientError

func (o *CreateConsentForbidden) IsClientError() bool

IsClientError returns true when this create consent forbidden response has a 4xx status code

func (*CreateConsentForbidden) IsCode

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

IsCode returns true when this create consent forbidden response a status code equal to that given

func (*CreateConsentForbidden) IsRedirect

func (o *CreateConsentForbidden) IsRedirect() bool

IsRedirect returns true when this create consent forbidden response has a 3xx status code

func (*CreateConsentForbidden) IsServerError

func (o *CreateConsentForbidden) IsServerError() bool

IsServerError returns true when this create consent forbidden response has a 5xx status code

func (*CreateConsentForbidden) IsSuccess

func (o *CreateConsentForbidden) IsSuccess() bool

IsSuccess returns true when this create consent forbidden response has a 2xx status code

func (*CreateConsentForbidden) String

func (o *CreateConsentForbidden) String() string

type CreateConsentNotFound

type CreateConsentNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateConsentNotFound

func NewCreateConsentNotFound() *CreateConsentNotFound

NewCreateConsentNotFound creates a CreateConsentNotFound with default headers values

func (*CreateConsentNotFound) Code

func (o *CreateConsentNotFound) Code() int

Code gets the status code for the create consent not found response

func (*CreateConsentNotFound) Error

func (o *CreateConsentNotFound) Error() string

func (*CreateConsentNotFound) GetPayload

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

func (*CreateConsentNotFound) IsClientError

func (o *CreateConsentNotFound) IsClientError() bool

IsClientError returns true when this create consent not found response has a 4xx status code

func (*CreateConsentNotFound) IsCode

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

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

func (*CreateConsentNotFound) IsRedirect

func (o *CreateConsentNotFound) IsRedirect() bool

IsRedirect returns true when this create consent not found response has a 3xx status code

func (*CreateConsentNotFound) IsServerError

func (o *CreateConsentNotFound) IsServerError() bool

IsServerError returns true when this create consent not found response has a 5xx status code

func (*CreateConsentNotFound) IsSuccess

func (o *CreateConsentNotFound) IsSuccess() bool

IsSuccess returns true when this create consent not found response has a 2xx status code

func (*CreateConsentNotFound) String

func (o *CreateConsentNotFound) String() string

type CreateConsentParams

type CreateConsentParams struct {

	// Consent.
	Consent *models.Consent

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

CreateConsentParams contains all the parameters to send to the API endpoint

for the create consent operation.

Typically these are written to a http.Request.

func NewCreateConsentParams

func NewCreateConsentParams() *CreateConsentParams

NewCreateConsentParams creates a new CreateConsentParams 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 NewCreateConsentParamsWithContext

func NewCreateConsentParamsWithContext(ctx context.Context) *CreateConsentParams

NewCreateConsentParamsWithContext creates a new CreateConsentParams object with the ability to set a context for a request.

func NewCreateConsentParamsWithHTTPClient

func NewCreateConsentParamsWithHTTPClient(client *http.Client) *CreateConsentParams

NewCreateConsentParamsWithHTTPClient creates a new CreateConsentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConsentParamsWithTimeout

func NewCreateConsentParamsWithTimeout(timeout time.Duration) *CreateConsentParams

NewCreateConsentParamsWithTimeout creates a new CreateConsentParams object with the ability to set a timeout on a request.

func (*CreateConsentParams) SetConsent

func (o *CreateConsentParams) SetConsent(consent *models.Consent)

SetConsent adds the consent to the create consent params

func (*CreateConsentParams) SetContext

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

SetContext adds the context to the create consent params

func (*CreateConsentParams) SetDefaults

func (o *CreateConsentParams) SetDefaults()

SetDefaults hydrates default values in the create consent params (not the query body).

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

func (*CreateConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create consent params

func (*CreateConsentParams) SetIfMatch

func (o *CreateConsentParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create consent params

func (*CreateConsentParams) SetTimeout

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

SetTimeout adds the timeout to the create consent params

func (*CreateConsentParams) WithConsent

func (o *CreateConsentParams) WithConsent(consent *models.Consent) *CreateConsentParams

WithConsent adds the consent to the create consent params

func (*CreateConsentParams) WithContext

WithContext adds the context to the create consent params

func (*CreateConsentParams) WithDefaults

func (o *CreateConsentParams) WithDefaults() *CreateConsentParams

WithDefaults hydrates default values in the create consent params (not the query body).

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

func (*CreateConsentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create consent params

func (*CreateConsentParams) WithIfMatch

func (o *CreateConsentParams) WithIfMatch(ifMatch *string) *CreateConsentParams

WithIfMatch adds the ifMatch to the create consent params

func (*CreateConsentParams) WithTimeout

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

WithTimeout adds the timeout to the create consent params

func (*CreateConsentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateConsentReader

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

CreateConsentReader is a Reader for the CreateConsent structure.

func (*CreateConsentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConsentTooManyRequests

type CreateConsentTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreateConsentTooManyRequests

func NewCreateConsentTooManyRequests() *CreateConsentTooManyRequests

NewCreateConsentTooManyRequests creates a CreateConsentTooManyRequests with default headers values

func (*CreateConsentTooManyRequests) Code

Code gets the status code for the create consent too many requests response

func (*CreateConsentTooManyRequests) Error

func (*CreateConsentTooManyRequests) GetPayload

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

func (*CreateConsentTooManyRequests) IsClientError

func (o *CreateConsentTooManyRequests) IsClientError() bool

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

func (*CreateConsentTooManyRequests) IsCode

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

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

func (*CreateConsentTooManyRequests) IsRedirect

func (o *CreateConsentTooManyRequests) IsRedirect() bool

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

func (*CreateConsentTooManyRequests) IsServerError

func (o *CreateConsentTooManyRequests) IsServerError() bool

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

func (*CreateConsentTooManyRequests) IsSuccess

func (o *CreateConsentTooManyRequests) IsSuccess() bool

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

func (*CreateConsentTooManyRequests) String

type CreateConsentUnauthorized

type CreateConsentUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateConsentUnauthorized

func NewCreateConsentUnauthorized() *CreateConsentUnauthorized

NewCreateConsentUnauthorized creates a CreateConsentUnauthorized with default headers values

func (*CreateConsentUnauthorized) Code

func (o *CreateConsentUnauthorized) Code() int

Code gets the status code for the create consent unauthorized response

func (*CreateConsentUnauthorized) Error

func (o *CreateConsentUnauthorized) Error() string

func (*CreateConsentUnauthorized) GetPayload

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

func (*CreateConsentUnauthorized) IsClientError

func (o *CreateConsentUnauthorized) IsClientError() bool

IsClientError returns true when this create consent unauthorized response has a 4xx status code

func (*CreateConsentUnauthorized) IsCode

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

IsCode returns true when this create consent unauthorized response a status code equal to that given

func (*CreateConsentUnauthorized) IsRedirect

func (o *CreateConsentUnauthorized) IsRedirect() bool

IsRedirect returns true when this create consent unauthorized response has a 3xx status code

func (*CreateConsentUnauthorized) IsServerError

func (o *CreateConsentUnauthorized) IsServerError() bool

IsServerError returns true when this create consent unauthorized response has a 5xx status code

func (*CreateConsentUnauthorized) IsSuccess

func (o *CreateConsentUnauthorized) IsSuccess() bool

IsSuccess returns true when this create consent unauthorized response has a 2xx status code

func (*CreateConsentUnauthorized) String

func (o *CreateConsentUnauthorized) String() string

type CreateConsentUnprocessableEntity

type CreateConsentUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewCreateConsentUnprocessableEntity

func NewCreateConsentUnprocessableEntity() *CreateConsentUnprocessableEntity

NewCreateConsentUnprocessableEntity creates a CreateConsentUnprocessableEntity with default headers values

func (*CreateConsentUnprocessableEntity) Code

Code gets the status code for the create consent unprocessable entity response

func (*CreateConsentUnprocessableEntity) Error

func (*CreateConsentUnprocessableEntity) GetPayload

func (*CreateConsentUnprocessableEntity) IsClientError

func (o *CreateConsentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create consent unprocessable entity response has a 4xx status code

func (*CreateConsentUnprocessableEntity) IsCode

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

IsCode returns true when this create consent unprocessable entity response a status code equal to that given

func (*CreateConsentUnprocessableEntity) IsRedirect

func (o *CreateConsentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create consent unprocessable entity response has a 3xx status code

func (*CreateConsentUnprocessableEntity) IsServerError

func (o *CreateConsentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create consent unprocessable entity response has a 5xx status code

func (*CreateConsentUnprocessableEntity) IsSuccess

func (o *CreateConsentUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create consent unprocessable entity response has a 2xx status code

func (*CreateConsentUnprocessableEntity) String

type DeleteConsentActionForbidden

type DeleteConsentActionForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteConsentActionForbidden

func NewDeleteConsentActionForbidden() *DeleteConsentActionForbidden

NewDeleteConsentActionForbidden creates a DeleteConsentActionForbidden with default headers values

func (*DeleteConsentActionForbidden) Code

Code gets the status code for the delete consent action forbidden response

func (*DeleteConsentActionForbidden) Error

func (*DeleteConsentActionForbidden) GetPayload

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

func (*DeleteConsentActionForbidden) IsClientError

func (o *DeleteConsentActionForbidden) IsClientError() bool

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

func (*DeleteConsentActionForbidden) IsCode

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

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

func (*DeleteConsentActionForbidden) IsRedirect

func (o *DeleteConsentActionForbidden) IsRedirect() bool

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

func (*DeleteConsentActionForbidden) IsServerError

func (o *DeleteConsentActionForbidden) IsServerError() bool

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

func (*DeleteConsentActionForbidden) IsSuccess

func (o *DeleteConsentActionForbidden) IsSuccess() bool

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

func (*DeleteConsentActionForbidden) String

type DeleteConsentActionNoContent

type DeleteConsentActionNoContent struct {
}

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

ConsentAction has been deleted

func NewDeleteConsentActionNoContent

func NewDeleteConsentActionNoContent() *DeleteConsentActionNoContent

NewDeleteConsentActionNoContent creates a DeleteConsentActionNoContent with default headers values

func (*DeleteConsentActionNoContent) Code

Code gets the status code for the delete consent action no content response

func (*DeleteConsentActionNoContent) Error

func (*DeleteConsentActionNoContent) IsClientError

func (o *DeleteConsentActionNoContent) IsClientError() bool

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

func (*DeleteConsentActionNoContent) IsCode

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

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

func (*DeleteConsentActionNoContent) IsRedirect

func (o *DeleteConsentActionNoContent) IsRedirect() bool

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

func (*DeleteConsentActionNoContent) IsServerError

func (o *DeleteConsentActionNoContent) IsServerError() bool

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

func (*DeleteConsentActionNoContent) IsSuccess

func (o *DeleteConsentActionNoContent) IsSuccess() bool

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

func (*DeleteConsentActionNoContent) String

type DeleteConsentActionNotFound

type DeleteConsentActionNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteConsentActionNotFound

func NewDeleteConsentActionNotFound() *DeleteConsentActionNotFound

NewDeleteConsentActionNotFound creates a DeleteConsentActionNotFound with default headers values

func (*DeleteConsentActionNotFound) Code

func (o *DeleteConsentActionNotFound) Code() int

Code gets the status code for the delete consent action not found response

func (*DeleteConsentActionNotFound) Error

func (*DeleteConsentActionNotFound) GetPayload

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

func (*DeleteConsentActionNotFound) IsClientError

func (o *DeleteConsentActionNotFound) IsClientError() bool

IsClientError returns true when this delete consent action not found response has a 4xx status code

func (*DeleteConsentActionNotFound) IsCode

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

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

func (*DeleteConsentActionNotFound) IsRedirect

func (o *DeleteConsentActionNotFound) IsRedirect() bool

IsRedirect returns true when this delete consent action not found response has a 3xx status code

func (*DeleteConsentActionNotFound) IsServerError

func (o *DeleteConsentActionNotFound) IsServerError() bool

IsServerError returns true when this delete consent action not found response has a 5xx status code

func (*DeleteConsentActionNotFound) IsSuccess

func (o *DeleteConsentActionNotFound) IsSuccess() bool

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

func (*DeleteConsentActionNotFound) String

func (o *DeleteConsentActionNotFound) String() string

type DeleteConsentActionParams

type DeleteConsentActionParams struct {

	// Action.
	Action string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

DeleteConsentActionParams contains all the parameters to send to the API endpoint

for the delete consent action operation.

Typically these are written to a http.Request.

func NewDeleteConsentActionParams

func NewDeleteConsentActionParams() *DeleteConsentActionParams

NewDeleteConsentActionParams creates a new DeleteConsentActionParams 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 NewDeleteConsentActionParamsWithContext

func NewDeleteConsentActionParamsWithContext(ctx context.Context) *DeleteConsentActionParams

NewDeleteConsentActionParamsWithContext creates a new DeleteConsentActionParams object with the ability to set a context for a request.

func NewDeleteConsentActionParamsWithHTTPClient

func NewDeleteConsentActionParamsWithHTTPClient(client *http.Client) *DeleteConsentActionParams

NewDeleteConsentActionParamsWithHTTPClient creates a new DeleteConsentActionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConsentActionParamsWithTimeout

func NewDeleteConsentActionParamsWithTimeout(timeout time.Duration) *DeleteConsentActionParams

NewDeleteConsentActionParamsWithTimeout creates a new DeleteConsentActionParams object with the ability to set a timeout on a request.

func (*DeleteConsentActionParams) SetAction

func (o *DeleteConsentActionParams) SetAction(action string)

SetAction adds the action to the delete consent action params

func (*DeleteConsentActionParams) SetContext

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

SetContext adds the context to the delete consent action params

func (*DeleteConsentActionParams) SetDefaults

func (o *DeleteConsentActionParams) SetDefaults()

SetDefaults hydrates default values in the delete consent action params (not the query body).

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

func (*DeleteConsentActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete consent action params

func (*DeleteConsentActionParams) SetIfMatch

func (o *DeleteConsentActionParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete consent action params

func (*DeleteConsentActionParams) SetTimeout

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

SetTimeout adds the timeout to the delete consent action params

func (*DeleteConsentActionParams) WithAction

WithAction adds the action to the delete consent action params

func (*DeleteConsentActionParams) WithContext

WithContext adds the context to the delete consent action params

func (*DeleteConsentActionParams) WithDefaults

WithDefaults hydrates default values in the delete consent action params (not the query body).

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

func (*DeleteConsentActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete consent action params

func (*DeleteConsentActionParams) WithIfMatch

WithIfMatch adds the ifMatch to the delete consent action params

func (*DeleteConsentActionParams) WithTimeout

WithTimeout adds the timeout to the delete consent action params

func (*DeleteConsentActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteConsentActionReader

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

DeleteConsentActionReader is a Reader for the DeleteConsentAction structure.

func (*DeleteConsentActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConsentActionTooManyRequests

type DeleteConsentActionTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteConsentActionTooManyRequests

func NewDeleteConsentActionTooManyRequests() *DeleteConsentActionTooManyRequests

NewDeleteConsentActionTooManyRequests creates a DeleteConsentActionTooManyRequests with default headers values

func (*DeleteConsentActionTooManyRequests) Code

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

func (*DeleteConsentActionTooManyRequests) Error

func (*DeleteConsentActionTooManyRequests) GetPayload

func (*DeleteConsentActionTooManyRequests) IsClientError

func (o *DeleteConsentActionTooManyRequests) IsClientError() bool

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

func (*DeleteConsentActionTooManyRequests) IsCode

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

func (*DeleteConsentActionTooManyRequests) IsRedirect

func (o *DeleteConsentActionTooManyRequests) IsRedirect() bool

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

func (*DeleteConsentActionTooManyRequests) IsServerError

func (o *DeleteConsentActionTooManyRequests) IsServerError() bool

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

func (*DeleteConsentActionTooManyRequests) IsSuccess

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

func (*DeleteConsentActionTooManyRequests) String

type DeleteConsentActionUnauthorized

type DeleteConsentActionUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteConsentActionUnauthorized

func NewDeleteConsentActionUnauthorized() *DeleteConsentActionUnauthorized

NewDeleteConsentActionUnauthorized creates a DeleteConsentActionUnauthorized with default headers values

func (*DeleteConsentActionUnauthorized) Code

Code gets the status code for the delete consent action unauthorized response

func (*DeleteConsentActionUnauthorized) Error

func (*DeleteConsentActionUnauthorized) GetPayload

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

func (*DeleteConsentActionUnauthorized) IsClientError

func (o *DeleteConsentActionUnauthorized) IsClientError() bool

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

func (*DeleteConsentActionUnauthorized) IsCode

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

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

func (*DeleteConsentActionUnauthorized) IsRedirect

func (o *DeleteConsentActionUnauthorized) IsRedirect() bool

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

func (*DeleteConsentActionUnauthorized) IsServerError

func (o *DeleteConsentActionUnauthorized) IsServerError() bool

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

func (*DeleteConsentActionUnauthorized) IsSuccess

func (o *DeleteConsentActionUnauthorized) IsSuccess() bool

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

func (*DeleteConsentActionUnauthorized) String

type DeleteConsentForbidden

type DeleteConsentForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteConsentForbidden

func NewDeleteConsentForbidden() *DeleteConsentForbidden

NewDeleteConsentForbidden creates a DeleteConsentForbidden with default headers values

func (*DeleteConsentForbidden) Code

func (o *DeleteConsentForbidden) Code() int

Code gets the status code for the delete consent forbidden response

func (*DeleteConsentForbidden) Error

func (o *DeleteConsentForbidden) Error() string

func (*DeleteConsentForbidden) GetPayload

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

func (*DeleteConsentForbidden) IsClientError

func (o *DeleteConsentForbidden) IsClientError() bool

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

func (*DeleteConsentForbidden) IsCode

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

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

func (*DeleteConsentForbidden) IsRedirect

func (o *DeleteConsentForbidden) IsRedirect() bool

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

func (*DeleteConsentForbidden) IsServerError

func (o *DeleteConsentForbidden) IsServerError() bool

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

func (*DeleteConsentForbidden) IsSuccess

func (o *DeleteConsentForbidden) IsSuccess() bool

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

func (*DeleteConsentForbidden) String

func (o *DeleteConsentForbidden) String() string

type DeleteConsentNoContent

type DeleteConsentNoContent struct {
}

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

Consent has been deleted

func NewDeleteConsentNoContent

func NewDeleteConsentNoContent() *DeleteConsentNoContent

NewDeleteConsentNoContent creates a DeleteConsentNoContent with default headers values

func (*DeleteConsentNoContent) Code

func (o *DeleteConsentNoContent) Code() int

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

func (*DeleteConsentNoContent) Error

func (o *DeleteConsentNoContent) Error() string

func (*DeleteConsentNoContent) IsClientError

func (o *DeleteConsentNoContent) IsClientError() bool

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

func (*DeleteConsentNoContent) IsCode

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

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

func (*DeleteConsentNoContent) IsRedirect

func (o *DeleteConsentNoContent) IsRedirect() bool

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

func (*DeleteConsentNoContent) IsServerError

func (o *DeleteConsentNoContent) IsServerError() bool

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

func (*DeleteConsentNoContent) IsSuccess

func (o *DeleteConsentNoContent) IsSuccess() bool

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

func (*DeleteConsentNoContent) String

func (o *DeleteConsentNoContent) String() string

type DeleteConsentNotFound

type DeleteConsentNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteConsentNotFound

func NewDeleteConsentNotFound() *DeleteConsentNotFound

NewDeleteConsentNotFound creates a DeleteConsentNotFound with default headers values

func (*DeleteConsentNotFound) Code

func (o *DeleteConsentNotFound) Code() int

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

func (*DeleteConsentNotFound) Error

func (o *DeleteConsentNotFound) Error() string

func (*DeleteConsentNotFound) GetPayload

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

func (*DeleteConsentNotFound) IsClientError

func (o *DeleteConsentNotFound) IsClientError() bool

IsClientError returns true when this delete consent not found response has a 4xx status code

func (*DeleteConsentNotFound) IsCode

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

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

func (*DeleteConsentNotFound) IsRedirect

func (o *DeleteConsentNotFound) IsRedirect() bool

IsRedirect returns true when this delete consent not found response has a 3xx status code

func (*DeleteConsentNotFound) IsServerError

func (o *DeleteConsentNotFound) IsServerError() bool

IsServerError returns true when this delete consent not found response has a 5xx status code

func (*DeleteConsentNotFound) IsSuccess

func (o *DeleteConsentNotFound) IsSuccess() bool

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

func (*DeleteConsentNotFound) String

func (o *DeleteConsentNotFound) String() string

type DeleteConsentParams

type DeleteConsentParams struct {

	// Consent.
	Consent string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

DeleteConsentParams contains all the parameters to send to the API endpoint

for the delete consent operation.

Typically these are written to a http.Request.

func NewDeleteConsentParams

func NewDeleteConsentParams() *DeleteConsentParams

NewDeleteConsentParams creates a new DeleteConsentParams 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 NewDeleteConsentParamsWithContext

func NewDeleteConsentParamsWithContext(ctx context.Context) *DeleteConsentParams

NewDeleteConsentParamsWithContext creates a new DeleteConsentParams object with the ability to set a context for a request.

func NewDeleteConsentParamsWithHTTPClient

func NewDeleteConsentParamsWithHTTPClient(client *http.Client) *DeleteConsentParams

NewDeleteConsentParamsWithHTTPClient creates a new DeleteConsentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConsentParamsWithTimeout

func NewDeleteConsentParamsWithTimeout(timeout time.Duration) *DeleteConsentParams

NewDeleteConsentParamsWithTimeout creates a new DeleteConsentParams object with the ability to set a timeout on a request.

func (*DeleteConsentParams) SetConsent

func (o *DeleteConsentParams) SetConsent(consent string)

SetConsent adds the consent to the delete consent params

func (*DeleteConsentParams) SetContext

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

SetContext adds the context to the delete consent params

func (*DeleteConsentParams) SetDefaults

func (o *DeleteConsentParams) SetDefaults()

SetDefaults hydrates default values in the delete consent params (not the query body).

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

func (*DeleteConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete consent params

func (*DeleteConsentParams) SetIfMatch

func (o *DeleteConsentParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete consent params

func (*DeleteConsentParams) SetTimeout

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

SetTimeout adds the timeout to the delete consent params

func (*DeleteConsentParams) WithConsent

func (o *DeleteConsentParams) WithConsent(consent string) *DeleteConsentParams

WithConsent adds the consent to the delete consent params

func (*DeleteConsentParams) WithContext

WithContext adds the context to the delete consent params

func (*DeleteConsentParams) WithDefaults

func (o *DeleteConsentParams) WithDefaults() *DeleteConsentParams

WithDefaults hydrates default values in the delete consent params (not the query body).

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

func (*DeleteConsentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete consent params

func (*DeleteConsentParams) WithIfMatch

func (o *DeleteConsentParams) WithIfMatch(ifMatch *string) *DeleteConsentParams

WithIfMatch adds the ifMatch to the delete consent params

func (*DeleteConsentParams) WithTimeout

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

WithTimeout adds the timeout to the delete consent params

func (*DeleteConsentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteConsentReader

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

DeleteConsentReader is a Reader for the DeleteConsent structure.

func (*DeleteConsentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConsentTooManyRequests

type DeleteConsentTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteConsentTooManyRequests

func NewDeleteConsentTooManyRequests() *DeleteConsentTooManyRequests

NewDeleteConsentTooManyRequests creates a DeleteConsentTooManyRequests with default headers values

func (*DeleteConsentTooManyRequests) Code

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

func (*DeleteConsentTooManyRequests) Error

func (*DeleteConsentTooManyRequests) GetPayload

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

func (*DeleteConsentTooManyRequests) IsClientError

func (o *DeleteConsentTooManyRequests) IsClientError() bool

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

func (*DeleteConsentTooManyRequests) IsCode

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

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

func (*DeleteConsentTooManyRequests) IsRedirect

func (o *DeleteConsentTooManyRequests) IsRedirect() bool

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

func (*DeleteConsentTooManyRequests) IsServerError

func (o *DeleteConsentTooManyRequests) IsServerError() bool

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

func (*DeleteConsentTooManyRequests) IsSuccess

func (o *DeleteConsentTooManyRequests) IsSuccess() bool

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

func (*DeleteConsentTooManyRequests) String

type DeleteConsentUnauthorized

type DeleteConsentUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteConsentUnauthorized

func NewDeleteConsentUnauthorized() *DeleteConsentUnauthorized

NewDeleteConsentUnauthorized creates a DeleteConsentUnauthorized with default headers values

func (*DeleteConsentUnauthorized) Code

func (o *DeleteConsentUnauthorized) Code() int

Code gets the status code for the delete consent unauthorized response

func (*DeleteConsentUnauthorized) Error

func (o *DeleteConsentUnauthorized) Error() string

func (*DeleteConsentUnauthorized) GetPayload

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

func (*DeleteConsentUnauthorized) IsClientError

func (o *DeleteConsentUnauthorized) IsClientError() bool

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

func (*DeleteConsentUnauthorized) IsCode

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

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

func (*DeleteConsentUnauthorized) IsRedirect

func (o *DeleteConsentUnauthorized) IsRedirect() bool

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

func (*DeleteConsentUnauthorized) IsServerError

func (o *DeleteConsentUnauthorized) IsServerError() bool

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

func (*DeleteConsentUnauthorized) IsSuccess

func (o *DeleteConsentUnauthorized) IsSuccess() bool

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

func (*DeleteConsentUnauthorized) String

func (o *DeleteConsentUnauthorized) String() string

type GetConsentActionForbidden

type GetConsentActionForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetConsentActionForbidden

func NewGetConsentActionForbidden() *GetConsentActionForbidden

NewGetConsentActionForbidden creates a GetConsentActionForbidden with default headers values

func (*GetConsentActionForbidden) Code

func (o *GetConsentActionForbidden) Code() int

Code gets the status code for the get consent action forbidden response

func (*GetConsentActionForbidden) Error

func (o *GetConsentActionForbidden) Error() string

func (*GetConsentActionForbidden) GetPayload

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

func (*GetConsentActionForbidden) IsClientError

func (o *GetConsentActionForbidden) IsClientError() bool

IsClientError returns true when this get consent action forbidden response has a 4xx status code

func (*GetConsentActionForbidden) IsCode

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

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

func (*GetConsentActionForbidden) IsRedirect

func (o *GetConsentActionForbidden) IsRedirect() bool

IsRedirect returns true when this get consent action forbidden response has a 3xx status code

func (*GetConsentActionForbidden) IsServerError

func (o *GetConsentActionForbidden) IsServerError() bool

IsServerError returns true when this get consent action forbidden response has a 5xx status code

func (*GetConsentActionForbidden) IsSuccess

func (o *GetConsentActionForbidden) IsSuccess() bool

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

func (*GetConsentActionForbidden) String

func (o *GetConsentActionForbidden) String() string

type GetConsentActionNotFound

type GetConsentActionNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetConsentActionNotFound

func NewGetConsentActionNotFound() *GetConsentActionNotFound

NewGetConsentActionNotFound creates a GetConsentActionNotFound with default headers values

func (*GetConsentActionNotFound) Code

func (o *GetConsentActionNotFound) Code() int

Code gets the status code for the get consent action not found response

func (*GetConsentActionNotFound) Error

func (o *GetConsentActionNotFound) Error() string

func (*GetConsentActionNotFound) GetPayload

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

func (*GetConsentActionNotFound) IsClientError

func (o *GetConsentActionNotFound) IsClientError() bool

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

func (*GetConsentActionNotFound) IsCode

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

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

func (*GetConsentActionNotFound) IsRedirect

func (o *GetConsentActionNotFound) IsRedirect() bool

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

func (*GetConsentActionNotFound) IsServerError

func (o *GetConsentActionNotFound) IsServerError() bool

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

func (*GetConsentActionNotFound) IsSuccess

func (o *GetConsentActionNotFound) IsSuccess() bool

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

func (*GetConsentActionNotFound) String

func (o *GetConsentActionNotFound) String() string

type GetConsentActionOK

type GetConsentActionOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ConsentActionWithConsents
}

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

Consent action with consents

func NewGetConsentActionOK

func NewGetConsentActionOK() *GetConsentActionOK

NewGetConsentActionOK creates a GetConsentActionOK with default headers values

func (*GetConsentActionOK) Code

func (o *GetConsentActionOK) Code() int

Code gets the status code for the get consent action o k response

func (*GetConsentActionOK) Error

func (o *GetConsentActionOK) Error() string

func (*GetConsentActionOK) GetPayload

func (*GetConsentActionOK) IsClientError

func (o *GetConsentActionOK) IsClientError() bool

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

func (*GetConsentActionOK) IsCode

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

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

func (*GetConsentActionOK) IsRedirect

func (o *GetConsentActionOK) IsRedirect() bool

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

func (*GetConsentActionOK) IsServerError

func (o *GetConsentActionOK) IsServerError() bool

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

func (*GetConsentActionOK) IsSuccess

func (o *GetConsentActionOK) IsSuccess() bool

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

func (*GetConsentActionOK) String

func (o *GetConsentActionOK) String() string

type GetConsentActionParams

type GetConsentActionParams struct {

	// Action.
	Action string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

GetConsentActionParams contains all the parameters to send to the API endpoint

for the get consent action operation.

Typically these are written to a http.Request.

func NewGetConsentActionParams

func NewGetConsentActionParams() *GetConsentActionParams

NewGetConsentActionParams creates a new GetConsentActionParams 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 NewGetConsentActionParamsWithContext

func NewGetConsentActionParamsWithContext(ctx context.Context) *GetConsentActionParams

NewGetConsentActionParamsWithContext creates a new GetConsentActionParams object with the ability to set a context for a request.

func NewGetConsentActionParamsWithHTTPClient

func NewGetConsentActionParamsWithHTTPClient(client *http.Client) *GetConsentActionParams

NewGetConsentActionParamsWithHTTPClient creates a new GetConsentActionParams object with the ability to set a custom HTTPClient for a request.

func NewGetConsentActionParamsWithTimeout

func NewGetConsentActionParamsWithTimeout(timeout time.Duration) *GetConsentActionParams

NewGetConsentActionParamsWithTimeout creates a new GetConsentActionParams object with the ability to set a timeout on a request.

func (*GetConsentActionParams) SetAction

func (o *GetConsentActionParams) SetAction(action string)

SetAction adds the action to the get consent action params

func (*GetConsentActionParams) SetContext

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

SetContext adds the context to the get consent action params

func (*GetConsentActionParams) SetDefaults

func (o *GetConsentActionParams) SetDefaults()

SetDefaults hydrates default values in the get consent action params (not the query body).

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

func (*GetConsentActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get consent action params

func (*GetConsentActionParams) SetIfMatch

func (o *GetConsentActionParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get consent action params

func (*GetConsentActionParams) SetTimeout

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

SetTimeout adds the timeout to the get consent action params

func (*GetConsentActionParams) WithAction

func (o *GetConsentActionParams) WithAction(action string) *GetConsentActionParams

WithAction adds the action to the get consent action params

func (*GetConsentActionParams) WithContext

WithContext adds the context to the get consent action params

func (*GetConsentActionParams) WithDefaults

WithDefaults hydrates default values in the get consent action params (not the query body).

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

func (*GetConsentActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get consent action params

func (*GetConsentActionParams) WithIfMatch

func (o *GetConsentActionParams) WithIfMatch(ifMatch *string) *GetConsentActionParams

WithIfMatch adds the ifMatch to the get consent action params

func (*GetConsentActionParams) WithTimeout

WithTimeout adds the timeout to the get consent action params

func (*GetConsentActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetConsentActionReader

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

GetConsentActionReader is a Reader for the GetConsentAction structure.

func (*GetConsentActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConsentActionTooManyRequests

type GetConsentActionTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetConsentActionTooManyRequests

func NewGetConsentActionTooManyRequests() *GetConsentActionTooManyRequests

NewGetConsentActionTooManyRequests creates a GetConsentActionTooManyRequests with default headers values

func (*GetConsentActionTooManyRequests) Code

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

func (*GetConsentActionTooManyRequests) Error

func (*GetConsentActionTooManyRequests) GetPayload

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

func (*GetConsentActionTooManyRequests) IsClientError

func (o *GetConsentActionTooManyRequests) IsClientError() bool

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

func (*GetConsentActionTooManyRequests) IsCode

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

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

func (*GetConsentActionTooManyRequests) IsRedirect

func (o *GetConsentActionTooManyRequests) IsRedirect() bool

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

func (*GetConsentActionTooManyRequests) IsServerError

func (o *GetConsentActionTooManyRequests) IsServerError() bool

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

func (*GetConsentActionTooManyRequests) IsSuccess

func (o *GetConsentActionTooManyRequests) IsSuccess() bool

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

func (*GetConsentActionTooManyRequests) String

type GetConsentActionUnauthorized

type GetConsentActionUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetConsentActionUnauthorized

func NewGetConsentActionUnauthorized() *GetConsentActionUnauthorized

NewGetConsentActionUnauthorized creates a GetConsentActionUnauthorized with default headers values

func (*GetConsentActionUnauthorized) Code

Code gets the status code for the get consent action unauthorized response

func (*GetConsentActionUnauthorized) Error

func (*GetConsentActionUnauthorized) GetPayload

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

func (*GetConsentActionUnauthorized) IsClientError

func (o *GetConsentActionUnauthorized) IsClientError() bool

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

func (*GetConsentActionUnauthorized) IsCode

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

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

func (*GetConsentActionUnauthorized) IsRedirect

func (o *GetConsentActionUnauthorized) IsRedirect() bool

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

func (*GetConsentActionUnauthorized) IsServerError

func (o *GetConsentActionUnauthorized) IsServerError() bool

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

func (*GetConsentActionUnauthorized) IsSuccess

func (o *GetConsentActionUnauthorized) IsSuccess() bool

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

func (*GetConsentActionUnauthorized) String

type GetConsentForbidden

type GetConsentForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetConsentForbidden

func NewGetConsentForbidden() *GetConsentForbidden

NewGetConsentForbidden creates a GetConsentForbidden with default headers values

func (*GetConsentForbidden) Code

func (o *GetConsentForbidden) Code() int

Code gets the status code for the get consent forbidden response

func (*GetConsentForbidden) Error

func (o *GetConsentForbidden) Error() string

func (*GetConsentForbidden) GetPayload

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

func (*GetConsentForbidden) IsClientError

func (o *GetConsentForbidden) IsClientError() bool

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

func (*GetConsentForbidden) IsCode

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

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

func (*GetConsentForbidden) IsRedirect

func (o *GetConsentForbidden) IsRedirect() bool

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

func (*GetConsentForbidden) IsServerError

func (o *GetConsentForbidden) IsServerError() bool

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

func (*GetConsentForbidden) IsSuccess

func (o *GetConsentForbidden) IsSuccess() bool

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

func (*GetConsentForbidden) String

func (o *GetConsentForbidden) String() string

type GetConsentNotFound

type GetConsentNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetConsentNotFound

func NewGetConsentNotFound() *GetConsentNotFound

NewGetConsentNotFound creates a GetConsentNotFound with default headers values

func (*GetConsentNotFound) Code

func (o *GetConsentNotFound) Code() int

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

func (*GetConsentNotFound) Error

func (o *GetConsentNotFound) Error() string

func (*GetConsentNotFound) GetPayload

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

func (*GetConsentNotFound) IsClientError

func (o *GetConsentNotFound) IsClientError() bool

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

func (*GetConsentNotFound) IsCode

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

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

func (*GetConsentNotFound) IsRedirect

func (o *GetConsentNotFound) IsRedirect() bool

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

func (*GetConsentNotFound) IsServerError

func (o *GetConsentNotFound) IsServerError() bool

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

func (*GetConsentNotFound) IsSuccess

func (o *GetConsentNotFound) IsSuccess() bool

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

func (*GetConsentNotFound) String

func (o *GetConsentNotFound) String() string

type GetConsentOK

type GetConsentOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Consent
}

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

Consent

func NewGetConsentOK

func NewGetConsentOK() *GetConsentOK

NewGetConsentOK creates a GetConsentOK with default headers values

func (*GetConsentOK) Code

func (o *GetConsentOK) Code() int

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

func (*GetConsentOK) Error

func (o *GetConsentOK) Error() string

func (*GetConsentOK) GetPayload

func (o *GetConsentOK) GetPayload() *models.Consent

func (*GetConsentOK) IsClientError

func (o *GetConsentOK) IsClientError() bool

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

func (*GetConsentOK) IsCode

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

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

func (*GetConsentOK) IsRedirect

func (o *GetConsentOK) IsRedirect() bool

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

func (*GetConsentOK) IsServerError

func (o *GetConsentOK) IsServerError() bool

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

func (*GetConsentOK) IsSuccess

func (o *GetConsentOK) IsSuccess() bool

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

func (*GetConsentOK) String

func (o *GetConsentOK) String() string

type GetConsentParams

type GetConsentParams struct {

	// Consent.
	Consent string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

GetConsentParams contains all the parameters to send to the API endpoint

for the get consent operation.

Typically these are written to a http.Request.

func NewGetConsentParams

func NewGetConsentParams() *GetConsentParams

NewGetConsentParams creates a new GetConsentParams 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 NewGetConsentParamsWithContext

func NewGetConsentParamsWithContext(ctx context.Context) *GetConsentParams

NewGetConsentParamsWithContext creates a new GetConsentParams object with the ability to set a context for a request.

func NewGetConsentParamsWithHTTPClient

func NewGetConsentParamsWithHTTPClient(client *http.Client) *GetConsentParams

NewGetConsentParamsWithHTTPClient creates a new GetConsentParams object with the ability to set a custom HTTPClient for a request.

func NewGetConsentParamsWithTimeout

func NewGetConsentParamsWithTimeout(timeout time.Duration) *GetConsentParams

NewGetConsentParamsWithTimeout creates a new GetConsentParams object with the ability to set a timeout on a request.

func (*GetConsentParams) SetConsent

func (o *GetConsentParams) SetConsent(consent string)

SetConsent adds the consent to the get consent params

func (*GetConsentParams) SetContext

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

SetContext adds the context to the get consent params

func (*GetConsentParams) SetDefaults

func (o *GetConsentParams) SetDefaults()

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

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

func (*GetConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get consent params

func (*GetConsentParams) SetIfMatch

func (o *GetConsentParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get consent params

func (*GetConsentParams) SetTimeout

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

SetTimeout adds the timeout to the get consent params

func (*GetConsentParams) WithConsent

func (o *GetConsentParams) WithConsent(consent string) *GetConsentParams

WithConsent adds the consent to the get consent params

func (*GetConsentParams) WithContext

func (o *GetConsentParams) WithContext(ctx context.Context) *GetConsentParams

WithContext adds the context to the get consent params

func (*GetConsentParams) WithDefaults

func (o *GetConsentParams) WithDefaults() *GetConsentParams

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

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

func (*GetConsentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get consent params

func (*GetConsentParams) WithIfMatch

func (o *GetConsentParams) WithIfMatch(ifMatch *string) *GetConsentParams

WithIfMatch adds the ifMatch to the get consent params

func (*GetConsentParams) WithTimeout

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

WithTimeout adds the timeout to the get consent params

func (*GetConsentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetConsentReader

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

GetConsentReader is a Reader for the GetConsent structure.

func (*GetConsentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConsentTooManyRequests

type GetConsentTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetConsentTooManyRequests

func NewGetConsentTooManyRequests() *GetConsentTooManyRequests

NewGetConsentTooManyRequests creates a GetConsentTooManyRequests with default headers values

func (*GetConsentTooManyRequests) Code

func (o *GetConsentTooManyRequests) Code() int

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

func (*GetConsentTooManyRequests) Error

func (o *GetConsentTooManyRequests) Error() string

func (*GetConsentTooManyRequests) GetPayload

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

func (*GetConsentTooManyRequests) IsClientError

func (o *GetConsentTooManyRequests) IsClientError() bool

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

func (*GetConsentTooManyRequests) IsCode

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

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

func (*GetConsentTooManyRequests) IsRedirect

func (o *GetConsentTooManyRequests) IsRedirect() bool

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

func (*GetConsentTooManyRequests) IsServerError

func (o *GetConsentTooManyRequests) IsServerError() bool

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

func (*GetConsentTooManyRequests) IsSuccess

func (o *GetConsentTooManyRequests) IsSuccess() bool

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

func (*GetConsentTooManyRequests) String

func (o *GetConsentTooManyRequests) String() string

type GetConsentUnauthorized

type GetConsentUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetConsentUnauthorized

func NewGetConsentUnauthorized() *GetConsentUnauthorized

NewGetConsentUnauthorized creates a GetConsentUnauthorized with default headers values

func (*GetConsentUnauthorized) Code

func (o *GetConsentUnauthorized) Code() int

Code gets the status code for the get consent unauthorized response

func (*GetConsentUnauthorized) Error

func (o *GetConsentUnauthorized) Error() string

func (*GetConsentUnauthorized) GetPayload

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

func (*GetConsentUnauthorized) IsClientError

func (o *GetConsentUnauthorized) IsClientError() bool

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

func (*GetConsentUnauthorized) IsCode

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

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

func (*GetConsentUnauthorized) IsRedirect

func (o *GetConsentUnauthorized) IsRedirect() bool

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

func (*GetConsentUnauthorized) IsServerError

func (o *GetConsentUnauthorized) IsServerError() bool

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

func (*GetConsentUnauthorized) IsSuccess

func (o *GetConsentUnauthorized) IsSuccess() bool

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

func (*GetConsentUnauthorized) String

func (o *GetConsentUnauthorized) String() string

type ListConsentActionsForbidden

type ListConsentActionsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListConsentActionsForbidden

func NewListConsentActionsForbidden() *ListConsentActionsForbidden

NewListConsentActionsForbidden creates a ListConsentActionsForbidden with default headers values

func (*ListConsentActionsForbidden) Code

func (o *ListConsentActionsForbidden) Code() int

Code gets the status code for the list consent actions forbidden response

func (*ListConsentActionsForbidden) Error

func (*ListConsentActionsForbidden) GetPayload

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

func (*ListConsentActionsForbidden) IsClientError

func (o *ListConsentActionsForbidden) IsClientError() bool

IsClientError returns true when this list consent actions forbidden response has a 4xx status code

func (*ListConsentActionsForbidden) IsCode

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

IsCode returns true when this list consent actions forbidden response a status code equal to that given

func (*ListConsentActionsForbidden) IsRedirect

func (o *ListConsentActionsForbidden) IsRedirect() bool

IsRedirect returns true when this list consent actions forbidden response has a 3xx status code

func (*ListConsentActionsForbidden) IsServerError

func (o *ListConsentActionsForbidden) IsServerError() bool

IsServerError returns true when this list consent actions forbidden response has a 5xx status code

func (*ListConsentActionsForbidden) IsSuccess

func (o *ListConsentActionsForbidden) IsSuccess() bool

IsSuccess returns true when this list consent actions forbidden response has a 2xx status code

func (*ListConsentActionsForbidden) String

func (o *ListConsentActionsForbidden) String() string

type ListConsentActionsOK

type ListConsentActionsOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ConsentActions
}

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

Consent actions

func NewListConsentActionsOK

func NewListConsentActionsOK() *ListConsentActionsOK

NewListConsentActionsOK creates a ListConsentActionsOK with default headers values

func (*ListConsentActionsOK) Code

func (o *ListConsentActionsOK) Code() int

Code gets the status code for the list consent actions o k response

func (*ListConsentActionsOK) Error

func (o *ListConsentActionsOK) Error() string

func (*ListConsentActionsOK) GetPayload

func (o *ListConsentActionsOK) GetPayload() *models.ConsentActions

func (*ListConsentActionsOK) IsClientError

func (o *ListConsentActionsOK) IsClientError() bool

IsClientError returns true when this list consent actions o k response has a 4xx status code

func (*ListConsentActionsOK) IsCode

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

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

func (*ListConsentActionsOK) IsRedirect

func (o *ListConsentActionsOK) IsRedirect() bool

IsRedirect returns true when this list consent actions o k response has a 3xx status code

func (*ListConsentActionsOK) IsServerError

func (o *ListConsentActionsOK) IsServerError() bool

IsServerError returns true when this list consent actions o k response has a 5xx status code

func (*ListConsentActionsOK) IsSuccess

func (o *ListConsentActionsOK) IsSuccess() bool

IsSuccess returns true when this list consent actions o k response has a 2xx status code

func (*ListConsentActionsOK) String

func (o *ListConsentActionsOK) String() string

type ListConsentActionsParams

type ListConsentActionsParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

ListConsentActionsParams contains all the parameters to send to the API endpoint

for the list consent actions operation.

Typically these are written to a http.Request.

func NewListConsentActionsParams

func NewListConsentActionsParams() *ListConsentActionsParams

NewListConsentActionsParams creates a new ListConsentActionsParams 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 NewListConsentActionsParamsWithContext

func NewListConsentActionsParamsWithContext(ctx context.Context) *ListConsentActionsParams

NewListConsentActionsParamsWithContext creates a new ListConsentActionsParams object with the ability to set a context for a request.

func NewListConsentActionsParamsWithHTTPClient

func NewListConsentActionsParamsWithHTTPClient(client *http.Client) *ListConsentActionsParams

NewListConsentActionsParamsWithHTTPClient creates a new ListConsentActionsParams object with the ability to set a custom HTTPClient for a request.

func NewListConsentActionsParamsWithTimeout

func NewListConsentActionsParamsWithTimeout(timeout time.Duration) *ListConsentActionsParams

NewListConsentActionsParamsWithTimeout creates a new ListConsentActionsParams object with the ability to set a timeout on a request.

func (*ListConsentActionsParams) SetContext

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

SetContext adds the context to the list consent actions params

func (*ListConsentActionsParams) SetDefaults

func (o *ListConsentActionsParams) SetDefaults()

SetDefaults hydrates default values in the list consent actions params (not the query body).

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

func (*ListConsentActionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list consent actions params

func (*ListConsentActionsParams) SetIfMatch

func (o *ListConsentActionsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list consent actions params

func (*ListConsentActionsParams) SetTimeout

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

SetTimeout adds the timeout to the list consent actions params

func (*ListConsentActionsParams) WithContext

WithContext adds the context to the list consent actions params

func (*ListConsentActionsParams) WithDefaults

WithDefaults hydrates default values in the list consent actions params (not the query body).

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

func (*ListConsentActionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list consent actions params

func (*ListConsentActionsParams) WithIfMatch

func (o *ListConsentActionsParams) WithIfMatch(ifMatch *string) *ListConsentActionsParams

WithIfMatch adds the ifMatch to the list consent actions params

func (*ListConsentActionsParams) WithTimeout

WithTimeout adds the timeout to the list consent actions params

func (*ListConsentActionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListConsentActionsReader

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

ListConsentActionsReader is a Reader for the ListConsentActions structure.

func (*ListConsentActionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConsentActionsTooManyRequests

type ListConsentActionsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListConsentActionsTooManyRequests

func NewListConsentActionsTooManyRequests() *ListConsentActionsTooManyRequests

NewListConsentActionsTooManyRequests creates a ListConsentActionsTooManyRequests with default headers values

func (*ListConsentActionsTooManyRequests) Code

Code gets the status code for the list consent actions too many requests response

func (*ListConsentActionsTooManyRequests) Error

func (*ListConsentActionsTooManyRequests) GetPayload

func (*ListConsentActionsTooManyRequests) IsClientError

func (o *ListConsentActionsTooManyRequests) IsClientError() bool

IsClientError returns true when this list consent actions too many requests response has a 4xx status code

func (*ListConsentActionsTooManyRequests) IsCode

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

IsCode returns true when this list consent actions too many requests response a status code equal to that given

func (*ListConsentActionsTooManyRequests) IsRedirect

func (o *ListConsentActionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list consent actions too many requests response has a 3xx status code

func (*ListConsentActionsTooManyRequests) IsServerError

func (o *ListConsentActionsTooManyRequests) IsServerError() bool

IsServerError returns true when this list consent actions too many requests response has a 5xx status code

func (*ListConsentActionsTooManyRequests) IsSuccess

func (o *ListConsentActionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list consent actions too many requests response has a 2xx status code

func (*ListConsentActionsTooManyRequests) String

type ListConsentActionsUnauthorized

type ListConsentActionsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListConsentActionsUnauthorized

func NewListConsentActionsUnauthorized() *ListConsentActionsUnauthorized

NewListConsentActionsUnauthorized creates a ListConsentActionsUnauthorized with default headers values

func (*ListConsentActionsUnauthorized) Code

Code gets the status code for the list consent actions unauthorized response

func (*ListConsentActionsUnauthorized) Error

func (*ListConsentActionsUnauthorized) GetPayload

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

func (*ListConsentActionsUnauthorized) IsClientError

func (o *ListConsentActionsUnauthorized) IsClientError() bool

IsClientError returns true when this list consent actions unauthorized response has a 4xx status code

func (*ListConsentActionsUnauthorized) IsCode

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

IsCode returns true when this list consent actions unauthorized response a status code equal to that given

func (*ListConsentActionsUnauthorized) IsRedirect

func (o *ListConsentActionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list consent actions unauthorized response has a 3xx status code

func (*ListConsentActionsUnauthorized) IsServerError

func (o *ListConsentActionsUnauthorized) IsServerError() bool

IsServerError returns true when this list consent actions unauthorized response has a 5xx status code

func (*ListConsentActionsUnauthorized) IsSuccess

func (o *ListConsentActionsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list consent actions unauthorized response has a 2xx status code

func (*ListConsentActionsUnauthorized) String

type ListConsentsForbidden

type ListConsentsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListConsentsForbidden

func NewListConsentsForbidden() *ListConsentsForbidden

NewListConsentsForbidden creates a ListConsentsForbidden with default headers values

func (*ListConsentsForbidden) Code

func (o *ListConsentsForbidden) Code() int

Code gets the status code for the list consents forbidden response

func (*ListConsentsForbidden) Error

func (o *ListConsentsForbidden) Error() string

func (*ListConsentsForbidden) GetPayload

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

func (*ListConsentsForbidden) IsClientError

func (o *ListConsentsForbidden) IsClientError() bool

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

func (*ListConsentsForbidden) IsCode

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

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

func (*ListConsentsForbidden) IsRedirect

func (o *ListConsentsForbidden) IsRedirect() bool

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

func (*ListConsentsForbidden) IsServerError

func (o *ListConsentsForbidden) IsServerError() bool

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

func (*ListConsentsForbidden) IsSuccess

func (o *ListConsentsForbidden) IsSuccess() bool

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

func (*ListConsentsForbidden) String

func (o *ListConsentsForbidden) String() string

type ListConsentsOK

type ListConsentsOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Consents
}

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

Consents

func NewListConsentsOK

func NewListConsentsOK() *ListConsentsOK

NewListConsentsOK creates a ListConsentsOK with default headers values

func (*ListConsentsOK) Code

func (o *ListConsentsOK) Code() int

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

func (*ListConsentsOK) Error

func (o *ListConsentsOK) Error() string

func (*ListConsentsOK) GetPayload

func (o *ListConsentsOK) GetPayload() *models.Consents

func (*ListConsentsOK) IsClientError

func (o *ListConsentsOK) IsClientError() bool

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

func (*ListConsentsOK) IsCode

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

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

func (*ListConsentsOK) IsRedirect

func (o *ListConsentsOK) IsRedirect() bool

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

func (*ListConsentsOK) IsServerError

func (o *ListConsentsOK) IsServerError() bool

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

func (*ListConsentsOK) IsSuccess

func (o *ListConsentsOK) IsSuccess() bool

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

func (*ListConsentsOK) String

func (o *ListConsentsOK) String() string

type ListConsentsParams

type ListConsentsParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

ListConsentsParams contains all the parameters to send to the API endpoint

for the list consents operation.

Typically these are written to a http.Request.

func NewListConsentsParams

func NewListConsentsParams() *ListConsentsParams

NewListConsentsParams creates a new ListConsentsParams 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 NewListConsentsParamsWithContext

func NewListConsentsParamsWithContext(ctx context.Context) *ListConsentsParams

NewListConsentsParamsWithContext creates a new ListConsentsParams object with the ability to set a context for a request.

func NewListConsentsParamsWithHTTPClient

func NewListConsentsParamsWithHTTPClient(client *http.Client) *ListConsentsParams

NewListConsentsParamsWithHTTPClient creates a new ListConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewListConsentsParamsWithTimeout

func NewListConsentsParamsWithTimeout(timeout time.Duration) *ListConsentsParams

NewListConsentsParamsWithTimeout creates a new ListConsentsParams object with the ability to set a timeout on a request.

func (*ListConsentsParams) SetContext

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

SetContext adds the context to the list consents params

func (*ListConsentsParams) SetDefaults

func (o *ListConsentsParams) SetDefaults()

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

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

func (*ListConsentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list consents params

func (*ListConsentsParams) SetIfMatch

func (o *ListConsentsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list consents params

func (*ListConsentsParams) SetTimeout

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

SetTimeout adds the timeout to the list consents params

func (*ListConsentsParams) WithContext

WithContext adds the context to the list consents params

func (*ListConsentsParams) WithDefaults

func (o *ListConsentsParams) WithDefaults() *ListConsentsParams

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

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

func (*ListConsentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list consents params

func (*ListConsentsParams) WithIfMatch

func (o *ListConsentsParams) WithIfMatch(ifMatch *string) *ListConsentsParams

WithIfMatch adds the ifMatch to the list consents params

func (*ListConsentsParams) WithTimeout

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

WithTimeout adds the timeout to the list consents params

func (*ListConsentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListConsentsReader

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

ListConsentsReader is a Reader for the ListConsents structure.

func (*ListConsentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConsentsTooManyRequests

type ListConsentsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListConsentsTooManyRequests

func NewListConsentsTooManyRequests() *ListConsentsTooManyRequests

NewListConsentsTooManyRequests creates a ListConsentsTooManyRequests with default headers values

func (*ListConsentsTooManyRequests) Code

func (o *ListConsentsTooManyRequests) Code() int

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

func (*ListConsentsTooManyRequests) Error

func (*ListConsentsTooManyRequests) GetPayload

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

func (*ListConsentsTooManyRequests) IsClientError

func (o *ListConsentsTooManyRequests) IsClientError() bool

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

func (*ListConsentsTooManyRequests) IsCode

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

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

func (*ListConsentsTooManyRequests) IsRedirect

func (o *ListConsentsTooManyRequests) IsRedirect() bool

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

func (*ListConsentsTooManyRequests) IsServerError

func (o *ListConsentsTooManyRequests) IsServerError() bool

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

func (*ListConsentsTooManyRequests) IsSuccess

func (o *ListConsentsTooManyRequests) IsSuccess() bool

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

func (*ListConsentsTooManyRequests) String

func (o *ListConsentsTooManyRequests) String() string

type ListConsentsUnauthorized

type ListConsentsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListConsentsUnauthorized

func NewListConsentsUnauthorized() *ListConsentsUnauthorized

NewListConsentsUnauthorized creates a ListConsentsUnauthorized with default headers values

func (*ListConsentsUnauthorized) Code

func (o *ListConsentsUnauthorized) Code() int

Code gets the status code for the list consents unauthorized response

func (*ListConsentsUnauthorized) Error

func (o *ListConsentsUnauthorized) Error() string

func (*ListConsentsUnauthorized) GetPayload

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

func (*ListConsentsUnauthorized) IsClientError

func (o *ListConsentsUnauthorized) IsClientError() bool

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

func (*ListConsentsUnauthorized) IsCode

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

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

func (*ListConsentsUnauthorized) IsRedirect

func (o *ListConsentsUnauthorized) IsRedirect() bool

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

func (*ListConsentsUnauthorized) IsServerError

func (o *ListConsentsUnauthorized) IsServerError() bool

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

func (*ListConsentsUnauthorized) IsSuccess

func (o *ListConsentsUnauthorized) IsSuccess() bool

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

func (*ListConsentsUnauthorized) String

func (o *ListConsentsUnauthorized) String() string

type ListPrivacyLedgerEventsBySubjectForbidden

type ListPrivacyLedgerEventsBySubjectForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListPrivacyLedgerEventsBySubjectForbidden

func NewListPrivacyLedgerEventsBySubjectForbidden() *ListPrivacyLedgerEventsBySubjectForbidden

NewListPrivacyLedgerEventsBySubjectForbidden creates a ListPrivacyLedgerEventsBySubjectForbidden with default headers values

func (*ListPrivacyLedgerEventsBySubjectForbidden) Code

Code gets the status code for the list privacy ledger events by subject forbidden response

func (*ListPrivacyLedgerEventsBySubjectForbidden) Error

func (*ListPrivacyLedgerEventsBySubjectForbidden) GetPayload

func (*ListPrivacyLedgerEventsBySubjectForbidden) IsClientError

IsClientError returns true when this list privacy ledger events by subject forbidden response has a 4xx status code

func (*ListPrivacyLedgerEventsBySubjectForbidden) IsCode

IsCode returns true when this list privacy ledger events by subject forbidden response a status code equal to that given

func (*ListPrivacyLedgerEventsBySubjectForbidden) IsRedirect

IsRedirect returns true when this list privacy ledger events by subject forbidden response has a 3xx status code

func (*ListPrivacyLedgerEventsBySubjectForbidden) IsServerError

IsServerError returns true when this list privacy ledger events by subject forbidden response has a 5xx status code

func (*ListPrivacyLedgerEventsBySubjectForbidden) IsSuccess

IsSuccess returns true when this list privacy ledger events by subject forbidden response has a 2xx status code

func (*ListPrivacyLedgerEventsBySubjectForbidden) String

type ListPrivacyLedgerEventsBySubjectNotFound

type ListPrivacyLedgerEventsBySubjectNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListPrivacyLedgerEventsBySubjectNotFound

func NewListPrivacyLedgerEventsBySubjectNotFound() *ListPrivacyLedgerEventsBySubjectNotFound

NewListPrivacyLedgerEventsBySubjectNotFound creates a ListPrivacyLedgerEventsBySubjectNotFound with default headers values

func (*ListPrivacyLedgerEventsBySubjectNotFound) Code

Code gets the status code for the list privacy ledger events by subject not found response

func (*ListPrivacyLedgerEventsBySubjectNotFound) Error

func (*ListPrivacyLedgerEventsBySubjectNotFound) GetPayload

func (*ListPrivacyLedgerEventsBySubjectNotFound) IsClientError

IsClientError returns true when this list privacy ledger events by subject not found response has a 4xx status code

func (*ListPrivacyLedgerEventsBySubjectNotFound) IsCode

IsCode returns true when this list privacy ledger events by subject not found response a status code equal to that given

func (*ListPrivacyLedgerEventsBySubjectNotFound) IsRedirect

IsRedirect returns true when this list privacy ledger events by subject not found response has a 3xx status code

func (*ListPrivacyLedgerEventsBySubjectNotFound) IsServerError

IsServerError returns true when this list privacy ledger events by subject not found response has a 5xx status code

func (*ListPrivacyLedgerEventsBySubjectNotFound) IsSuccess

IsSuccess returns true when this list privacy ledger events by subject not found response has a 2xx status code

func (*ListPrivacyLedgerEventsBySubjectNotFound) String

type ListPrivacyLedgerEventsBySubjectOK

type ListPrivacyLedgerEventsBySubjectOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.PrivacyLedgerEvents
}

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

Privacy ledger events

func NewListPrivacyLedgerEventsBySubjectOK

func NewListPrivacyLedgerEventsBySubjectOK() *ListPrivacyLedgerEventsBySubjectOK

NewListPrivacyLedgerEventsBySubjectOK creates a ListPrivacyLedgerEventsBySubjectOK with default headers values

func (*ListPrivacyLedgerEventsBySubjectOK) Code

Code gets the status code for the list privacy ledger events by subject o k response

func (*ListPrivacyLedgerEventsBySubjectOK) Error

func (*ListPrivacyLedgerEventsBySubjectOK) GetPayload

func (*ListPrivacyLedgerEventsBySubjectOK) IsClientError

func (o *ListPrivacyLedgerEventsBySubjectOK) IsClientError() bool

IsClientError returns true when this list privacy ledger events by subject o k response has a 4xx status code

func (*ListPrivacyLedgerEventsBySubjectOK) IsCode

IsCode returns true when this list privacy ledger events by subject o k response a status code equal to that given

func (*ListPrivacyLedgerEventsBySubjectOK) IsRedirect

func (o *ListPrivacyLedgerEventsBySubjectOK) IsRedirect() bool

IsRedirect returns true when this list privacy ledger events by subject o k response has a 3xx status code

func (*ListPrivacyLedgerEventsBySubjectOK) IsServerError

func (o *ListPrivacyLedgerEventsBySubjectOK) IsServerError() bool

IsServerError returns true when this list privacy ledger events by subject o k response has a 5xx status code

func (*ListPrivacyLedgerEventsBySubjectOK) IsSuccess

IsSuccess returns true when this list privacy ledger events by subject o k response has a 2xx status code

func (*ListPrivacyLedgerEventsBySubjectOK) String

type ListPrivacyLedgerEventsBySubjectParams

type ListPrivacyLedgerEventsBySubjectParams struct {

	/* From.

	   Query events from timestamp (default 0)

	   Format: int64
	*/
	From *int64

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Sub.

	   Subject

	   Format: subject
	*/
	Sub *string

	/* To.

	   Query events to timestamp (default current time)

	   Format: int64
	*/
	To *int64

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

ListPrivacyLedgerEventsBySubjectParams contains all the parameters to send to the API endpoint

for the list privacy ledger events by subject operation.

Typically these are written to a http.Request.

func NewListPrivacyLedgerEventsBySubjectParams

func NewListPrivacyLedgerEventsBySubjectParams() *ListPrivacyLedgerEventsBySubjectParams

NewListPrivacyLedgerEventsBySubjectParams creates a new ListPrivacyLedgerEventsBySubjectParams 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 NewListPrivacyLedgerEventsBySubjectParamsWithContext

func NewListPrivacyLedgerEventsBySubjectParamsWithContext(ctx context.Context) *ListPrivacyLedgerEventsBySubjectParams

NewListPrivacyLedgerEventsBySubjectParamsWithContext creates a new ListPrivacyLedgerEventsBySubjectParams object with the ability to set a context for a request.

func NewListPrivacyLedgerEventsBySubjectParamsWithHTTPClient

func NewListPrivacyLedgerEventsBySubjectParamsWithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsBySubjectParams

NewListPrivacyLedgerEventsBySubjectParamsWithHTTPClient creates a new ListPrivacyLedgerEventsBySubjectParams object with the ability to set a custom HTTPClient for a request.

func NewListPrivacyLedgerEventsBySubjectParamsWithTimeout

func NewListPrivacyLedgerEventsBySubjectParamsWithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsBySubjectParams

NewListPrivacyLedgerEventsBySubjectParamsWithTimeout creates a new ListPrivacyLedgerEventsBySubjectParams object with the ability to set a timeout on a request.

func (*ListPrivacyLedgerEventsBySubjectParams) SetContext

SetContext adds the context to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) SetDefaults

func (o *ListPrivacyLedgerEventsBySubjectParams) SetDefaults()

SetDefaults hydrates default values in the list privacy ledger events by subject params (not the query body).

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

func (*ListPrivacyLedgerEventsBySubjectParams) SetFrom

SetFrom adds the from to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) SetIfMatch

func (o *ListPrivacyLedgerEventsBySubjectParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) SetSub

SetSub adds the sub to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) SetTimeout

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

SetTimeout adds the timeout to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) SetTo

SetTo adds the to to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WithContext

WithContext adds the context to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WithDefaults

WithDefaults hydrates default values in the list privacy ledger events by subject params (not the query body).

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

func (*ListPrivacyLedgerEventsBySubjectParams) WithFrom

WithFrom adds the from to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WithIfMatch

WithIfMatch adds the ifMatch to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WithSub

WithSub adds the sub to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WithTimeout

WithTimeout adds the timeout to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WithTo

WithTo adds the to to the list privacy ledger events by subject params

func (*ListPrivacyLedgerEventsBySubjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPrivacyLedgerEventsBySubjectReader

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

ListPrivacyLedgerEventsBySubjectReader is a Reader for the ListPrivacyLedgerEventsBySubject structure.

func (*ListPrivacyLedgerEventsBySubjectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPrivacyLedgerEventsBySubjectTooManyRequests

type ListPrivacyLedgerEventsBySubjectTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListPrivacyLedgerEventsBySubjectTooManyRequests

func NewListPrivacyLedgerEventsBySubjectTooManyRequests() *ListPrivacyLedgerEventsBySubjectTooManyRequests

NewListPrivacyLedgerEventsBySubjectTooManyRequests creates a ListPrivacyLedgerEventsBySubjectTooManyRequests with default headers values

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) Code

Code gets the status code for the list privacy ledger events by subject too many requests response

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) Error

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) GetPayload

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsClientError

IsClientError returns true when this list privacy ledger events by subject too many requests response has a 4xx status code

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsCode

IsCode returns true when this list privacy ledger events by subject too many requests response a status code equal to that given

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsRedirect

IsRedirect returns true when this list privacy ledger events by subject too many requests response has a 3xx status code

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsServerError

IsServerError returns true when this list privacy ledger events by subject too many requests response has a 5xx status code

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsSuccess

IsSuccess returns true when this list privacy ledger events by subject too many requests response has a 2xx status code

func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) String

type ListPrivacyLedgerEventsBySubjectUnauthorized

type ListPrivacyLedgerEventsBySubjectUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListPrivacyLedgerEventsBySubjectUnauthorized

func NewListPrivacyLedgerEventsBySubjectUnauthorized() *ListPrivacyLedgerEventsBySubjectUnauthorized

NewListPrivacyLedgerEventsBySubjectUnauthorized creates a ListPrivacyLedgerEventsBySubjectUnauthorized with default headers values

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) Code

Code gets the status code for the list privacy ledger events by subject unauthorized response

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) Error

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) GetPayload

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsClientError

IsClientError returns true when this list privacy ledger events by subject unauthorized response has a 4xx status code

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsCode

IsCode returns true when this list privacy ledger events by subject unauthorized response a status code equal to that given

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsRedirect

IsRedirect returns true when this list privacy ledger events by subject unauthorized response has a 3xx status code

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsServerError

IsServerError returns true when this list privacy ledger events by subject unauthorized response has a 5xx status code

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsSuccess

IsSuccess returns true when this list privacy ledger events by subject unauthorized response has a 2xx status code

func (*ListPrivacyLedgerEventsBySubjectUnauthorized) String

type UpdateConsentActionConflict

type UpdateConsentActionConflict struct {
	Payload *models.Error
}

UpdateConsentActionConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateConsentActionConflict

func NewUpdateConsentActionConflict() *UpdateConsentActionConflict

NewUpdateConsentActionConflict creates a UpdateConsentActionConflict with default headers values

func (*UpdateConsentActionConflict) Code

func (o *UpdateConsentActionConflict) Code() int

Code gets the status code for the update consent action conflict response

func (*UpdateConsentActionConflict) Error

func (*UpdateConsentActionConflict) GetPayload

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

func (*UpdateConsentActionConflict) IsClientError

func (o *UpdateConsentActionConflict) IsClientError() bool

IsClientError returns true when this update consent action conflict response has a 4xx status code

func (*UpdateConsentActionConflict) IsCode

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

IsCode returns true when this update consent action conflict response a status code equal to that given

func (*UpdateConsentActionConflict) IsRedirect

func (o *UpdateConsentActionConflict) IsRedirect() bool

IsRedirect returns true when this update consent action conflict response has a 3xx status code

func (*UpdateConsentActionConflict) IsServerError

func (o *UpdateConsentActionConflict) IsServerError() bool

IsServerError returns true when this update consent action conflict response has a 5xx status code

func (*UpdateConsentActionConflict) IsSuccess

func (o *UpdateConsentActionConflict) IsSuccess() bool

IsSuccess returns true when this update consent action conflict response has a 2xx status code

func (*UpdateConsentActionConflict) String

func (o *UpdateConsentActionConflict) String() string

type UpdateConsentActionCreated

type UpdateConsentActionCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ConsentActionWithConsents
}

UpdateConsentActionCreated describes a response with status code 201, with default header values.

Consent action with consents

func NewUpdateConsentActionCreated

func NewUpdateConsentActionCreated() *UpdateConsentActionCreated

NewUpdateConsentActionCreated creates a UpdateConsentActionCreated with default headers values

func (*UpdateConsentActionCreated) Code

func (o *UpdateConsentActionCreated) Code() int

Code gets the status code for the update consent action created response

func (*UpdateConsentActionCreated) Error

func (*UpdateConsentActionCreated) GetPayload

func (*UpdateConsentActionCreated) IsClientError

func (o *UpdateConsentActionCreated) IsClientError() bool

IsClientError returns true when this update consent action created response has a 4xx status code

func (*UpdateConsentActionCreated) IsCode

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

IsCode returns true when this update consent action created response a status code equal to that given

func (*UpdateConsentActionCreated) IsRedirect

func (o *UpdateConsentActionCreated) IsRedirect() bool

IsRedirect returns true when this update consent action created response has a 3xx status code

func (*UpdateConsentActionCreated) IsServerError

func (o *UpdateConsentActionCreated) IsServerError() bool

IsServerError returns true when this update consent action created response has a 5xx status code

func (*UpdateConsentActionCreated) IsSuccess

func (o *UpdateConsentActionCreated) IsSuccess() bool

IsSuccess returns true when this update consent action created response has a 2xx status code

func (*UpdateConsentActionCreated) String

func (o *UpdateConsentActionCreated) String() string

type UpdateConsentActionForbidden

type UpdateConsentActionForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewUpdateConsentActionForbidden

func NewUpdateConsentActionForbidden() *UpdateConsentActionForbidden

NewUpdateConsentActionForbidden creates a UpdateConsentActionForbidden with default headers values

func (*UpdateConsentActionForbidden) Code

Code gets the status code for the update consent action forbidden response

func (*UpdateConsentActionForbidden) Error

func (*UpdateConsentActionForbidden) GetPayload

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

func (*UpdateConsentActionForbidden) IsClientError

func (o *UpdateConsentActionForbidden) IsClientError() bool

IsClientError returns true when this update consent action forbidden response has a 4xx status code

func (*UpdateConsentActionForbidden) IsCode

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

IsCode returns true when this update consent action forbidden response a status code equal to that given

func (*UpdateConsentActionForbidden) IsRedirect

func (o *UpdateConsentActionForbidden) IsRedirect() bool

IsRedirect returns true when this update consent action forbidden response has a 3xx status code

func (*UpdateConsentActionForbidden) IsServerError

func (o *UpdateConsentActionForbidden) IsServerError() bool

IsServerError returns true when this update consent action forbidden response has a 5xx status code

func (*UpdateConsentActionForbidden) IsSuccess

func (o *UpdateConsentActionForbidden) IsSuccess() bool

IsSuccess returns true when this update consent action forbidden response has a 2xx status code

func (*UpdateConsentActionForbidden) String

type UpdateConsentActionNotFound

type UpdateConsentActionNotFound struct {
	Payload *models.Error
}

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

Not found

func NewUpdateConsentActionNotFound

func NewUpdateConsentActionNotFound() *UpdateConsentActionNotFound

NewUpdateConsentActionNotFound creates a UpdateConsentActionNotFound with default headers values

func (*UpdateConsentActionNotFound) Code

func (o *UpdateConsentActionNotFound) Code() int

Code gets the status code for the update consent action not found response

func (*UpdateConsentActionNotFound) Error

func (*UpdateConsentActionNotFound) GetPayload

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

func (*UpdateConsentActionNotFound) IsClientError

func (o *UpdateConsentActionNotFound) IsClientError() bool

IsClientError returns true when this update consent action not found response has a 4xx status code

func (*UpdateConsentActionNotFound) IsCode

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

IsCode returns true when this update consent action not found response a status code equal to that given

func (*UpdateConsentActionNotFound) IsRedirect

func (o *UpdateConsentActionNotFound) IsRedirect() bool

IsRedirect returns true when this update consent action not found response has a 3xx status code

func (*UpdateConsentActionNotFound) IsServerError

func (o *UpdateConsentActionNotFound) IsServerError() bool

IsServerError returns true when this update consent action not found response has a 5xx status code

func (*UpdateConsentActionNotFound) IsSuccess

func (o *UpdateConsentActionNotFound) IsSuccess() bool

IsSuccess returns true when this update consent action not found response has a 2xx status code

func (*UpdateConsentActionNotFound) String

func (o *UpdateConsentActionNotFound) String() string

type UpdateConsentActionParams

type UpdateConsentActionParams struct {

	// ConsentAction.
	ConsentAction *models.ConsentActionWithConsents

	// Action.
	Action string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

UpdateConsentActionParams contains all the parameters to send to the API endpoint

for the update consent action operation.

Typically these are written to a http.Request.

func NewUpdateConsentActionParams

func NewUpdateConsentActionParams() *UpdateConsentActionParams

NewUpdateConsentActionParams creates a new UpdateConsentActionParams 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 NewUpdateConsentActionParamsWithContext

func NewUpdateConsentActionParamsWithContext(ctx context.Context) *UpdateConsentActionParams

NewUpdateConsentActionParamsWithContext creates a new UpdateConsentActionParams object with the ability to set a context for a request.

func NewUpdateConsentActionParamsWithHTTPClient

func NewUpdateConsentActionParamsWithHTTPClient(client *http.Client) *UpdateConsentActionParams

NewUpdateConsentActionParamsWithHTTPClient creates a new UpdateConsentActionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConsentActionParamsWithTimeout

func NewUpdateConsentActionParamsWithTimeout(timeout time.Duration) *UpdateConsentActionParams

NewUpdateConsentActionParamsWithTimeout creates a new UpdateConsentActionParams object with the ability to set a timeout on a request.

func (*UpdateConsentActionParams) SetAction

func (o *UpdateConsentActionParams) SetAction(action string)

SetAction adds the action to the update consent action params

func (*UpdateConsentActionParams) SetConsentAction

func (o *UpdateConsentActionParams) SetConsentAction(consentAction *models.ConsentActionWithConsents)

SetConsentAction adds the consentAction to the update consent action params

func (*UpdateConsentActionParams) SetContext

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

SetContext adds the context to the update consent action params

func (*UpdateConsentActionParams) SetDefaults

func (o *UpdateConsentActionParams) SetDefaults()

SetDefaults hydrates default values in the update consent action params (not the query body).

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

func (*UpdateConsentActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update consent action params

func (*UpdateConsentActionParams) SetIfMatch

func (o *UpdateConsentActionParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update consent action params

func (*UpdateConsentActionParams) SetTimeout

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

SetTimeout adds the timeout to the update consent action params

func (*UpdateConsentActionParams) WithAction

WithAction adds the action to the update consent action params

func (*UpdateConsentActionParams) WithConsentAction

WithConsentAction adds the consentAction to the update consent action params

func (*UpdateConsentActionParams) WithContext

WithContext adds the context to the update consent action params

func (*UpdateConsentActionParams) WithDefaults

WithDefaults hydrates default values in the update consent action params (not the query body).

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

func (*UpdateConsentActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update consent action params

func (*UpdateConsentActionParams) WithIfMatch

WithIfMatch adds the ifMatch to the update consent action params

func (*UpdateConsentActionParams) WithTimeout

WithTimeout adds the timeout to the update consent action params

func (*UpdateConsentActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateConsentActionReader

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

UpdateConsentActionReader is a Reader for the UpdateConsentAction structure.

func (*UpdateConsentActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConsentActionTooManyRequests

type UpdateConsentActionTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewUpdateConsentActionTooManyRequests

func NewUpdateConsentActionTooManyRequests() *UpdateConsentActionTooManyRequests

NewUpdateConsentActionTooManyRequests creates a UpdateConsentActionTooManyRequests with default headers values

func (*UpdateConsentActionTooManyRequests) Code

Code gets the status code for the update consent action too many requests response

func (*UpdateConsentActionTooManyRequests) Error

func (*UpdateConsentActionTooManyRequests) GetPayload

func (*UpdateConsentActionTooManyRequests) IsClientError

func (o *UpdateConsentActionTooManyRequests) IsClientError() bool

IsClientError returns true when this update consent action too many requests response has a 4xx status code

func (*UpdateConsentActionTooManyRequests) IsCode

IsCode returns true when this update consent action too many requests response a status code equal to that given

func (*UpdateConsentActionTooManyRequests) IsRedirect

func (o *UpdateConsentActionTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update consent action too many requests response has a 3xx status code

func (*UpdateConsentActionTooManyRequests) IsServerError

func (o *UpdateConsentActionTooManyRequests) IsServerError() bool

IsServerError returns true when this update consent action too many requests response has a 5xx status code

func (*UpdateConsentActionTooManyRequests) IsSuccess

IsSuccess returns true when this update consent action too many requests response has a 2xx status code

func (*UpdateConsentActionTooManyRequests) String

type UpdateConsentActionUnauthorized

type UpdateConsentActionUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdateConsentActionUnauthorized

func NewUpdateConsentActionUnauthorized() *UpdateConsentActionUnauthorized

NewUpdateConsentActionUnauthorized creates a UpdateConsentActionUnauthorized with default headers values

func (*UpdateConsentActionUnauthorized) Code

Code gets the status code for the update consent action unauthorized response

func (*UpdateConsentActionUnauthorized) Error

func (*UpdateConsentActionUnauthorized) GetPayload

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

func (*UpdateConsentActionUnauthorized) IsClientError

func (o *UpdateConsentActionUnauthorized) IsClientError() bool

IsClientError returns true when this update consent action unauthorized response has a 4xx status code

func (*UpdateConsentActionUnauthorized) IsCode

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

IsCode returns true when this update consent action unauthorized response a status code equal to that given

func (*UpdateConsentActionUnauthorized) IsRedirect

func (o *UpdateConsentActionUnauthorized) IsRedirect() bool

IsRedirect returns true when this update consent action unauthorized response has a 3xx status code

func (*UpdateConsentActionUnauthorized) IsServerError

func (o *UpdateConsentActionUnauthorized) IsServerError() bool

IsServerError returns true when this update consent action unauthorized response has a 5xx status code

func (*UpdateConsentActionUnauthorized) IsSuccess

func (o *UpdateConsentActionUnauthorized) IsSuccess() bool

IsSuccess returns true when this update consent action unauthorized response has a 2xx status code

func (*UpdateConsentActionUnauthorized) String

type UpdateConsentActionUnprocessableEntity

type UpdateConsentActionUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewUpdateConsentActionUnprocessableEntity

func NewUpdateConsentActionUnprocessableEntity() *UpdateConsentActionUnprocessableEntity

NewUpdateConsentActionUnprocessableEntity creates a UpdateConsentActionUnprocessableEntity with default headers values

func (*UpdateConsentActionUnprocessableEntity) Code

Code gets the status code for the update consent action unprocessable entity response

func (*UpdateConsentActionUnprocessableEntity) Error

func (*UpdateConsentActionUnprocessableEntity) GetPayload

func (*UpdateConsentActionUnprocessableEntity) IsClientError

func (o *UpdateConsentActionUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update consent action unprocessable entity response has a 4xx status code

func (*UpdateConsentActionUnprocessableEntity) IsCode

IsCode returns true when this update consent action unprocessable entity response a status code equal to that given

func (*UpdateConsentActionUnprocessableEntity) IsRedirect

IsRedirect returns true when this update consent action unprocessable entity response has a 3xx status code

func (*UpdateConsentActionUnprocessableEntity) IsServerError

func (o *UpdateConsentActionUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update consent action unprocessable entity response has a 5xx status code

func (*UpdateConsentActionUnprocessableEntity) IsSuccess

IsSuccess returns true when this update consent action unprocessable entity response has a 2xx status code

func (*UpdateConsentActionUnprocessableEntity) String

type UpdateConsentConflict

type UpdateConsentConflict struct {
	Payload *models.Error
}

UpdateConsentConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateConsentConflict

func NewUpdateConsentConflict() *UpdateConsentConflict

NewUpdateConsentConflict creates a UpdateConsentConflict with default headers values

func (*UpdateConsentConflict) Code

func (o *UpdateConsentConflict) Code() int

Code gets the status code for the update consent conflict response

func (*UpdateConsentConflict) Error

func (o *UpdateConsentConflict) Error() string

func (*UpdateConsentConflict) GetPayload

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

func (*UpdateConsentConflict) IsClientError

func (o *UpdateConsentConflict) IsClientError() bool

IsClientError returns true when this update consent conflict response has a 4xx status code

func (*UpdateConsentConflict) IsCode

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

IsCode returns true when this update consent conflict response a status code equal to that given

func (*UpdateConsentConflict) IsRedirect

func (o *UpdateConsentConflict) IsRedirect() bool

IsRedirect returns true when this update consent conflict response has a 3xx status code

func (*UpdateConsentConflict) IsServerError

func (o *UpdateConsentConflict) IsServerError() bool

IsServerError returns true when this update consent conflict response has a 5xx status code

func (*UpdateConsentConflict) IsSuccess

func (o *UpdateConsentConflict) IsSuccess() bool

IsSuccess returns true when this update consent conflict response has a 2xx status code

func (*UpdateConsentConflict) String

func (o *UpdateConsentConflict) String() string

type UpdateConsentCreated

type UpdateConsentCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Consent
}

UpdateConsentCreated describes a response with status code 201, with default header values.

Consent

func NewUpdateConsentCreated

func NewUpdateConsentCreated() *UpdateConsentCreated

NewUpdateConsentCreated creates a UpdateConsentCreated with default headers values

func (*UpdateConsentCreated) Code

func (o *UpdateConsentCreated) Code() int

Code gets the status code for the update consent created response

func (*UpdateConsentCreated) Error

func (o *UpdateConsentCreated) Error() string

func (*UpdateConsentCreated) GetPayload

func (o *UpdateConsentCreated) GetPayload() *models.Consent

func (*UpdateConsentCreated) IsClientError

func (o *UpdateConsentCreated) IsClientError() bool

IsClientError returns true when this update consent created response has a 4xx status code

func (*UpdateConsentCreated) IsCode

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

IsCode returns true when this update consent created response a status code equal to that given

func (*UpdateConsentCreated) IsRedirect

func (o *UpdateConsentCreated) IsRedirect() bool

IsRedirect returns true when this update consent created response has a 3xx status code

func (*UpdateConsentCreated) IsServerError

func (o *UpdateConsentCreated) IsServerError() bool

IsServerError returns true when this update consent created response has a 5xx status code

func (*UpdateConsentCreated) IsSuccess

func (o *UpdateConsentCreated) IsSuccess() bool

IsSuccess returns true when this update consent created response has a 2xx status code

func (*UpdateConsentCreated) String

func (o *UpdateConsentCreated) String() string

type UpdateConsentForbidden

type UpdateConsentForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewUpdateConsentForbidden

func NewUpdateConsentForbidden() *UpdateConsentForbidden

NewUpdateConsentForbidden creates a UpdateConsentForbidden with default headers values

func (*UpdateConsentForbidden) Code

func (o *UpdateConsentForbidden) Code() int

Code gets the status code for the update consent forbidden response

func (*UpdateConsentForbidden) Error

func (o *UpdateConsentForbidden) Error() string

func (*UpdateConsentForbidden) GetPayload

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

func (*UpdateConsentForbidden) IsClientError

func (o *UpdateConsentForbidden) IsClientError() bool

IsClientError returns true when this update consent forbidden response has a 4xx status code

func (*UpdateConsentForbidden) IsCode

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

IsCode returns true when this update consent forbidden response a status code equal to that given

func (*UpdateConsentForbidden) IsRedirect

func (o *UpdateConsentForbidden) IsRedirect() bool

IsRedirect returns true when this update consent forbidden response has a 3xx status code

func (*UpdateConsentForbidden) IsServerError

func (o *UpdateConsentForbidden) IsServerError() bool

IsServerError returns true when this update consent forbidden response has a 5xx status code

func (*UpdateConsentForbidden) IsSuccess

func (o *UpdateConsentForbidden) IsSuccess() bool

IsSuccess returns true when this update consent forbidden response has a 2xx status code

func (*UpdateConsentForbidden) String

func (o *UpdateConsentForbidden) String() string

type UpdateConsentNotFound

type UpdateConsentNotFound struct {
	Payload *models.Error
}

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

Not found

func NewUpdateConsentNotFound

func NewUpdateConsentNotFound() *UpdateConsentNotFound

NewUpdateConsentNotFound creates a UpdateConsentNotFound with default headers values

func (*UpdateConsentNotFound) Code

func (o *UpdateConsentNotFound) Code() int

Code gets the status code for the update consent not found response

func (*UpdateConsentNotFound) Error

func (o *UpdateConsentNotFound) Error() string

func (*UpdateConsentNotFound) GetPayload

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

func (*UpdateConsentNotFound) IsClientError

func (o *UpdateConsentNotFound) IsClientError() bool

IsClientError returns true when this update consent not found response has a 4xx status code

func (*UpdateConsentNotFound) IsCode

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

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

func (*UpdateConsentNotFound) IsRedirect

func (o *UpdateConsentNotFound) IsRedirect() bool

IsRedirect returns true when this update consent not found response has a 3xx status code

func (*UpdateConsentNotFound) IsServerError

func (o *UpdateConsentNotFound) IsServerError() bool

IsServerError returns true when this update consent not found response has a 5xx status code

func (*UpdateConsentNotFound) IsSuccess

func (o *UpdateConsentNotFound) IsSuccess() bool

IsSuccess returns true when this update consent not found response has a 2xx status code

func (*UpdateConsentNotFound) String

func (o *UpdateConsentNotFound) String() string

type UpdateConsentParams

type UpdateConsentParams struct {

	// ConsentBody.
	ConsentBody *models.Consent

	// Consent.
	Consent string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

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

UpdateConsentParams contains all the parameters to send to the API endpoint

for the update consent operation.

Typically these are written to a http.Request.

func NewUpdateConsentParams

func NewUpdateConsentParams() *UpdateConsentParams

NewUpdateConsentParams creates a new UpdateConsentParams 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 NewUpdateConsentParamsWithContext

func NewUpdateConsentParamsWithContext(ctx context.Context) *UpdateConsentParams

NewUpdateConsentParamsWithContext creates a new UpdateConsentParams object with the ability to set a context for a request.

func NewUpdateConsentParamsWithHTTPClient

func NewUpdateConsentParamsWithHTTPClient(client *http.Client) *UpdateConsentParams

NewUpdateConsentParamsWithHTTPClient creates a new UpdateConsentParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConsentParamsWithTimeout

func NewUpdateConsentParamsWithTimeout(timeout time.Duration) *UpdateConsentParams

NewUpdateConsentParamsWithTimeout creates a new UpdateConsentParams object with the ability to set a timeout on a request.

func (*UpdateConsentParams) SetConsent

func (o *UpdateConsentParams) SetConsent(consent string)

SetConsent adds the consent to the update consent params

func (*UpdateConsentParams) SetConsentBody

func (o *UpdateConsentParams) SetConsentBody(consentBody *models.Consent)

SetConsentBody adds the consentBody to the update consent params

func (*UpdateConsentParams) SetContext

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

SetContext adds the context to the update consent params

func (*UpdateConsentParams) SetDefaults

func (o *UpdateConsentParams) SetDefaults()

SetDefaults hydrates default values in the update consent params (not the query body).

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

func (*UpdateConsentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update consent params

func (*UpdateConsentParams) SetIfMatch

func (o *UpdateConsentParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update consent params

func (*UpdateConsentParams) SetTimeout

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

SetTimeout adds the timeout to the update consent params

func (*UpdateConsentParams) WithConsent

func (o *UpdateConsentParams) WithConsent(consent string) *UpdateConsentParams

WithConsent adds the consent to the update consent params

func (*UpdateConsentParams) WithConsentBody

func (o *UpdateConsentParams) WithConsentBody(consentBody *models.Consent) *UpdateConsentParams

WithConsentBody adds the consentBody to the update consent params

func (*UpdateConsentParams) WithContext

WithContext adds the context to the update consent params

func (*UpdateConsentParams) WithDefaults

func (o *UpdateConsentParams) WithDefaults() *UpdateConsentParams

WithDefaults hydrates default values in the update consent params (not the query body).

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

func (*UpdateConsentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update consent params

func (*UpdateConsentParams) WithIfMatch

func (o *UpdateConsentParams) WithIfMatch(ifMatch *string) *UpdateConsentParams

WithIfMatch adds the ifMatch to the update consent params

func (*UpdateConsentParams) WithTimeout

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

WithTimeout adds the timeout to the update consent params

func (*UpdateConsentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateConsentReader

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

UpdateConsentReader is a Reader for the UpdateConsent structure.

func (*UpdateConsentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConsentTooManyRequests

type UpdateConsentTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewUpdateConsentTooManyRequests

func NewUpdateConsentTooManyRequests() *UpdateConsentTooManyRequests

NewUpdateConsentTooManyRequests creates a UpdateConsentTooManyRequests with default headers values

func (*UpdateConsentTooManyRequests) Code

Code gets the status code for the update consent too many requests response

func (*UpdateConsentTooManyRequests) Error

func (*UpdateConsentTooManyRequests) GetPayload

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

func (*UpdateConsentTooManyRequests) IsClientError

func (o *UpdateConsentTooManyRequests) IsClientError() bool

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

func (*UpdateConsentTooManyRequests) IsCode

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

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

func (*UpdateConsentTooManyRequests) IsRedirect

func (o *UpdateConsentTooManyRequests) IsRedirect() bool

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

func (*UpdateConsentTooManyRequests) IsServerError

func (o *UpdateConsentTooManyRequests) IsServerError() bool

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

func (*UpdateConsentTooManyRequests) IsSuccess

func (o *UpdateConsentTooManyRequests) IsSuccess() bool

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

func (*UpdateConsentTooManyRequests) String

type UpdateConsentUnauthorized

type UpdateConsentUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdateConsentUnauthorized

func NewUpdateConsentUnauthorized() *UpdateConsentUnauthorized

NewUpdateConsentUnauthorized creates a UpdateConsentUnauthorized with default headers values

func (*UpdateConsentUnauthorized) Code

func (o *UpdateConsentUnauthorized) Code() int

Code gets the status code for the update consent unauthorized response

func (*UpdateConsentUnauthorized) Error

func (o *UpdateConsentUnauthorized) Error() string

func (*UpdateConsentUnauthorized) GetPayload

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

func (*UpdateConsentUnauthorized) IsClientError

func (o *UpdateConsentUnauthorized) IsClientError() bool

IsClientError returns true when this update consent unauthorized response has a 4xx status code

func (*UpdateConsentUnauthorized) IsCode

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

IsCode returns true when this update consent unauthorized response a status code equal to that given

func (*UpdateConsentUnauthorized) IsRedirect

func (o *UpdateConsentUnauthorized) IsRedirect() bool

IsRedirect returns true when this update consent unauthorized response has a 3xx status code

func (*UpdateConsentUnauthorized) IsServerError

func (o *UpdateConsentUnauthorized) IsServerError() bool

IsServerError returns true when this update consent unauthorized response has a 5xx status code

func (*UpdateConsentUnauthorized) IsSuccess

func (o *UpdateConsentUnauthorized) IsSuccess() bool

IsSuccess returns true when this update consent unauthorized response has a 2xx status code

func (*UpdateConsentUnauthorized) String

func (o *UpdateConsentUnauthorized) String() string

type UpdateConsentUnprocessableEntity

type UpdateConsentUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewUpdateConsentUnprocessableEntity

func NewUpdateConsentUnprocessableEntity() *UpdateConsentUnprocessableEntity

NewUpdateConsentUnprocessableEntity creates a UpdateConsentUnprocessableEntity with default headers values

func (*UpdateConsentUnprocessableEntity) Code

Code gets the status code for the update consent unprocessable entity response

func (*UpdateConsentUnprocessableEntity) Error

func (*UpdateConsentUnprocessableEntity) GetPayload

func (*UpdateConsentUnprocessableEntity) IsClientError

func (o *UpdateConsentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update consent unprocessable entity response has a 4xx status code

func (*UpdateConsentUnprocessableEntity) IsCode

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

IsCode returns true when this update consent unprocessable entity response a status code equal to that given

func (*UpdateConsentUnprocessableEntity) IsRedirect

func (o *UpdateConsentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update consent unprocessable entity response has a 3xx status code

func (*UpdateConsentUnprocessableEntity) IsServerError

func (o *UpdateConsentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update consent unprocessable entity response has a 5xx status code

func (*UpdateConsentUnprocessableEntity) IsSuccess

func (o *UpdateConsentUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update consent unprocessable entity response has a 2xx status code

func (*UpdateConsentUnprocessableEntity) String

Jump to

Keyboard shortcuts

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