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

func (a *Client) ListUserConsentsByActionSystem(params *ListUserConsentsByActionSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsByActionSystemOK, error)

ListUserConsentsByActionSystem lists user consents by action

User identifier must be provided in the header.

func (*Client) ListUserConsentsSystem

func (a *Client) ListUserConsentsSystem(params *ListUserConsentsSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsSystemOK, error)
ListUserConsentsSystem lists user consents

User identifier must be provided in the header.

To limit list of consents, you can provide consent identifiers in query param.

func (*Client) PatchConsentGrantsSystem

func (a *Client) PatchConsentGrantsSystem(params *PatchConsentGrantsSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConsentGrantsSystemCreated, error)
PatchConsentGrantsSystem patches consent grants

This is a non-standardized PATCH request.

Allows to update multiple consents approval in one API call.

User identifier must be provided in the header.

See ConsentGrantPatchRequest object for more information.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListUserConsentsByActionSystem(params *ListUserConsentsByActionSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsByActionSystemOK, error)

	ListUserConsentsSystem(params *ListUserConsentsSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsSystemOK, error)

	PatchConsentGrantsSystem(params *PatchConsentGrantsSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConsentGrantsSystemCreated, 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 ListUserConsentsByActionSystemForbidden

type ListUserConsentsByActionSystemForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListUserConsentsByActionSystemForbidden

func NewListUserConsentsByActionSystemForbidden() *ListUserConsentsByActionSystemForbidden

NewListUserConsentsByActionSystemForbidden creates a ListUserConsentsByActionSystemForbidden with default headers values

func (*ListUserConsentsByActionSystemForbidden) Code

Code gets the status code for the list user consents by action system forbidden response

func (*ListUserConsentsByActionSystemForbidden) Error

func (*ListUserConsentsByActionSystemForbidden) GetPayload

func (*ListUserConsentsByActionSystemForbidden) IsClientError

func (o *ListUserConsentsByActionSystemForbidden) IsClientError() bool

IsClientError returns true when this list user consents by action system forbidden response has a 4xx status code

func (*ListUserConsentsByActionSystemForbidden) IsCode

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

func (*ListUserConsentsByActionSystemForbidden) IsRedirect

IsRedirect returns true when this list user consents by action system forbidden response has a 3xx status code

func (*ListUserConsentsByActionSystemForbidden) IsServerError

func (o *ListUserConsentsByActionSystemForbidden) IsServerError() bool

IsServerError returns true when this list user consents by action system forbidden response has a 5xx status code

func (*ListUserConsentsByActionSystemForbidden) IsSuccess

IsSuccess returns true when this list user consents by action system forbidden response has a 2xx status code

func (*ListUserConsentsByActionSystemForbidden) String

type ListUserConsentsByActionSystemNotFound

type ListUserConsentsByActionSystemNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListUserConsentsByActionSystemNotFound

func NewListUserConsentsByActionSystemNotFound() *ListUserConsentsByActionSystemNotFound

NewListUserConsentsByActionSystemNotFound creates a ListUserConsentsByActionSystemNotFound with default headers values

func (*ListUserConsentsByActionSystemNotFound) Code

Code gets the status code for the list user consents by action system not found response

func (*ListUserConsentsByActionSystemNotFound) Error

func (*ListUserConsentsByActionSystemNotFound) GetPayload

func (*ListUserConsentsByActionSystemNotFound) IsClientError

func (o *ListUserConsentsByActionSystemNotFound) IsClientError() bool

IsClientError returns true when this list user consents by action system not found response has a 4xx status code

func (*ListUserConsentsByActionSystemNotFound) IsCode

IsCode returns true when this list user consents by action system not found response a status code equal to that given

func (*ListUserConsentsByActionSystemNotFound) IsRedirect

IsRedirect returns true when this list user consents by action system not found response has a 3xx status code

func (*ListUserConsentsByActionSystemNotFound) IsServerError

func (o *ListUserConsentsByActionSystemNotFound) IsServerError() bool

IsServerError returns true when this list user consents by action system not found response has a 5xx status code

func (*ListUserConsentsByActionSystemNotFound) IsSuccess

IsSuccess returns true when this list user consents by action system not found response has a 2xx status code

func (*ListUserConsentsByActionSystemNotFound) String

type ListUserConsentsByActionSystemOK

type ListUserConsentsByActionSystemOK struct {
	Payload *models.ConsentsWithGrants
}

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

Consents with grants

func NewListUserConsentsByActionSystemOK

func NewListUserConsentsByActionSystemOK() *ListUserConsentsByActionSystemOK

NewListUserConsentsByActionSystemOK creates a ListUserConsentsByActionSystemOK with default headers values

func (*ListUserConsentsByActionSystemOK) Code

Code gets the status code for the list user consents by action system o k response

func (*ListUserConsentsByActionSystemOK) Error

func (*ListUserConsentsByActionSystemOK) GetPayload

func (*ListUserConsentsByActionSystemOK) IsClientError

func (o *ListUserConsentsByActionSystemOK) IsClientError() bool

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

func (*ListUserConsentsByActionSystemOK) IsCode

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

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

func (*ListUserConsentsByActionSystemOK) IsRedirect

func (o *ListUserConsentsByActionSystemOK) IsRedirect() bool

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

func (*ListUserConsentsByActionSystemOK) IsServerError

func (o *ListUserConsentsByActionSystemOK) IsServerError() bool

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

func (*ListUserConsentsByActionSystemOK) IsSuccess

func (o *ListUserConsentsByActionSystemOK) IsSuccess() bool

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

func (*ListUserConsentsByActionSystemOK) String

type ListUserConsentsByActionSystemParams

type ListUserConsentsByActionSystemParams struct {

	/* Action.

	   Consent action id

	   Default: "default"
	*/
	Action string

	/* XSubject.

	   user identifier
	*/
	XSubject *string

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

ListUserConsentsByActionSystemParams contains all the parameters to send to the API endpoint

for the list user consents by action system operation.

Typically these are written to a http.Request.

func NewListUserConsentsByActionSystemParams

func NewListUserConsentsByActionSystemParams() *ListUserConsentsByActionSystemParams

NewListUserConsentsByActionSystemParams creates a new ListUserConsentsByActionSystemParams 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 NewListUserConsentsByActionSystemParamsWithContext

func NewListUserConsentsByActionSystemParamsWithContext(ctx context.Context) *ListUserConsentsByActionSystemParams

NewListUserConsentsByActionSystemParamsWithContext creates a new ListUserConsentsByActionSystemParams object with the ability to set a context for a request.

func NewListUserConsentsByActionSystemParamsWithHTTPClient

func NewListUserConsentsByActionSystemParamsWithHTTPClient(client *http.Client) *ListUserConsentsByActionSystemParams

NewListUserConsentsByActionSystemParamsWithHTTPClient creates a new ListUserConsentsByActionSystemParams object with the ability to set a custom HTTPClient for a request.

func NewListUserConsentsByActionSystemParamsWithTimeout

func NewListUserConsentsByActionSystemParamsWithTimeout(timeout time.Duration) *ListUserConsentsByActionSystemParams

NewListUserConsentsByActionSystemParamsWithTimeout creates a new ListUserConsentsByActionSystemParams object with the ability to set a timeout on a request.

func (*ListUserConsentsByActionSystemParams) SetAction

func (o *ListUserConsentsByActionSystemParams) SetAction(action string)

SetAction adds the action to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) SetContext

SetContext adds the context to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) SetDefaults

func (o *ListUserConsentsByActionSystemParams) SetDefaults()

SetDefaults hydrates default values in the list user consents by action system params (not the query body).

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

func (*ListUserConsentsByActionSystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) SetTimeout

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

SetTimeout adds the timeout to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) SetXSubject

func (o *ListUserConsentsByActionSystemParams) SetXSubject(xSubject *string)

SetXSubject adds the xSubject to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) WithAction

WithAction adds the action to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) WithContext

WithContext adds the context to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) WithDefaults

WithDefaults hydrates default values in the list user consents by action system params (not the query body).

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

func (*ListUserConsentsByActionSystemParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) WithTimeout

WithTimeout adds the timeout to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) WithXSubject

WithXSubject adds the xSubject to the list user consents by action system params

func (*ListUserConsentsByActionSystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserConsentsByActionSystemReader

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

ListUserConsentsByActionSystemReader is a Reader for the ListUserConsentsByActionSystem structure.

func (*ListUserConsentsByActionSystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserConsentsByActionSystemTooManyRequests

type ListUserConsentsByActionSystemTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListUserConsentsByActionSystemTooManyRequests

func NewListUserConsentsByActionSystemTooManyRequests() *ListUserConsentsByActionSystemTooManyRequests

NewListUserConsentsByActionSystemTooManyRequests creates a ListUserConsentsByActionSystemTooManyRequests with default headers values

func (*ListUserConsentsByActionSystemTooManyRequests) Code

Code gets the status code for the list user consents by action system too many requests response

func (*ListUserConsentsByActionSystemTooManyRequests) Error

func (*ListUserConsentsByActionSystemTooManyRequests) GetPayload

func (*ListUserConsentsByActionSystemTooManyRequests) IsClientError

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

func (*ListUserConsentsByActionSystemTooManyRequests) IsCode

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

func (*ListUserConsentsByActionSystemTooManyRequests) IsRedirect

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

func (*ListUserConsentsByActionSystemTooManyRequests) IsServerError

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

func (*ListUserConsentsByActionSystemTooManyRequests) IsSuccess

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

func (*ListUserConsentsByActionSystemTooManyRequests) String

type ListUserConsentsByActionSystemUnauthorized

type ListUserConsentsByActionSystemUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListUserConsentsByActionSystemUnauthorized

func NewListUserConsentsByActionSystemUnauthorized() *ListUserConsentsByActionSystemUnauthorized

NewListUserConsentsByActionSystemUnauthorized creates a ListUserConsentsByActionSystemUnauthorized with default headers values

func (*ListUserConsentsByActionSystemUnauthorized) Code

Code gets the status code for the list user consents by action system unauthorized response

func (*ListUserConsentsByActionSystemUnauthorized) Error

func (*ListUserConsentsByActionSystemUnauthorized) GetPayload

func (*ListUserConsentsByActionSystemUnauthorized) IsClientError

IsClientError returns true when this list user consents by action system unauthorized response has a 4xx status code

func (*ListUserConsentsByActionSystemUnauthorized) IsCode

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

func (*ListUserConsentsByActionSystemUnauthorized) IsRedirect

IsRedirect returns true when this list user consents by action system unauthorized response has a 3xx status code

func (*ListUserConsentsByActionSystemUnauthorized) IsServerError

IsServerError returns true when this list user consents by action system unauthorized response has a 5xx status code

func (*ListUserConsentsByActionSystemUnauthorized) IsSuccess

IsSuccess returns true when this list user consents by action system unauthorized response has a 2xx status code

func (*ListUserConsentsByActionSystemUnauthorized) String

type ListUserConsentsSystemForbidden

type ListUserConsentsSystemForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListUserConsentsSystemForbidden

func NewListUserConsentsSystemForbidden() *ListUserConsentsSystemForbidden

NewListUserConsentsSystemForbidden creates a ListUserConsentsSystemForbidden with default headers values

func (*ListUserConsentsSystemForbidden) Code

Code gets the status code for the list user consents system forbidden response

func (*ListUserConsentsSystemForbidden) Error

func (*ListUserConsentsSystemForbidden) GetPayload

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

func (*ListUserConsentsSystemForbidden) IsClientError

func (o *ListUserConsentsSystemForbidden) IsClientError() bool

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

func (*ListUserConsentsSystemForbidden) IsCode

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

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

func (*ListUserConsentsSystemForbidden) IsRedirect

func (o *ListUserConsentsSystemForbidden) IsRedirect() bool

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

func (*ListUserConsentsSystemForbidden) IsServerError

func (o *ListUserConsentsSystemForbidden) IsServerError() bool

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

func (*ListUserConsentsSystemForbidden) IsSuccess

func (o *ListUserConsentsSystemForbidden) IsSuccess() bool

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

func (*ListUserConsentsSystemForbidden) String

type ListUserConsentsSystemNotFound

type ListUserConsentsSystemNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListUserConsentsSystemNotFound

func NewListUserConsentsSystemNotFound() *ListUserConsentsSystemNotFound

NewListUserConsentsSystemNotFound creates a ListUserConsentsSystemNotFound with default headers values

func (*ListUserConsentsSystemNotFound) Code

Code gets the status code for the list user consents system not found response

func (*ListUserConsentsSystemNotFound) Error

func (*ListUserConsentsSystemNotFound) GetPayload

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

func (*ListUserConsentsSystemNotFound) IsClientError

func (o *ListUserConsentsSystemNotFound) IsClientError() bool

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

func (*ListUserConsentsSystemNotFound) IsCode

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

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

func (*ListUserConsentsSystemNotFound) IsRedirect

func (o *ListUserConsentsSystemNotFound) IsRedirect() bool

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

func (*ListUserConsentsSystemNotFound) IsServerError

func (o *ListUserConsentsSystemNotFound) IsServerError() bool

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

func (*ListUserConsentsSystemNotFound) IsSuccess

func (o *ListUserConsentsSystemNotFound) IsSuccess() bool

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

func (*ListUserConsentsSystemNotFound) String

type ListUserConsentsSystemOK

type ListUserConsentsSystemOK struct {
	Payload *models.ConsentsWithGrants
}

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

Consents with grants

func NewListUserConsentsSystemOK

func NewListUserConsentsSystemOK() *ListUserConsentsSystemOK

NewListUserConsentsSystemOK creates a ListUserConsentsSystemOK with default headers values

func (*ListUserConsentsSystemOK) Code

func (o *ListUserConsentsSystemOK) Code() int

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

func (*ListUserConsentsSystemOK) Error

func (o *ListUserConsentsSystemOK) Error() string

func (*ListUserConsentsSystemOK) GetPayload

func (*ListUserConsentsSystemOK) IsClientError

func (o *ListUserConsentsSystemOK) IsClientError() bool

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

func (*ListUserConsentsSystemOK) IsCode

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

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

func (*ListUserConsentsSystemOK) IsRedirect

func (o *ListUserConsentsSystemOK) IsRedirect() bool

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

func (*ListUserConsentsSystemOK) IsServerError

func (o *ListUserConsentsSystemOK) IsServerError() bool

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

func (*ListUserConsentsSystemOK) IsSuccess

func (o *ListUserConsentsSystemOK) IsSuccess() bool

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

func (*ListUserConsentsSystemOK) String

func (o *ListUserConsentsSystemOK) String() string

type ListUserConsentsSystemParams

type ListUserConsentsSystemParams struct {

	// ConsentID.
	ConsentID []string

	/* XSubject.

	   user identifier
	*/
	XSubject *string

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

ListUserConsentsSystemParams contains all the parameters to send to the API endpoint

for the list user consents system operation.

Typically these are written to a http.Request.

func NewListUserConsentsSystemParams

func NewListUserConsentsSystemParams() *ListUserConsentsSystemParams

NewListUserConsentsSystemParams creates a new ListUserConsentsSystemParams 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 NewListUserConsentsSystemParamsWithContext

func NewListUserConsentsSystemParamsWithContext(ctx context.Context) *ListUserConsentsSystemParams

NewListUserConsentsSystemParamsWithContext creates a new ListUserConsentsSystemParams object with the ability to set a context for a request.

func NewListUserConsentsSystemParamsWithHTTPClient

func NewListUserConsentsSystemParamsWithHTTPClient(client *http.Client) *ListUserConsentsSystemParams

NewListUserConsentsSystemParamsWithHTTPClient creates a new ListUserConsentsSystemParams object with the ability to set a custom HTTPClient for a request.

func NewListUserConsentsSystemParamsWithTimeout

func NewListUserConsentsSystemParamsWithTimeout(timeout time.Duration) *ListUserConsentsSystemParams

NewListUserConsentsSystemParamsWithTimeout creates a new ListUserConsentsSystemParams object with the ability to set a timeout on a request.

func (*ListUserConsentsSystemParams) SetConsentID

func (o *ListUserConsentsSystemParams) SetConsentID(consentID []string)

SetConsentID adds the consentId to the list user consents system params

func (*ListUserConsentsSystemParams) SetContext

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

SetContext adds the context to the list user consents system params

func (*ListUserConsentsSystemParams) SetDefaults

func (o *ListUserConsentsSystemParams) SetDefaults()

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

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

func (*ListUserConsentsSystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user consents system params

func (*ListUserConsentsSystemParams) SetTimeout

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

SetTimeout adds the timeout to the list user consents system params

func (*ListUserConsentsSystemParams) SetXSubject

func (o *ListUserConsentsSystemParams) SetXSubject(xSubject *string)

SetXSubject adds the xSubject to the list user consents system params

func (*ListUserConsentsSystemParams) WithConsentID

func (o *ListUserConsentsSystemParams) WithConsentID(consentID []string) *ListUserConsentsSystemParams

WithConsentID adds the consentID to the list user consents system params

func (*ListUserConsentsSystemParams) WithContext

WithContext adds the context to the list user consents system params

func (*ListUserConsentsSystemParams) WithDefaults

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

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

func (*ListUserConsentsSystemParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user consents system params

func (*ListUserConsentsSystemParams) WithTimeout

WithTimeout adds the timeout to the list user consents system params

func (*ListUserConsentsSystemParams) WithXSubject

WithXSubject adds the xSubject to the list user consents system params

func (*ListUserConsentsSystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserConsentsSystemReader

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

ListUserConsentsSystemReader is a Reader for the ListUserConsentsSystem structure.

func (*ListUserConsentsSystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserConsentsSystemTooManyRequests

type ListUserConsentsSystemTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListUserConsentsSystemTooManyRequests

func NewListUserConsentsSystemTooManyRequests() *ListUserConsentsSystemTooManyRequests

NewListUserConsentsSystemTooManyRequests creates a ListUserConsentsSystemTooManyRequests with default headers values

func (*ListUserConsentsSystemTooManyRequests) Code

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

func (*ListUserConsentsSystemTooManyRequests) Error

func (*ListUserConsentsSystemTooManyRequests) GetPayload

func (*ListUserConsentsSystemTooManyRequests) IsClientError

func (o *ListUserConsentsSystemTooManyRequests) IsClientError() bool

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

func (*ListUserConsentsSystemTooManyRequests) IsCode

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

func (*ListUserConsentsSystemTooManyRequests) IsRedirect

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

func (*ListUserConsentsSystemTooManyRequests) IsServerError

func (o *ListUserConsentsSystemTooManyRequests) IsServerError() bool

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

func (*ListUserConsentsSystemTooManyRequests) IsSuccess

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

func (*ListUserConsentsSystemTooManyRequests) String

type ListUserConsentsSystemUnauthorized

type ListUserConsentsSystemUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListUserConsentsSystemUnauthorized

func NewListUserConsentsSystemUnauthorized() *ListUserConsentsSystemUnauthorized

NewListUserConsentsSystemUnauthorized creates a ListUserConsentsSystemUnauthorized with default headers values

func (*ListUserConsentsSystemUnauthorized) Code

Code gets the status code for the list user consents system unauthorized response

func (*ListUserConsentsSystemUnauthorized) Error

func (*ListUserConsentsSystemUnauthorized) GetPayload

func (*ListUserConsentsSystemUnauthorized) IsClientError

func (o *ListUserConsentsSystemUnauthorized) IsClientError() bool

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

func (*ListUserConsentsSystemUnauthorized) IsCode

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

func (*ListUserConsentsSystemUnauthorized) IsRedirect

func (o *ListUserConsentsSystemUnauthorized) IsRedirect() bool

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

func (*ListUserConsentsSystemUnauthorized) IsServerError

func (o *ListUserConsentsSystemUnauthorized) IsServerError() bool

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

func (*ListUserConsentsSystemUnauthorized) IsSuccess

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

func (*ListUserConsentsSystemUnauthorized) String

type PatchConsentGrantsSystemConflict

type PatchConsentGrantsSystemConflict struct {
	Payload *models.Error
}

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

Conflict

func NewPatchConsentGrantsSystemConflict

func NewPatchConsentGrantsSystemConflict() *PatchConsentGrantsSystemConflict

NewPatchConsentGrantsSystemConflict creates a PatchConsentGrantsSystemConflict with default headers values

func (*PatchConsentGrantsSystemConflict) Code

Code gets the status code for the patch consent grants system conflict response

func (*PatchConsentGrantsSystemConflict) Error

func (*PatchConsentGrantsSystemConflict) GetPayload

func (*PatchConsentGrantsSystemConflict) IsClientError

func (o *PatchConsentGrantsSystemConflict) IsClientError() bool

IsClientError returns true when this patch consent grants system conflict response has a 4xx status code

func (*PatchConsentGrantsSystemConflict) IsCode

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

IsCode returns true when this patch consent grants system conflict response a status code equal to that given

func (*PatchConsentGrantsSystemConflict) IsRedirect

func (o *PatchConsentGrantsSystemConflict) IsRedirect() bool

IsRedirect returns true when this patch consent grants system conflict response has a 3xx status code

func (*PatchConsentGrantsSystemConflict) IsServerError

func (o *PatchConsentGrantsSystemConflict) IsServerError() bool

IsServerError returns true when this patch consent grants system conflict response has a 5xx status code

func (*PatchConsentGrantsSystemConflict) IsSuccess

func (o *PatchConsentGrantsSystemConflict) IsSuccess() bool

IsSuccess returns true when this patch consent grants system conflict response has a 2xx status code

func (*PatchConsentGrantsSystemConflict) String

type PatchConsentGrantsSystemCreated

type PatchConsentGrantsSystemCreated struct {
	Payload *models.ConsentGrantPatchResponse
}

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

Consent grant patch response

func NewPatchConsentGrantsSystemCreated

func NewPatchConsentGrantsSystemCreated() *PatchConsentGrantsSystemCreated

NewPatchConsentGrantsSystemCreated creates a PatchConsentGrantsSystemCreated with default headers values

func (*PatchConsentGrantsSystemCreated) Code

Code gets the status code for the patch consent grants system created response

func (*PatchConsentGrantsSystemCreated) Error

func (*PatchConsentGrantsSystemCreated) GetPayload

func (*PatchConsentGrantsSystemCreated) IsClientError

func (o *PatchConsentGrantsSystemCreated) IsClientError() bool

IsClientError returns true when this patch consent grants system created response has a 4xx status code

func (*PatchConsentGrantsSystemCreated) IsCode

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

IsCode returns true when this patch consent grants system created response a status code equal to that given

func (*PatchConsentGrantsSystemCreated) IsRedirect

func (o *PatchConsentGrantsSystemCreated) IsRedirect() bool

IsRedirect returns true when this patch consent grants system created response has a 3xx status code

func (*PatchConsentGrantsSystemCreated) IsServerError

func (o *PatchConsentGrantsSystemCreated) IsServerError() bool

IsServerError returns true when this patch consent grants system created response has a 5xx status code

func (*PatchConsentGrantsSystemCreated) IsSuccess

func (o *PatchConsentGrantsSystemCreated) IsSuccess() bool

IsSuccess returns true when this patch consent grants system created response has a 2xx status code

func (*PatchConsentGrantsSystemCreated) String

type PatchConsentGrantsSystemForbidden

type PatchConsentGrantsSystemForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewPatchConsentGrantsSystemForbidden

func NewPatchConsentGrantsSystemForbidden() *PatchConsentGrantsSystemForbidden

NewPatchConsentGrantsSystemForbidden creates a PatchConsentGrantsSystemForbidden with default headers values

func (*PatchConsentGrantsSystemForbidden) Code

Code gets the status code for the patch consent grants system forbidden response

func (*PatchConsentGrantsSystemForbidden) Error

func (*PatchConsentGrantsSystemForbidden) GetPayload

func (*PatchConsentGrantsSystemForbidden) IsClientError

func (o *PatchConsentGrantsSystemForbidden) IsClientError() bool

IsClientError returns true when this patch consent grants system forbidden response has a 4xx status code

func (*PatchConsentGrantsSystemForbidden) IsCode

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

IsCode returns true when this patch consent grants system forbidden response a status code equal to that given

func (*PatchConsentGrantsSystemForbidden) IsRedirect

func (o *PatchConsentGrantsSystemForbidden) IsRedirect() bool

IsRedirect returns true when this patch consent grants system forbidden response has a 3xx status code

func (*PatchConsentGrantsSystemForbidden) IsServerError

func (o *PatchConsentGrantsSystemForbidden) IsServerError() bool

IsServerError returns true when this patch consent grants system forbidden response has a 5xx status code

func (*PatchConsentGrantsSystemForbidden) IsSuccess

func (o *PatchConsentGrantsSystemForbidden) IsSuccess() bool

IsSuccess returns true when this patch consent grants system forbidden response has a 2xx status code

func (*PatchConsentGrantsSystemForbidden) String

type PatchConsentGrantsSystemNotFound

type PatchConsentGrantsSystemNotFound struct {
	Payload *models.Error
}

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

Not found

func NewPatchConsentGrantsSystemNotFound

func NewPatchConsentGrantsSystemNotFound() *PatchConsentGrantsSystemNotFound

NewPatchConsentGrantsSystemNotFound creates a PatchConsentGrantsSystemNotFound with default headers values

func (*PatchConsentGrantsSystemNotFound) Code

Code gets the status code for the patch consent grants system not found response

func (*PatchConsentGrantsSystemNotFound) Error

func (*PatchConsentGrantsSystemNotFound) GetPayload

func (*PatchConsentGrantsSystemNotFound) IsClientError

func (o *PatchConsentGrantsSystemNotFound) IsClientError() bool

IsClientError returns true when this patch consent grants system not found response has a 4xx status code

func (*PatchConsentGrantsSystemNotFound) IsCode

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

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

func (*PatchConsentGrantsSystemNotFound) IsRedirect

func (o *PatchConsentGrantsSystemNotFound) IsRedirect() bool

IsRedirect returns true when this patch consent grants system not found response has a 3xx status code

func (*PatchConsentGrantsSystemNotFound) IsServerError

func (o *PatchConsentGrantsSystemNotFound) IsServerError() bool

IsServerError returns true when this patch consent grants system not found response has a 5xx status code

func (*PatchConsentGrantsSystemNotFound) IsSuccess

func (o *PatchConsentGrantsSystemNotFound) IsSuccess() bool

IsSuccess returns true when this patch consent grants system not found response has a 2xx status code

func (*PatchConsentGrantsSystemNotFound) String

type PatchConsentGrantsSystemParams

type PatchConsentGrantsSystemParams struct {

	// ConsentGrantPatchRequest.
	ConsentGrantPatchRequest *models.ConsentGrantPatchRequest

	/* XSubject.

	   user identifier
	*/
	XSubject *string

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

PatchConsentGrantsSystemParams contains all the parameters to send to the API endpoint

for the patch consent grants system operation.

Typically these are written to a http.Request.

func NewPatchConsentGrantsSystemParams

func NewPatchConsentGrantsSystemParams() *PatchConsentGrantsSystemParams

NewPatchConsentGrantsSystemParams creates a new PatchConsentGrantsSystemParams 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 NewPatchConsentGrantsSystemParamsWithContext

func NewPatchConsentGrantsSystemParamsWithContext(ctx context.Context) *PatchConsentGrantsSystemParams

NewPatchConsentGrantsSystemParamsWithContext creates a new PatchConsentGrantsSystemParams object with the ability to set a context for a request.

func NewPatchConsentGrantsSystemParamsWithHTTPClient

func NewPatchConsentGrantsSystemParamsWithHTTPClient(client *http.Client) *PatchConsentGrantsSystemParams

NewPatchConsentGrantsSystemParamsWithHTTPClient creates a new PatchConsentGrantsSystemParams object with the ability to set a custom HTTPClient for a request.

func NewPatchConsentGrantsSystemParamsWithTimeout

func NewPatchConsentGrantsSystemParamsWithTimeout(timeout time.Duration) *PatchConsentGrantsSystemParams

NewPatchConsentGrantsSystemParamsWithTimeout creates a new PatchConsentGrantsSystemParams object with the ability to set a timeout on a request.

func (*PatchConsentGrantsSystemParams) SetConsentGrantPatchRequest

func (o *PatchConsentGrantsSystemParams) SetConsentGrantPatchRequest(consentGrantPatchRequest *models.ConsentGrantPatchRequest)

SetConsentGrantPatchRequest adds the consentGrantPatchRequest to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) SetContext

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

SetContext adds the context to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) SetDefaults

func (o *PatchConsentGrantsSystemParams) SetDefaults()

SetDefaults hydrates default values in the patch consent grants system params (not the query body).

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

func (*PatchConsentGrantsSystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) SetTimeout

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

SetTimeout adds the timeout to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) SetXSubject

func (o *PatchConsentGrantsSystemParams) SetXSubject(xSubject *string)

SetXSubject adds the xSubject to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) WithConsentGrantPatchRequest

func (o *PatchConsentGrantsSystemParams) WithConsentGrantPatchRequest(consentGrantPatchRequest *models.ConsentGrantPatchRequest) *PatchConsentGrantsSystemParams

WithConsentGrantPatchRequest adds the consentGrantPatchRequest to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) WithContext

WithContext adds the context to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) WithDefaults

WithDefaults hydrates default values in the patch consent grants system params (not the query body).

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

func (*PatchConsentGrantsSystemParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) WithTimeout

WithTimeout adds the timeout to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) WithXSubject

WithXSubject adds the xSubject to the patch consent grants system params

func (*PatchConsentGrantsSystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchConsentGrantsSystemReader

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

PatchConsentGrantsSystemReader is a Reader for the PatchConsentGrantsSystem structure.

func (*PatchConsentGrantsSystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchConsentGrantsSystemTooManyRequests

type PatchConsentGrantsSystemTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewPatchConsentGrantsSystemTooManyRequests

func NewPatchConsentGrantsSystemTooManyRequests() *PatchConsentGrantsSystemTooManyRequests

NewPatchConsentGrantsSystemTooManyRequests creates a PatchConsentGrantsSystemTooManyRequests with default headers values

func (*PatchConsentGrantsSystemTooManyRequests) Code

Code gets the status code for the patch consent grants system too many requests response

func (*PatchConsentGrantsSystemTooManyRequests) Error

func (*PatchConsentGrantsSystemTooManyRequests) GetPayload

func (*PatchConsentGrantsSystemTooManyRequests) IsClientError

func (o *PatchConsentGrantsSystemTooManyRequests) IsClientError() bool

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

func (*PatchConsentGrantsSystemTooManyRequests) IsCode

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

func (*PatchConsentGrantsSystemTooManyRequests) IsRedirect

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

func (*PatchConsentGrantsSystemTooManyRequests) IsServerError

func (o *PatchConsentGrantsSystemTooManyRequests) IsServerError() bool

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

func (*PatchConsentGrantsSystemTooManyRequests) IsSuccess

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

func (*PatchConsentGrantsSystemTooManyRequests) String

type PatchConsentGrantsSystemUnauthorized

type PatchConsentGrantsSystemUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewPatchConsentGrantsSystemUnauthorized

func NewPatchConsentGrantsSystemUnauthorized() *PatchConsentGrantsSystemUnauthorized

NewPatchConsentGrantsSystemUnauthorized creates a PatchConsentGrantsSystemUnauthorized with default headers values

func (*PatchConsentGrantsSystemUnauthorized) Code

Code gets the status code for the patch consent grants system unauthorized response

func (*PatchConsentGrantsSystemUnauthorized) Error

func (*PatchConsentGrantsSystemUnauthorized) GetPayload

func (*PatchConsentGrantsSystemUnauthorized) IsClientError

func (o *PatchConsentGrantsSystemUnauthorized) IsClientError() bool

IsClientError returns true when this patch consent grants system unauthorized response has a 4xx status code

func (*PatchConsentGrantsSystemUnauthorized) IsCode

IsCode returns true when this patch consent grants system unauthorized response a status code equal to that given

func (*PatchConsentGrantsSystemUnauthorized) IsRedirect

IsRedirect returns true when this patch consent grants system unauthorized response has a 3xx status code

func (*PatchConsentGrantsSystemUnauthorized) IsServerError

func (o *PatchConsentGrantsSystemUnauthorized) IsServerError() bool

IsServerError returns true when this patch consent grants system unauthorized response has a 5xx status code

func (*PatchConsentGrantsSystemUnauthorized) IsSuccess

IsSuccess returns true when this patch consent grants system unauthorized response has a 2xx status code

func (*PatchConsentGrantsSystemUnauthorized) String

type PatchConsentGrantsSystemUnprocessableEntity

type PatchConsentGrantsSystemUnprocessableEntity struct {
	Payload *models.Error
}

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

Unprocessable entity

func NewPatchConsentGrantsSystemUnprocessableEntity

func NewPatchConsentGrantsSystemUnprocessableEntity() *PatchConsentGrantsSystemUnprocessableEntity

NewPatchConsentGrantsSystemUnprocessableEntity creates a PatchConsentGrantsSystemUnprocessableEntity with default headers values

func (*PatchConsentGrantsSystemUnprocessableEntity) Code

Code gets the status code for the patch consent grants system unprocessable entity response

func (*PatchConsentGrantsSystemUnprocessableEntity) Error

func (*PatchConsentGrantsSystemUnprocessableEntity) GetPayload

func (*PatchConsentGrantsSystemUnprocessableEntity) IsClientError

IsClientError returns true when this patch consent grants system unprocessable entity response has a 4xx status code

func (*PatchConsentGrantsSystemUnprocessableEntity) IsCode

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

func (*PatchConsentGrantsSystemUnprocessableEntity) IsRedirect

IsRedirect returns true when this patch consent grants system unprocessable entity response has a 3xx status code

func (*PatchConsentGrantsSystemUnprocessableEntity) IsServerError

IsServerError returns true when this patch consent grants system unprocessable entity response has a 5xx status code

func (*PatchConsentGrantsSystemUnprocessableEntity) IsSuccess

IsSuccess returns true when this patch consent grants system unprocessable entity response has a 2xx status code

func (*PatchConsentGrantsSystemUnprocessableEntity) String

Jump to

Keyboard shortcuts

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