Documentation ¶
Index ¶
- type Client
- func (a *Client) GrantConsent(params *GrantConsentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GrantConsentCreated, error)
- func (a *Client) ListPrivacyLedgerEvents(params *ListPrivacyLedgerEventsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPrivacyLedgerEventsOK, error)
- func (a *Client) ListUserConsents(params *ListUserConsentsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUserConsentsOK, error)
- func (a *Client) ListUserConsentsByAction(params *ListUserConsentsByActionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListUserConsentsByActionOK, error)
- func (a *Client) PatchConsentGrants(params *PatchConsentGrantsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchConsentGrantsCreated, error)
- func (a *Client) RevokeConsent(params *RevokeConsentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeConsentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GrantConsentConflict
- func (o *GrantConsentConflict) Code() int
- func (o *GrantConsentConflict) Error() string
- func (o *GrantConsentConflict) GetPayload() *models.Error
- func (o *GrantConsentConflict) IsClientError() bool
- func (o *GrantConsentConflict) IsCode(code int) bool
- func (o *GrantConsentConflict) IsRedirect() bool
- func (o *GrantConsentConflict) IsServerError() bool
- func (o *GrantConsentConflict) IsSuccess() bool
- func (o *GrantConsentConflict) String() string
- type GrantConsentCreated
- func (o *GrantConsentCreated) Code() int
- func (o *GrantConsentCreated) Error() string
- func (o *GrantConsentCreated) GetPayload() *models.ConsentGrant
- func (o *GrantConsentCreated) IsClientError() bool
- func (o *GrantConsentCreated) IsCode(code int) bool
- func (o *GrantConsentCreated) IsRedirect() bool
- func (o *GrantConsentCreated) IsServerError() bool
- func (o *GrantConsentCreated) IsSuccess() bool
- func (o *GrantConsentCreated) String() string
- type GrantConsentForbidden
- func (o *GrantConsentForbidden) Code() int
- func (o *GrantConsentForbidden) Error() string
- func (o *GrantConsentForbidden) GetPayload() *models.Error
- func (o *GrantConsentForbidden) IsClientError() bool
- func (o *GrantConsentForbidden) IsCode(code int) bool
- func (o *GrantConsentForbidden) IsRedirect() bool
- func (o *GrantConsentForbidden) IsServerError() bool
- func (o *GrantConsentForbidden) IsSuccess() bool
- func (o *GrantConsentForbidden) String() string
- type GrantConsentNotFound
- func (o *GrantConsentNotFound) Code() int
- func (o *GrantConsentNotFound) Error() string
- func (o *GrantConsentNotFound) GetPayload() *models.Error
- func (o *GrantConsentNotFound) IsClientError() bool
- func (o *GrantConsentNotFound) IsCode(code int) bool
- func (o *GrantConsentNotFound) IsRedirect() bool
- func (o *GrantConsentNotFound) IsServerError() bool
- func (o *GrantConsentNotFound) IsSuccess() bool
- func (o *GrantConsentNotFound) String() string
- type GrantConsentParams
- func (o *GrantConsentParams) SetConsentGrant(consentGrant *models.ConsentGrantRequest)
- func (o *GrantConsentParams) SetContext(ctx context.Context)
- func (o *GrantConsentParams) SetDefaults()
- func (o *GrantConsentParams) SetHTTPClient(client *http.Client)
- func (o *GrantConsentParams) SetTimeout(timeout time.Duration)
- func (o *GrantConsentParams) WithConsentGrant(consentGrant *models.ConsentGrantRequest) *GrantConsentParams
- func (o *GrantConsentParams) WithContext(ctx context.Context) *GrantConsentParams
- func (o *GrantConsentParams) WithDefaults() *GrantConsentParams
- func (o *GrantConsentParams) WithHTTPClient(client *http.Client) *GrantConsentParams
- func (o *GrantConsentParams) WithTimeout(timeout time.Duration) *GrantConsentParams
- func (o *GrantConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GrantConsentReader
- type GrantConsentTooManyRequests
- func (o *GrantConsentTooManyRequests) Code() int
- func (o *GrantConsentTooManyRequests) Error() string
- func (o *GrantConsentTooManyRequests) GetPayload() *models.Error
- func (o *GrantConsentTooManyRequests) IsClientError() bool
- func (o *GrantConsentTooManyRequests) IsCode(code int) bool
- func (o *GrantConsentTooManyRequests) IsRedirect() bool
- func (o *GrantConsentTooManyRequests) IsServerError() bool
- func (o *GrantConsentTooManyRequests) IsSuccess() bool
- func (o *GrantConsentTooManyRequests) String() string
- type GrantConsentUnauthorized
- func (o *GrantConsentUnauthorized) Code() int
- func (o *GrantConsentUnauthorized) Error() string
- func (o *GrantConsentUnauthorized) GetPayload() *models.Error
- func (o *GrantConsentUnauthorized) IsClientError() bool
- func (o *GrantConsentUnauthorized) IsCode(code int) bool
- func (o *GrantConsentUnauthorized) IsRedirect() bool
- func (o *GrantConsentUnauthorized) IsServerError() bool
- func (o *GrantConsentUnauthorized) IsSuccess() bool
- func (o *GrantConsentUnauthorized) String() string
- type GrantConsentUnprocessableEntity
- func (o *GrantConsentUnprocessableEntity) Code() int
- func (o *GrantConsentUnprocessableEntity) Error() string
- func (o *GrantConsentUnprocessableEntity) GetPayload() *models.Error
- func (o *GrantConsentUnprocessableEntity) IsClientError() bool
- func (o *GrantConsentUnprocessableEntity) IsCode(code int) bool
- func (o *GrantConsentUnprocessableEntity) IsRedirect() bool
- func (o *GrantConsentUnprocessableEntity) IsServerError() bool
- func (o *GrantConsentUnprocessableEntity) IsSuccess() bool
- func (o *GrantConsentUnprocessableEntity) String() string
- type ListPrivacyLedgerEventsForbidden
- func (o *ListPrivacyLedgerEventsForbidden) Code() int
- func (o *ListPrivacyLedgerEventsForbidden) Error() string
- func (o *ListPrivacyLedgerEventsForbidden) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsForbidden) IsClientError() bool
- func (o *ListPrivacyLedgerEventsForbidden) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsForbidden) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsForbidden) IsServerError() bool
- func (o *ListPrivacyLedgerEventsForbidden) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsForbidden) String() string
- type ListPrivacyLedgerEventsNotFound
- func (o *ListPrivacyLedgerEventsNotFound) Code() int
- func (o *ListPrivacyLedgerEventsNotFound) Error() string
- func (o *ListPrivacyLedgerEventsNotFound) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsNotFound) IsClientError() bool
- func (o *ListPrivacyLedgerEventsNotFound) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsNotFound) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsNotFound) IsServerError() bool
- func (o *ListPrivacyLedgerEventsNotFound) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsNotFound) String() string
- type ListPrivacyLedgerEventsOK
- func (o *ListPrivacyLedgerEventsOK) Code() int
- func (o *ListPrivacyLedgerEventsOK) Error() string
- func (o *ListPrivacyLedgerEventsOK) GetPayload() *models.PrivacyLedgerEvents
- func (o *ListPrivacyLedgerEventsOK) IsClientError() bool
- func (o *ListPrivacyLedgerEventsOK) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsOK) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsOK) IsServerError() bool
- func (o *ListPrivacyLedgerEventsOK) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsOK) String() string
- type ListPrivacyLedgerEventsParams
- func NewListPrivacyLedgerEventsParams() *ListPrivacyLedgerEventsParams
- func NewListPrivacyLedgerEventsParamsWithContext(ctx context.Context) *ListPrivacyLedgerEventsParams
- func NewListPrivacyLedgerEventsParamsWithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsParams
- func NewListPrivacyLedgerEventsParamsWithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsParams
- func (o *ListPrivacyLedgerEventsParams) SetContext(ctx context.Context)
- func (o *ListPrivacyLedgerEventsParams) SetDefaults()
- func (o *ListPrivacyLedgerEventsParams) SetFrom(from *int64)
- func (o *ListPrivacyLedgerEventsParams) SetHTTPClient(client *http.Client)
- func (o *ListPrivacyLedgerEventsParams) SetTimeout(timeout time.Duration)
- func (o *ListPrivacyLedgerEventsParams) SetTo(to *int64)
- func (o *ListPrivacyLedgerEventsParams) WithContext(ctx context.Context) *ListPrivacyLedgerEventsParams
- func (o *ListPrivacyLedgerEventsParams) WithDefaults() *ListPrivacyLedgerEventsParams
- func (o *ListPrivacyLedgerEventsParams) WithFrom(from *int64) *ListPrivacyLedgerEventsParams
- func (o *ListPrivacyLedgerEventsParams) WithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsParams
- func (o *ListPrivacyLedgerEventsParams) WithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsParams
- func (o *ListPrivacyLedgerEventsParams) WithTo(to *int64) *ListPrivacyLedgerEventsParams
- func (o *ListPrivacyLedgerEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPrivacyLedgerEventsReader
- type ListPrivacyLedgerEventsTooManyRequests
- func (o *ListPrivacyLedgerEventsTooManyRequests) Code() int
- func (o *ListPrivacyLedgerEventsTooManyRequests) Error() string
- func (o *ListPrivacyLedgerEventsTooManyRequests) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsTooManyRequests) IsClientError() bool
- func (o *ListPrivacyLedgerEventsTooManyRequests) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsTooManyRequests) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsTooManyRequests) IsServerError() bool
- func (o *ListPrivacyLedgerEventsTooManyRequests) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsTooManyRequests) String() string
- type ListPrivacyLedgerEventsUnauthorized
- func (o *ListPrivacyLedgerEventsUnauthorized) Code() int
- func (o *ListPrivacyLedgerEventsUnauthorized) Error() string
- func (o *ListPrivacyLedgerEventsUnauthorized) GetPayload() *models.Error
- func (o *ListPrivacyLedgerEventsUnauthorized) IsClientError() bool
- func (o *ListPrivacyLedgerEventsUnauthorized) IsCode(code int) bool
- func (o *ListPrivacyLedgerEventsUnauthorized) IsRedirect() bool
- func (o *ListPrivacyLedgerEventsUnauthorized) IsServerError() bool
- func (o *ListPrivacyLedgerEventsUnauthorized) IsSuccess() bool
- func (o *ListPrivacyLedgerEventsUnauthorized) String() string
- type ListUserConsentsByActionForbidden
- func (o *ListUserConsentsByActionForbidden) Code() int
- func (o *ListUserConsentsByActionForbidden) Error() string
- func (o *ListUserConsentsByActionForbidden) GetPayload() *models.Error
- func (o *ListUserConsentsByActionForbidden) IsClientError() bool
- func (o *ListUserConsentsByActionForbidden) IsCode(code int) bool
- func (o *ListUserConsentsByActionForbidden) IsRedirect() bool
- func (o *ListUserConsentsByActionForbidden) IsServerError() bool
- func (o *ListUserConsentsByActionForbidden) IsSuccess() bool
- func (o *ListUserConsentsByActionForbidden) String() string
- type ListUserConsentsByActionNotFound
- func (o *ListUserConsentsByActionNotFound) Code() int
- func (o *ListUserConsentsByActionNotFound) Error() string
- func (o *ListUserConsentsByActionNotFound) GetPayload() *models.Error
- func (o *ListUserConsentsByActionNotFound) IsClientError() bool
- func (o *ListUserConsentsByActionNotFound) IsCode(code int) bool
- func (o *ListUserConsentsByActionNotFound) IsRedirect() bool
- func (o *ListUserConsentsByActionNotFound) IsServerError() bool
- func (o *ListUserConsentsByActionNotFound) IsSuccess() bool
- func (o *ListUserConsentsByActionNotFound) String() string
- type ListUserConsentsByActionOK
- func (o *ListUserConsentsByActionOK) Code() int
- func (o *ListUserConsentsByActionOK) Error() string
- func (o *ListUserConsentsByActionOK) GetPayload() *models.ConsentsWithGrants
- func (o *ListUserConsentsByActionOK) IsClientError() bool
- func (o *ListUserConsentsByActionOK) IsCode(code int) bool
- func (o *ListUserConsentsByActionOK) IsRedirect() bool
- func (o *ListUserConsentsByActionOK) IsServerError() bool
- func (o *ListUserConsentsByActionOK) IsSuccess() bool
- func (o *ListUserConsentsByActionOK) String() string
- type ListUserConsentsByActionParams
- func NewListUserConsentsByActionParams() *ListUserConsentsByActionParams
- func NewListUserConsentsByActionParamsWithContext(ctx context.Context) *ListUserConsentsByActionParams
- func NewListUserConsentsByActionParamsWithHTTPClient(client *http.Client) *ListUserConsentsByActionParams
- func NewListUserConsentsByActionParamsWithTimeout(timeout time.Duration) *ListUserConsentsByActionParams
- func (o *ListUserConsentsByActionParams) SetAction(action string)
- func (o *ListUserConsentsByActionParams) SetContext(ctx context.Context)
- func (o *ListUserConsentsByActionParams) SetDefaults()
- func (o *ListUserConsentsByActionParams) SetHTTPClient(client *http.Client)
- func (o *ListUserConsentsByActionParams) SetTimeout(timeout time.Duration)
- func (o *ListUserConsentsByActionParams) WithAction(action string) *ListUserConsentsByActionParams
- func (o *ListUserConsentsByActionParams) WithContext(ctx context.Context) *ListUserConsentsByActionParams
- func (o *ListUserConsentsByActionParams) WithDefaults() *ListUserConsentsByActionParams
- func (o *ListUserConsentsByActionParams) WithHTTPClient(client *http.Client) *ListUserConsentsByActionParams
- func (o *ListUserConsentsByActionParams) WithTimeout(timeout time.Duration) *ListUserConsentsByActionParams
- func (o *ListUserConsentsByActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserConsentsByActionReader
- type ListUserConsentsByActionTooManyRequests
- func (o *ListUserConsentsByActionTooManyRequests) Code() int
- func (o *ListUserConsentsByActionTooManyRequests) Error() string
- func (o *ListUserConsentsByActionTooManyRequests) GetPayload() *models.Error
- func (o *ListUserConsentsByActionTooManyRequests) IsClientError() bool
- func (o *ListUserConsentsByActionTooManyRequests) IsCode(code int) bool
- func (o *ListUserConsentsByActionTooManyRequests) IsRedirect() bool
- func (o *ListUserConsentsByActionTooManyRequests) IsServerError() bool
- func (o *ListUserConsentsByActionTooManyRequests) IsSuccess() bool
- func (o *ListUserConsentsByActionTooManyRequests) String() string
- type ListUserConsentsByActionUnauthorized
- func (o *ListUserConsentsByActionUnauthorized) Code() int
- func (o *ListUserConsentsByActionUnauthorized) Error() string
- func (o *ListUserConsentsByActionUnauthorized) GetPayload() *models.Error
- func (o *ListUserConsentsByActionUnauthorized) IsClientError() bool
- func (o *ListUserConsentsByActionUnauthorized) IsCode(code int) bool
- func (o *ListUserConsentsByActionUnauthorized) IsRedirect() bool
- func (o *ListUserConsentsByActionUnauthorized) IsServerError() bool
- func (o *ListUserConsentsByActionUnauthorized) IsSuccess() bool
- func (o *ListUserConsentsByActionUnauthorized) String() string
- type ListUserConsentsForbidden
- func (o *ListUserConsentsForbidden) Code() int
- func (o *ListUserConsentsForbidden) Error() string
- func (o *ListUserConsentsForbidden) GetPayload() *models.Error
- func (o *ListUserConsentsForbidden) IsClientError() bool
- func (o *ListUserConsentsForbidden) IsCode(code int) bool
- func (o *ListUserConsentsForbidden) IsRedirect() bool
- func (o *ListUserConsentsForbidden) IsServerError() bool
- func (o *ListUserConsentsForbidden) IsSuccess() bool
- func (o *ListUserConsentsForbidden) String() string
- type ListUserConsentsNotFound
- func (o *ListUserConsentsNotFound) Code() int
- func (o *ListUserConsentsNotFound) Error() string
- func (o *ListUserConsentsNotFound) GetPayload() *models.Error
- func (o *ListUserConsentsNotFound) IsClientError() bool
- func (o *ListUserConsentsNotFound) IsCode(code int) bool
- func (o *ListUserConsentsNotFound) IsRedirect() bool
- func (o *ListUserConsentsNotFound) IsServerError() bool
- func (o *ListUserConsentsNotFound) IsSuccess() bool
- func (o *ListUserConsentsNotFound) String() string
- type ListUserConsentsOK
- func (o *ListUserConsentsOK) Code() int
- func (o *ListUserConsentsOK) Error() string
- func (o *ListUserConsentsOK) GetPayload() *models.ConsentsWithGrants
- func (o *ListUserConsentsOK) IsClientError() bool
- func (o *ListUserConsentsOK) IsCode(code int) bool
- func (o *ListUserConsentsOK) IsRedirect() bool
- func (o *ListUserConsentsOK) IsServerError() bool
- func (o *ListUserConsentsOK) IsSuccess() bool
- func (o *ListUserConsentsOK) String() string
- type ListUserConsentsParams
- func NewListUserConsentsParams() *ListUserConsentsParams
- func NewListUserConsentsParamsWithContext(ctx context.Context) *ListUserConsentsParams
- func NewListUserConsentsParamsWithHTTPClient(client *http.Client) *ListUserConsentsParams
- func NewListUserConsentsParamsWithTimeout(timeout time.Duration) *ListUserConsentsParams
- func (o *ListUserConsentsParams) SetConsentID(consentID []string)
- func (o *ListUserConsentsParams) SetContext(ctx context.Context)
- func (o *ListUserConsentsParams) SetDefaults()
- func (o *ListUserConsentsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserConsentsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserConsentsParams) WithConsentID(consentID []string) *ListUserConsentsParams
- func (o *ListUserConsentsParams) WithContext(ctx context.Context) *ListUserConsentsParams
- func (o *ListUserConsentsParams) WithDefaults() *ListUserConsentsParams
- func (o *ListUserConsentsParams) WithHTTPClient(client *http.Client) *ListUserConsentsParams
- func (o *ListUserConsentsParams) WithTimeout(timeout time.Duration) *ListUserConsentsParams
- func (o *ListUserConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserConsentsReader
- type ListUserConsentsTooManyRequests
- func (o *ListUserConsentsTooManyRequests) Code() int
- func (o *ListUserConsentsTooManyRequests) Error() string
- func (o *ListUserConsentsTooManyRequests) GetPayload() *models.Error
- func (o *ListUserConsentsTooManyRequests) IsClientError() bool
- func (o *ListUserConsentsTooManyRequests) IsCode(code int) bool
- func (o *ListUserConsentsTooManyRequests) IsRedirect() bool
- func (o *ListUserConsentsTooManyRequests) IsServerError() bool
- func (o *ListUserConsentsTooManyRequests) IsSuccess() bool
- func (o *ListUserConsentsTooManyRequests) String() string
- type ListUserConsentsUnauthorized
- func (o *ListUserConsentsUnauthorized) Code() int
- func (o *ListUserConsentsUnauthorized) Error() string
- func (o *ListUserConsentsUnauthorized) GetPayload() *models.Error
- func (o *ListUserConsentsUnauthorized) IsClientError() bool
- func (o *ListUserConsentsUnauthorized) IsCode(code int) bool
- func (o *ListUserConsentsUnauthorized) IsRedirect() bool
- func (o *ListUserConsentsUnauthorized) IsServerError() bool
- func (o *ListUserConsentsUnauthorized) IsSuccess() bool
- func (o *ListUserConsentsUnauthorized) String() string
- type PatchConsentGrantsConflict
- func (o *PatchConsentGrantsConflict) Code() int
- func (o *PatchConsentGrantsConflict) Error() string
- func (o *PatchConsentGrantsConflict) GetPayload() *models.Error
- func (o *PatchConsentGrantsConflict) IsClientError() bool
- func (o *PatchConsentGrantsConflict) IsCode(code int) bool
- func (o *PatchConsentGrantsConflict) IsRedirect() bool
- func (o *PatchConsentGrantsConflict) IsServerError() bool
- func (o *PatchConsentGrantsConflict) IsSuccess() bool
- func (o *PatchConsentGrantsConflict) String() string
- type PatchConsentGrantsCreated
- func (o *PatchConsentGrantsCreated) Code() int
- func (o *PatchConsentGrantsCreated) Error() string
- func (o *PatchConsentGrantsCreated) GetPayload() *models.ConsentGrantPatchResponse
- func (o *PatchConsentGrantsCreated) IsClientError() bool
- func (o *PatchConsentGrantsCreated) IsCode(code int) bool
- func (o *PatchConsentGrantsCreated) IsRedirect() bool
- func (o *PatchConsentGrantsCreated) IsServerError() bool
- func (o *PatchConsentGrantsCreated) IsSuccess() bool
- func (o *PatchConsentGrantsCreated) String() string
- type PatchConsentGrantsForbidden
- func (o *PatchConsentGrantsForbidden) Code() int
- func (o *PatchConsentGrantsForbidden) Error() string
- func (o *PatchConsentGrantsForbidden) GetPayload() *models.Error
- func (o *PatchConsentGrantsForbidden) IsClientError() bool
- func (o *PatchConsentGrantsForbidden) IsCode(code int) bool
- func (o *PatchConsentGrantsForbidden) IsRedirect() bool
- func (o *PatchConsentGrantsForbidden) IsServerError() bool
- func (o *PatchConsentGrantsForbidden) IsSuccess() bool
- func (o *PatchConsentGrantsForbidden) String() string
- type PatchConsentGrantsNotFound
- func (o *PatchConsentGrantsNotFound) Code() int
- func (o *PatchConsentGrantsNotFound) Error() string
- func (o *PatchConsentGrantsNotFound) GetPayload() *models.Error
- func (o *PatchConsentGrantsNotFound) IsClientError() bool
- func (o *PatchConsentGrantsNotFound) IsCode(code int) bool
- func (o *PatchConsentGrantsNotFound) IsRedirect() bool
- func (o *PatchConsentGrantsNotFound) IsServerError() bool
- func (o *PatchConsentGrantsNotFound) IsSuccess() bool
- func (o *PatchConsentGrantsNotFound) String() string
- type PatchConsentGrantsParams
- func NewPatchConsentGrantsParams() *PatchConsentGrantsParams
- func NewPatchConsentGrantsParamsWithContext(ctx context.Context) *PatchConsentGrantsParams
- func NewPatchConsentGrantsParamsWithHTTPClient(client *http.Client) *PatchConsentGrantsParams
- func NewPatchConsentGrantsParamsWithTimeout(timeout time.Duration) *PatchConsentGrantsParams
- func (o *PatchConsentGrantsParams) SetConsentGrantPatchRequest(consentGrantPatchRequest *models.ConsentGrantPatchRequest)
- func (o *PatchConsentGrantsParams) SetContext(ctx context.Context)
- func (o *PatchConsentGrantsParams) SetDefaults()
- func (o *PatchConsentGrantsParams) SetHTTPClient(client *http.Client)
- func (o *PatchConsentGrantsParams) SetTimeout(timeout time.Duration)
- func (o *PatchConsentGrantsParams) WithConsentGrantPatchRequest(consentGrantPatchRequest *models.ConsentGrantPatchRequest) *PatchConsentGrantsParams
- func (o *PatchConsentGrantsParams) WithContext(ctx context.Context) *PatchConsentGrantsParams
- func (o *PatchConsentGrantsParams) WithDefaults() *PatchConsentGrantsParams
- func (o *PatchConsentGrantsParams) WithHTTPClient(client *http.Client) *PatchConsentGrantsParams
- func (o *PatchConsentGrantsParams) WithTimeout(timeout time.Duration) *PatchConsentGrantsParams
- func (o *PatchConsentGrantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchConsentGrantsReader
- type PatchConsentGrantsTooManyRequests
- func (o *PatchConsentGrantsTooManyRequests) Code() int
- func (o *PatchConsentGrantsTooManyRequests) Error() string
- func (o *PatchConsentGrantsTooManyRequests) GetPayload() *models.Error
- func (o *PatchConsentGrantsTooManyRequests) IsClientError() bool
- func (o *PatchConsentGrantsTooManyRequests) IsCode(code int) bool
- func (o *PatchConsentGrantsTooManyRequests) IsRedirect() bool
- func (o *PatchConsentGrantsTooManyRequests) IsServerError() bool
- func (o *PatchConsentGrantsTooManyRequests) IsSuccess() bool
- func (o *PatchConsentGrantsTooManyRequests) String() string
- type PatchConsentGrantsUnauthorized
- func (o *PatchConsentGrantsUnauthorized) Code() int
- func (o *PatchConsentGrantsUnauthorized) Error() string
- func (o *PatchConsentGrantsUnauthorized) GetPayload() *models.Error
- func (o *PatchConsentGrantsUnauthorized) IsClientError() bool
- func (o *PatchConsentGrantsUnauthorized) IsCode(code int) bool
- func (o *PatchConsentGrantsUnauthorized) IsRedirect() bool
- func (o *PatchConsentGrantsUnauthorized) IsServerError() bool
- func (o *PatchConsentGrantsUnauthorized) IsSuccess() bool
- func (o *PatchConsentGrantsUnauthorized) String() string
- type PatchConsentGrantsUnprocessableEntity
- func (o *PatchConsentGrantsUnprocessableEntity) Code() int
- func (o *PatchConsentGrantsUnprocessableEntity) Error() string
- func (o *PatchConsentGrantsUnprocessableEntity) GetPayload() *models.Error
- func (o *PatchConsentGrantsUnprocessableEntity) IsClientError() bool
- func (o *PatchConsentGrantsUnprocessableEntity) IsCode(code int) bool
- func (o *PatchConsentGrantsUnprocessableEntity) IsRedirect() bool
- func (o *PatchConsentGrantsUnprocessableEntity) IsServerError() bool
- func (o *PatchConsentGrantsUnprocessableEntity) IsSuccess() bool
- func (o *PatchConsentGrantsUnprocessableEntity) String() string
- type RevokeConsentForbidden
- func (o *RevokeConsentForbidden) Code() int
- func (o *RevokeConsentForbidden) Error() string
- func (o *RevokeConsentForbidden) GetPayload() *models.Error
- func (o *RevokeConsentForbidden) IsClientError() bool
- func (o *RevokeConsentForbidden) IsCode(code int) bool
- func (o *RevokeConsentForbidden) IsRedirect() bool
- func (o *RevokeConsentForbidden) IsServerError() bool
- func (o *RevokeConsentForbidden) IsSuccess() bool
- func (o *RevokeConsentForbidden) String() string
- type RevokeConsentNotFound
- func (o *RevokeConsentNotFound) Code() int
- func (o *RevokeConsentNotFound) Error() string
- func (o *RevokeConsentNotFound) GetPayload() *models.Error
- func (o *RevokeConsentNotFound) IsClientError() bool
- func (o *RevokeConsentNotFound) IsCode(code int) bool
- func (o *RevokeConsentNotFound) IsRedirect() bool
- func (o *RevokeConsentNotFound) IsServerError() bool
- func (o *RevokeConsentNotFound) IsSuccess() bool
- func (o *RevokeConsentNotFound) String() string
- type RevokeConsentOK
- func (o *RevokeConsentOK) Code() int
- func (o *RevokeConsentOK) Error() string
- func (o *RevokeConsentOK) GetPayload() *models.ConsentGrant
- func (o *RevokeConsentOK) IsClientError() bool
- func (o *RevokeConsentOK) IsCode(code int) bool
- func (o *RevokeConsentOK) IsRedirect() bool
- func (o *RevokeConsentOK) IsServerError() bool
- func (o *RevokeConsentOK) IsSuccess() bool
- func (o *RevokeConsentOK) String() string
- type RevokeConsentParams
- func (o *RevokeConsentParams) SetConsentGrant(consentGrant *models.ConsentGrantRequest)
- func (o *RevokeConsentParams) SetContext(ctx context.Context)
- func (o *RevokeConsentParams) SetDefaults()
- func (o *RevokeConsentParams) SetHTTPClient(client *http.Client)
- func (o *RevokeConsentParams) SetTimeout(timeout time.Duration)
- func (o *RevokeConsentParams) WithConsentGrant(consentGrant *models.ConsentGrantRequest) *RevokeConsentParams
- func (o *RevokeConsentParams) WithContext(ctx context.Context) *RevokeConsentParams
- func (o *RevokeConsentParams) WithDefaults() *RevokeConsentParams
- func (o *RevokeConsentParams) WithHTTPClient(client *http.Client) *RevokeConsentParams
- func (o *RevokeConsentParams) WithTimeout(timeout time.Duration) *RevokeConsentParams
- func (o *RevokeConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeConsentReader
- type RevokeConsentTooManyRequests
- func (o *RevokeConsentTooManyRequests) Code() int
- func (o *RevokeConsentTooManyRequests) Error() string
- func (o *RevokeConsentTooManyRequests) GetPayload() *models.Error
- func (o *RevokeConsentTooManyRequests) IsClientError() bool
- func (o *RevokeConsentTooManyRequests) IsCode(code int) bool
- func (o *RevokeConsentTooManyRequests) IsRedirect() bool
- func (o *RevokeConsentTooManyRequests) IsServerError() bool
- func (o *RevokeConsentTooManyRequests) IsSuccess() bool
- func (o *RevokeConsentTooManyRequests) String() string
- type RevokeConsentUnauthorized
- func (o *RevokeConsentUnauthorized) Code() int
- func (o *RevokeConsentUnauthorized) Error() string
- func (o *RevokeConsentUnauthorized) GetPayload() *models.Error
- func (o *RevokeConsentUnauthorized) IsClientError() bool
- func (o *RevokeConsentUnauthorized) IsCode(code int) bool
- func (o *RevokeConsentUnauthorized) IsRedirect() bool
- func (o *RevokeConsentUnauthorized) IsServerError() bool
- func (o *RevokeConsentUnauthorized) IsSuccess() bool
- func (o *RevokeConsentUnauthorized) String() string
- type RevokeConsentUnprocessableEntity
- func (o *RevokeConsentUnprocessableEntity) Code() int
- func (o *RevokeConsentUnprocessableEntity) Error() string
- func (o *RevokeConsentUnprocessableEntity) GetPayload() *models.Error
- func (o *RevokeConsentUnprocessableEntity) IsClientError() bool
- func (o *RevokeConsentUnprocessableEntity) IsCode(code int) bool
- func (o *RevokeConsentUnprocessableEntity) IsRedirect() bool
- func (o *RevokeConsentUnprocessableEntity) IsServerError() bool
- func (o *RevokeConsentUnprocessableEntity) IsSuccess() bool
- func (o *RevokeConsentUnprocessableEntity) 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) GrantConsent ¶
func (a *Client) GrantConsent(params *GrantConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantConsentCreated, error)
GrantConsent grants privacy consent Consent id must be provided in the request body.
When a user grants consent which was already granted, it does not result in an error but it silently skipped instead.
func (*Client) ListPrivacyLedgerEvents ¶
func (a *Client) ListPrivacyLedgerEvents(params *ListPrivacyLedgerEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPrivacyLedgerEventsOK, error)
ListPrivacyLedgerEvents lists privacy ledger events
It is possible to provide time constraints using from and to query params.
func (*Client) ListUserConsents ¶
func (a *Client) ListUserConsents(params *ListUserConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsOK, error)
ListUserConsents lists consents
If you want to list only specific consents, provide consent identifiers in query params.
func (*Client) ListUserConsentsByAction ¶
func (a *Client) ListUserConsentsByAction(params *ListUserConsentsByActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsByActionOK, error)
ListUserConsentsByAction lists consents by action Returns any possible required consents that the app should ask the User about.
The response includes a list of consents (including the ones user already agreed to). Inclusion of the consents which the user already agreed to can be used to inform the user what he already agreed to.
func (*Client) PatchConsentGrants ¶
func (a *Client) PatchConsentGrants(params *PatchConsentGrantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConsentGrantsCreated, error)
PatchConsentGrants patches consent grants This is a non-standardized PATCH request.
Allows to update multiple consents approval in one API call.
See ConsentGrantPatchRequest object for more information.
func (*Client) RevokeConsent ¶
func (a *Client) RevokeConsent(params *RevokeConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeConsentOK, error)
RevokeConsent revokes privacy consent This API can be used to withdraw a consent which user previously gave.
Consent id must be provided in the request body.
When consent has the can_be_withdrawn flag set to false the API fails with an error saying that the consent cannot be revoked. This flag is useful for scenarios in which the application cannot function without the consent from a User.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { GrantConsent(params *GrantConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantConsentCreated, error) ListPrivacyLedgerEvents(params *ListPrivacyLedgerEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPrivacyLedgerEventsOK, error) ListUserConsents(params *ListUserConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsOK, error) ListUserConsentsByAction(params *ListUserConsentsByActionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserConsentsByActionOK, error) PatchConsentGrants(params *PatchConsentGrantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchConsentGrantsCreated, error) RevokeConsent(params *RevokeConsentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeConsentOK, 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.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new consents API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new consents API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GrantConsentConflict ¶
GrantConsentConflict describes a response with status code 409, with default header values.
Conflict
func NewGrantConsentConflict ¶
func NewGrantConsentConflict() *GrantConsentConflict
NewGrantConsentConflict creates a GrantConsentConflict with default headers values
func (*GrantConsentConflict) Code ¶
func (o *GrantConsentConflict) Code() int
Code gets the status code for the grant consent conflict response
func (*GrantConsentConflict) Error ¶
func (o *GrantConsentConflict) Error() string
func (*GrantConsentConflict) GetPayload ¶
func (o *GrantConsentConflict) GetPayload() *models.Error
func (*GrantConsentConflict) IsClientError ¶
func (o *GrantConsentConflict) IsClientError() bool
IsClientError returns true when this grant consent conflict response has a 4xx status code
func (*GrantConsentConflict) IsCode ¶
func (o *GrantConsentConflict) IsCode(code int) bool
IsCode returns true when this grant consent conflict response a status code equal to that given
func (*GrantConsentConflict) IsRedirect ¶
func (o *GrantConsentConflict) IsRedirect() bool
IsRedirect returns true when this grant consent conflict response has a 3xx status code
func (*GrantConsentConflict) IsServerError ¶
func (o *GrantConsentConflict) IsServerError() bool
IsServerError returns true when this grant consent conflict response has a 5xx status code
func (*GrantConsentConflict) IsSuccess ¶
func (o *GrantConsentConflict) IsSuccess() bool
IsSuccess returns true when this grant consent conflict response has a 2xx status code
func (*GrantConsentConflict) String ¶
func (o *GrantConsentConflict) String() string
type GrantConsentCreated ¶
type GrantConsentCreated struct {
Payload *models.ConsentGrant
}
GrantConsentCreated describes a response with status code 201, with default header values.
Consent grant
func NewGrantConsentCreated ¶
func NewGrantConsentCreated() *GrantConsentCreated
NewGrantConsentCreated creates a GrantConsentCreated with default headers values
func (*GrantConsentCreated) Code ¶
func (o *GrantConsentCreated) Code() int
Code gets the status code for the grant consent created response
func (*GrantConsentCreated) Error ¶
func (o *GrantConsentCreated) Error() string
func (*GrantConsentCreated) GetPayload ¶
func (o *GrantConsentCreated) GetPayload() *models.ConsentGrant
func (*GrantConsentCreated) IsClientError ¶
func (o *GrantConsentCreated) IsClientError() bool
IsClientError returns true when this grant consent created response has a 4xx status code
func (*GrantConsentCreated) IsCode ¶
func (o *GrantConsentCreated) IsCode(code int) bool
IsCode returns true when this grant consent created response a status code equal to that given
func (*GrantConsentCreated) IsRedirect ¶
func (o *GrantConsentCreated) IsRedirect() bool
IsRedirect returns true when this grant consent created response has a 3xx status code
func (*GrantConsentCreated) IsServerError ¶
func (o *GrantConsentCreated) IsServerError() bool
IsServerError returns true when this grant consent created response has a 5xx status code
func (*GrantConsentCreated) IsSuccess ¶
func (o *GrantConsentCreated) IsSuccess() bool
IsSuccess returns true when this grant consent created response has a 2xx status code
func (*GrantConsentCreated) String ¶
func (o *GrantConsentCreated) String() string
type GrantConsentForbidden ¶
GrantConsentForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGrantConsentForbidden ¶
func NewGrantConsentForbidden() *GrantConsentForbidden
NewGrantConsentForbidden creates a GrantConsentForbidden with default headers values
func (*GrantConsentForbidden) Code ¶
func (o *GrantConsentForbidden) Code() int
Code gets the status code for the grant consent forbidden response
func (*GrantConsentForbidden) Error ¶
func (o *GrantConsentForbidden) Error() string
func (*GrantConsentForbidden) GetPayload ¶
func (o *GrantConsentForbidden) GetPayload() *models.Error
func (*GrantConsentForbidden) IsClientError ¶
func (o *GrantConsentForbidden) IsClientError() bool
IsClientError returns true when this grant consent forbidden response has a 4xx status code
func (*GrantConsentForbidden) IsCode ¶
func (o *GrantConsentForbidden) IsCode(code int) bool
IsCode returns true when this grant consent forbidden response a status code equal to that given
func (*GrantConsentForbidden) IsRedirect ¶
func (o *GrantConsentForbidden) IsRedirect() bool
IsRedirect returns true when this grant consent forbidden response has a 3xx status code
func (*GrantConsentForbidden) IsServerError ¶
func (o *GrantConsentForbidden) IsServerError() bool
IsServerError returns true when this grant consent forbidden response has a 5xx status code
func (*GrantConsentForbidden) IsSuccess ¶
func (o *GrantConsentForbidden) IsSuccess() bool
IsSuccess returns true when this grant consent forbidden response has a 2xx status code
func (*GrantConsentForbidden) String ¶
func (o *GrantConsentForbidden) String() string
type GrantConsentNotFound ¶
GrantConsentNotFound describes a response with status code 404, with default header values.
Not found
func NewGrantConsentNotFound ¶
func NewGrantConsentNotFound() *GrantConsentNotFound
NewGrantConsentNotFound creates a GrantConsentNotFound with default headers values
func (*GrantConsentNotFound) Code ¶
func (o *GrantConsentNotFound) Code() int
Code gets the status code for the grant consent not found response
func (*GrantConsentNotFound) Error ¶
func (o *GrantConsentNotFound) Error() string
func (*GrantConsentNotFound) GetPayload ¶
func (o *GrantConsentNotFound) GetPayload() *models.Error
func (*GrantConsentNotFound) IsClientError ¶
func (o *GrantConsentNotFound) IsClientError() bool
IsClientError returns true when this grant consent not found response has a 4xx status code
func (*GrantConsentNotFound) IsCode ¶
func (o *GrantConsentNotFound) IsCode(code int) bool
IsCode returns true when this grant consent not found response a status code equal to that given
func (*GrantConsentNotFound) IsRedirect ¶
func (o *GrantConsentNotFound) IsRedirect() bool
IsRedirect returns true when this grant consent not found response has a 3xx status code
func (*GrantConsentNotFound) IsServerError ¶
func (o *GrantConsentNotFound) IsServerError() bool
IsServerError returns true when this grant consent not found response has a 5xx status code
func (*GrantConsentNotFound) IsSuccess ¶
func (o *GrantConsentNotFound) IsSuccess() bool
IsSuccess returns true when this grant consent not found response has a 2xx status code
func (*GrantConsentNotFound) String ¶
func (o *GrantConsentNotFound) String() string
type GrantConsentParams ¶
type GrantConsentParams struct { // ConsentGrant. ConsentGrant *models.ConsentGrantRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GrantConsentParams contains all the parameters to send to the API endpoint
for the grant consent operation. Typically these are written to a http.Request.
func NewGrantConsentParams ¶
func NewGrantConsentParams() *GrantConsentParams
NewGrantConsentParams creates a new GrantConsentParams 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 NewGrantConsentParamsWithContext ¶
func NewGrantConsentParamsWithContext(ctx context.Context) *GrantConsentParams
NewGrantConsentParamsWithContext creates a new GrantConsentParams object with the ability to set a context for a request.
func NewGrantConsentParamsWithHTTPClient ¶
func NewGrantConsentParamsWithHTTPClient(client *http.Client) *GrantConsentParams
NewGrantConsentParamsWithHTTPClient creates a new GrantConsentParams object with the ability to set a custom HTTPClient for a request.
func NewGrantConsentParamsWithTimeout ¶
func NewGrantConsentParamsWithTimeout(timeout time.Duration) *GrantConsentParams
NewGrantConsentParamsWithTimeout creates a new GrantConsentParams object with the ability to set a timeout on a request.
func (*GrantConsentParams) SetConsentGrant ¶
func (o *GrantConsentParams) SetConsentGrant(consentGrant *models.ConsentGrantRequest)
SetConsentGrant adds the consentGrant to the grant consent params
func (*GrantConsentParams) SetContext ¶
func (o *GrantConsentParams) SetContext(ctx context.Context)
SetContext adds the context to the grant consent params
func (*GrantConsentParams) SetDefaults ¶
func (o *GrantConsentParams) SetDefaults()
SetDefaults hydrates default values in the grant consent params (not the query body).
All values with no default are reset to their zero value.
func (*GrantConsentParams) SetHTTPClient ¶
func (o *GrantConsentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the grant consent params
func (*GrantConsentParams) SetTimeout ¶
func (o *GrantConsentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the grant consent params
func (*GrantConsentParams) WithConsentGrant ¶
func (o *GrantConsentParams) WithConsentGrant(consentGrant *models.ConsentGrantRequest) *GrantConsentParams
WithConsentGrant adds the consentGrant to the grant consent params
func (*GrantConsentParams) WithContext ¶
func (o *GrantConsentParams) WithContext(ctx context.Context) *GrantConsentParams
WithContext adds the context to the grant consent params
func (*GrantConsentParams) WithDefaults ¶
func (o *GrantConsentParams) WithDefaults() *GrantConsentParams
WithDefaults hydrates default values in the grant consent params (not the query body).
All values with no default are reset to their zero value.
func (*GrantConsentParams) WithHTTPClient ¶
func (o *GrantConsentParams) WithHTTPClient(client *http.Client) *GrantConsentParams
WithHTTPClient adds the HTTPClient to the grant consent params
func (*GrantConsentParams) WithTimeout ¶
func (o *GrantConsentParams) WithTimeout(timeout time.Duration) *GrantConsentParams
WithTimeout adds the timeout to the grant consent params
func (*GrantConsentParams) WriteToRequest ¶
func (o *GrantConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GrantConsentReader ¶
type GrantConsentReader struct {
// contains filtered or unexported fields
}
GrantConsentReader is a Reader for the GrantConsent structure.
func (*GrantConsentReader) ReadResponse ¶
func (o *GrantConsentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GrantConsentTooManyRequests ¶
GrantConsentTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGrantConsentTooManyRequests ¶
func NewGrantConsentTooManyRequests() *GrantConsentTooManyRequests
NewGrantConsentTooManyRequests creates a GrantConsentTooManyRequests with default headers values
func (*GrantConsentTooManyRequests) Code ¶
func (o *GrantConsentTooManyRequests) Code() int
Code gets the status code for the grant consent too many requests response
func (*GrantConsentTooManyRequests) Error ¶
func (o *GrantConsentTooManyRequests) Error() string
func (*GrantConsentTooManyRequests) GetPayload ¶
func (o *GrantConsentTooManyRequests) GetPayload() *models.Error
func (*GrantConsentTooManyRequests) IsClientError ¶
func (o *GrantConsentTooManyRequests) IsClientError() bool
IsClientError returns true when this grant consent too many requests response has a 4xx status code
func (*GrantConsentTooManyRequests) IsCode ¶
func (o *GrantConsentTooManyRequests) IsCode(code int) bool
IsCode returns true when this grant consent too many requests response a status code equal to that given
func (*GrantConsentTooManyRequests) IsRedirect ¶
func (o *GrantConsentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this grant consent too many requests response has a 3xx status code
func (*GrantConsentTooManyRequests) IsServerError ¶
func (o *GrantConsentTooManyRequests) IsServerError() bool
IsServerError returns true when this grant consent too many requests response has a 5xx status code
func (*GrantConsentTooManyRequests) IsSuccess ¶
func (o *GrantConsentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this grant consent too many requests response has a 2xx status code
func (*GrantConsentTooManyRequests) String ¶
func (o *GrantConsentTooManyRequests) String() string
type GrantConsentUnauthorized ¶
type GrantConsentUnauthorized struct {
}GrantConsentUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGrantConsentUnauthorized ¶
func NewGrantConsentUnauthorized() *GrantConsentUnauthorized
NewGrantConsentUnauthorized creates a GrantConsentUnauthorized with default headers values
func (*GrantConsentUnauthorized) Code ¶
func (o *GrantConsentUnauthorized) Code() int
Code gets the status code for the grant consent unauthorized response
func (*GrantConsentUnauthorized) Error ¶
func (o *GrantConsentUnauthorized) Error() string
func (*GrantConsentUnauthorized) GetPayload ¶
func (o *GrantConsentUnauthorized) GetPayload() *models.Error
func (*GrantConsentUnauthorized) IsClientError ¶
func (o *GrantConsentUnauthorized) IsClientError() bool
IsClientError returns true when this grant consent unauthorized response has a 4xx status code
func (*GrantConsentUnauthorized) IsCode ¶
func (o *GrantConsentUnauthorized) IsCode(code int) bool
IsCode returns true when this grant consent unauthorized response a status code equal to that given
func (*GrantConsentUnauthorized) IsRedirect ¶
func (o *GrantConsentUnauthorized) IsRedirect() bool
IsRedirect returns true when this grant consent unauthorized response has a 3xx status code
func (*GrantConsentUnauthorized) IsServerError ¶
func (o *GrantConsentUnauthorized) IsServerError() bool
IsServerError returns true when this grant consent unauthorized response has a 5xx status code
func (*GrantConsentUnauthorized) IsSuccess ¶
func (o *GrantConsentUnauthorized) IsSuccess() bool
IsSuccess returns true when this grant consent unauthorized response has a 2xx status code
func (*GrantConsentUnauthorized) String ¶
func (o *GrantConsentUnauthorized) String() string
type GrantConsentUnprocessableEntity ¶
GrantConsentUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewGrantConsentUnprocessableEntity ¶
func NewGrantConsentUnprocessableEntity() *GrantConsentUnprocessableEntity
NewGrantConsentUnprocessableEntity creates a GrantConsentUnprocessableEntity with default headers values
func (*GrantConsentUnprocessableEntity) Code ¶
func (o *GrantConsentUnprocessableEntity) Code() int
Code gets the status code for the grant consent unprocessable entity response
func (*GrantConsentUnprocessableEntity) Error ¶
func (o *GrantConsentUnprocessableEntity) Error() string
func (*GrantConsentUnprocessableEntity) GetPayload ¶
func (o *GrantConsentUnprocessableEntity) GetPayload() *models.Error
func (*GrantConsentUnprocessableEntity) IsClientError ¶
func (o *GrantConsentUnprocessableEntity) IsClientError() bool
IsClientError returns true when this grant consent unprocessable entity response has a 4xx status code
func (*GrantConsentUnprocessableEntity) IsCode ¶
func (o *GrantConsentUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this grant consent unprocessable entity response a status code equal to that given
func (*GrantConsentUnprocessableEntity) IsRedirect ¶
func (o *GrantConsentUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this grant consent unprocessable entity response has a 3xx status code
func (*GrantConsentUnprocessableEntity) IsServerError ¶
func (o *GrantConsentUnprocessableEntity) IsServerError() bool
IsServerError returns true when this grant consent unprocessable entity response has a 5xx status code
func (*GrantConsentUnprocessableEntity) IsSuccess ¶
func (o *GrantConsentUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this grant consent unprocessable entity response has a 2xx status code
func (*GrantConsentUnprocessableEntity) String ¶
func (o *GrantConsentUnprocessableEntity) String() string
type ListPrivacyLedgerEventsForbidden ¶
ListPrivacyLedgerEventsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListPrivacyLedgerEventsForbidden ¶
func NewListPrivacyLedgerEventsForbidden() *ListPrivacyLedgerEventsForbidden
NewListPrivacyLedgerEventsForbidden creates a ListPrivacyLedgerEventsForbidden with default headers values
func (*ListPrivacyLedgerEventsForbidden) Code ¶
func (o *ListPrivacyLedgerEventsForbidden) Code() int
Code gets the status code for the list privacy ledger events forbidden response
func (*ListPrivacyLedgerEventsForbidden) Error ¶
func (o *ListPrivacyLedgerEventsForbidden) Error() string
func (*ListPrivacyLedgerEventsForbidden) GetPayload ¶
func (o *ListPrivacyLedgerEventsForbidden) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsForbidden) IsClientError ¶
func (o *ListPrivacyLedgerEventsForbidden) IsClientError() bool
IsClientError returns true when this list privacy ledger events forbidden response has a 4xx status code
func (*ListPrivacyLedgerEventsForbidden) IsCode ¶
func (o *ListPrivacyLedgerEventsForbidden) IsCode(code int) bool
IsCode returns true when this list privacy ledger events forbidden response a status code equal to that given
func (*ListPrivacyLedgerEventsForbidden) IsRedirect ¶
func (o *ListPrivacyLedgerEventsForbidden) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events forbidden response has a 3xx status code
func (*ListPrivacyLedgerEventsForbidden) IsServerError ¶
func (o *ListPrivacyLedgerEventsForbidden) IsServerError() bool
IsServerError returns true when this list privacy ledger events forbidden response has a 5xx status code
func (*ListPrivacyLedgerEventsForbidden) IsSuccess ¶
func (o *ListPrivacyLedgerEventsForbidden) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events forbidden response has a 2xx status code
func (*ListPrivacyLedgerEventsForbidden) String ¶
func (o *ListPrivacyLedgerEventsForbidden) String() string
type ListPrivacyLedgerEventsNotFound ¶
ListPrivacyLedgerEventsNotFound describes a response with status code 404, with default header values.
Not found
func NewListPrivacyLedgerEventsNotFound ¶
func NewListPrivacyLedgerEventsNotFound() *ListPrivacyLedgerEventsNotFound
NewListPrivacyLedgerEventsNotFound creates a ListPrivacyLedgerEventsNotFound with default headers values
func (*ListPrivacyLedgerEventsNotFound) Code ¶
func (o *ListPrivacyLedgerEventsNotFound) Code() int
Code gets the status code for the list privacy ledger events not found response
func (*ListPrivacyLedgerEventsNotFound) Error ¶
func (o *ListPrivacyLedgerEventsNotFound) Error() string
func (*ListPrivacyLedgerEventsNotFound) GetPayload ¶
func (o *ListPrivacyLedgerEventsNotFound) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsNotFound) IsClientError ¶
func (o *ListPrivacyLedgerEventsNotFound) IsClientError() bool
IsClientError returns true when this list privacy ledger events not found response has a 4xx status code
func (*ListPrivacyLedgerEventsNotFound) IsCode ¶
func (o *ListPrivacyLedgerEventsNotFound) IsCode(code int) bool
IsCode returns true when this list privacy ledger events not found response a status code equal to that given
func (*ListPrivacyLedgerEventsNotFound) IsRedirect ¶
func (o *ListPrivacyLedgerEventsNotFound) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events not found response has a 3xx status code
func (*ListPrivacyLedgerEventsNotFound) IsServerError ¶
func (o *ListPrivacyLedgerEventsNotFound) IsServerError() bool
IsServerError returns true when this list privacy ledger events not found response has a 5xx status code
func (*ListPrivacyLedgerEventsNotFound) IsSuccess ¶
func (o *ListPrivacyLedgerEventsNotFound) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events not found response has a 2xx status code
func (*ListPrivacyLedgerEventsNotFound) String ¶
func (o *ListPrivacyLedgerEventsNotFound) String() string
type ListPrivacyLedgerEventsOK ¶
type ListPrivacyLedgerEventsOK struct {
Payload *models.PrivacyLedgerEvents
}
ListPrivacyLedgerEventsOK describes a response with status code 200, with default header values.
Privacy ledger events
func NewListPrivacyLedgerEventsOK ¶
func NewListPrivacyLedgerEventsOK() *ListPrivacyLedgerEventsOK
NewListPrivacyLedgerEventsOK creates a ListPrivacyLedgerEventsOK with default headers values
func (*ListPrivacyLedgerEventsOK) Code ¶
func (o *ListPrivacyLedgerEventsOK) Code() int
Code gets the status code for the list privacy ledger events o k response
func (*ListPrivacyLedgerEventsOK) Error ¶
func (o *ListPrivacyLedgerEventsOK) Error() string
func (*ListPrivacyLedgerEventsOK) GetPayload ¶
func (o *ListPrivacyLedgerEventsOK) GetPayload() *models.PrivacyLedgerEvents
func (*ListPrivacyLedgerEventsOK) IsClientError ¶
func (o *ListPrivacyLedgerEventsOK) IsClientError() bool
IsClientError returns true when this list privacy ledger events o k response has a 4xx status code
func (*ListPrivacyLedgerEventsOK) IsCode ¶
func (o *ListPrivacyLedgerEventsOK) IsCode(code int) bool
IsCode returns true when this list privacy ledger events o k response a status code equal to that given
func (*ListPrivacyLedgerEventsOK) IsRedirect ¶
func (o *ListPrivacyLedgerEventsOK) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events o k response has a 3xx status code
func (*ListPrivacyLedgerEventsOK) IsServerError ¶
func (o *ListPrivacyLedgerEventsOK) IsServerError() bool
IsServerError returns true when this list privacy ledger events o k response has a 5xx status code
func (*ListPrivacyLedgerEventsOK) IsSuccess ¶
func (o *ListPrivacyLedgerEventsOK) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events o k response has a 2xx status code
func (*ListPrivacyLedgerEventsOK) String ¶
func (o *ListPrivacyLedgerEventsOK) String() string
type ListPrivacyLedgerEventsParams ¶
type ListPrivacyLedgerEventsParams struct { /* From. Query events from timestamp (default 0) Format: int64 */ From *int64 /* To. Query events to timestamp (default current time) Format: int64 */ To *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPrivacyLedgerEventsParams contains all the parameters to send to the API endpoint
for the list privacy ledger events operation. Typically these are written to a http.Request.
func NewListPrivacyLedgerEventsParams ¶
func NewListPrivacyLedgerEventsParams() *ListPrivacyLedgerEventsParams
NewListPrivacyLedgerEventsParams creates a new ListPrivacyLedgerEventsParams 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 NewListPrivacyLedgerEventsParamsWithContext ¶
func NewListPrivacyLedgerEventsParamsWithContext(ctx context.Context) *ListPrivacyLedgerEventsParams
NewListPrivacyLedgerEventsParamsWithContext creates a new ListPrivacyLedgerEventsParams object with the ability to set a context for a request.
func NewListPrivacyLedgerEventsParamsWithHTTPClient ¶
func NewListPrivacyLedgerEventsParamsWithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsParams
NewListPrivacyLedgerEventsParamsWithHTTPClient creates a new ListPrivacyLedgerEventsParams object with the ability to set a custom HTTPClient for a request.
func NewListPrivacyLedgerEventsParamsWithTimeout ¶
func NewListPrivacyLedgerEventsParamsWithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsParams
NewListPrivacyLedgerEventsParamsWithTimeout creates a new ListPrivacyLedgerEventsParams object with the ability to set a timeout on a request.
func (*ListPrivacyLedgerEventsParams) SetContext ¶
func (o *ListPrivacyLedgerEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) SetDefaults ¶
func (o *ListPrivacyLedgerEventsParams) SetDefaults()
SetDefaults hydrates default values in the list privacy ledger events params (not the query body).
All values with no default are reset to their zero value.
func (*ListPrivacyLedgerEventsParams) SetFrom ¶
func (o *ListPrivacyLedgerEventsParams) SetFrom(from *int64)
SetFrom adds the from to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) SetHTTPClient ¶
func (o *ListPrivacyLedgerEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) SetTimeout ¶
func (o *ListPrivacyLedgerEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) SetTo ¶
func (o *ListPrivacyLedgerEventsParams) SetTo(to *int64)
SetTo adds the to to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) WithContext ¶
func (o *ListPrivacyLedgerEventsParams) WithContext(ctx context.Context) *ListPrivacyLedgerEventsParams
WithContext adds the context to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) WithDefaults ¶
func (o *ListPrivacyLedgerEventsParams) WithDefaults() *ListPrivacyLedgerEventsParams
WithDefaults hydrates default values in the list privacy ledger events params (not the query body).
All values with no default are reset to their zero value.
func (*ListPrivacyLedgerEventsParams) WithFrom ¶
func (o *ListPrivacyLedgerEventsParams) WithFrom(from *int64) *ListPrivacyLedgerEventsParams
WithFrom adds the from to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) WithHTTPClient ¶
func (o *ListPrivacyLedgerEventsParams) WithHTTPClient(client *http.Client) *ListPrivacyLedgerEventsParams
WithHTTPClient adds the HTTPClient to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) WithTimeout ¶
func (o *ListPrivacyLedgerEventsParams) WithTimeout(timeout time.Duration) *ListPrivacyLedgerEventsParams
WithTimeout adds the timeout to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) WithTo ¶
func (o *ListPrivacyLedgerEventsParams) WithTo(to *int64) *ListPrivacyLedgerEventsParams
WithTo adds the to to the list privacy ledger events params
func (*ListPrivacyLedgerEventsParams) WriteToRequest ¶
func (o *ListPrivacyLedgerEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPrivacyLedgerEventsReader ¶
type ListPrivacyLedgerEventsReader struct {
// contains filtered or unexported fields
}
ListPrivacyLedgerEventsReader is a Reader for the ListPrivacyLedgerEvents structure.
func (*ListPrivacyLedgerEventsReader) ReadResponse ¶
func (o *ListPrivacyLedgerEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPrivacyLedgerEventsTooManyRequests ¶
ListPrivacyLedgerEventsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListPrivacyLedgerEventsTooManyRequests ¶
func NewListPrivacyLedgerEventsTooManyRequests() *ListPrivacyLedgerEventsTooManyRequests
NewListPrivacyLedgerEventsTooManyRequests creates a ListPrivacyLedgerEventsTooManyRequests with default headers values
func (*ListPrivacyLedgerEventsTooManyRequests) Code ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) Code() int
Code gets the status code for the list privacy ledger events too many requests response
func (*ListPrivacyLedgerEventsTooManyRequests) Error ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) Error() string
func (*ListPrivacyLedgerEventsTooManyRequests) GetPayload ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsTooManyRequests) IsClientError ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) IsClientError() bool
IsClientError returns true when this list privacy ledger events too many requests response has a 4xx status code
func (*ListPrivacyLedgerEventsTooManyRequests) IsCode ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list privacy ledger events too many requests response a status code equal to that given
func (*ListPrivacyLedgerEventsTooManyRequests) IsRedirect ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events too many requests response has a 3xx status code
func (*ListPrivacyLedgerEventsTooManyRequests) IsServerError ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) IsServerError() bool
IsServerError returns true when this list privacy ledger events too many requests response has a 5xx status code
func (*ListPrivacyLedgerEventsTooManyRequests) IsSuccess ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events too many requests response has a 2xx status code
func (*ListPrivacyLedgerEventsTooManyRequests) String ¶
func (o *ListPrivacyLedgerEventsTooManyRequests) String() string
type ListPrivacyLedgerEventsUnauthorized ¶
type ListPrivacyLedgerEventsUnauthorized struct {
}ListPrivacyLedgerEventsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListPrivacyLedgerEventsUnauthorized ¶
func NewListPrivacyLedgerEventsUnauthorized() *ListPrivacyLedgerEventsUnauthorized
NewListPrivacyLedgerEventsUnauthorized creates a ListPrivacyLedgerEventsUnauthorized with default headers values
func (*ListPrivacyLedgerEventsUnauthorized) Code ¶
func (o *ListPrivacyLedgerEventsUnauthorized) Code() int
Code gets the status code for the list privacy ledger events unauthorized response
func (*ListPrivacyLedgerEventsUnauthorized) Error ¶
func (o *ListPrivacyLedgerEventsUnauthorized) Error() string
func (*ListPrivacyLedgerEventsUnauthorized) GetPayload ¶
func (o *ListPrivacyLedgerEventsUnauthorized) GetPayload() *models.Error
func (*ListPrivacyLedgerEventsUnauthorized) IsClientError ¶
func (o *ListPrivacyLedgerEventsUnauthorized) IsClientError() bool
IsClientError returns true when this list privacy ledger events unauthorized response has a 4xx status code
func (*ListPrivacyLedgerEventsUnauthorized) IsCode ¶
func (o *ListPrivacyLedgerEventsUnauthorized) IsCode(code int) bool
IsCode returns true when this list privacy ledger events unauthorized response a status code equal to that given
func (*ListPrivacyLedgerEventsUnauthorized) IsRedirect ¶
func (o *ListPrivacyLedgerEventsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list privacy ledger events unauthorized response has a 3xx status code
func (*ListPrivacyLedgerEventsUnauthorized) IsServerError ¶
func (o *ListPrivacyLedgerEventsUnauthorized) IsServerError() bool
IsServerError returns true when this list privacy ledger events unauthorized response has a 5xx status code
func (*ListPrivacyLedgerEventsUnauthorized) IsSuccess ¶
func (o *ListPrivacyLedgerEventsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list privacy ledger events unauthorized response has a 2xx status code
func (*ListPrivacyLedgerEventsUnauthorized) String ¶
func (o *ListPrivacyLedgerEventsUnauthorized) String() string
type ListUserConsentsByActionForbidden ¶
ListUserConsentsByActionForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListUserConsentsByActionForbidden ¶
func NewListUserConsentsByActionForbidden() *ListUserConsentsByActionForbidden
NewListUserConsentsByActionForbidden creates a ListUserConsentsByActionForbidden with default headers values
func (*ListUserConsentsByActionForbidden) Code ¶
func (o *ListUserConsentsByActionForbidden) Code() int
Code gets the status code for the list user consents by action forbidden response
func (*ListUserConsentsByActionForbidden) Error ¶
func (o *ListUserConsentsByActionForbidden) Error() string
func (*ListUserConsentsByActionForbidden) GetPayload ¶
func (o *ListUserConsentsByActionForbidden) GetPayload() *models.Error
func (*ListUserConsentsByActionForbidden) IsClientError ¶
func (o *ListUserConsentsByActionForbidden) IsClientError() bool
IsClientError returns true when this list user consents by action forbidden response has a 4xx status code
func (*ListUserConsentsByActionForbidden) IsCode ¶
func (o *ListUserConsentsByActionForbidden) IsCode(code int) bool
IsCode returns true when this list user consents by action forbidden response a status code equal to that given
func (*ListUserConsentsByActionForbidden) IsRedirect ¶
func (o *ListUserConsentsByActionForbidden) IsRedirect() bool
IsRedirect returns true when this list user consents by action forbidden response has a 3xx status code
func (*ListUserConsentsByActionForbidden) IsServerError ¶
func (o *ListUserConsentsByActionForbidden) IsServerError() bool
IsServerError returns true when this list user consents by action forbidden response has a 5xx status code
func (*ListUserConsentsByActionForbidden) IsSuccess ¶
func (o *ListUserConsentsByActionForbidden) IsSuccess() bool
IsSuccess returns true when this list user consents by action forbidden response has a 2xx status code
func (*ListUserConsentsByActionForbidden) String ¶
func (o *ListUserConsentsByActionForbidden) String() string
type ListUserConsentsByActionNotFound ¶
ListUserConsentsByActionNotFound describes a response with status code 404, with default header values.
Not found
func NewListUserConsentsByActionNotFound ¶
func NewListUserConsentsByActionNotFound() *ListUserConsentsByActionNotFound
NewListUserConsentsByActionNotFound creates a ListUserConsentsByActionNotFound with default headers values
func (*ListUserConsentsByActionNotFound) Code ¶
func (o *ListUserConsentsByActionNotFound) Code() int
Code gets the status code for the list user consents by action not found response
func (*ListUserConsentsByActionNotFound) Error ¶
func (o *ListUserConsentsByActionNotFound) Error() string
func (*ListUserConsentsByActionNotFound) GetPayload ¶
func (o *ListUserConsentsByActionNotFound) GetPayload() *models.Error
func (*ListUserConsentsByActionNotFound) IsClientError ¶
func (o *ListUserConsentsByActionNotFound) IsClientError() bool
IsClientError returns true when this list user consents by action not found response has a 4xx status code
func (*ListUserConsentsByActionNotFound) IsCode ¶
func (o *ListUserConsentsByActionNotFound) IsCode(code int) bool
IsCode returns true when this list user consents by action not found response a status code equal to that given
func (*ListUserConsentsByActionNotFound) IsRedirect ¶
func (o *ListUserConsentsByActionNotFound) IsRedirect() bool
IsRedirect returns true when this list user consents by action not found response has a 3xx status code
func (*ListUserConsentsByActionNotFound) IsServerError ¶
func (o *ListUserConsentsByActionNotFound) IsServerError() bool
IsServerError returns true when this list user consents by action not found response has a 5xx status code
func (*ListUserConsentsByActionNotFound) IsSuccess ¶
func (o *ListUserConsentsByActionNotFound) IsSuccess() bool
IsSuccess returns true when this list user consents by action not found response has a 2xx status code
func (*ListUserConsentsByActionNotFound) String ¶
func (o *ListUserConsentsByActionNotFound) String() string
type ListUserConsentsByActionOK ¶
type ListUserConsentsByActionOK struct {
Payload *models.ConsentsWithGrants
}
ListUserConsentsByActionOK describes a response with status code 200, with default header values.
Consents with grants
func NewListUserConsentsByActionOK ¶
func NewListUserConsentsByActionOK() *ListUserConsentsByActionOK
NewListUserConsentsByActionOK creates a ListUserConsentsByActionOK with default headers values
func (*ListUserConsentsByActionOK) Code ¶
func (o *ListUserConsentsByActionOK) Code() int
Code gets the status code for the list user consents by action o k response
func (*ListUserConsentsByActionOK) Error ¶
func (o *ListUserConsentsByActionOK) Error() string
func (*ListUserConsentsByActionOK) GetPayload ¶
func (o *ListUserConsentsByActionOK) GetPayload() *models.ConsentsWithGrants
func (*ListUserConsentsByActionOK) IsClientError ¶
func (o *ListUserConsentsByActionOK) IsClientError() bool
IsClientError returns true when this list user consents by action o k response has a 4xx status code
func (*ListUserConsentsByActionOK) IsCode ¶
func (o *ListUserConsentsByActionOK) IsCode(code int) bool
IsCode returns true when this list user consents by action o k response a status code equal to that given
func (*ListUserConsentsByActionOK) IsRedirect ¶
func (o *ListUserConsentsByActionOK) IsRedirect() bool
IsRedirect returns true when this list user consents by action o k response has a 3xx status code
func (*ListUserConsentsByActionOK) IsServerError ¶
func (o *ListUserConsentsByActionOK) IsServerError() bool
IsServerError returns true when this list user consents by action o k response has a 5xx status code
func (*ListUserConsentsByActionOK) IsSuccess ¶
func (o *ListUserConsentsByActionOK) IsSuccess() bool
IsSuccess returns true when this list user consents by action o k response has a 2xx status code
func (*ListUserConsentsByActionOK) String ¶
func (o *ListUserConsentsByActionOK) String() string
type ListUserConsentsByActionParams ¶
type ListUserConsentsByActionParams struct { /* Action. Consent action id Default: "default" */ Action string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserConsentsByActionParams contains all the parameters to send to the API endpoint
for the list user consents by action operation. Typically these are written to a http.Request.
func NewListUserConsentsByActionParams ¶
func NewListUserConsentsByActionParams() *ListUserConsentsByActionParams
NewListUserConsentsByActionParams creates a new ListUserConsentsByActionParams 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 NewListUserConsentsByActionParamsWithContext ¶
func NewListUserConsentsByActionParamsWithContext(ctx context.Context) *ListUserConsentsByActionParams
NewListUserConsentsByActionParamsWithContext creates a new ListUserConsentsByActionParams object with the ability to set a context for a request.
func NewListUserConsentsByActionParamsWithHTTPClient ¶
func NewListUserConsentsByActionParamsWithHTTPClient(client *http.Client) *ListUserConsentsByActionParams
NewListUserConsentsByActionParamsWithHTTPClient creates a new ListUserConsentsByActionParams object with the ability to set a custom HTTPClient for a request.
func NewListUserConsentsByActionParamsWithTimeout ¶
func NewListUserConsentsByActionParamsWithTimeout(timeout time.Duration) *ListUserConsentsByActionParams
NewListUserConsentsByActionParamsWithTimeout creates a new ListUserConsentsByActionParams object with the ability to set a timeout on a request.
func (*ListUserConsentsByActionParams) SetAction ¶
func (o *ListUserConsentsByActionParams) SetAction(action string)
SetAction adds the action to the list user consents by action params
func (*ListUserConsentsByActionParams) SetContext ¶
func (o *ListUserConsentsByActionParams) SetContext(ctx context.Context)
SetContext adds the context to the list user consents by action params
func (*ListUserConsentsByActionParams) SetDefaults ¶
func (o *ListUserConsentsByActionParams) SetDefaults()
SetDefaults hydrates default values in the list user consents by action params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserConsentsByActionParams) SetHTTPClient ¶
func (o *ListUserConsentsByActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user consents by action params
func (*ListUserConsentsByActionParams) SetTimeout ¶
func (o *ListUserConsentsByActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user consents by action params
func (*ListUserConsentsByActionParams) WithAction ¶
func (o *ListUserConsentsByActionParams) WithAction(action string) *ListUserConsentsByActionParams
WithAction adds the action to the list user consents by action params
func (*ListUserConsentsByActionParams) WithContext ¶
func (o *ListUserConsentsByActionParams) WithContext(ctx context.Context) *ListUserConsentsByActionParams
WithContext adds the context to the list user consents by action params
func (*ListUserConsentsByActionParams) WithDefaults ¶
func (o *ListUserConsentsByActionParams) WithDefaults() *ListUserConsentsByActionParams
WithDefaults hydrates default values in the list user consents by action params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserConsentsByActionParams) WithHTTPClient ¶
func (o *ListUserConsentsByActionParams) WithHTTPClient(client *http.Client) *ListUserConsentsByActionParams
WithHTTPClient adds the HTTPClient to the list user consents by action params
func (*ListUserConsentsByActionParams) WithTimeout ¶
func (o *ListUserConsentsByActionParams) WithTimeout(timeout time.Duration) *ListUserConsentsByActionParams
WithTimeout adds the timeout to the list user consents by action params
func (*ListUserConsentsByActionParams) WriteToRequest ¶
func (o *ListUserConsentsByActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserConsentsByActionReader ¶
type ListUserConsentsByActionReader struct {
// contains filtered or unexported fields
}
ListUserConsentsByActionReader is a Reader for the ListUserConsentsByAction structure.
func (*ListUserConsentsByActionReader) ReadResponse ¶
func (o *ListUserConsentsByActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserConsentsByActionTooManyRequests ¶
ListUserConsentsByActionTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListUserConsentsByActionTooManyRequests ¶
func NewListUserConsentsByActionTooManyRequests() *ListUserConsentsByActionTooManyRequests
NewListUserConsentsByActionTooManyRequests creates a ListUserConsentsByActionTooManyRequests with default headers values
func (*ListUserConsentsByActionTooManyRequests) Code ¶
func (o *ListUserConsentsByActionTooManyRequests) Code() int
Code gets the status code for the list user consents by action too many requests response
func (*ListUserConsentsByActionTooManyRequests) Error ¶
func (o *ListUserConsentsByActionTooManyRequests) Error() string
func (*ListUserConsentsByActionTooManyRequests) GetPayload ¶
func (o *ListUserConsentsByActionTooManyRequests) GetPayload() *models.Error
func (*ListUserConsentsByActionTooManyRequests) IsClientError ¶
func (o *ListUserConsentsByActionTooManyRequests) IsClientError() bool
IsClientError returns true when this list user consents by action too many requests response has a 4xx status code
func (*ListUserConsentsByActionTooManyRequests) IsCode ¶
func (o *ListUserConsentsByActionTooManyRequests) IsCode(code int) bool
IsCode returns true when this list user consents by action too many requests response a status code equal to that given
func (*ListUserConsentsByActionTooManyRequests) IsRedirect ¶
func (o *ListUserConsentsByActionTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list user consents by action too many requests response has a 3xx status code
func (*ListUserConsentsByActionTooManyRequests) IsServerError ¶
func (o *ListUserConsentsByActionTooManyRequests) IsServerError() bool
IsServerError returns true when this list user consents by action too many requests response has a 5xx status code
func (*ListUserConsentsByActionTooManyRequests) IsSuccess ¶
func (o *ListUserConsentsByActionTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list user consents by action too many requests response has a 2xx status code
func (*ListUserConsentsByActionTooManyRequests) String ¶
func (o *ListUserConsentsByActionTooManyRequests) String() string
type ListUserConsentsByActionUnauthorized ¶
type ListUserConsentsByActionUnauthorized struct {
}ListUserConsentsByActionUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListUserConsentsByActionUnauthorized ¶
func NewListUserConsentsByActionUnauthorized() *ListUserConsentsByActionUnauthorized
NewListUserConsentsByActionUnauthorized creates a ListUserConsentsByActionUnauthorized with default headers values
func (*ListUserConsentsByActionUnauthorized) Code ¶
func (o *ListUserConsentsByActionUnauthorized) Code() int
Code gets the status code for the list user consents by action unauthorized response
func (*ListUserConsentsByActionUnauthorized) Error ¶
func (o *ListUserConsentsByActionUnauthorized) Error() string
func (*ListUserConsentsByActionUnauthorized) GetPayload ¶
func (o *ListUserConsentsByActionUnauthorized) GetPayload() *models.Error
func (*ListUserConsentsByActionUnauthorized) IsClientError ¶
func (o *ListUserConsentsByActionUnauthorized) IsClientError() bool
IsClientError returns true when this list user consents by action unauthorized response has a 4xx status code
func (*ListUserConsentsByActionUnauthorized) IsCode ¶
func (o *ListUserConsentsByActionUnauthorized) IsCode(code int) bool
IsCode returns true when this list user consents by action unauthorized response a status code equal to that given
func (*ListUserConsentsByActionUnauthorized) IsRedirect ¶
func (o *ListUserConsentsByActionUnauthorized) IsRedirect() bool
IsRedirect returns true when this list user consents by action unauthorized response has a 3xx status code
func (*ListUserConsentsByActionUnauthorized) IsServerError ¶
func (o *ListUserConsentsByActionUnauthorized) IsServerError() bool
IsServerError returns true when this list user consents by action unauthorized response has a 5xx status code
func (*ListUserConsentsByActionUnauthorized) IsSuccess ¶
func (o *ListUserConsentsByActionUnauthorized) IsSuccess() bool
IsSuccess returns true when this list user consents by action unauthorized response has a 2xx status code
func (*ListUserConsentsByActionUnauthorized) String ¶
func (o *ListUserConsentsByActionUnauthorized) String() string
type ListUserConsentsForbidden ¶
ListUserConsentsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListUserConsentsForbidden ¶
func NewListUserConsentsForbidden() *ListUserConsentsForbidden
NewListUserConsentsForbidden creates a ListUserConsentsForbidden with default headers values
func (*ListUserConsentsForbidden) Code ¶
func (o *ListUserConsentsForbidden) Code() int
Code gets the status code for the list user consents forbidden response
func (*ListUserConsentsForbidden) Error ¶
func (o *ListUserConsentsForbidden) Error() string
func (*ListUserConsentsForbidden) GetPayload ¶
func (o *ListUserConsentsForbidden) GetPayload() *models.Error
func (*ListUserConsentsForbidden) IsClientError ¶
func (o *ListUserConsentsForbidden) IsClientError() bool
IsClientError returns true when this list user consents forbidden response has a 4xx status code
func (*ListUserConsentsForbidden) IsCode ¶
func (o *ListUserConsentsForbidden) IsCode(code int) bool
IsCode returns true when this list user consents forbidden response a status code equal to that given
func (*ListUserConsentsForbidden) IsRedirect ¶
func (o *ListUserConsentsForbidden) IsRedirect() bool
IsRedirect returns true when this list user consents forbidden response has a 3xx status code
func (*ListUserConsentsForbidden) IsServerError ¶
func (o *ListUserConsentsForbidden) IsServerError() bool
IsServerError returns true when this list user consents forbidden response has a 5xx status code
func (*ListUserConsentsForbidden) IsSuccess ¶
func (o *ListUserConsentsForbidden) IsSuccess() bool
IsSuccess returns true when this list user consents forbidden response has a 2xx status code
func (*ListUserConsentsForbidden) String ¶
func (o *ListUserConsentsForbidden) String() string
type ListUserConsentsNotFound ¶
ListUserConsentsNotFound describes a response with status code 404, with default header values.
Not found
func NewListUserConsentsNotFound ¶
func NewListUserConsentsNotFound() *ListUserConsentsNotFound
NewListUserConsentsNotFound creates a ListUserConsentsNotFound with default headers values
func (*ListUserConsentsNotFound) Code ¶
func (o *ListUserConsentsNotFound) Code() int
Code gets the status code for the list user consents not found response
func (*ListUserConsentsNotFound) Error ¶
func (o *ListUserConsentsNotFound) Error() string
func (*ListUserConsentsNotFound) GetPayload ¶
func (o *ListUserConsentsNotFound) GetPayload() *models.Error
func (*ListUserConsentsNotFound) IsClientError ¶
func (o *ListUserConsentsNotFound) IsClientError() bool
IsClientError returns true when this list user consents not found response has a 4xx status code
func (*ListUserConsentsNotFound) IsCode ¶
func (o *ListUserConsentsNotFound) IsCode(code int) bool
IsCode returns true when this list user consents not found response a status code equal to that given
func (*ListUserConsentsNotFound) IsRedirect ¶
func (o *ListUserConsentsNotFound) IsRedirect() bool
IsRedirect returns true when this list user consents not found response has a 3xx status code
func (*ListUserConsentsNotFound) IsServerError ¶
func (o *ListUserConsentsNotFound) IsServerError() bool
IsServerError returns true when this list user consents not found response has a 5xx status code
func (*ListUserConsentsNotFound) IsSuccess ¶
func (o *ListUserConsentsNotFound) IsSuccess() bool
IsSuccess returns true when this list user consents not found response has a 2xx status code
func (*ListUserConsentsNotFound) String ¶
func (o *ListUserConsentsNotFound) String() string
type ListUserConsentsOK ¶
type ListUserConsentsOK struct {
Payload *models.ConsentsWithGrants
}
ListUserConsentsOK describes a response with status code 200, with default header values.
Consents with grants
func NewListUserConsentsOK ¶
func NewListUserConsentsOK() *ListUserConsentsOK
NewListUserConsentsOK creates a ListUserConsentsOK with default headers values
func (*ListUserConsentsOK) Code ¶
func (o *ListUserConsentsOK) Code() int
Code gets the status code for the list user consents o k response
func (*ListUserConsentsOK) Error ¶
func (o *ListUserConsentsOK) Error() string
func (*ListUserConsentsOK) GetPayload ¶
func (o *ListUserConsentsOK) GetPayload() *models.ConsentsWithGrants
func (*ListUserConsentsOK) IsClientError ¶
func (o *ListUserConsentsOK) IsClientError() bool
IsClientError returns true when this list user consents o k response has a 4xx status code
func (*ListUserConsentsOK) IsCode ¶
func (o *ListUserConsentsOK) IsCode(code int) bool
IsCode returns true when this list user consents o k response a status code equal to that given
func (*ListUserConsentsOK) IsRedirect ¶
func (o *ListUserConsentsOK) IsRedirect() bool
IsRedirect returns true when this list user consents o k response has a 3xx status code
func (*ListUserConsentsOK) IsServerError ¶
func (o *ListUserConsentsOK) IsServerError() bool
IsServerError returns true when this list user consents o k response has a 5xx status code
func (*ListUserConsentsOK) IsSuccess ¶
func (o *ListUserConsentsOK) IsSuccess() bool
IsSuccess returns true when this list user consents o k response has a 2xx status code
func (*ListUserConsentsOK) String ¶
func (o *ListUserConsentsOK) String() string
type ListUserConsentsParams ¶
type ListUserConsentsParams struct { /* ConsentID. optional identifiers of consents to be returned */ ConsentID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserConsentsParams contains all the parameters to send to the API endpoint
for the list user consents operation. Typically these are written to a http.Request.
func NewListUserConsentsParams ¶
func NewListUserConsentsParams() *ListUserConsentsParams
NewListUserConsentsParams creates a new ListUserConsentsParams 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 NewListUserConsentsParamsWithContext ¶
func NewListUserConsentsParamsWithContext(ctx context.Context) *ListUserConsentsParams
NewListUserConsentsParamsWithContext creates a new ListUserConsentsParams object with the ability to set a context for a request.
func NewListUserConsentsParamsWithHTTPClient ¶
func NewListUserConsentsParamsWithHTTPClient(client *http.Client) *ListUserConsentsParams
NewListUserConsentsParamsWithHTTPClient creates a new ListUserConsentsParams object with the ability to set a custom HTTPClient for a request.
func NewListUserConsentsParamsWithTimeout ¶
func NewListUserConsentsParamsWithTimeout(timeout time.Duration) *ListUserConsentsParams
NewListUserConsentsParamsWithTimeout creates a new ListUserConsentsParams object with the ability to set a timeout on a request.
func (*ListUserConsentsParams) SetConsentID ¶
func (o *ListUserConsentsParams) SetConsentID(consentID []string)
SetConsentID adds the consentId to the list user consents params
func (*ListUserConsentsParams) SetContext ¶
func (o *ListUserConsentsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user consents params
func (*ListUserConsentsParams) SetDefaults ¶
func (o *ListUserConsentsParams) SetDefaults()
SetDefaults hydrates default values in the list user consents params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserConsentsParams) SetHTTPClient ¶
func (o *ListUserConsentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user consents params
func (*ListUserConsentsParams) SetTimeout ¶
func (o *ListUserConsentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user consents params
func (*ListUserConsentsParams) WithConsentID ¶
func (o *ListUserConsentsParams) WithConsentID(consentID []string) *ListUserConsentsParams
WithConsentID adds the consentID to the list user consents params
func (*ListUserConsentsParams) WithContext ¶
func (o *ListUserConsentsParams) WithContext(ctx context.Context) *ListUserConsentsParams
WithContext adds the context to the list user consents params
func (*ListUserConsentsParams) WithDefaults ¶
func (o *ListUserConsentsParams) WithDefaults() *ListUserConsentsParams
WithDefaults hydrates default values in the list user consents params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserConsentsParams) WithHTTPClient ¶
func (o *ListUserConsentsParams) WithHTTPClient(client *http.Client) *ListUserConsentsParams
WithHTTPClient adds the HTTPClient to the list user consents params
func (*ListUserConsentsParams) WithTimeout ¶
func (o *ListUserConsentsParams) WithTimeout(timeout time.Duration) *ListUserConsentsParams
WithTimeout adds the timeout to the list user consents params
func (*ListUserConsentsParams) WriteToRequest ¶
func (o *ListUserConsentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserConsentsReader ¶
type ListUserConsentsReader struct {
// contains filtered or unexported fields
}
ListUserConsentsReader is a Reader for the ListUserConsents structure.
func (*ListUserConsentsReader) ReadResponse ¶
func (o *ListUserConsentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserConsentsTooManyRequests ¶
ListUserConsentsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListUserConsentsTooManyRequests ¶
func NewListUserConsentsTooManyRequests() *ListUserConsentsTooManyRequests
NewListUserConsentsTooManyRequests creates a ListUserConsentsTooManyRequests with default headers values
func (*ListUserConsentsTooManyRequests) Code ¶
func (o *ListUserConsentsTooManyRequests) Code() int
Code gets the status code for the list user consents too many requests response
func (*ListUserConsentsTooManyRequests) Error ¶
func (o *ListUserConsentsTooManyRequests) Error() string
func (*ListUserConsentsTooManyRequests) GetPayload ¶
func (o *ListUserConsentsTooManyRequests) GetPayload() *models.Error
func (*ListUserConsentsTooManyRequests) IsClientError ¶
func (o *ListUserConsentsTooManyRequests) IsClientError() bool
IsClientError returns true when this list user consents too many requests response has a 4xx status code
func (*ListUserConsentsTooManyRequests) IsCode ¶
func (o *ListUserConsentsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list user consents too many requests response a status code equal to that given
func (*ListUserConsentsTooManyRequests) IsRedirect ¶
func (o *ListUserConsentsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list user consents too many requests response has a 3xx status code
func (*ListUserConsentsTooManyRequests) IsServerError ¶
func (o *ListUserConsentsTooManyRequests) IsServerError() bool
IsServerError returns true when this list user consents too many requests response has a 5xx status code
func (*ListUserConsentsTooManyRequests) IsSuccess ¶
func (o *ListUserConsentsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list user consents too many requests response has a 2xx status code
func (*ListUserConsentsTooManyRequests) String ¶
func (o *ListUserConsentsTooManyRequests) String() string
type ListUserConsentsUnauthorized ¶
type ListUserConsentsUnauthorized struct {
}ListUserConsentsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListUserConsentsUnauthorized ¶
func NewListUserConsentsUnauthorized() *ListUserConsentsUnauthorized
NewListUserConsentsUnauthorized creates a ListUserConsentsUnauthorized with default headers values
func (*ListUserConsentsUnauthorized) Code ¶
func (o *ListUserConsentsUnauthorized) Code() int
Code gets the status code for the list user consents unauthorized response
func (*ListUserConsentsUnauthorized) Error ¶
func (o *ListUserConsentsUnauthorized) Error() string
func (*ListUserConsentsUnauthorized) GetPayload ¶
func (o *ListUserConsentsUnauthorized) GetPayload() *models.Error
func (*ListUserConsentsUnauthorized) IsClientError ¶
func (o *ListUserConsentsUnauthorized) IsClientError() bool
IsClientError returns true when this list user consents unauthorized response has a 4xx status code
func (*ListUserConsentsUnauthorized) IsCode ¶
func (o *ListUserConsentsUnauthorized) IsCode(code int) bool
IsCode returns true when this list user consents unauthorized response a status code equal to that given
func (*ListUserConsentsUnauthorized) IsRedirect ¶
func (o *ListUserConsentsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list user consents unauthorized response has a 3xx status code
func (*ListUserConsentsUnauthorized) IsServerError ¶
func (o *ListUserConsentsUnauthorized) IsServerError() bool
IsServerError returns true when this list user consents unauthorized response has a 5xx status code
func (*ListUserConsentsUnauthorized) IsSuccess ¶
func (o *ListUserConsentsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list user consents unauthorized response has a 2xx status code
func (*ListUserConsentsUnauthorized) String ¶
func (o *ListUserConsentsUnauthorized) String() string
type PatchConsentGrantsConflict ¶
PatchConsentGrantsConflict describes a response with status code 409, with default header values.
Conflict
func NewPatchConsentGrantsConflict ¶
func NewPatchConsentGrantsConflict() *PatchConsentGrantsConflict
NewPatchConsentGrantsConflict creates a PatchConsentGrantsConflict with default headers values
func (*PatchConsentGrantsConflict) Code ¶
func (o *PatchConsentGrantsConflict) Code() int
Code gets the status code for the patch consent grants conflict response
func (*PatchConsentGrantsConflict) Error ¶
func (o *PatchConsentGrantsConflict) Error() string
func (*PatchConsentGrantsConflict) GetPayload ¶
func (o *PatchConsentGrantsConflict) GetPayload() *models.Error
func (*PatchConsentGrantsConflict) IsClientError ¶
func (o *PatchConsentGrantsConflict) IsClientError() bool
IsClientError returns true when this patch consent grants conflict response has a 4xx status code
func (*PatchConsentGrantsConflict) IsCode ¶
func (o *PatchConsentGrantsConflict) IsCode(code int) bool
IsCode returns true when this patch consent grants conflict response a status code equal to that given
func (*PatchConsentGrantsConflict) IsRedirect ¶
func (o *PatchConsentGrantsConflict) IsRedirect() bool
IsRedirect returns true when this patch consent grants conflict response has a 3xx status code
func (*PatchConsentGrantsConflict) IsServerError ¶
func (o *PatchConsentGrantsConflict) IsServerError() bool
IsServerError returns true when this patch consent grants conflict response has a 5xx status code
func (*PatchConsentGrantsConflict) IsSuccess ¶
func (o *PatchConsentGrantsConflict) IsSuccess() bool
IsSuccess returns true when this patch consent grants conflict response has a 2xx status code
func (*PatchConsentGrantsConflict) String ¶
func (o *PatchConsentGrantsConflict) String() string
type PatchConsentGrantsCreated ¶
type PatchConsentGrantsCreated struct {
Payload *models.ConsentGrantPatchResponse
}
PatchConsentGrantsCreated describes a response with status code 201, with default header values.
Consent grant patch
func NewPatchConsentGrantsCreated ¶
func NewPatchConsentGrantsCreated() *PatchConsentGrantsCreated
NewPatchConsentGrantsCreated creates a PatchConsentGrantsCreated with default headers values
func (*PatchConsentGrantsCreated) Code ¶
func (o *PatchConsentGrantsCreated) Code() int
Code gets the status code for the patch consent grants created response
func (*PatchConsentGrantsCreated) Error ¶
func (o *PatchConsentGrantsCreated) Error() string
func (*PatchConsentGrantsCreated) GetPayload ¶
func (o *PatchConsentGrantsCreated) GetPayload() *models.ConsentGrantPatchResponse
func (*PatchConsentGrantsCreated) IsClientError ¶
func (o *PatchConsentGrantsCreated) IsClientError() bool
IsClientError returns true when this patch consent grants created response has a 4xx status code
func (*PatchConsentGrantsCreated) IsCode ¶
func (o *PatchConsentGrantsCreated) IsCode(code int) bool
IsCode returns true when this patch consent grants created response a status code equal to that given
func (*PatchConsentGrantsCreated) IsRedirect ¶
func (o *PatchConsentGrantsCreated) IsRedirect() bool
IsRedirect returns true when this patch consent grants created response has a 3xx status code
func (*PatchConsentGrantsCreated) IsServerError ¶
func (o *PatchConsentGrantsCreated) IsServerError() bool
IsServerError returns true when this patch consent grants created response has a 5xx status code
func (*PatchConsentGrantsCreated) IsSuccess ¶
func (o *PatchConsentGrantsCreated) IsSuccess() bool
IsSuccess returns true when this patch consent grants created response has a 2xx status code
func (*PatchConsentGrantsCreated) String ¶
func (o *PatchConsentGrantsCreated) String() string
type PatchConsentGrantsForbidden ¶
PatchConsentGrantsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPatchConsentGrantsForbidden ¶
func NewPatchConsentGrantsForbidden() *PatchConsentGrantsForbidden
NewPatchConsentGrantsForbidden creates a PatchConsentGrantsForbidden with default headers values
func (*PatchConsentGrantsForbidden) Code ¶
func (o *PatchConsentGrantsForbidden) Code() int
Code gets the status code for the patch consent grants forbidden response
func (*PatchConsentGrantsForbidden) Error ¶
func (o *PatchConsentGrantsForbidden) Error() string
func (*PatchConsentGrantsForbidden) GetPayload ¶
func (o *PatchConsentGrantsForbidden) GetPayload() *models.Error
func (*PatchConsentGrantsForbidden) IsClientError ¶
func (o *PatchConsentGrantsForbidden) IsClientError() bool
IsClientError returns true when this patch consent grants forbidden response has a 4xx status code
func (*PatchConsentGrantsForbidden) IsCode ¶
func (o *PatchConsentGrantsForbidden) IsCode(code int) bool
IsCode returns true when this patch consent grants forbidden response a status code equal to that given
func (*PatchConsentGrantsForbidden) IsRedirect ¶
func (o *PatchConsentGrantsForbidden) IsRedirect() bool
IsRedirect returns true when this patch consent grants forbidden response has a 3xx status code
func (*PatchConsentGrantsForbidden) IsServerError ¶
func (o *PatchConsentGrantsForbidden) IsServerError() bool
IsServerError returns true when this patch consent grants forbidden response has a 5xx status code
func (*PatchConsentGrantsForbidden) IsSuccess ¶
func (o *PatchConsentGrantsForbidden) IsSuccess() bool
IsSuccess returns true when this patch consent grants forbidden response has a 2xx status code
func (*PatchConsentGrantsForbidden) String ¶
func (o *PatchConsentGrantsForbidden) String() string
type PatchConsentGrantsNotFound ¶
PatchConsentGrantsNotFound describes a response with status code 404, with default header values.
Not found
func NewPatchConsentGrantsNotFound ¶
func NewPatchConsentGrantsNotFound() *PatchConsentGrantsNotFound
NewPatchConsentGrantsNotFound creates a PatchConsentGrantsNotFound with default headers values
func (*PatchConsentGrantsNotFound) Code ¶
func (o *PatchConsentGrantsNotFound) Code() int
Code gets the status code for the patch consent grants not found response
func (*PatchConsentGrantsNotFound) Error ¶
func (o *PatchConsentGrantsNotFound) Error() string
func (*PatchConsentGrantsNotFound) GetPayload ¶
func (o *PatchConsentGrantsNotFound) GetPayload() *models.Error
func (*PatchConsentGrantsNotFound) IsClientError ¶
func (o *PatchConsentGrantsNotFound) IsClientError() bool
IsClientError returns true when this patch consent grants not found response has a 4xx status code
func (*PatchConsentGrantsNotFound) IsCode ¶
func (o *PatchConsentGrantsNotFound) IsCode(code int) bool
IsCode returns true when this patch consent grants not found response a status code equal to that given
func (*PatchConsentGrantsNotFound) IsRedirect ¶
func (o *PatchConsentGrantsNotFound) IsRedirect() bool
IsRedirect returns true when this patch consent grants not found response has a 3xx status code
func (*PatchConsentGrantsNotFound) IsServerError ¶
func (o *PatchConsentGrantsNotFound) IsServerError() bool
IsServerError returns true when this patch consent grants not found response has a 5xx status code
func (*PatchConsentGrantsNotFound) IsSuccess ¶
func (o *PatchConsentGrantsNotFound) IsSuccess() bool
IsSuccess returns true when this patch consent grants not found response has a 2xx status code
func (*PatchConsentGrantsNotFound) String ¶
func (o *PatchConsentGrantsNotFound) String() string
type PatchConsentGrantsParams ¶
type PatchConsentGrantsParams struct { // ConsentGrantPatchRequest. ConsentGrantPatchRequest *models.ConsentGrantPatchRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchConsentGrantsParams contains all the parameters to send to the API endpoint
for the patch consent grants operation. Typically these are written to a http.Request.
func NewPatchConsentGrantsParams ¶
func NewPatchConsentGrantsParams() *PatchConsentGrantsParams
NewPatchConsentGrantsParams creates a new PatchConsentGrantsParams 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 NewPatchConsentGrantsParamsWithContext ¶
func NewPatchConsentGrantsParamsWithContext(ctx context.Context) *PatchConsentGrantsParams
NewPatchConsentGrantsParamsWithContext creates a new PatchConsentGrantsParams object with the ability to set a context for a request.
func NewPatchConsentGrantsParamsWithHTTPClient ¶
func NewPatchConsentGrantsParamsWithHTTPClient(client *http.Client) *PatchConsentGrantsParams
NewPatchConsentGrantsParamsWithHTTPClient creates a new PatchConsentGrantsParams object with the ability to set a custom HTTPClient for a request.
func NewPatchConsentGrantsParamsWithTimeout ¶
func NewPatchConsentGrantsParamsWithTimeout(timeout time.Duration) *PatchConsentGrantsParams
NewPatchConsentGrantsParamsWithTimeout creates a new PatchConsentGrantsParams object with the ability to set a timeout on a request.
func (*PatchConsentGrantsParams) SetConsentGrantPatchRequest ¶
func (o *PatchConsentGrantsParams) SetConsentGrantPatchRequest(consentGrantPatchRequest *models.ConsentGrantPatchRequest)
SetConsentGrantPatchRequest adds the consentGrantPatchRequest to the patch consent grants params
func (*PatchConsentGrantsParams) SetContext ¶
func (o *PatchConsentGrantsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch consent grants params
func (*PatchConsentGrantsParams) SetDefaults ¶
func (o *PatchConsentGrantsParams) SetDefaults()
SetDefaults hydrates default values in the patch consent grants params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConsentGrantsParams) SetHTTPClient ¶
func (o *PatchConsentGrantsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch consent grants params
func (*PatchConsentGrantsParams) SetTimeout ¶
func (o *PatchConsentGrantsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch consent grants params
func (*PatchConsentGrantsParams) WithConsentGrantPatchRequest ¶
func (o *PatchConsentGrantsParams) WithConsentGrantPatchRequest(consentGrantPatchRequest *models.ConsentGrantPatchRequest) *PatchConsentGrantsParams
WithConsentGrantPatchRequest adds the consentGrantPatchRequest to the patch consent grants params
func (*PatchConsentGrantsParams) WithContext ¶
func (o *PatchConsentGrantsParams) WithContext(ctx context.Context) *PatchConsentGrantsParams
WithContext adds the context to the patch consent grants params
func (*PatchConsentGrantsParams) WithDefaults ¶
func (o *PatchConsentGrantsParams) WithDefaults() *PatchConsentGrantsParams
WithDefaults hydrates default values in the patch consent grants params (not the query body).
All values with no default are reset to their zero value.
func (*PatchConsentGrantsParams) WithHTTPClient ¶
func (o *PatchConsentGrantsParams) WithHTTPClient(client *http.Client) *PatchConsentGrantsParams
WithHTTPClient adds the HTTPClient to the patch consent grants params
func (*PatchConsentGrantsParams) WithTimeout ¶
func (o *PatchConsentGrantsParams) WithTimeout(timeout time.Duration) *PatchConsentGrantsParams
WithTimeout adds the timeout to the patch consent grants params
func (*PatchConsentGrantsParams) WriteToRequest ¶
func (o *PatchConsentGrantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchConsentGrantsReader ¶
type PatchConsentGrantsReader struct {
// contains filtered or unexported fields
}
PatchConsentGrantsReader is a Reader for the PatchConsentGrants structure.
func (*PatchConsentGrantsReader) ReadResponse ¶
func (o *PatchConsentGrantsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchConsentGrantsTooManyRequests ¶
PatchConsentGrantsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewPatchConsentGrantsTooManyRequests ¶
func NewPatchConsentGrantsTooManyRequests() *PatchConsentGrantsTooManyRequests
NewPatchConsentGrantsTooManyRequests creates a PatchConsentGrantsTooManyRequests with default headers values
func (*PatchConsentGrantsTooManyRequests) Code ¶
func (o *PatchConsentGrantsTooManyRequests) Code() int
Code gets the status code for the patch consent grants too many requests response
func (*PatchConsentGrantsTooManyRequests) Error ¶
func (o *PatchConsentGrantsTooManyRequests) Error() string
func (*PatchConsentGrantsTooManyRequests) GetPayload ¶
func (o *PatchConsentGrantsTooManyRequests) GetPayload() *models.Error
func (*PatchConsentGrantsTooManyRequests) IsClientError ¶
func (o *PatchConsentGrantsTooManyRequests) IsClientError() bool
IsClientError returns true when this patch consent grants too many requests response has a 4xx status code
func (*PatchConsentGrantsTooManyRequests) IsCode ¶
func (o *PatchConsentGrantsTooManyRequests) IsCode(code int) bool
IsCode returns true when this patch consent grants too many requests response a status code equal to that given
func (*PatchConsentGrantsTooManyRequests) IsRedirect ¶
func (o *PatchConsentGrantsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this patch consent grants too many requests response has a 3xx status code
func (*PatchConsentGrantsTooManyRequests) IsServerError ¶
func (o *PatchConsentGrantsTooManyRequests) IsServerError() bool
IsServerError returns true when this patch consent grants too many requests response has a 5xx status code
func (*PatchConsentGrantsTooManyRequests) IsSuccess ¶
func (o *PatchConsentGrantsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this patch consent grants too many requests response has a 2xx status code
func (*PatchConsentGrantsTooManyRequests) String ¶
func (o *PatchConsentGrantsTooManyRequests) String() string
type PatchConsentGrantsUnauthorized ¶
type PatchConsentGrantsUnauthorized struct {
}PatchConsentGrantsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPatchConsentGrantsUnauthorized ¶
func NewPatchConsentGrantsUnauthorized() *PatchConsentGrantsUnauthorized
NewPatchConsentGrantsUnauthorized creates a PatchConsentGrantsUnauthorized with default headers values
func (*PatchConsentGrantsUnauthorized) Code ¶
func (o *PatchConsentGrantsUnauthorized) Code() int
Code gets the status code for the patch consent grants unauthorized response
func (*PatchConsentGrantsUnauthorized) Error ¶
func (o *PatchConsentGrantsUnauthorized) Error() string
func (*PatchConsentGrantsUnauthorized) GetPayload ¶
func (o *PatchConsentGrantsUnauthorized) GetPayload() *models.Error
func (*PatchConsentGrantsUnauthorized) IsClientError ¶
func (o *PatchConsentGrantsUnauthorized) IsClientError() bool
IsClientError returns true when this patch consent grants unauthorized response has a 4xx status code
func (*PatchConsentGrantsUnauthorized) IsCode ¶
func (o *PatchConsentGrantsUnauthorized) IsCode(code int) bool
IsCode returns true when this patch consent grants unauthorized response a status code equal to that given
func (*PatchConsentGrantsUnauthorized) IsRedirect ¶
func (o *PatchConsentGrantsUnauthorized) IsRedirect() bool
IsRedirect returns true when this patch consent grants unauthorized response has a 3xx status code
func (*PatchConsentGrantsUnauthorized) IsServerError ¶
func (o *PatchConsentGrantsUnauthorized) IsServerError() bool
IsServerError returns true when this patch consent grants unauthorized response has a 5xx status code
func (*PatchConsentGrantsUnauthorized) IsSuccess ¶
func (o *PatchConsentGrantsUnauthorized) IsSuccess() bool
IsSuccess returns true when this patch consent grants unauthorized response has a 2xx status code
func (*PatchConsentGrantsUnauthorized) String ¶
func (o *PatchConsentGrantsUnauthorized) String() string
type PatchConsentGrantsUnprocessableEntity ¶
PatchConsentGrantsUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewPatchConsentGrantsUnprocessableEntity ¶
func NewPatchConsentGrantsUnprocessableEntity() *PatchConsentGrantsUnprocessableEntity
NewPatchConsentGrantsUnprocessableEntity creates a PatchConsentGrantsUnprocessableEntity with default headers values
func (*PatchConsentGrantsUnprocessableEntity) Code ¶
func (o *PatchConsentGrantsUnprocessableEntity) Code() int
Code gets the status code for the patch consent grants unprocessable entity response
func (*PatchConsentGrantsUnprocessableEntity) Error ¶
func (o *PatchConsentGrantsUnprocessableEntity) Error() string
func (*PatchConsentGrantsUnprocessableEntity) GetPayload ¶
func (o *PatchConsentGrantsUnprocessableEntity) GetPayload() *models.Error
func (*PatchConsentGrantsUnprocessableEntity) IsClientError ¶
func (o *PatchConsentGrantsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this patch consent grants unprocessable entity response has a 4xx status code
func (*PatchConsentGrantsUnprocessableEntity) IsCode ¶
func (o *PatchConsentGrantsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this patch consent grants unprocessable entity response a status code equal to that given
func (*PatchConsentGrantsUnprocessableEntity) IsRedirect ¶
func (o *PatchConsentGrantsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this patch consent grants unprocessable entity response has a 3xx status code
func (*PatchConsentGrantsUnprocessableEntity) IsServerError ¶
func (o *PatchConsentGrantsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this patch consent grants unprocessable entity response has a 5xx status code
func (*PatchConsentGrantsUnprocessableEntity) IsSuccess ¶
func (o *PatchConsentGrantsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this patch consent grants unprocessable entity response has a 2xx status code
func (*PatchConsentGrantsUnprocessableEntity) String ¶
func (o *PatchConsentGrantsUnprocessableEntity) String() string
type RevokeConsentForbidden ¶
RevokeConsentForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRevokeConsentForbidden ¶
func NewRevokeConsentForbidden() *RevokeConsentForbidden
NewRevokeConsentForbidden creates a RevokeConsentForbidden with default headers values
func (*RevokeConsentForbidden) Code ¶
func (o *RevokeConsentForbidden) Code() int
Code gets the status code for the revoke consent forbidden response
func (*RevokeConsentForbidden) Error ¶
func (o *RevokeConsentForbidden) Error() string
func (*RevokeConsentForbidden) GetPayload ¶
func (o *RevokeConsentForbidden) GetPayload() *models.Error
func (*RevokeConsentForbidden) IsClientError ¶
func (o *RevokeConsentForbidden) IsClientError() bool
IsClientError returns true when this revoke consent forbidden response has a 4xx status code
func (*RevokeConsentForbidden) IsCode ¶
func (o *RevokeConsentForbidden) IsCode(code int) bool
IsCode returns true when this revoke consent forbidden response a status code equal to that given
func (*RevokeConsentForbidden) IsRedirect ¶
func (o *RevokeConsentForbidden) IsRedirect() bool
IsRedirect returns true when this revoke consent forbidden response has a 3xx status code
func (*RevokeConsentForbidden) IsServerError ¶
func (o *RevokeConsentForbidden) IsServerError() bool
IsServerError returns true when this revoke consent forbidden response has a 5xx status code
func (*RevokeConsentForbidden) IsSuccess ¶
func (o *RevokeConsentForbidden) IsSuccess() bool
IsSuccess returns true when this revoke consent forbidden response has a 2xx status code
func (*RevokeConsentForbidden) String ¶
func (o *RevokeConsentForbidden) String() string
type RevokeConsentNotFound ¶
RevokeConsentNotFound describes a response with status code 404, with default header values.
Not found
func NewRevokeConsentNotFound ¶
func NewRevokeConsentNotFound() *RevokeConsentNotFound
NewRevokeConsentNotFound creates a RevokeConsentNotFound with default headers values
func (*RevokeConsentNotFound) Code ¶
func (o *RevokeConsentNotFound) Code() int
Code gets the status code for the revoke consent not found response
func (*RevokeConsentNotFound) Error ¶
func (o *RevokeConsentNotFound) Error() string
func (*RevokeConsentNotFound) GetPayload ¶
func (o *RevokeConsentNotFound) GetPayload() *models.Error
func (*RevokeConsentNotFound) IsClientError ¶
func (o *RevokeConsentNotFound) IsClientError() bool
IsClientError returns true when this revoke consent not found response has a 4xx status code
func (*RevokeConsentNotFound) IsCode ¶
func (o *RevokeConsentNotFound) IsCode(code int) bool
IsCode returns true when this revoke consent not found response a status code equal to that given
func (*RevokeConsentNotFound) IsRedirect ¶
func (o *RevokeConsentNotFound) IsRedirect() bool
IsRedirect returns true when this revoke consent not found response has a 3xx status code
func (*RevokeConsentNotFound) IsServerError ¶
func (o *RevokeConsentNotFound) IsServerError() bool
IsServerError returns true when this revoke consent not found response has a 5xx status code
func (*RevokeConsentNotFound) IsSuccess ¶
func (o *RevokeConsentNotFound) IsSuccess() bool
IsSuccess returns true when this revoke consent not found response has a 2xx status code
func (*RevokeConsentNotFound) String ¶
func (o *RevokeConsentNotFound) String() string
type RevokeConsentOK ¶
type RevokeConsentOK struct {
Payload *models.ConsentGrant
}
RevokeConsentOK describes a response with status code 200, with default header values.
Consent grant
func NewRevokeConsentOK ¶
func NewRevokeConsentOK() *RevokeConsentOK
NewRevokeConsentOK creates a RevokeConsentOK with default headers values
func (*RevokeConsentOK) Code ¶
func (o *RevokeConsentOK) Code() int
Code gets the status code for the revoke consent o k response
func (*RevokeConsentOK) Error ¶
func (o *RevokeConsentOK) Error() string
func (*RevokeConsentOK) GetPayload ¶
func (o *RevokeConsentOK) GetPayload() *models.ConsentGrant
func (*RevokeConsentOK) IsClientError ¶
func (o *RevokeConsentOK) IsClientError() bool
IsClientError returns true when this revoke consent o k response has a 4xx status code
func (*RevokeConsentOK) IsCode ¶
func (o *RevokeConsentOK) IsCode(code int) bool
IsCode returns true when this revoke consent o k response a status code equal to that given
func (*RevokeConsentOK) IsRedirect ¶
func (o *RevokeConsentOK) IsRedirect() bool
IsRedirect returns true when this revoke consent o k response has a 3xx status code
func (*RevokeConsentOK) IsServerError ¶
func (o *RevokeConsentOK) IsServerError() bool
IsServerError returns true when this revoke consent o k response has a 5xx status code
func (*RevokeConsentOK) IsSuccess ¶
func (o *RevokeConsentOK) IsSuccess() bool
IsSuccess returns true when this revoke consent o k response has a 2xx status code
func (*RevokeConsentOK) String ¶
func (o *RevokeConsentOK) String() string
type RevokeConsentParams ¶
type RevokeConsentParams struct { // ConsentGrant. ConsentGrant *models.ConsentGrantRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeConsentParams contains all the parameters to send to the API endpoint
for the revoke consent operation. Typically these are written to a http.Request.
func NewRevokeConsentParams ¶
func NewRevokeConsentParams() *RevokeConsentParams
NewRevokeConsentParams creates a new RevokeConsentParams 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 NewRevokeConsentParamsWithContext ¶
func NewRevokeConsentParamsWithContext(ctx context.Context) *RevokeConsentParams
NewRevokeConsentParamsWithContext creates a new RevokeConsentParams object with the ability to set a context for a request.
func NewRevokeConsentParamsWithHTTPClient ¶
func NewRevokeConsentParamsWithHTTPClient(client *http.Client) *RevokeConsentParams
NewRevokeConsentParamsWithHTTPClient creates a new RevokeConsentParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeConsentParamsWithTimeout ¶
func NewRevokeConsentParamsWithTimeout(timeout time.Duration) *RevokeConsentParams
NewRevokeConsentParamsWithTimeout creates a new RevokeConsentParams object with the ability to set a timeout on a request.
func (*RevokeConsentParams) SetConsentGrant ¶
func (o *RevokeConsentParams) SetConsentGrant(consentGrant *models.ConsentGrantRequest)
SetConsentGrant adds the consentGrant to the revoke consent params
func (*RevokeConsentParams) SetContext ¶
func (o *RevokeConsentParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke consent params
func (*RevokeConsentParams) SetDefaults ¶
func (o *RevokeConsentParams) SetDefaults()
SetDefaults hydrates default values in the revoke consent params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeConsentParams) SetHTTPClient ¶
func (o *RevokeConsentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke consent params
func (*RevokeConsentParams) SetTimeout ¶
func (o *RevokeConsentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke consent params
func (*RevokeConsentParams) WithConsentGrant ¶
func (o *RevokeConsentParams) WithConsentGrant(consentGrant *models.ConsentGrantRequest) *RevokeConsentParams
WithConsentGrant adds the consentGrant to the revoke consent params
func (*RevokeConsentParams) WithContext ¶
func (o *RevokeConsentParams) WithContext(ctx context.Context) *RevokeConsentParams
WithContext adds the context to the revoke consent params
func (*RevokeConsentParams) WithDefaults ¶
func (o *RevokeConsentParams) WithDefaults() *RevokeConsentParams
WithDefaults hydrates default values in the revoke consent params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeConsentParams) WithHTTPClient ¶
func (o *RevokeConsentParams) WithHTTPClient(client *http.Client) *RevokeConsentParams
WithHTTPClient adds the HTTPClient to the revoke consent params
func (*RevokeConsentParams) WithTimeout ¶
func (o *RevokeConsentParams) WithTimeout(timeout time.Duration) *RevokeConsentParams
WithTimeout adds the timeout to the revoke consent params
func (*RevokeConsentParams) WriteToRequest ¶
func (o *RevokeConsentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeConsentReader ¶
type RevokeConsentReader struct {
// contains filtered or unexported fields
}
RevokeConsentReader is a Reader for the RevokeConsent structure.
func (*RevokeConsentReader) ReadResponse ¶
func (o *RevokeConsentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeConsentTooManyRequests ¶
RevokeConsentTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewRevokeConsentTooManyRequests ¶
func NewRevokeConsentTooManyRequests() *RevokeConsentTooManyRequests
NewRevokeConsentTooManyRequests creates a RevokeConsentTooManyRequests with default headers values
func (*RevokeConsentTooManyRequests) Code ¶
func (o *RevokeConsentTooManyRequests) Code() int
Code gets the status code for the revoke consent too many requests response
func (*RevokeConsentTooManyRequests) Error ¶
func (o *RevokeConsentTooManyRequests) Error() string
func (*RevokeConsentTooManyRequests) GetPayload ¶
func (o *RevokeConsentTooManyRequests) GetPayload() *models.Error
func (*RevokeConsentTooManyRequests) IsClientError ¶
func (o *RevokeConsentTooManyRequests) IsClientError() bool
IsClientError returns true when this revoke consent too many requests response has a 4xx status code
func (*RevokeConsentTooManyRequests) IsCode ¶
func (o *RevokeConsentTooManyRequests) IsCode(code int) bool
IsCode returns true when this revoke consent too many requests response a status code equal to that given
func (*RevokeConsentTooManyRequests) IsRedirect ¶
func (o *RevokeConsentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this revoke consent too many requests response has a 3xx status code
func (*RevokeConsentTooManyRequests) IsServerError ¶
func (o *RevokeConsentTooManyRequests) IsServerError() bool
IsServerError returns true when this revoke consent too many requests response has a 5xx status code
func (*RevokeConsentTooManyRequests) IsSuccess ¶
func (o *RevokeConsentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this revoke consent too many requests response has a 2xx status code
func (*RevokeConsentTooManyRequests) String ¶
func (o *RevokeConsentTooManyRequests) String() string
type RevokeConsentUnauthorized ¶
type RevokeConsentUnauthorized struct {
}RevokeConsentUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRevokeConsentUnauthorized ¶
func NewRevokeConsentUnauthorized() *RevokeConsentUnauthorized
NewRevokeConsentUnauthorized creates a RevokeConsentUnauthorized with default headers values
func (*RevokeConsentUnauthorized) Code ¶
func (o *RevokeConsentUnauthorized) Code() int
Code gets the status code for the revoke consent unauthorized response
func (*RevokeConsentUnauthorized) Error ¶
func (o *RevokeConsentUnauthorized) Error() string
func (*RevokeConsentUnauthorized) GetPayload ¶
func (o *RevokeConsentUnauthorized) GetPayload() *models.Error
func (*RevokeConsentUnauthorized) IsClientError ¶
func (o *RevokeConsentUnauthorized) IsClientError() bool
IsClientError returns true when this revoke consent unauthorized response has a 4xx status code
func (*RevokeConsentUnauthorized) IsCode ¶
func (o *RevokeConsentUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke consent unauthorized response a status code equal to that given
func (*RevokeConsentUnauthorized) IsRedirect ¶
func (o *RevokeConsentUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke consent unauthorized response has a 3xx status code
func (*RevokeConsentUnauthorized) IsServerError ¶
func (o *RevokeConsentUnauthorized) IsServerError() bool
IsServerError returns true when this revoke consent unauthorized response has a 5xx status code
func (*RevokeConsentUnauthorized) IsSuccess ¶
func (o *RevokeConsentUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke consent unauthorized response has a 2xx status code
func (*RevokeConsentUnauthorized) String ¶
func (o *RevokeConsentUnauthorized) String() string
type RevokeConsentUnprocessableEntity ¶
RevokeConsentUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewRevokeConsentUnprocessableEntity ¶
func NewRevokeConsentUnprocessableEntity() *RevokeConsentUnprocessableEntity
NewRevokeConsentUnprocessableEntity creates a RevokeConsentUnprocessableEntity with default headers values
func (*RevokeConsentUnprocessableEntity) Code ¶
func (o *RevokeConsentUnprocessableEntity) Code() int
Code gets the status code for the revoke consent unprocessable entity response
func (*RevokeConsentUnprocessableEntity) Error ¶
func (o *RevokeConsentUnprocessableEntity) Error() string
func (*RevokeConsentUnprocessableEntity) GetPayload ¶
func (o *RevokeConsentUnprocessableEntity) GetPayload() *models.Error
func (*RevokeConsentUnprocessableEntity) IsClientError ¶
func (o *RevokeConsentUnprocessableEntity) IsClientError() bool
IsClientError returns true when this revoke consent unprocessable entity response has a 4xx status code
func (*RevokeConsentUnprocessableEntity) IsCode ¶
func (o *RevokeConsentUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this revoke consent unprocessable entity response a status code equal to that given
func (*RevokeConsentUnprocessableEntity) IsRedirect ¶
func (o *RevokeConsentUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this revoke consent unprocessable entity response has a 3xx status code
func (*RevokeConsentUnprocessableEntity) IsServerError ¶
func (o *RevokeConsentUnprocessableEntity) IsServerError() bool
IsServerError returns true when this revoke consent unprocessable entity response has a 5xx status code
func (*RevokeConsentUnprocessableEntity) IsSuccess ¶
func (o *RevokeConsentUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this revoke consent unprocessable entity response has a 2xx status code
func (*RevokeConsentUnprocessableEntity) String ¶
func (o *RevokeConsentUnprocessableEntity) String() string
Source Files ¶
- consents_client.go
- grant_consent_parameters.go
- grant_consent_responses.go
- list_privacy_ledger_events_parameters.go
- list_privacy_ledger_events_responses.go
- list_user_consents_by_action_parameters.go
- list_user_consents_by_action_responses.go
- list_user_consents_parameters.go
- list_user_consents_responses.go
- patch_consent_grants_parameters.go
- patch_consent_grants_responses.go
- revoke_consent_parameters.go
- revoke_consent_responses.go