Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateConsent(params *CreateConsentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateConsentCreated, error)
- func (a *Client) CreateConsentAction(params *CreateConsentActionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateConsentActionCreated, error)
- func (a *Client) DeleteConsent(params *DeleteConsentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteConsentNoContent, error)
- func (a *Client) DeleteConsentAction(params *DeleteConsentActionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteConsentActionNoContent, error)
- func (a *Client) GetConsent(params *GetConsentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConsentOK, error)
- func (a *Client) GetConsentAction(params *GetConsentActionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetConsentActionOK, error)
- func (a *Client) ListConsentActions(params *ListConsentActionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConsentActionsOK, error)
- func (a *Client) ListConsents(params *ListConsentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConsentsOK, error)
- func (a *Client) ListPrivacyLedgerEventsBySubject(params *ListPrivacyLedgerEventsBySubjectParams, ...) (*ListPrivacyLedgerEventsBySubjectOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConsent(params *UpdateConsentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateConsentCreated, error)
- func (a *Client) UpdateConsentAction(params *UpdateConsentActionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateConsentActionCreated, error)
- type ClientOption
- type ClientService
- type CreateConsentActionConflict
- func (o *CreateConsentActionConflict) Code() int
- func (o *CreateConsentActionConflict) Error() string
- func (o *CreateConsentActionConflict) GetPayload() *models.Error
- func (o *CreateConsentActionConflict) IsClientError() bool
- func (o *CreateConsentActionConflict) IsCode(code int) bool
- func (o *CreateConsentActionConflict) IsRedirect() bool
- func (o *CreateConsentActionConflict) IsServerError() bool
- func (o *CreateConsentActionConflict) IsSuccess() bool
- func (o *CreateConsentActionConflict) String() string
- type CreateConsentActionCreated
- func (o *CreateConsentActionCreated) Code() int
- func (o *CreateConsentActionCreated) Error() string
- func (o *CreateConsentActionCreated) GetPayload() *models.ConsentActionWithConsents
- func (o *CreateConsentActionCreated) IsClientError() bool
- func (o *CreateConsentActionCreated) IsCode(code int) bool
- func (o *CreateConsentActionCreated) IsRedirect() bool
- func (o *CreateConsentActionCreated) IsServerError() bool
- func (o *CreateConsentActionCreated) IsSuccess() bool
- func (o *CreateConsentActionCreated) String() string
- type CreateConsentActionForbidden
- func (o *CreateConsentActionForbidden) Code() int
- func (o *CreateConsentActionForbidden) Error() string
- func (o *CreateConsentActionForbidden) GetPayload() *models.Error
- func (o *CreateConsentActionForbidden) IsClientError() bool
- func (o *CreateConsentActionForbidden) IsCode(code int) bool
- func (o *CreateConsentActionForbidden) IsRedirect() bool
- func (o *CreateConsentActionForbidden) IsServerError() bool
- func (o *CreateConsentActionForbidden) IsSuccess() bool
- func (o *CreateConsentActionForbidden) String() string
- type CreateConsentActionNotFound
- func (o *CreateConsentActionNotFound) Code() int
- func (o *CreateConsentActionNotFound) Error() string
- func (o *CreateConsentActionNotFound) GetPayload() *models.Error
- func (o *CreateConsentActionNotFound) IsClientError() bool
- func (o *CreateConsentActionNotFound) IsCode(code int) bool
- func (o *CreateConsentActionNotFound) IsRedirect() bool
- func (o *CreateConsentActionNotFound) IsServerError() bool
- func (o *CreateConsentActionNotFound) IsSuccess() bool
- func (o *CreateConsentActionNotFound) String() string
- type CreateConsentActionParams
- func NewCreateConsentActionParams() *CreateConsentActionParams
- func NewCreateConsentActionParamsWithContext(ctx context.Context) *CreateConsentActionParams
- func NewCreateConsentActionParamsWithHTTPClient(client *http.Client) *CreateConsentActionParams
- func NewCreateConsentActionParamsWithTimeout(timeout time.Duration) *CreateConsentActionParams
- func (o *CreateConsentActionParams) SetConsentAction(consentAction *models.ConsentActionWithConsents)
- func (o *CreateConsentActionParams) SetContext(ctx context.Context)
- func (o *CreateConsentActionParams) SetDefaults()
- func (o *CreateConsentActionParams) SetHTTPClient(client *http.Client)
- func (o *CreateConsentActionParams) SetIfMatch(ifMatch *string)
- func (o *CreateConsentActionParams) SetTimeout(timeout time.Duration)
- func (o *CreateConsentActionParams) WithConsentAction(consentAction *models.ConsentActionWithConsents) *CreateConsentActionParams
- func (o *CreateConsentActionParams) WithContext(ctx context.Context) *CreateConsentActionParams
- func (o *CreateConsentActionParams) WithDefaults() *CreateConsentActionParams
- func (o *CreateConsentActionParams) WithHTTPClient(client *http.Client) *CreateConsentActionParams
- func (o *CreateConsentActionParams) WithIfMatch(ifMatch *string) *CreateConsentActionParams
- func (o *CreateConsentActionParams) WithTimeout(timeout time.Duration) *CreateConsentActionParams
- func (o *CreateConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConsentActionReader
- type CreateConsentActionTooManyRequests
- func (o *CreateConsentActionTooManyRequests) Code() int
- func (o *CreateConsentActionTooManyRequests) Error() string
- func (o *CreateConsentActionTooManyRequests) GetPayload() *models.Error
- func (o *CreateConsentActionTooManyRequests) IsClientError() bool
- func (o *CreateConsentActionTooManyRequests) IsCode(code int) bool
- func (o *CreateConsentActionTooManyRequests) IsRedirect() bool
- func (o *CreateConsentActionTooManyRequests) IsServerError() bool
- func (o *CreateConsentActionTooManyRequests) IsSuccess() bool
- func (o *CreateConsentActionTooManyRequests) String() string
- type CreateConsentActionUnauthorized
- func (o *CreateConsentActionUnauthorized) Code() int
- func (o *CreateConsentActionUnauthorized) Error() string
- func (o *CreateConsentActionUnauthorized) GetPayload() *models.Error
- func (o *CreateConsentActionUnauthorized) IsClientError() bool
- func (o *CreateConsentActionUnauthorized) IsCode(code int) bool
- func (o *CreateConsentActionUnauthorized) IsRedirect() bool
- func (o *CreateConsentActionUnauthorized) IsServerError() bool
- func (o *CreateConsentActionUnauthorized) IsSuccess() bool
- func (o *CreateConsentActionUnauthorized) String() string
- type CreateConsentActionUnprocessableEntity
- func (o *CreateConsentActionUnprocessableEntity) Code() int
- func (o *CreateConsentActionUnprocessableEntity) Error() string
- func (o *CreateConsentActionUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateConsentActionUnprocessableEntity) IsClientError() bool
- func (o *CreateConsentActionUnprocessableEntity) IsCode(code int) bool
- func (o *CreateConsentActionUnprocessableEntity) IsRedirect() bool
- func (o *CreateConsentActionUnprocessableEntity) IsServerError() bool
- func (o *CreateConsentActionUnprocessableEntity) IsSuccess() bool
- func (o *CreateConsentActionUnprocessableEntity) String() string
- type CreateConsentConflict
- func (o *CreateConsentConflict) Code() int
- func (o *CreateConsentConflict) Error() string
- func (o *CreateConsentConflict) GetPayload() *models.Error
- func (o *CreateConsentConflict) IsClientError() bool
- func (o *CreateConsentConflict) IsCode(code int) bool
- func (o *CreateConsentConflict) IsRedirect() bool
- func (o *CreateConsentConflict) IsServerError() bool
- func (o *CreateConsentConflict) IsSuccess() bool
- func (o *CreateConsentConflict) String() string
- type CreateConsentCreated
- func (o *CreateConsentCreated) Code() int
- func (o *CreateConsentCreated) Error() string
- func (o *CreateConsentCreated) GetPayload() *models.Consent
- func (o *CreateConsentCreated) IsClientError() bool
- func (o *CreateConsentCreated) IsCode(code int) bool
- func (o *CreateConsentCreated) IsRedirect() bool
- func (o *CreateConsentCreated) IsServerError() bool
- func (o *CreateConsentCreated) IsSuccess() bool
- func (o *CreateConsentCreated) String() string
- type CreateConsentForbidden
- func (o *CreateConsentForbidden) Code() int
- func (o *CreateConsentForbidden) Error() string
- func (o *CreateConsentForbidden) GetPayload() *models.Error
- func (o *CreateConsentForbidden) IsClientError() bool
- func (o *CreateConsentForbidden) IsCode(code int) bool
- func (o *CreateConsentForbidden) IsRedirect() bool
- func (o *CreateConsentForbidden) IsServerError() bool
- func (o *CreateConsentForbidden) IsSuccess() bool
- func (o *CreateConsentForbidden) String() string
- type CreateConsentNotFound
- func (o *CreateConsentNotFound) Code() int
- func (o *CreateConsentNotFound) Error() string
- func (o *CreateConsentNotFound) GetPayload() *models.Error
- func (o *CreateConsentNotFound) IsClientError() bool
- func (o *CreateConsentNotFound) IsCode(code int) bool
- func (o *CreateConsentNotFound) IsRedirect() bool
- func (o *CreateConsentNotFound) IsServerError() bool
- func (o *CreateConsentNotFound) IsSuccess() bool
- func (o *CreateConsentNotFound) String() string
- type CreateConsentParams
- func (o *CreateConsentParams) SetConsent(consent *models.Consent)
- func (o *CreateConsentParams) SetContext(ctx context.Context)
- func (o *CreateConsentParams) SetDefaults()
- func (o *CreateConsentParams) SetHTTPClient(client *http.Client)
- func (o *CreateConsentParams) SetIfMatch(ifMatch *string)
- func (o *CreateConsentParams) SetTimeout(timeout time.Duration)
- func (o *CreateConsentParams) WithConsent(consent *models.Consent) *CreateConsentParams
- func (o *CreateConsentParams) WithContext(ctx context.Context) *CreateConsentParams
- func (o *CreateConsentParams) WithDefaults() *CreateConsentParams
- func (o *CreateConsentParams) WithHTTPClient(client *http.Client) *CreateConsentParams
- func (o *CreateConsentParams) WithIfMatch(ifMatch *string) *CreateConsentParams
- func (o *CreateConsentParams) WithTimeout(timeout time.Duration) *CreateConsentParams
- func (o *CreateConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConsentReader
- type CreateConsentTooManyRequests
- func (o *CreateConsentTooManyRequests) Code() int
- func (o *CreateConsentTooManyRequests) Error() string
- func (o *CreateConsentTooManyRequests) GetPayload() *models.Error
- func (o *CreateConsentTooManyRequests) IsClientError() bool
- func (o *CreateConsentTooManyRequests) IsCode(code int) bool
- func (o *CreateConsentTooManyRequests) IsRedirect() bool
- func (o *CreateConsentTooManyRequests) IsServerError() bool
- func (o *CreateConsentTooManyRequests) IsSuccess() bool
- func (o *CreateConsentTooManyRequests) String() string
- type CreateConsentUnauthorized
- func (o *CreateConsentUnauthorized) Code() int
- func (o *CreateConsentUnauthorized) Error() string
- func (o *CreateConsentUnauthorized) GetPayload() *models.Error
- func (o *CreateConsentUnauthorized) IsClientError() bool
- func (o *CreateConsentUnauthorized) IsCode(code int) bool
- func (o *CreateConsentUnauthorized) IsRedirect() bool
- func (o *CreateConsentUnauthorized) IsServerError() bool
- func (o *CreateConsentUnauthorized) IsSuccess() bool
- func (o *CreateConsentUnauthorized) String() string
- type CreateConsentUnprocessableEntity
- func (o *CreateConsentUnprocessableEntity) Code() int
- func (o *CreateConsentUnprocessableEntity) Error() string
- func (o *CreateConsentUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateConsentUnprocessableEntity) IsClientError() bool
- func (o *CreateConsentUnprocessableEntity) IsCode(code int) bool
- func (o *CreateConsentUnprocessableEntity) IsRedirect() bool
- func (o *CreateConsentUnprocessableEntity) IsServerError() bool
- func (o *CreateConsentUnprocessableEntity) IsSuccess() bool
- func (o *CreateConsentUnprocessableEntity) String() string
- type DeleteConsentActionForbidden
- func (o *DeleteConsentActionForbidden) Code() int
- func (o *DeleteConsentActionForbidden) Error() string
- func (o *DeleteConsentActionForbidden) GetPayload() *models.Error
- func (o *DeleteConsentActionForbidden) IsClientError() bool
- func (o *DeleteConsentActionForbidden) IsCode(code int) bool
- func (o *DeleteConsentActionForbidden) IsRedirect() bool
- func (o *DeleteConsentActionForbidden) IsServerError() bool
- func (o *DeleteConsentActionForbidden) IsSuccess() bool
- func (o *DeleteConsentActionForbidden) String() string
- type DeleteConsentActionNoContent
- func (o *DeleteConsentActionNoContent) Code() int
- func (o *DeleteConsentActionNoContent) Error() string
- func (o *DeleteConsentActionNoContent) IsClientError() bool
- func (o *DeleteConsentActionNoContent) IsCode(code int) bool
- func (o *DeleteConsentActionNoContent) IsRedirect() bool
- func (o *DeleteConsentActionNoContent) IsServerError() bool
- func (o *DeleteConsentActionNoContent) IsSuccess() bool
- func (o *DeleteConsentActionNoContent) String() string
- type DeleteConsentActionNotFound
- func (o *DeleteConsentActionNotFound) Code() int
- func (o *DeleteConsentActionNotFound) Error() string
- func (o *DeleteConsentActionNotFound) GetPayload() *models.Error
- func (o *DeleteConsentActionNotFound) IsClientError() bool
- func (o *DeleteConsentActionNotFound) IsCode(code int) bool
- func (o *DeleteConsentActionNotFound) IsRedirect() bool
- func (o *DeleteConsentActionNotFound) IsServerError() bool
- func (o *DeleteConsentActionNotFound) IsSuccess() bool
- func (o *DeleteConsentActionNotFound) String() string
- type DeleteConsentActionParams
- func NewDeleteConsentActionParams() *DeleteConsentActionParams
- func NewDeleteConsentActionParamsWithContext(ctx context.Context) *DeleteConsentActionParams
- func NewDeleteConsentActionParamsWithHTTPClient(client *http.Client) *DeleteConsentActionParams
- func NewDeleteConsentActionParamsWithTimeout(timeout time.Duration) *DeleteConsentActionParams
- func (o *DeleteConsentActionParams) SetAction(action string)
- func (o *DeleteConsentActionParams) SetContext(ctx context.Context)
- func (o *DeleteConsentActionParams) SetDefaults()
- func (o *DeleteConsentActionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConsentActionParams) SetIfMatch(ifMatch *string)
- func (o *DeleteConsentActionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConsentActionParams) WithAction(action string) *DeleteConsentActionParams
- func (o *DeleteConsentActionParams) WithContext(ctx context.Context) *DeleteConsentActionParams
- func (o *DeleteConsentActionParams) WithDefaults() *DeleteConsentActionParams
- func (o *DeleteConsentActionParams) WithHTTPClient(client *http.Client) *DeleteConsentActionParams
- func (o *DeleteConsentActionParams) WithIfMatch(ifMatch *string) *DeleteConsentActionParams
- func (o *DeleteConsentActionParams) WithTimeout(timeout time.Duration) *DeleteConsentActionParams
- func (o *DeleteConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConsentActionReader
- type DeleteConsentActionTooManyRequests
- func (o *DeleteConsentActionTooManyRequests) Code() int
- func (o *DeleteConsentActionTooManyRequests) Error() string
- func (o *DeleteConsentActionTooManyRequests) GetPayload() *models.Error
- func (o *DeleteConsentActionTooManyRequests) IsClientError() bool
- func (o *DeleteConsentActionTooManyRequests) IsCode(code int) bool
- func (o *DeleteConsentActionTooManyRequests) IsRedirect() bool
- func (o *DeleteConsentActionTooManyRequests) IsServerError() bool
- func (o *DeleteConsentActionTooManyRequests) IsSuccess() bool
- func (o *DeleteConsentActionTooManyRequests) String() string
- type DeleteConsentActionUnauthorized
- func (o *DeleteConsentActionUnauthorized) Code() int
- func (o *DeleteConsentActionUnauthorized) Error() string
- func (o *DeleteConsentActionUnauthorized) GetPayload() *models.Error
- func (o *DeleteConsentActionUnauthorized) IsClientError() bool
- func (o *DeleteConsentActionUnauthorized) IsCode(code int) bool
- func (o *DeleteConsentActionUnauthorized) IsRedirect() bool
- func (o *DeleteConsentActionUnauthorized) IsServerError() bool
- func (o *DeleteConsentActionUnauthorized) IsSuccess() bool
- func (o *DeleteConsentActionUnauthorized) String() string
- type DeleteConsentForbidden
- func (o *DeleteConsentForbidden) Code() int
- func (o *DeleteConsentForbidden) Error() string
- func (o *DeleteConsentForbidden) GetPayload() *models.Error
- func (o *DeleteConsentForbidden) IsClientError() bool
- func (o *DeleteConsentForbidden) IsCode(code int) bool
- func (o *DeleteConsentForbidden) IsRedirect() bool
- func (o *DeleteConsentForbidden) IsServerError() bool
- func (o *DeleteConsentForbidden) IsSuccess() bool
- func (o *DeleteConsentForbidden) String() string
- type DeleteConsentNoContent
- func (o *DeleteConsentNoContent) Code() int
- func (o *DeleteConsentNoContent) Error() string
- func (o *DeleteConsentNoContent) IsClientError() bool
- func (o *DeleteConsentNoContent) IsCode(code int) bool
- func (o *DeleteConsentNoContent) IsRedirect() bool
- func (o *DeleteConsentNoContent) IsServerError() bool
- func (o *DeleteConsentNoContent) IsSuccess() bool
- func (o *DeleteConsentNoContent) String() string
- type DeleteConsentNotFound
- func (o *DeleteConsentNotFound) Code() int
- func (o *DeleteConsentNotFound) Error() string
- func (o *DeleteConsentNotFound) GetPayload() *models.Error
- func (o *DeleteConsentNotFound) IsClientError() bool
- func (o *DeleteConsentNotFound) IsCode(code int) bool
- func (o *DeleteConsentNotFound) IsRedirect() bool
- func (o *DeleteConsentNotFound) IsServerError() bool
- func (o *DeleteConsentNotFound) IsSuccess() bool
- func (o *DeleteConsentNotFound) String() string
- type DeleteConsentParams
- func (o *DeleteConsentParams) SetConsent(consent string)
- func (o *DeleteConsentParams) SetContext(ctx context.Context)
- func (o *DeleteConsentParams) SetDefaults()
- func (o *DeleteConsentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConsentParams) SetIfMatch(ifMatch *string)
- func (o *DeleteConsentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConsentParams) WithConsent(consent string) *DeleteConsentParams
- func (o *DeleteConsentParams) WithContext(ctx context.Context) *DeleteConsentParams
- func (o *DeleteConsentParams) WithDefaults() *DeleteConsentParams
- func (o *DeleteConsentParams) WithHTTPClient(client *http.Client) *DeleteConsentParams
- func (o *DeleteConsentParams) WithIfMatch(ifMatch *string) *DeleteConsentParams
- func (o *DeleteConsentParams) WithTimeout(timeout time.Duration) *DeleteConsentParams
- func (o *DeleteConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConsentReader
- type DeleteConsentTooManyRequests
- func (o *DeleteConsentTooManyRequests) Code() int
- func (o *DeleteConsentTooManyRequests) Error() string
- func (o *DeleteConsentTooManyRequests) GetPayload() *models.Error
- func (o *DeleteConsentTooManyRequests) IsClientError() bool
- func (o *DeleteConsentTooManyRequests) IsCode(code int) bool
- func (o *DeleteConsentTooManyRequests) IsRedirect() bool
- func (o *DeleteConsentTooManyRequests) IsServerError() bool
- func (o *DeleteConsentTooManyRequests) IsSuccess() bool
- func (o *DeleteConsentTooManyRequests) String() string
- type DeleteConsentUnauthorized
- func (o *DeleteConsentUnauthorized) Code() int
- func (o *DeleteConsentUnauthorized) Error() string
- func (o *DeleteConsentUnauthorized) GetPayload() *models.Error
- func (o *DeleteConsentUnauthorized) IsClientError() bool
- func (o *DeleteConsentUnauthorized) IsCode(code int) bool
- func (o *DeleteConsentUnauthorized) IsRedirect() bool
- func (o *DeleteConsentUnauthorized) IsServerError() bool
- func (o *DeleteConsentUnauthorized) IsSuccess() bool
- func (o *DeleteConsentUnauthorized) String() string
- type GetConsentActionForbidden
- func (o *GetConsentActionForbidden) Code() int
- func (o *GetConsentActionForbidden) Error() string
- func (o *GetConsentActionForbidden) GetPayload() *models.Error
- func (o *GetConsentActionForbidden) IsClientError() bool
- func (o *GetConsentActionForbidden) IsCode(code int) bool
- func (o *GetConsentActionForbidden) IsRedirect() bool
- func (o *GetConsentActionForbidden) IsServerError() bool
- func (o *GetConsentActionForbidden) IsSuccess() bool
- func (o *GetConsentActionForbidden) String() string
- type GetConsentActionNotFound
- func (o *GetConsentActionNotFound) Code() int
- func (o *GetConsentActionNotFound) Error() string
- func (o *GetConsentActionNotFound) GetPayload() *models.Error
- func (o *GetConsentActionNotFound) IsClientError() bool
- func (o *GetConsentActionNotFound) IsCode(code int) bool
- func (o *GetConsentActionNotFound) IsRedirect() bool
- func (o *GetConsentActionNotFound) IsServerError() bool
- func (o *GetConsentActionNotFound) IsSuccess() bool
- func (o *GetConsentActionNotFound) String() string
- type GetConsentActionOK
- func (o *GetConsentActionOK) Code() int
- func (o *GetConsentActionOK) Error() string
- func (o *GetConsentActionOK) GetPayload() *models.ConsentActionWithConsents
- func (o *GetConsentActionOK) IsClientError() bool
- func (o *GetConsentActionOK) IsCode(code int) bool
- func (o *GetConsentActionOK) IsRedirect() bool
- func (o *GetConsentActionOK) IsServerError() bool
- func (o *GetConsentActionOK) IsSuccess() bool
- func (o *GetConsentActionOK) String() string
- type GetConsentActionParams
- func NewGetConsentActionParams() *GetConsentActionParams
- func NewGetConsentActionParamsWithContext(ctx context.Context) *GetConsentActionParams
- func NewGetConsentActionParamsWithHTTPClient(client *http.Client) *GetConsentActionParams
- func NewGetConsentActionParamsWithTimeout(timeout time.Duration) *GetConsentActionParams
- func (o *GetConsentActionParams) SetAction(action string)
- func (o *GetConsentActionParams) SetContext(ctx context.Context)
- func (o *GetConsentActionParams) SetDefaults()
- func (o *GetConsentActionParams) SetHTTPClient(client *http.Client)
- func (o *GetConsentActionParams) SetIfMatch(ifMatch *string)
- func (o *GetConsentActionParams) SetTimeout(timeout time.Duration)
- func (o *GetConsentActionParams) WithAction(action string) *GetConsentActionParams
- func (o *GetConsentActionParams) WithContext(ctx context.Context) *GetConsentActionParams
- func (o *GetConsentActionParams) WithDefaults() *GetConsentActionParams
- func (o *GetConsentActionParams) WithHTTPClient(client *http.Client) *GetConsentActionParams
- func (o *GetConsentActionParams) WithIfMatch(ifMatch *string) *GetConsentActionParams
- func (o *GetConsentActionParams) WithTimeout(timeout time.Duration) *GetConsentActionParams
- func (o *GetConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsentActionReader
- type GetConsentActionTooManyRequests
- func (o *GetConsentActionTooManyRequests) Code() int
- func (o *GetConsentActionTooManyRequests) Error() string
- func (o *GetConsentActionTooManyRequests) GetPayload() *models.Error
- func (o *GetConsentActionTooManyRequests) IsClientError() bool
- func (o *GetConsentActionTooManyRequests) IsCode(code int) bool
- func (o *GetConsentActionTooManyRequests) IsRedirect() bool
- func (o *GetConsentActionTooManyRequests) IsServerError() bool
- func (o *GetConsentActionTooManyRequests) IsSuccess() bool
- func (o *GetConsentActionTooManyRequests) String() string
- type GetConsentActionUnauthorized
- func (o *GetConsentActionUnauthorized) Code() int
- func (o *GetConsentActionUnauthorized) Error() string
- func (o *GetConsentActionUnauthorized) GetPayload() *models.Error
- func (o *GetConsentActionUnauthorized) IsClientError() bool
- func (o *GetConsentActionUnauthorized) IsCode(code int) bool
- func (o *GetConsentActionUnauthorized) IsRedirect() bool
- func (o *GetConsentActionUnauthorized) IsServerError() bool
- func (o *GetConsentActionUnauthorized) IsSuccess() bool
- func (o *GetConsentActionUnauthorized) String() string
- type GetConsentForbidden
- func (o *GetConsentForbidden) Code() int
- func (o *GetConsentForbidden) Error() string
- func (o *GetConsentForbidden) GetPayload() *models.Error
- func (o *GetConsentForbidden) IsClientError() bool
- func (o *GetConsentForbidden) IsCode(code int) bool
- func (o *GetConsentForbidden) IsRedirect() bool
- func (o *GetConsentForbidden) IsServerError() bool
- func (o *GetConsentForbidden) IsSuccess() bool
- func (o *GetConsentForbidden) String() string
- type GetConsentNotFound
- func (o *GetConsentNotFound) Code() int
- func (o *GetConsentNotFound) Error() string
- func (o *GetConsentNotFound) GetPayload() *models.Error
- func (o *GetConsentNotFound) IsClientError() bool
- func (o *GetConsentNotFound) IsCode(code int) bool
- func (o *GetConsentNotFound) IsRedirect() bool
- func (o *GetConsentNotFound) IsServerError() bool
- func (o *GetConsentNotFound) IsSuccess() bool
- func (o *GetConsentNotFound) String() string
- type GetConsentOK
- func (o *GetConsentOK) Code() int
- func (o *GetConsentOK) Error() string
- func (o *GetConsentOK) GetPayload() *models.Consent
- func (o *GetConsentOK) IsClientError() bool
- func (o *GetConsentOK) IsCode(code int) bool
- func (o *GetConsentOK) IsRedirect() bool
- func (o *GetConsentOK) IsServerError() bool
- func (o *GetConsentOK) IsSuccess() bool
- func (o *GetConsentOK) String() string
- type GetConsentParams
- func (o *GetConsentParams) SetConsent(consent string)
- func (o *GetConsentParams) SetContext(ctx context.Context)
- func (o *GetConsentParams) SetDefaults()
- func (o *GetConsentParams) SetHTTPClient(client *http.Client)
- func (o *GetConsentParams) SetIfMatch(ifMatch *string)
- func (o *GetConsentParams) SetTimeout(timeout time.Duration)
- func (o *GetConsentParams) WithConsent(consent string) *GetConsentParams
- func (o *GetConsentParams) WithContext(ctx context.Context) *GetConsentParams
- func (o *GetConsentParams) WithDefaults() *GetConsentParams
- func (o *GetConsentParams) WithHTTPClient(client *http.Client) *GetConsentParams
- func (o *GetConsentParams) WithIfMatch(ifMatch *string) *GetConsentParams
- func (o *GetConsentParams) WithTimeout(timeout time.Duration) *GetConsentParams
- func (o *GetConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConsentReader
- type GetConsentTooManyRequests
- func (o *GetConsentTooManyRequests) Code() int
- func (o *GetConsentTooManyRequests) Error() string
- func (o *GetConsentTooManyRequests) GetPayload() *models.Error
- func (o *GetConsentTooManyRequests) IsClientError() bool
- func (o *GetConsentTooManyRequests) IsCode(code int) bool
- func (o *GetConsentTooManyRequests) IsRedirect() bool
- func (o *GetConsentTooManyRequests) IsServerError() bool
- func (o *GetConsentTooManyRequests) IsSuccess() bool
- func (o *GetConsentTooManyRequests) String() string
- type GetConsentUnauthorized
- func (o *GetConsentUnauthorized) Code() int
- func (o *GetConsentUnauthorized) Error() string
- func (o *GetConsentUnauthorized) GetPayload() *models.Error
- func (o *GetConsentUnauthorized) IsClientError() bool
- func (o *GetConsentUnauthorized) IsCode(code int) bool
- func (o *GetConsentUnauthorized) IsRedirect() bool
- func (o *GetConsentUnauthorized) IsServerError() bool
- func (o *GetConsentUnauthorized) IsSuccess() bool
- func (o *GetConsentUnauthorized) String() string
- type ListConsentActionsForbidden
- func (o *ListConsentActionsForbidden) Code() int
- func (o *ListConsentActionsForbidden) Error() string
- func (o *ListConsentActionsForbidden) GetPayload() *models.Error
- func (o *ListConsentActionsForbidden) IsClientError() bool
- func (o *ListConsentActionsForbidden) IsCode(code int) bool
- func (o *ListConsentActionsForbidden) IsRedirect() bool
- func (o *ListConsentActionsForbidden) IsServerError() bool
- func (o *ListConsentActionsForbidden) IsSuccess() bool
- func (o *ListConsentActionsForbidden) String() string
- type ListConsentActionsOK
- func (o *ListConsentActionsOK) Code() int
- func (o *ListConsentActionsOK) Error() string
- func (o *ListConsentActionsOK) GetPayload() *models.ConsentActions
- func (o *ListConsentActionsOK) IsClientError() bool
- func (o *ListConsentActionsOK) IsCode(code int) bool
- func (o *ListConsentActionsOK) IsRedirect() bool
- func (o *ListConsentActionsOK) IsServerError() bool
- func (o *ListConsentActionsOK) IsSuccess() bool
- func (o *ListConsentActionsOK) String() string
- type ListConsentActionsParams
- func NewListConsentActionsParams() *ListConsentActionsParams
- func NewListConsentActionsParamsWithContext(ctx context.Context) *ListConsentActionsParams
- func NewListConsentActionsParamsWithHTTPClient(client *http.Client) *ListConsentActionsParams
- func NewListConsentActionsParamsWithTimeout(timeout time.Duration) *ListConsentActionsParams
- func (o *ListConsentActionsParams) SetContext(ctx context.Context)
- func (o *ListConsentActionsParams) SetDefaults()
- func (o *ListConsentActionsParams) SetHTTPClient(client *http.Client)
- func (o *ListConsentActionsParams) SetIfMatch(ifMatch *string)
- func (o *ListConsentActionsParams) SetTimeout(timeout time.Duration)
- func (o *ListConsentActionsParams) WithContext(ctx context.Context) *ListConsentActionsParams
- func (o *ListConsentActionsParams) WithDefaults() *ListConsentActionsParams
- func (o *ListConsentActionsParams) WithHTTPClient(client *http.Client) *ListConsentActionsParams
- func (o *ListConsentActionsParams) WithIfMatch(ifMatch *string) *ListConsentActionsParams
- func (o *ListConsentActionsParams) WithTimeout(timeout time.Duration) *ListConsentActionsParams
- func (o *ListConsentActionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConsentActionsReader
- type ListConsentActionsTooManyRequests
- func (o *ListConsentActionsTooManyRequests) Code() int
- func (o *ListConsentActionsTooManyRequests) Error() string
- func (o *ListConsentActionsTooManyRequests) GetPayload() *models.Error
- func (o *ListConsentActionsTooManyRequests) IsClientError() bool
- func (o *ListConsentActionsTooManyRequests) IsCode(code int) bool
- func (o *ListConsentActionsTooManyRequests) IsRedirect() bool
- func (o *ListConsentActionsTooManyRequests) IsServerError() bool
- func (o *ListConsentActionsTooManyRequests) IsSuccess() bool
- func (o *ListConsentActionsTooManyRequests) String() string
- type ListConsentActionsUnauthorized
- func (o *ListConsentActionsUnauthorized) Code() int
- func (o *ListConsentActionsUnauthorized) Error() string
- func (o *ListConsentActionsUnauthorized) GetPayload() *models.Error
- func (o *ListConsentActionsUnauthorized) IsClientError() bool
- func (o *ListConsentActionsUnauthorized) IsCode(code int) bool
- func (o *ListConsentActionsUnauthorized) IsRedirect() bool
- func (o *ListConsentActionsUnauthorized) IsServerError() bool
- func (o *ListConsentActionsUnauthorized) IsSuccess() bool
- func (o *ListConsentActionsUnauthorized) String() string
- type ListConsentsForbidden
- func (o *ListConsentsForbidden) Code() int
- func (o *ListConsentsForbidden) Error() string
- func (o *ListConsentsForbidden) GetPayload() *models.Error
- func (o *ListConsentsForbidden) IsClientError() bool
- func (o *ListConsentsForbidden) IsCode(code int) bool
- func (o *ListConsentsForbidden) IsRedirect() bool
- func (o *ListConsentsForbidden) IsServerError() bool
- func (o *ListConsentsForbidden) IsSuccess() bool
- func (o *ListConsentsForbidden) String() string
- type ListConsentsOK
- func (o *ListConsentsOK) Code() int
- func (o *ListConsentsOK) Error() string
- func (o *ListConsentsOK) GetPayload() *models.Consents
- func (o *ListConsentsOK) IsClientError() bool
- func (o *ListConsentsOK) IsCode(code int) bool
- func (o *ListConsentsOK) IsRedirect() bool
- func (o *ListConsentsOK) IsServerError() bool
- func (o *ListConsentsOK) IsSuccess() bool
- func (o *ListConsentsOK) String() string
- type ListConsentsParams
- func (o *ListConsentsParams) SetContext(ctx context.Context)
- func (o *ListConsentsParams) SetDefaults()
- func (o *ListConsentsParams) SetHTTPClient(client *http.Client)
- func (o *ListConsentsParams) SetIfMatch(ifMatch *string)
- func (o *ListConsentsParams) SetTimeout(timeout time.Duration)
- func (o *ListConsentsParams) WithContext(ctx context.Context) *ListConsentsParams
- func (o *ListConsentsParams) WithDefaults() *ListConsentsParams
- func (o *ListConsentsParams) WithHTTPClient(client *http.Client) *ListConsentsParams
- func (o *ListConsentsParams) WithIfMatch(ifMatch *string) *ListConsentsParams
- func (o *ListConsentsParams) WithTimeout(timeout time.Duration) *ListConsentsParams
- func (o *ListConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConsentsReader
- type ListConsentsTooManyRequests
- func (o *ListConsentsTooManyRequests) Code() int
- func (o *ListConsentsTooManyRequests) Error() string
- func (o *ListConsentsTooManyRequests) GetPayload() *models.Error
- func (o *ListConsentsTooManyRequests) IsClientError() bool
- func (o *ListConsentsTooManyRequests) IsCode(code int) bool
- func (o *ListConsentsTooManyRequests) IsRedirect() bool
- func (o *ListConsentsTooManyRequests) IsServerError() bool
- func (o *ListConsentsTooManyRequests) IsSuccess() bool
- func (o *ListConsentsTooManyRequests) String() string
- type ListConsentsUnauthorized
- func (o *ListConsentsUnauthorized) Code() int
- func (o *ListConsentsUnauthorized) Error() string
- func (o *ListConsentsUnauthorized) GetPayload() *models.Error
- func (o *ListConsentsUnauthorized) IsClientError() bool
- func (o *ListConsentsUnauthorized) IsCode(code int) bool
- func (o *ListConsentsUnauthorized) IsRedirect() bool
- func (o *ListConsentsUnauthorized) IsServerError() bool
- func (o *ListConsentsUnauthorized) IsSuccess() bool
- func (o *ListConsentsUnauthorized) String() string
- type ListPrivacyLedgerEventsBySubjectForbidden
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) Code() int
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) Error() string
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsClientError() bool
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsServerError() bool
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsBySubjectForbidden) String() string
- type ListPrivacyLedgerEventsBySubjectNotFound
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) Code() int
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) Error() string
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsClientError() bool
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsServerError() bool
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsBySubjectNotFound) String() string
- type ListPrivacyLedgerEventsBySubjectOK
- func (o *ListPrivacyLedgerEventsBySubjectOK) Code() int
- func (o *ListPrivacyLedgerEventsBySubjectOK) Error() string
- func (o *ListPrivacyLedgerEventsBySubjectOK) GetPayload() *models.PrivacyLedgerEvents
- func (o *ListPrivacyLedgerEventsBySubjectOK) IsClientError() bool
- func (o *ListPrivacyLedgerEventsBySubjectOK) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsBySubjectOK) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsBySubjectOK) IsServerError() bool
- func (o *ListPrivacyLedgerEventsBySubjectOK) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsBySubjectOK) String() string
- type ListPrivacyLedgerEventsBySubjectParams
- func NewListPrivacyLedgerEventsBySubjectParams() *ListPrivacyLedgerEventsBySubjectParams
- func NewListPrivacyLedgerEventsBySubjectParamsWithContext(ctx context.Context) *ListPrivacyLedgerEventsBySubjectParams
- func NewListPrivacyLedgerEventsBySubjectParamsWithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsBySubjectParams
- func NewListPrivacyLedgerEventsBySubjectParamsWithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetContext(ctx context.Context)
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetDefaults()
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetFrom(from *int64)
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetHTTPClient(client *http.Client)
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetIfMatch(ifMatch *string)
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetSub(sub *string)
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetTimeout(timeout time.Duration)
- func (o *ListPrivacyLedgerEventsBySubjectParams) SetTo(to *int64)
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithContext(ctx context.Context) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithDefaults() *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithFrom(from *int64) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithIfMatch(ifMatch *string) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithSub(sub *string) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WithTo(to *int64) *ListPrivacyLedgerEventsBySubjectParams
- func (o *ListPrivacyLedgerEventsBySubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPrivacyLedgerEventsBySubjectReader
- type ListPrivacyLedgerEventsBySubjectTooManyRequests
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) Code() int
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) Error() string
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsClientError() bool
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsServerError() bool
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) String() string
- type ListPrivacyLedgerEventsBySubjectUnauthorized
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) Code() int
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) Error() string
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsClientError() bool
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsServerError() bool
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) String() string
- type UpdateConsentActionConflict
- func (o *UpdateConsentActionConflict) Code() int
- func (o *UpdateConsentActionConflict) Error() string
- func (o *UpdateConsentActionConflict) GetPayload() *models.Error
- func (o *UpdateConsentActionConflict) IsClientError() bool
- func (o *UpdateConsentActionConflict) IsCode(code int) bool
- func (o *UpdateConsentActionConflict) IsRedirect() bool
- func (o *UpdateConsentActionConflict) IsServerError() bool
- func (o *UpdateConsentActionConflict) IsSuccess() bool
- func (o *UpdateConsentActionConflict) String() string
- type UpdateConsentActionCreated
- func (o *UpdateConsentActionCreated) Code() int
- func (o *UpdateConsentActionCreated) Error() string
- func (o *UpdateConsentActionCreated) GetPayload() *models.ConsentActionWithConsents
- func (o *UpdateConsentActionCreated) IsClientError() bool
- func (o *UpdateConsentActionCreated) IsCode(code int) bool
- func (o *UpdateConsentActionCreated) IsRedirect() bool
- func (o *UpdateConsentActionCreated) IsServerError() bool
- func (o *UpdateConsentActionCreated) IsSuccess() bool
- func (o *UpdateConsentActionCreated) String() string
- type UpdateConsentActionForbidden
- func (o *UpdateConsentActionForbidden) Code() int
- func (o *UpdateConsentActionForbidden) Error() string
- func (o *UpdateConsentActionForbidden) GetPayload() *models.Error
- func (o *UpdateConsentActionForbidden) IsClientError() bool
- func (o *UpdateConsentActionForbidden) IsCode(code int) bool
- func (o *UpdateConsentActionForbidden) IsRedirect() bool
- func (o *UpdateConsentActionForbidden) IsServerError() bool
- func (o *UpdateConsentActionForbidden) IsSuccess() bool
- func (o *UpdateConsentActionForbidden) String() string
- type UpdateConsentActionNotFound
- func (o *UpdateConsentActionNotFound) Code() int
- func (o *UpdateConsentActionNotFound) Error() string
- func (o *UpdateConsentActionNotFound) GetPayload() *models.Error
- func (o *UpdateConsentActionNotFound) IsClientError() bool
- func (o *UpdateConsentActionNotFound) IsCode(code int) bool
- func (o *UpdateConsentActionNotFound) IsRedirect() bool
- func (o *UpdateConsentActionNotFound) IsServerError() bool
- func (o *UpdateConsentActionNotFound) IsSuccess() bool
- func (o *UpdateConsentActionNotFound) String() string
- type UpdateConsentActionParams
- func NewUpdateConsentActionParams() *UpdateConsentActionParams
- func NewUpdateConsentActionParamsWithContext(ctx context.Context) *UpdateConsentActionParams
- func NewUpdateConsentActionParamsWithHTTPClient(client *http.Client) *UpdateConsentActionParams
- func NewUpdateConsentActionParamsWithTimeout(timeout time.Duration) *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) SetAction(action string)
- func (o *UpdateConsentActionParams) SetConsentAction(consentAction *models.ConsentActionWithConsents)
- func (o *UpdateConsentActionParams) SetContext(ctx context.Context)
- func (o *UpdateConsentActionParams) SetDefaults()
- func (o *UpdateConsentActionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConsentActionParams) SetIfMatch(ifMatch *string)
- func (o *UpdateConsentActionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConsentActionParams) WithAction(action string) *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) WithConsentAction(consentAction *models.ConsentActionWithConsents) *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) WithContext(ctx context.Context) *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) WithDefaults() *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) WithHTTPClient(client *http.Client) *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) WithIfMatch(ifMatch *string) *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) WithTimeout(timeout time.Duration) *UpdateConsentActionParams
- func (o *UpdateConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConsentActionReader
- type UpdateConsentActionTooManyRequests
- func (o *UpdateConsentActionTooManyRequests) Code() int
- func (o *UpdateConsentActionTooManyRequests) Error() string
- func (o *UpdateConsentActionTooManyRequests) GetPayload() *models.Error
- func (o *UpdateConsentActionTooManyRequests) IsClientError() bool
- func (o *UpdateConsentActionTooManyRequests) IsCode(code int) bool
- func (o *UpdateConsentActionTooManyRequests) IsRedirect() bool
- func (o *UpdateConsentActionTooManyRequests) IsServerError() bool
- func (o *UpdateConsentActionTooManyRequests) IsSuccess() bool
- func (o *UpdateConsentActionTooManyRequests) String() string
- type UpdateConsentActionUnauthorized
- func (o *UpdateConsentActionUnauthorized) Code() int
- func (o *UpdateConsentActionUnauthorized) Error() string
- func (o *UpdateConsentActionUnauthorized) GetPayload() *models.Error
- func (o *UpdateConsentActionUnauthorized) IsClientError() bool
- func (o *UpdateConsentActionUnauthorized) IsCode(code int) bool
- func (o *UpdateConsentActionUnauthorized) IsRedirect() bool
- func (o *UpdateConsentActionUnauthorized) IsServerError() bool
- func (o *UpdateConsentActionUnauthorized) IsSuccess() bool
- func (o *UpdateConsentActionUnauthorized) String() string
- type UpdateConsentActionUnprocessableEntity
- func (o *UpdateConsentActionUnprocessableEntity) Code() int
- func (o *UpdateConsentActionUnprocessableEntity) Error() string
- func (o *UpdateConsentActionUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateConsentActionUnprocessableEntity) IsClientError() bool
- func (o *UpdateConsentActionUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateConsentActionUnprocessableEntity) IsRedirect() bool
- func (o *UpdateConsentActionUnprocessableEntity) IsServerError() bool
- func (o *UpdateConsentActionUnprocessableEntity) IsSuccess() bool
- func (o *UpdateConsentActionUnprocessableEntity) String() string
- type UpdateConsentConflict
- func (o *UpdateConsentConflict) Code() int
- func (o *UpdateConsentConflict) Error() string
- func (o *UpdateConsentConflict) GetPayload() *models.Error
- func (o *UpdateConsentConflict) IsClientError() bool
- func (o *UpdateConsentConflict) IsCode(code int) bool
- func (o *UpdateConsentConflict) IsRedirect() bool
- func (o *UpdateConsentConflict) IsServerError() bool
- func (o *UpdateConsentConflict) IsSuccess() bool
- func (o *UpdateConsentConflict) String() string
- type UpdateConsentCreated
- func (o *UpdateConsentCreated) Code() int
- func (o *UpdateConsentCreated) Error() string
- func (o *UpdateConsentCreated) GetPayload() *models.Consent
- func (o *UpdateConsentCreated) IsClientError() bool
- func (o *UpdateConsentCreated) IsCode(code int) bool
- func (o *UpdateConsentCreated) IsRedirect() bool
- func (o *UpdateConsentCreated) IsServerError() bool
- func (o *UpdateConsentCreated) IsSuccess() bool
- func (o *UpdateConsentCreated) String() string
- type UpdateConsentForbidden
- func (o *UpdateConsentForbidden) Code() int
- func (o *UpdateConsentForbidden) Error() string
- func (o *UpdateConsentForbidden) GetPayload() *models.Error
- func (o *UpdateConsentForbidden) IsClientError() bool
- func (o *UpdateConsentForbidden) IsCode(code int) bool
- func (o *UpdateConsentForbidden) IsRedirect() bool
- func (o *UpdateConsentForbidden) IsServerError() bool
- func (o *UpdateConsentForbidden) IsSuccess() bool
- func (o *UpdateConsentForbidden) String() string
- type UpdateConsentNotFound
- func (o *UpdateConsentNotFound) Code() int
- func (o *UpdateConsentNotFound) Error() string
- func (o *UpdateConsentNotFound) GetPayload() *models.Error
- func (o *UpdateConsentNotFound) IsClientError() bool
- func (o *UpdateConsentNotFound) IsCode(code int) bool
- func (o *UpdateConsentNotFound) IsRedirect() bool
- func (o *UpdateConsentNotFound) IsServerError() bool
- func (o *UpdateConsentNotFound) IsSuccess() bool
- func (o *UpdateConsentNotFound) String() string
- type UpdateConsentParams
- func (o *UpdateConsentParams) SetConsent(consent string)
- func (o *UpdateConsentParams) SetConsentBody(consentBody *models.Consent)
- func (o *UpdateConsentParams) SetContext(ctx context.Context)
- func (o *UpdateConsentParams) SetDefaults()
- func (o *UpdateConsentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConsentParams) SetIfMatch(ifMatch *string)
- func (o *UpdateConsentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConsentParams) WithConsent(consent string) *UpdateConsentParams
- func (o *UpdateConsentParams) WithConsentBody(consentBody *models.Consent) *UpdateConsentParams
- func (o *UpdateConsentParams) WithContext(ctx context.Context) *UpdateConsentParams
- func (o *UpdateConsentParams) WithDefaults() *UpdateConsentParams
- func (o *UpdateConsentParams) WithHTTPClient(client *http.Client) *UpdateConsentParams
- func (o *UpdateConsentParams) WithIfMatch(ifMatch *string) *UpdateConsentParams
- func (o *UpdateConsentParams) WithTimeout(timeout time.Duration) *UpdateConsentParams
- func (o *UpdateConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConsentReader
- type UpdateConsentTooManyRequests
- func (o *UpdateConsentTooManyRequests) Code() int
- func (o *UpdateConsentTooManyRequests) Error() string
- func (o *UpdateConsentTooManyRequests) GetPayload() *models.Error
- func (o *UpdateConsentTooManyRequests) IsClientError() bool
- func (o *UpdateConsentTooManyRequests) IsCode(code int) bool
- func (o *UpdateConsentTooManyRequests) IsRedirect() bool
- func (o *UpdateConsentTooManyRequests) IsServerError() bool
- func (o *UpdateConsentTooManyRequests) IsSuccess() bool
- func (o *UpdateConsentTooManyRequests) String() string
- type UpdateConsentUnauthorized
- func (o *UpdateConsentUnauthorized) Code() int
- func (o *UpdateConsentUnauthorized) Error() string
- func (o *UpdateConsentUnauthorized) GetPayload() *models.Error
- func (o *UpdateConsentUnauthorized) IsClientError() bool
- func (o *UpdateConsentUnauthorized) IsCode(code int) bool
- func (o *UpdateConsentUnauthorized) IsRedirect() bool
- func (o *UpdateConsentUnauthorized) IsServerError() bool
- func (o *UpdateConsentUnauthorized) IsSuccess() bool
- func (o *UpdateConsentUnauthorized) String() string
- type UpdateConsentUnprocessableEntity
- func (o *UpdateConsentUnprocessableEntity) Code() int
- func (o *UpdateConsentUnprocessableEntity) Error() string
- func (o *UpdateConsentUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateConsentUnprocessableEntity) IsClientError() bool
- func (o *UpdateConsentUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateConsentUnprocessableEntity) IsRedirect() bool
- func (o *UpdateConsentUnprocessableEntity) IsServerError() bool
- func (o *UpdateConsentUnprocessableEntity) IsSuccess() bool
- func (o *UpdateConsentUnprocessableEntity) String() string
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 ¶
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 (o *CreateConsentActionConflict) Error() string
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 (o *CreateConsentActionCreated) Error() string
func (*CreateConsentActionCreated) GetPayload ¶
func (o *CreateConsentActionCreated) GetPayload() *models.ConsentActionWithConsents
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 ¶
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 ¶
func (o *CreateConsentActionForbidden) Code() int
Code gets the status code for the create consent action forbidden response
func (*CreateConsentActionForbidden) Error ¶
func (o *CreateConsentActionForbidden) Error() string
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 ¶
func (o *CreateConsentActionForbidden) String() string
type CreateConsentActionNotFound ¶
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 (o *CreateConsentActionNotFound) Error() string
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 ¶
func (o *CreateConsentActionParams) WithConsentAction(consentAction *models.ConsentActionWithConsents) *CreateConsentActionParams
WithConsentAction adds the consentAction to the create consent action params
func (*CreateConsentActionParams) WithContext ¶
func (o *CreateConsentActionParams) WithContext(ctx context.Context) *CreateConsentActionParams
WithContext adds the context to the create consent action params
func (*CreateConsentActionParams) WithDefaults ¶
func (o *CreateConsentActionParams) WithDefaults() *CreateConsentActionParams
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 ¶
func (o *CreateConsentActionParams) WithIfMatch(ifMatch *string) *CreateConsentActionParams
WithIfMatch adds the ifMatch to the create consent action params
func (*CreateConsentActionParams) WithTimeout ¶
func (o *CreateConsentActionParams) WithTimeout(timeout time.Duration) *CreateConsentActionParams
WithTimeout adds the timeout to the create consent action params
func (*CreateConsentActionParams) WriteToRequest ¶
func (o *CreateConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *CreateConsentActionTooManyRequests) Code() int
Code gets the status code for the create consent action too many requests response
func (*CreateConsentActionTooManyRequests) Error ¶
func (o *CreateConsentActionTooManyRequests) Error() string
func (*CreateConsentActionTooManyRequests) GetPayload ¶
func (o *CreateConsentActionTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *CreateConsentActionTooManyRequests) IsCode(code int) bool
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 ¶
func (o *CreateConsentActionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create consent action too many requests response has a 2xx status code
func (*CreateConsentActionTooManyRequests) String ¶
func (o *CreateConsentActionTooManyRequests) String() string
type CreateConsentActionUnauthorized ¶
type CreateConsentActionUnauthorized struct {
}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 ¶
func (o *CreateConsentActionUnauthorized) Code() int
Code gets the status code for the create consent action unauthorized response
func (*CreateConsentActionUnauthorized) Error ¶
func (o *CreateConsentActionUnauthorized) Error() string
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 ¶
func (o *CreateConsentActionUnauthorized) String() string
type CreateConsentActionUnprocessableEntity ¶
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 ¶
func (o *CreateConsentActionUnprocessableEntity) Code() int
Code gets the status code for the create consent action unprocessable entity response
func (*CreateConsentActionUnprocessableEntity) Error ¶
func (o *CreateConsentActionUnprocessableEntity) Error() string
func (*CreateConsentActionUnprocessableEntity) GetPayload ¶
func (o *CreateConsentActionUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *CreateConsentActionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create consent action unprocessable entity response a status code equal to that given
func (*CreateConsentActionUnprocessableEntity) IsRedirect ¶
func (o *CreateConsentActionUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *CreateConsentActionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create consent action unprocessable entity response has a 2xx status code
func (*CreateConsentActionUnprocessableEntity) String ¶
func (o *CreateConsentActionUnprocessableEntity) String() string
type CreateConsentConflict ¶
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 ¶
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 ¶
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 ¶
func (o *CreateConsentParams) WithContext(ctx context.Context) *CreateConsentParams
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 ¶
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 ¶
func (o *CreateConsentTooManyRequests) Code() int
Code gets the status code for the create consent too many requests response
func (*CreateConsentTooManyRequests) Error ¶
func (o *CreateConsentTooManyRequests) Error() string
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 ¶
func (o *CreateConsentTooManyRequests) String() string
type CreateConsentUnauthorized ¶
type CreateConsentUnauthorized struct {
}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 ¶
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 ¶
func (o *CreateConsentUnprocessableEntity) Code() int
Code gets the status code for the create consent unprocessable entity response
func (*CreateConsentUnprocessableEntity) Error ¶
func (o *CreateConsentUnprocessableEntity) Error() string
func (*CreateConsentUnprocessableEntity) GetPayload ¶
func (o *CreateConsentUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *CreateConsentUnprocessableEntity) String() string
type DeleteConsentActionForbidden ¶
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 ¶
func (o *DeleteConsentActionForbidden) Code() int
Code gets the status code for the delete consent action forbidden response
func (*DeleteConsentActionForbidden) Error ¶
func (o *DeleteConsentActionForbidden) Error() string
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 ¶
func (o *DeleteConsentActionForbidden) String() 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 ¶
func (o *DeleteConsentActionNoContent) Code() int
Code gets the status code for the delete consent action no content response
func (*DeleteConsentActionNoContent) Error ¶
func (o *DeleteConsentActionNoContent) Error() string
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 ¶
func (o *DeleteConsentActionNoContent) String() string
type DeleteConsentActionNotFound ¶
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 (o *DeleteConsentActionNotFound) Error() string
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 ¶
func (o *DeleteConsentActionParams) WithAction(action string) *DeleteConsentActionParams
WithAction adds the action to the delete consent action params
func (*DeleteConsentActionParams) WithContext ¶
func (o *DeleteConsentActionParams) WithContext(ctx context.Context) *DeleteConsentActionParams
WithContext adds the context to the delete consent action params
func (*DeleteConsentActionParams) WithDefaults ¶
func (o *DeleteConsentActionParams) WithDefaults() *DeleteConsentActionParams
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 ¶
func (o *DeleteConsentActionParams) WithIfMatch(ifMatch *string) *DeleteConsentActionParams
WithIfMatch adds the ifMatch to the delete consent action params
func (*DeleteConsentActionParams) WithTimeout ¶
func (o *DeleteConsentActionParams) WithTimeout(timeout time.Duration) *DeleteConsentActionParams
WithTimeout adds the timeout to the delete consent action params
func (*DeleteConsentActionParams) WriteToRequest ¶
func (o *DeleteConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *DeleteConsentActionTooManyRequests) Code() int
Code gets the status code for the delete consent action too many requests response
func (*DeleteConsentActionTooManyRequests) Error ¶
func (o *DeleteConsentActionTooManyRequests) Error() string
func (*DeleteConsentActionTooManyRequests) GetPayload ¶
func (o *DeleteConsentActionTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *DeleteConsentActionTooManyRequests) IsCode(code int) bool
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 ¶
func (o *DeleteConsentActionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete consent action too many requests response has a 2xx status code
func (*DeleteConsentActionTooManyRequests) String ¶
func (o *DeleteConsentActionTooManyRequests) String() string
type DeleteConsentActionUnauthorized ¶
type DeleteConsentActionUnauthorized struct {
}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 ¶
func (o *DeleteConsentActionUnauthorized) Code() int
Code gets the status code for the delete consent action unauthorized response
func (*DeleteConsentActionUnauthorized) Error ¶
func (o *DeleteConsentActionUnauthorized) Error() string
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 ¶
func (o *DeleteConsentActionUnauthorized) String() string
type DeleteConsentForbidden ¶
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 ¶
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 ¶
func (o *DeleteConsentParams) WithContext(ctx context.Context) *DeleteConsentParams
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 ¶
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 ¶
func (o *DeleteConsentTooManyRequests) Code() int
Code gets the status code for the delete consent too many requests response
func (*DeleteConsentTooManyRequests) Error ¶
func (o *DeleteConsentTooManyRequests) Error() string
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 ¶
func (o *DeleteConsentTooManyRequests) String() string
type DeleteConsentUnauthorized ¶
type DeleteConsentUnauthorized struct {
}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 ¶
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 ¶
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 (o *GetConsentActionOK) GetPayload() *models.ConsentActionWithConsents
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 ¶
func (o *GetConsentActionParams) WithContext(ctx context.Context) *GetConsentActionParams
WithContext adds the context to the get consent action params
func (*GetConsentActionParams) WithDefaults ¶
func (o *GetConsentActionParams) WithDefaults() *GetConsentActionParams
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 ¶
func (o *GetConsentActionParams) WithTimeout(timeout time.Duration) *GetConsentActionParams
WithTimeout adds the timeout to the get consent action params
func (*GetConsentActionParams) WriteToRequest ¶
func (o *GetConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetConsentActionTooManyRequests) Code() int
Code gets the status code for the get consent action too many requests response
func (*GetConsentActionTooManyRequests) Error ¶
func (o *GetConsentActionTooManyRequests) Error() string
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 ¶
func (o *GetConsentActionTooManyRequests) String() string
type GetConsentActionUnauthorized ¶
type GetConsentActionUnauthorized struct {
}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 ¶
func (o *GetConsentActionUnauthorized) Code() int
Code gets the status code for the get consent action unauthorized response
func (*GetConsentActionUnauthorized) Error ¶
func (o *GetConsentActionUnauthorized) Error() string
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 ¶
func (o *GetConsentActionUnauthorized) String() string
type GetConsentForbidden ¶
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 ¶
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 ¶
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 {
}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 ¶
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 (o *ListConsentActionsForbidden) Error() string
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 ¶
func (o *ListConsentActionsParams) WithContext(ctx context.Context) *ListConsentActionsParams
WithContext adds the context to the list consent actions params
func (*ListConsentActionsParams) WithDefaults ¶
func (o *ListConsentActionsParams) WithDefaults() *ListConsentActionsParams
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 ¶
func (o *ListConsentActionsParams) WithTimeout(timeout time.Duration) *ListConsentActionsParams
WithTimeout adds the timeout to the list consent actions params
func (*ListConsentActionsParams) WriteToRequest ¶
func (o *ListConsentActionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ListConsentActionsTooManyRequests) Code() int
Code gets the status code for the list consent actions too many requests response
func (*ListConsentActionsTooManyRequests) Error ¶
func (o *ListConsentActionsTooManyRequests) Error() string
func (*ListConsentActionsTooManyRequests) GetPayload ¶
func (o *ListConsentActionsTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *ListConsentActionsTooManyRequests) String() string
type ListConsentActionsUnauthorized ¶
type ListConsentActionsUnauthorized struct {
}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 ¶
func (o *ListConsentActionsUnauthorized) Code() int
Code gets the status code for the list consent actions unauthorized response
func (*ListConsentActionsUnauthorized) Error ¶
func (o *ListConsentActionsUnauthorized) Error() string
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 ¶
func (o *ListConsentActionsUnauthorized) String() string
type ListConsentsForbidden ¶
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 ¶
func (o *ListConsentsParams) WithContext(ctx context.Context) *ListConsentsParams
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 ¶
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 (o *ListConsentsTooManyRequests) Error() string
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 {
}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 ¶
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) Code() int
Code gets the status code for the list privacy ledger events by subject forbidden response
func (*ListPrivacyLedgerEventsBySubjectForbidden) Error ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) Error() string
func (*ListPrivacyLedgerEventsBySubjectForbidden) GetPayload ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsBySubjectForbidden) IsClientError ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsClientError() bool
IsClientError returns true when this list privacy ledger events by subject forbidden response has a 4xx status code
func (*ListPrivacyLedgerEventsBySubjectForbidden) IsCode ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsCode(code int) bool
IsCode returns true when this list privacy ledger events by subject forbidden response a status code equal to that given
func (*ListPrivacyLedgerEventsBySubjectForbidden) IsRedirect ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events by subject forbidden response has a 3xx status code
func (*ListPrivacyLedgerEventsBySubjectForbidden) IsServerError ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsServerError() bool
IsServerError returns true when this list privacy ledger events by subject forbidden response has a 5xx status code
func (*ListPrivacyLedgerEventsBySubjectForbidden) IsSuccess ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events by subject forbidden response has a 2xx status code
func (*ListPrivacyLedgerEventsBySubjectForbidden) String ¶
func (o *ListPrivacyLedgerEventsBySubjectForbidden) String() string
type ListPrivacyLedgerEventsBySubjectNotFound ¶
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) Code() int
Code gets the status code for the list privacy ledger events by subject not found response
func (*ListPrivacyLedgerEventsBySubjectNotFound) Error ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) Error() string
func (*ListPrivacyLedgerEventsBySubjectNotFound) GetPayload ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsBySubjectNotFound) IsClientError ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsClientError() bool
IsClientError returns true when this list privacy ledger events by subject not found response has a 4xx status code
func (*ListPrivacyLedgerEventsBySubjectNotFound) IsCode ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsCode(code int) bool
IsCode returns true when this list privacy ledger events by subject not found response a status code equal to that given
func (*ListPrivacyLedgerEventsBySubjectNotFound) IsRedirect ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events by subject not found response has a 3xx status code
func (*ListPrivacyLedgerEventsBySubjectNotFound) IsServerError ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsServerError() bool
IsServerError returns true when this list privacy ledger events by subject not found response has a 5xx status code
func (*ListPrivacyLedgerEventsBySubjectNotFound) IsSuccess ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events by subject not found response has a 2xx status code
func (*ListPrivacyLedgerEventsBySubjectNotFound) String ¶
func (o *ListPrivacyLedgerEventsBySubjectNotFound) String() 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 ¶
func (o *ListPrivacyLedgerEventsBySubjectOK) Code() int
Code gets the status code for the list privacy ledger events by subject o k response
func (*ListPrivacyLedgerEventsBySubjectOK) Error ¶
func (o *ListPrivacyLedgerEventsBySubjectOK) Error() string
func (*ListPrivacyLedgerEventsBySubjectOK) GetPayload ¶
func (o *ListPrivacyLedgerEventsBySubjectOK) GetPayload() *models.PrivacyLedgerEvents
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectOK) IsCode(code int) bool
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectOK) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events by subject o k response has a 2xx status code
func (*ListPrivacyLedgerEventsBySubjectOK) String ¶
func (o *ListPrivacyLedgerEventsBySubjectOK) String() 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 ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) SetContext(ctx context.Context)
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) SetFrom(from *int64)
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) SetSub(sub *string)
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) SetTo(to *int64)
SetTo adds the to to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WithContext ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithContext(ctx context.Context) *ListPrivacyLedgerEventsBySubjectParams
WithContext adds the context to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WithDefaults ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithDefaults() *ListPrivacyLedgerEventsBySubjectParams
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithFrom(from *int64) *ListPrivacyLedgerEventsBySubjectParams
WithFrom adds the from to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WithHTTPClient ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsBySubjectParams
WithHTTPClient adds the HTTPClient to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WithIfMatch ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithIfMatch(ifMatch *string) *ListPrivacyLedgerEventsBySubjectParams
WithIfMatch adds the ifMatch to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WithSub ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithSub(sub *string) *ListPrivacyLedgerEventsBySubjectParams
WithSub adds the sub to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WithTimeout ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsBySubjectParams
WithTimeout adds the timeout to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WithTo ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WithTo(to *int64) *ListPrivacyLedgerEventsBySubjectParams
WithTo adds the to to the list privacy ledger events by subject params
func (*ListPrivacyLedgerEventsBySubjectParams) WriteToRequest ¶
func (o *ListPrivacyLedgerEventsBySubjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) Code() int
Code gets the status code for the list privacy ledger events by subject too many requests response
func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) Error ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) Error() string
func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) GetPayload ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsClientError ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsClientError() bool
IsClientError returns true when this list privacy ledger events by subject too many requests response has a 4xx status code
func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsCode ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsCode(code int) bool
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 ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events by subject too many requests response has a 3xx status code
func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsServerError ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsServerError() bool
IsServerError returns true when this list privacy ledger events by subject too many requests response has a 5xx status code
func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) IsSuccess ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events by subject too many requests response has a 2xx status code
func (*ListPrivacyLedgerEventsBySubjectTooManyRequests) String ¶
func (o *ListPrivacyLedgerEventsBySubjectTooManyRequests) String() string
type ListPrivacyLedgerEventsBySubjectUnauthorized ¶
type ListPrivacyLedgerEventsBySubjectUnauthorized struct {
}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 ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) Code() int
Code gets the status code for the list privacy ledger events by subject unauthorized response
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) Error ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) Error() string
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) GetPayload ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsClientError ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsClientError() bool
IsClientError returns true when this list privacy ledger events by subject unauthorized response has a 4xx status code
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsCode ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsCode(code int) bool
IsCode returns true when this list privacy ledger events by subject unauthorized response a status code equal to that given
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsRedirect ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events by subject unauthorized response has a 3xx status code
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsServerError ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsServerError() bool
IsServerError returns true when this list privacy ledger events by subject unauthorized response has a 5xx status code
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) IsSuccess ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events by subject unauthorized response has a 2xx status code
func (*ListPrivacyLedgerEventsBySubjectUnauthorized) String ¶
func (o *ListPrivacyLedgerEventsBySubjectUnauthorized) String() string
type UpdateConsentActionConflict ¶
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 (o *UpdateConsentActionConflict) Error() string
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 (o *UpdateConsentActionCreated) Error() string
func (*UpdateConsentActionCreated) GetPayload ¶
func (o *UpdateConsentActionCreated) GetPayload() *models.ConsentActionWithConsents
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 ¶
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 ¶
func (o *UpdateConsentActionForbidden) Code() int
Code gets the status code for the update consent action forbidden response
func (*UpdateConsentActionForbidden) Error ¶
func (o *UpdateConsentActionForbidden) Error() string
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 ¶
func (o *UpdateConsentActionForbidden) String() string
type UpdateConsentActionNotFound ¶
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 (o *UpdateConsentActionNotFound) Error() string
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 ¶
func (o *UpdateConsentActionParams) WithAction(action string) *UpdateConsentActionParams
WithAction adds the action to the update consent action params
func (*UpdateConsentActionParams) WithConsentAction ¶
func (o *UpdateConsentActionParams) WithConsentAction(consentAction *models.ConsentActionWithConsents) *UpdateConsentActionParams
WithConsentAction adds the consentAction to the update consent action params
func (*UpdateConsentActionParams) WithContext ¶
func (o *UpdateConsentActionParams) WithContext(ctx context.Context) *UpdateConsentActionParams
WithContext adds the context to the update consent action params
func (*UpdateConsentActionParams) WithDefaults ¶
func (o *UpdateConsentActionParams) WithDefaults() *UpdateConsentActionParams
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 ¶
func (o *UpdateConsentActionParams) WithIfMatch(ifMatch *string) *UpdateConsentActionParams
WithIfMatch adds the ifMatch to the update consent action params
func (*UpdateConsentActionParams) WithTimeout ¶
func (o *UpdateConsentActionParams) WithTimeout(timeout time.Duration) *UpdateConsentActionParams
WithTimeout adds the timeout to the update consent action params
func (*UpdateConsentActionParams) WriteToRequest ¶
func (o *UpdateConsentActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *UpdateConsentActionTooManyRequests) Code() int
Code gets the status code for the update consent action too many requests response
func (*UpdateConsentActionTooManyRequests) Error ¶
func (o *UpdateConsentActionTooManyRequests) Error() string
func (*UpdateConsentActionTooManyRequests) GetPayload ¶
func (o *UpdateConsentActionTooManyRequests) GetPayload() *models.Error
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 ¶
func (o *UpdateConsentActionTooManyRequests) IsCode(code int) bool
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 ¶
func (o *UpdateConsentActionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update consent action too many requests response has a 2xx status code
func (*UpdateConsentActionTooManyRequests) String ¶
func (o *UpdateConsentActionTooManyRequests) String() string
type UpdateConsentActionUnauthorized ¶
type UpdateConsentActionUnauthorized struct {
}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 ¶
func (o *UpdateConsentActionUnauthorized) Code() int
Code gets the status code for the update consent action unauthorized response
func (*UpdateConsentActionUnauthorized) Error ¶
func (o *UpdateConsentActionUnauthorized) Error() string
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 ¶
func (o *UpdateConsentActionUnauthorized) String() string
type UpdateConsentActionUnprocessableEntity ¶
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 ¶
func (o *UpdateConsentActionUnprocessableEntity) Code() int
Code gets the status code for the update consent action unprocessable entity response
func (*UpdateConsentActionUnprocessableEntity) Error ¶
func (o *UpdateConsentActionUnprocessableEntity) Error() string
func (*UpdateConsentActionUnprocessableEntity) GetPayload ¶
func (o *UpdateConsentActionUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *UpdateConsentActionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update consent action unprocessable entity response a status code equal to that given
func (*UpdateConsentActionUnprocessableEntity) IsRedirect ¶
func (o *UpdateConsentActionUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *UpdateConsentActionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update consent action unprocessable entity response has a 2xx status code
func (*UpdateConsentActionUnprocessableEntity) String ¶
func (o *UpdateConsentActionUnprocessableEntity) String() string
type UpdateConsentConflict ¶
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 ¶
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 ¶
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 ¶
func (o *UpdateConsentParams) WithContext(ctx context.Context) *UpdateConsentParams
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 ¶
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 ¶
func (o *UpdateConsentTooManyRequests) Code() int
Code gets the status code for the update consent too many requests response
func (*UpdateConsentTooManyRequests) Error ¶
func (o *UpdateConsentTooManyRequests) Error() string
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 ¶
func (o *UpdateConsentTooManyRequests) String() string
type UpdateConsentUnauthorized ¶
type UpdateConsentUnauthorized struct {
}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 ¶
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 ¶
func (o *UpdateConsentUnprocessableEntity) Code() int
Code gets the status code for the update consent unprocessable entity response
func (*UpdateConsentUnprocessableEntity) Error ¶
func (o *UpdateConsentUnprocessableEntity) Error() string
func (*UpdateConsentUnprocessableEntity) GetPayload ¶
func (o *UpdateConsentUnprocessableEntity) GetPayload() *models.Error
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 ¶
func (o *UpdateConsentUnprocessableEntity) String() string
Source Files ¶
- consents_client.go
- create_consent_action_parameters.go
- create_consent_action_responses.go
- create_consent_parameters.go
- create_consent_responses.go
- delete_consent_action_parameters.go
- delete_consent_action_responses.go
- delete_consent_parameters.go
- delete_consent_responses.go
- get_consent_action_parameters.go
- get_consent_action_responses.go
- get_consent_parameters.go
- get_consent_responses.go
- list_consent_actions_parameters.go
- list_consent_actions_responses.go
- list_consents_parameters.go
- list_consents_responses.go
- list_privacy_ledger_events_by_subject_parameters.go
- list_privacy_ledger_events_by_subject_responses.go
- update_consent_action_parameters.go
- update_consent_action_responses.go
- update_consent_parameters.go
- update_consent_responses.go