Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAutomaticKeyRotation(params *GetAutomaticKeyRotationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAutomaticKeyRotationOK, error)
- func (a *Client) GetKey(params *GetKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetKeyOK, error)
- func (a *Client) GetKeys(params *GetKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetKeysOK, error)
- func (a *Client) RevokeKey(params *RevokeKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeKeyOK, error)
- func (a *Client) RotateKey(params *RotateKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RotateKeyOK, error)
- func (a *Client) SetAutomaticKeyRotation(params *SetAutomaticKeyRotationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetAutomaticKeyRotationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAutomaticKeyRotationForbidden
- func (o *GetAutomaticKeyRotationForbidden) Code() int
- func (o *GetAutomaticKeyRotationForbidden) Error() string
- func (o *GetAutomaticKeyRotationForbidden) GetPayload() *models.Error
- func (o *GetAutomaticKeyRotationForbidden) IsClientError() bool
- func (o *GetAutomaticKeyRotationForbidden) IsCode(code int) bool
- func (o *GetAutomaticKeyRotationForbidden) IsRedirect() bool
- func (o *GetAutomaticKeyRotationForbidden) IsServerError() bool
- func (o *GetAutomaticKeyRotationForbidden) IsSuccess() bool
- func (o *GetAutomaticKeyRotationForbidden) String() string
- type GetAutomaticKeyRotationNotFound
- func (o *GetAutomaticKeyRotationNotFound) Code() int
- func (o *GetAutomaticKeyRotationNotFound) Error() string
- func (o *GetAutomaticKeyRotationNotFound) GetPayload() *models.Error
- func (o *GetAutomaticKeyRotationNotFound) IsClientError() bool
- func (o *GetAutomaticKeyRotationNotFound) IsCode(code int) bool
- func (o *GetAutomaticKeyRotationNotFound) IsRedirect() bool
- func (o *GetAutomaticKeyRotationNotFound) IsServerError() bool
- func (o *GetAutomaticKeyRotationNotFound) IsSuccess() bool
- func (o *GetAutomaticKeyRotationNotFound) String() string
- type GetAutomaticKeyRotationOK
- func (o *GetAutomaticKeyRotationOK) Code() int
- func (o *GetAutomaticKeyRotationOK) Error() string
- func (o *GetAutomaticKeyRotationOK) GetPayload() *models.AutomaticKeyRotation
- func (o *GetAutomaticKeyRotationOK) IsClientError() bool
- func (o *GetAutomaticKeyRotationOK) IsCode(code int) bool
- func (o *GetAutomaticKeyRotationOK) IsRedirect() bool
- func (o *GetAutomaticKeyRotationOK) IsServerError() bool
- func (o *GetAutomaticKeyRotationOK) IsSuccess() bool
- func (o *GetAutomaticKeyRotationOK) String() string
- type GetAutomaticKeyRotationParams
- func NewGetAutomaticKeyRotationParams() *GetAutomaticKeyRotationParams
- func NewGetAutomaticKeyRotationParamsWithContext(ctx context.Context) *GetAutomaticKeyRotationParams
- func NewGetAutomaticKeyRotationParamsWithHTTPClient(client *http.Client) *GetAutomaticKeyRotationParams
- func NewGetAutomaticKeyRotationParamsWithTimeout(timeout time.Duration) *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) SetContext(ctx context.Context)
- func (o *GetAutomaticKeyRotationParams) SetDefaults()
- func (o *GetAutomaticKeyRotationParams) SetHTTPClient(client *http.Client)
- func (o *GetAutomaticKeyRotationParams) SetIfMatch(ifMatch *string)
- func (o *GetAutomaticKeyRotationParams) SetTimeout(timeout time.Duration)
- func (o *GetAutomaticKeyRotationParams) SetUse(use *string)
- func (o *GetAutomaticKeyRotationParams) SetWid(wid string)
- func (o *GetAutomaticKeyRotationParams) WithContext(ctx context.Context) *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) WithDefaults() *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) WithHTTPClient(client *http.Client) *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) WithIfMatch(ifMatch *string) *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) WithTimeout(timeout time.Duration) *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) WithUse(use *string) *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) WithWid(wid string) *GetAutomaticKeyRotationParams
- func (o *GetAutomaticKeyRotationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAutomaticKeyRotationReader
- type GetAutomaticKeyRotationTooManyRequests
- func (o *GetAutomaticKeyRotationTooManyRequests) Code() int
- func (o *GetAutomaticKeyRotationTooManyRequests) Error() string
- func (o *GetAutomaticKeyRotationTooManyRequests) GetPayload() *models.Error
- func (o *GetAutomaticKeyRotationTooManyRequests) IsClientError() bool
- func (o *GetAutomaticKeyRotationTooManyRequests) IsCode(code int) bool
- func (o *GetAutomaticKeyRotationTooManyRequests) IsRedirect() bool
- func (o *GetAutomaticKeyRotationTooManyRequests) IsServerError() bool
- func (o *GetAutomaticKeyRotationTooManyRequests) IsSuccess() bool
- func (o *GetAutomaticKeyRotationTooManyRequests) String() string
- type GetAutomaticKeyRotationUnauthorized
- func (o *GetAutomaticKeyRotationUnauthorized) Code() int
- func (o *GetAutomaticKeyRotationUnauthorized) Error() string
- func (o *GetAutomaticKeyRotationUnauthorized) GetPayload() *models.Error
- func (o *GetAutomaticKeyRotationUnauthorized) IsClientError() bool
- func (o *GetAutomaticKeyRotationUnauthorized) IsCode(code int) bool
- func (o *GetAutomaticKeyRotationUnauthorized) IsRedirect() bool
- func (o *GetAutomaticKeyRotationUnauthorized) IsServerError() bool
- func (o *GetAutomaticKeyRotationUnauthorized) IsSuccess() bool
- func (o *GetAutomaticKeyRotationUnauthorized) String() string
- type GetKeyForbidden
- func (o *GetKeyForbidden) Code() int
- func (o *GetKeyForbidden) Error() string
- func (o *GetKeyForbidden) GetPayload() *models.Error
- func (o *GetKeyForbidden) IsClientError() bool
- func (o *GetKeyForbidden) IsCode(code int) bool
- func (o *GetKeyForbidden) IsRedirect() bool
- func (o *GetKeyForbidden) IsServerError() bool
- func (o *GetKeyForbidden) IsSuccess() bool
- func (o *GetKeyForbidden) String() string
- type GetKeyNotFound
- func (o *GetKeyNotFound) Code() int
- func (o *GetKeyNotFound) Error() string
- func (o *GetKeyNotFound) GetPayload() *models.Error
- func (o *GetKeyNotFound) IsClientError() bool
- func (o *GetKeyNotFound) IsCode(code int) bool
- func (o *GetKeyNotFound) IsRedirect() bool
- func (o *GetKeyNotFound) IsServerError() bool
- func (o *GetKeyNotFound) IsSuccess() bool
- func (o *GetKeyNotFound) String() string
- type GetKeyOK
- func (o *GetKeyOK) Code() int
- func (o *GetKeyOK) Error() string
- func (o *GetKeyOK) GetPayload() *models.ClientJWK
- func (o *GetKeyOK) IsClientError() bool
- func (o *GetKeyOK) IsCode(code int) bool
- func (o *GetKeyOK) IsRedirect() bool
- func (o *GetKeyOK) IsServerError() bool
- func (o *GetKeyOK) IsSuccess() bool
- func (o *GetKeyOK) String() string
- type GetKeyParams
- func (o *GetKeyParams) SetContext(ctx context.Context)
- func (o *GetKeyParams) SetDefaults()
- func (o *GetKeyParams) SetHTTPClient(client *http.Client)
- func (o *GetKeyParams) SetIfMatch(ifMatch *string)
- func (o *GetKeyParams) SetKid(kid string)
- func (o *GetKeyParams) SetTimeout(timeout time.Duration)
- func (o *GetKeyParams) SetWid(wid string)
- func (o *GetKeyParams) WithContext(ctx context.Context) *GetKeyParams
- func (o *GetKeyParams) WithDefaults() *GetKeyParams
- func (o *GetKeyParams) WithHTTPClient(client *http.Client) *GetKeyParams
- func (o *GetKeyParams) WithIfMatch(ifMatch *string) *GetKeyParams
- func (o *GetKeyParams) WithKid(kid string) *GetKeyParams
- func (o *GetKeyParams) WithTimeout(timeout time.Duration) *GetKeyParams
- func (o *GetKeyParams) WithWid(wid string) *GetKeyParams
- func (o *GetKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKeyReader
- type GetKeyTooManyRequests
- func (o *GetKeyTooManyRequests) Code() int
- func (o *GetKeyTooManyRequests) Error() string
- func (o *GetKeyTooManyRequests) GetPayload() *models.Error
- func (o *GetKeyTooManyRequests) IsClientError() bool
- func (o *GetKeyTooManyRequests) IsCode(code int) bool
- func (o *GetKeyTooManyRequests) IsRedirect() bool
- func (o *GetKeyTooManyRequests) IsServerError() bool
- func (o *GetKeyTooManyRequests) IsSuccess() bool
- func (o *GetKeyTooManyRequests) String() string
- type GetKeyUnauthorized
- func (o *GetKeyUnauthorized) Code() int
- func (o *GetKeyUnauthorized) Error() string
- func (o *GetKeyUnauthorized) GetPayload() *models.Error
- func (o *GetKeyUnauthorized) IsClientError() bool
- func (o *GetKeyUnauthorized) IsCode(code int) bool
- func (o *GetKeyUnauthorized) IsRedirect() bool
- func (o *GetKeyUnauthorized) IsServerError() bool
- func (o *GetKeyUnauthorized) IsSuccess() bool
- func (o *GetKeyUnauthorized) String() string
- type GetKeysForbidden
- func (o *GetKeysForbidden) Code() int
- func (o *GetKeysForbidden) Error() string
- func (o *GetKeysForbidden) GetPayload() *models.Error
- func (o *GetKeysForbidden) IsClientError() bool
- func (o *GetKeysForbidden) IsCode(code int) bool
- func (o *GetKeysForbidden) IsRedirect() bool
- func (o *GetKeysForbidden) IsServerError() bool
- func (o *GetKeysForbidden) IsSuccess() bool
- func (o *GetKeysForbidden) String() string
- type GetKeysNotFound
- func (o *GetKeysNotFound) Code() int
- func (o *GetKeysNotFound) Error() string
- func (o *GetKeysNotFound) GetPayload() *models.Error
- func (o *GetKeysNotFound) IsClientError() bool
- func (o *GetKeysNotFound) IsCode(code int) bool
- func (o *GetKeysNotFound) IsRedirect() bool
- func (o *GetKeysNotFound) IsServerError() bool
- func (o *GetKeysNotFound) IsSuccess() bool
- func (o *GetKeysNotFound) String() string
- type GetKeysOK
- func (o *GetKeysOK) Code() int
- func (o *GetKeysOK) Error() string
- func (o *GetKeysOK) GetPayload() *models.KeysResponse
- func (o *GetKeysOK) IsClientError() bool
- func (o *GetKeysOK) IsCode(code int) bool
- func (o *GetKeysOK) IsRedirect() bool
- func (o *GetKeysOK) IsServerError() bool
- func (o *GetKeysOK) IsSuccess() bool
- func (o *GetKeysOK) String() string
- type GetKeysParams
- func (o *GetKeysParams) SetContext(ctx context.Context)
- func (o *GetKeysParams) SetDefaults()
- func (o *GetKeysParams) SetHTTPClient(client *http.Client)
- func (o *GetKeysParams) SetIfMatch(ifMatch *string)
- func (o *GetKeysParams) SetTimeout(timeout time.Duration)
- func (o *GetKeysParams) SetUse(use *string)
- func (o *GetKeysParams) SetWid(wid string)
- func (o *GetKeysParams) WithContext(ctx context.Context) *GetKeysParams
- func (o *GetKeysParams) WithDefaults() *GetKeysParams
- func (o *GetKeysParams) WithHTTPClient(client *http.Client) *GetKeysParams
- func (o *GetKeysParams) WithIfMatch(ifMatch *string) *GetKeysParams
- func (o *GetKeysParams) WithTimeout(timeout time.Duration) *GetKeysParams
- func (o *GetKeysParams) WithUse(use *string) *GetKeysParams
- func (o *GetKeysParams) WithWid(wid string) *GetKeysParams
- func (o *GetKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKeysReader
- type GetKeysTooManyRequests
- func (o *GetKeysTooManyRequests) Code() int
- func (o *GetKeysTooManyRequests) Error() string
- func (o *GetKeysTooManyRequests) GetPayload() *models.Error
- func (o *GetKeysTooManyRequests) IsClientError() bool
- func (o *GetKeysTooManyRequests) IsCode(code int) bool
- func (o *GetKeysTooManyRequests) IsRedirect() bool
- func (o *GetKeysTooManyRequests) IsServerError() bool
- func (o *GetKeysTooManyRequests) IsSuccess() bool
- func (o *GetKeysTooManyRequests) String() string
- type GetKeysUnauthorized
- func (o *GetKeysUnauthorized) Code() int
- func (o *GetKeysUnauthorized) Error() string
- func (o *GetKeysUnauthorized) GetPayload() *models.Error
- func (o *GetKeysUnauthorized) IsClientError() bool
- func (o *GetKeysUnauthorized) IsCode(code int) bool
- func (o *GetKeysUnauthorized) IsRedirect() bool
- func (o *GetKeysUnauthorized) IsServerError() bool
- func (o *GetKeysUnauthorized) IsSuccess() bool
- func (o *GetKeysUnauthorized) String() string
- type RevokeKeyBadRequest
- func (o *RevokeKeyBadRequest) Code() int
- func (o *RevokeKeyBadRequest) Error() string
- func (o *RevokeKeyBadRequest) GetPayload() *models.Error
- func (o *RevokeKeyBadRequest) IsClientError() bool
- func (o *RevokeKeyBadRequest) IsCode(code int) bool
- func (o *RevokeKeyBadRequest) IsRedirect() bool
- func (o *RevokeKeyBadRequest) IsServerError() bool
- func (o *RevokeKeyBadRequest) IsSuccess() bool
- func (o *RevokeKeyBadRequest) String() string
- type RevokeKeyForbidden
- func (o *RevokeKeyForbidden) Code() int
- func (o *RevokeKeyForbidden) Error() string
- func (o *RevokeKeyForbidden) GetPayload() *models.Error
- func (o *RevokeKeyForbidden) IsClientError() bool
- func (o *RevokeKeyForbidden) IsCode(code int) bool
- func (o *RevokeKeyForbidden) IsRedirect() bool
- func (o *RevokeKeyForbidden) IsServerError() bool
- func (o *RevokeKeyForbidden) IsSuccess() bool
- func (o *RevokeKeyForbidden) String() string
- type RevokeKeyNotFound
- func (o *RevokeKeyNotFound) Code() int
- func (o *RevokeKeyNotFound) Error() string
- func (o *RevokeKeyNotFound) GetPayload() *models.Error
- func (o *RevokeKeyNotFound) IsClientError() bool
- func (o *RevokeKeyNotFound) IsCode(code int) bool
- func (o *RevokeKeyNotFound) IsRedirect() bool
- func (o *RevokeKeyNotFound) IsServerError() bool
- func (o *RevokeKeyNotFound) IsSuccess() bool
- func (o *RevokeKeyNotFound) String() string
- type RevokeKeyOK
- func (o *RevokeKeyOK) Code() int
- func (o *RevokeKeyOK) Error() string
- func (o *RevokeKeyOK) GetPayload() *models.ServerJWK
- func (o *RevokeKeyOK) IsClientError() bool
- func (o *RevokeKeyOK) IsCode(code int) bool
- func (o *RevokeKeyOK) IsRedirect() bool
- func (o *RevokeKeyOK) IsServerError() bool
- func (o *RevokeKeyOK) IsSuccess() bool
- func (o *RevokeKeyOK) String() string
- type RevokeKeyParams
- func (o *RevokeKeyParams) SetContext(ctx context.Context)
- func (o *RevokeKeyParams) SetDefaults()
- func (o *RevokeKeyParams) SetHTTPClient(client *http.Client)
- func (o *RevokeKeyParams) SetIfMatch(ifMatch *string)
- func (o *RevokeKeyParams) SetKid(kid string)
- func (o *RevokeKeyParams) SetTimeout(timeout time.Duration)
- func (o *RevokeKeyParams) SetUse(use *string)
- func (o *RevokeKeyParams) SetWid(wid string)
- func (o *RevokeKeyParams) WithContext(ctx context.Context) *RevokeKeyParams
- func (o *RevokeKeyParams) WithDefaults() *RevokeKeyParams
- func (o *RevokeKeyParams) WithHTTPClient(client *http.Client) *RevokeKeyParams
- func (o *RevokeKeyParams) WithIfMatch(ifMatch *string) *RevokeKeyParams
- func (o *RevokeKeyParams) WithKid(kid string) *RevokeKeyParams
- func (o *RevokeKeyParams) WithTimeout(timeout time.Duration) *RevokeKeyParams
- func (o *RevokeKeyParams) WithUse(use *string) *RevokeKeyParams
- func (o *RevokeKeyParams) WithWid(wid string) *RevokeKeyParams
- func (o *RevokeKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeKeyReader
- type RevokeKeyTooManyRequests
- func (o *RevokeKeyTooManyRequests) Code() int
- func (o *RevokeKeyTooManyRequests) Error() string
- func (o *RevokeKeyTooManyRequests) GetPayload() *models.Error
- func (o *RevokeKeyTooManyRequests) IsClientError() bool
- func (o *RevokeKeyTooManyRequests) IsCode(code int) bool
- func (o *RevokeKeyTooManyRequests) IsRedirect() bool
- func (o *RevokeKeyTooManyRequests) IsServerError() bool
- func (o *RevokeKeyTooManyRequests) IsSuccess() bool
- func (o *RevokeKeyTooManyRequests) String() string
- type RevokeKeyUnauthorized
- func (o *RevokeKeyUnauthorized) Code() int
- func (o *RevokeKeyUnauthorized) Error() string
- func (o *RevokeKeyUnauthorized) GetPayload() *models.Error
- func (o *RevokeKeyUnauthorized) IsClientError() bool
- func (o *RevokeKeyUnauthorized) IsCode(code int) bool
- func (o *RevokeKeyUnauthorized) IsRedirect() bool
- func (o *RevokeKeyUnauthorized) IsServerError() bool
- func (o *RevokeKeyUnauthorized) IsSuccess() bool
- func (o *RevokeKeyUnauthorized) String() string
- type RotateKeyBadRequest
- func (o *RotateKeyBadRequest) Code() int
- func (o *RotateKeyBadRequest) Error() string
- func (o *RotateKeyBadRequest) GetPayload() *models.Error
- func (o *RotateKeyBadRequest) IsClientError() bool
- func (o *RotateKeyBadRequest) IsCode(code int) bool
- func (o *RotateKeyBadRequest) IsRedirect() bool
- func (o *RotateKeyBadRequest) IsServerError() bool
- func (o *RotateKeyBadRequest) IsSuccess() bool
- func (o *RotateKeyBadRequest) String() string
- type RotateKeyForbidden
- func (o *RotateKeyForbidden) Code() int
- func (o *RotateKeyForbidden) Error() string
- func (o *RotateKeyForbidden) GetPayload() *models.Error
- func (o *RotateKeyForbidden) IsClientError() bool
- func (o *RotateKeyForbidden) IsCode(code int) bool
- func (o *RotateKeyForbidden) IsRedirect() bool
- func (o *RotateKeyForbidden) IsServerError() bool
- func (o *RotateKeyForbidden) IsSuccess() bool
- func (o *RotateKeyForbidden) String() string
- type RotateKeyNotFound
- func (o *RotateKeyNotFound) Code() int
- func (o *RotateKeyNotFound) Error() string
- func (o *RotateKeyNotFound) GetPayload() *models.Error
- func (o *RotateKeyNotFound) IsClientError() bool
- func (o *RotateKeyNotFound) IsCode(code int) bool
- func (o *RotateKeyNotFound) IsRedirect() bool
- func (o *RotateKeyNotFound) IsServerError() bool
- func (o *RotateKeyNotFound) IsSuccess() bool
- func (o *RotateKeyNotFound) String() string
- type RotateKeyOK
- func (o *RotateKeyOK) Code() int
- func (o *RotateKeyOK) Error() string
- func (o *RotateKeyOK) GetPayload() *models.ServerJWK
- func (o *RotateKeyOK) IsClientError() bool
- func (o *RotateKeyOK) IsCode(code int) bool
- func (o *RotateKeyOK) IsRedirect() bool
- func (o *RotateKeyOK) IsServerError() bool
- func (o *RotateKeyOK) IsSuccess() bool
- func (o *RotateKeyOK) String() string
- type RotateKeyParams
- func (o *RotateKeyParams) SetContext(ctx context.Context)
- func (o *RotateKeyParams) SetDefaults()
- func (o *RotateKeyParams) SetHTTPClient(client *http.Client)
- func (o *RotateKeyParams) SetIfMatch(ifMatch *string)
- func (o *RotateKeyParams) SetKeyType(keyType *string)
- func (o *RotateKeyParams) SetTimeout(timeout time.Duration)
- func (o *RotateKeyParams) SetUse(use *string)
- func (o *RotateKeyParams) SetWid(wid string)
- func (o *RotateKeyParams) WithContext(ctx context.Context) *RotateKeyParams
- func (o *RotateKeyParams) WithDefaults() *RotateKeyParams
- func (o *RotateKeyParams) WithHTTPClient(client *http.Client) *RotateKeyParams
- func (o *RotateKeyParams) WithIfMatch(ifMatch *string) *RotateKeyParams
- func (o *RotateKeyParams) WithKeyType(keyType *string) *RotateKeyParams
- func (o *RotateKeyParams) WithTimeout(timeout time.Duration) *RotateKeyParams
- func (o *RotateKeyParams) WithUse(use *string) *RotateKeyParams
- func (o *RotateKeyParams) WithWid(wid string) *RotateKeyParams
- func (o *RotateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RotateKeyReader
- type RotateKeyTooManyRequests
- func (o *RotateKeyTooManyRequests) Code() int
- func (o *RotateKeyTooManyRequests) Error() string
- func (o *RotateKeyTooManyRequests) GetPayload() *models.Error
- func (o *RotateKeyTooManyRequests) IsClientError() bool
- func (o *RotateKeyTooManyRequests) IsCode(code int) bool
- func (o *RotateKeyTooManyRequests) IsRedirect() bool
- func (o *RotateKeyTooManyRequests) IsServerError() bool
- func (o *RotateKeyTooManyRequests) IsSuccess() bool
- func (o *RotateKeyTooManyRequests) String() string
- type RotateKeyUnauthorized
- func (o *RotateKeyUnauthorized) Code() int
- func (o *RotateKeyUnauthorized) Error() string
- func (o *RotateKeyUnauthorized) GetPayload() *models.Error
- func (o *RotateKeyUnauthorized) IsClientError() bool
- func (o *RotateKeyUnauthorized) IsCode(code int) bool
- func (o *RotateKeyUnauthorized) IsRedirect() bool
- func (o *RotateKeyUnauthorized) IsServerError() bool
- func (o *RotateKeyUnauthorized) IsSuccess() bool
- func (o *RotateKeyUnauthorized) String() string
- type SetAutomaticKeyRotationBadRequest
- func (o *SetAutomaticKeyRotationBadRequest) Code() int
- func (o *SetAutomaticKeyRotationBadRequest) Error() string
- func (o *SetAutomaticKeyRotationBadRequest) GetPayload() *models.Error
- func (o *SetAutomaticKeyRotationBadRequest) IsClientError() bool
- func (o *SetAutomaticKeyRotationBadRequest) IsCode(code int) bool
- func (o *SetAutomaticKeyRotationBadRequest) IsRedirect() bool
- func (o *SetAutomaticKeyRotationBadRequest) IsServerError() bool
- func (o *SetAutomaticKeyRotationBadRequest) IsSuccess() bool
- func (o *SetAutomaticKeyRotationBadRequest) String() string
- type SetAutomaticKeyRotationForbidden
- func (o *SetAutomaticKeyRotationForbidden) Code() int
- func (o *SetAutomaticKeyRotationForbidden) Error() string
- func (o *SetAutomaticKeyRotationForbidden) GetPayload() *models.Error
- func (o *SetAutomaticKeyRotationForbidden) IsClientError() bool
- func (o *SetAutomaticKeyRotationForbidden) IsCode(code int) bool
- func (o *SetAutomaticKeyRotationForbidden) IsRedirect() bool
- func (o *SetAutomaticKeyRotationForbidden) IsServerError() bool
- func (o *SetAutomaticKeyRotationForbidden) IsSuccess() bool
- func (o *SetAutomaticKeyRotationForbidden) String() string
- type SetAutomaticKeyRotationNotFound
- func (o *SetAutomaticKeyRotationNotFound) Code() int
- func (o *SetAutomaticKeyRotationNotFound) Error() string
- func (o *SetAutomaticKeyRotationNotFound) GetPayload() *models.Error
- func (o *SetAutomaticKeyRotationNotFound) IsClientError() bool
- func (o *SetAutomaticKeyRotationNotFound) IsCode(code int) bool
- func (o *SetAutomaticKeyRotationNotFound) IsRedirect() bool
- func (o *SetAutomaticKeyRotationNotFound) IsServerError() bool
- func (o *SetAutomaticKeyRotationNotFound) IsSuccess() bool
- func (o *SetAutomaticKeyRotationNotFound) String() string
- type SetAutomaticKeyRotationOK
- func (o *SetAutomaticKeyRotationOK) Code() int
- func (o *SetAutomaticKeyRotationOK) Error() string
- func (o *SetAutomaticKeyRotationOK) GetPayload() *models.AutomaticKeyRotation
- func (o *SetAutomaticKeyRotationOK) IsClientError() bool
- func (o *SetAutomaticKeyRotationOK) IsCode(code int) bool
- func (o *SetAutomaticKeyRotationOK) IsRedirect() bool
- func (o *SetAutomaticKeyRotationOK) IsServerError() bool
- func (o *SetAutomaticKeyRotationOK) IsSuccess() bool
- func (o *SetAutomaticKeyRotationOK) String() string
- type SetAutomaticKeyRotationParams
- func NewSetAutomaticKeyRotationParams() *SetAutomaticKeyRotationParams
- func NewSetAutomaticKeyRotationParamsWithContext(ctx context.Context) *SetAutomaticKeyRotationParams
- func NewSetAutomaticKeyRotationParamsWithHTTPClient(client *http.Client) *SetAutomaticKeyRotationParams
- func NewSetAutomaticKeyRotationParamsWithTimeout(timeout time.Duration) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) SetAutomaticKeyRotation(automaticKeyRotation *models.AutomaticKeyRotation)
- func (o *SetAutomaticKeyRotationParams) SetContext(ctx context.Context)
- func (o *SetAutomaticKeyRotationParams) SetDefaults()
- func (o *SetAutomaticKeyRotationParams) SetHTTPClient(client *http.Client)
- func (o *SetAutomaticKeyRotationParams) SetIfMatch(ifMatch *string)
- func (o *SetAutomaticKeyRotationParams) SetTimeout(timeout time.Duration)
- func (o *SetAutomaticKeyRotationParams) SetUse(use *string)
- func (o *SetAutomaticKeyRotationParams) SetWid(wid string)
- func (o *SetAutomaticKeyRotationParams) WithAutomaticKeyRotation(automaticKeyRotation *models.AutomaticKeyRotation) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WithContext(ctx context.Context) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WithDefaults() *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WithHTTPClient(client *http.Client) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WithIfMatch(ifMatch *string) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WithTimeout(timeout time.Duration) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WithUse(use *string) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WithWid(wid string) *SetAutomaticKeyRotationParams
- func (o *SetAutomaticKeyRotationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetAutomaticKeyRotationReader
- type SetAutomaticKeyRotationTooManyRequests
- func (o *SetAutomaticKeyRotationTooManyRequests) Code() int
- func (o *SetAutomaticKeyRotationTooManyRequests) Error() string
- func (o *SetAutomaticKeyRotationTooManyRequests) GetPayload() *models.Error
- func (o *SetAutomaticKeyRotationTooManyRequests) IsClientError() bool
- func (o *SetAutomaticKeyRotationTooManyRequests) IsCode(code int) bool
- func (o *SetAutomaticKeyRotationTooManyRequests) IsRedirect() bool
- func (o *SetAutomaticKeyRotationTooManyRequests) IsServerError() bool
- func (o *SetAutomaticKeyRotationTooManyRequests) IsSuccess() bool
- func (o *SetAutomaticKeyRotationTooManyRequests) String() string
- type SetAutomaticKeyRotationUnauthorized
- func (o *SetAutomaticKeyRotationUnauthorized) Code() int
- func (o *SetAutomaticKeyRotationUnauthorized) Error() string
- func (o *SetAutomaticKeyRotationUnauthorized) GetPayload() *models.Error
- func (o *SetAutomaticKeyRotationUnauthorized) IsClientError() bool
- func (o *SetAutomaticKeyRotationUnauthorized) IsCode(code int) bool
- func (o *SetAutomaticKeyRotationUnauthorized) IsRedirect() bool
- func (o *SetAutomaticKeyRotationUnauthorized) IsServerError() bool
- func (o *SetAutomaticKeyRotationUnauthorized) IsSuccess() bool
- func (o *SetAutomaticKeyRotationUnauthorized) 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 keys API
func (*Client) GetAutomaticKeyRotation ¶
func (a *Client) GetAutomaticKeyRotation(params *GetAutomaticKeyRotationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAutomaticKeyRotationOK, error)
GetAutomaticKeyRotation gets automatic key rotation
Get automatic key rotation configuration.
func (*Client) GetKey ¶
func (a *Client) GetKey(params *GetKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKeyOK, error)
GetKey gets server key by kid
Get next, current or rotated server key by kid and return as raw jwk without metadata.
func (*Client) GetKeys ¶
func (a *Client) GetKeys(params *GetKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKeysOK, error)
GetKeys gets server keys
Get server encryption or signing keys.
func (*Client) RevokeKey ¶
func (a *Client) RevokeKey(params *RevokeKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeKeyOK, error)
RevokeKey revokes key
Revoke rotated key
func (*Client) RotateKey ¶
func (a *Client) RotateKey(params *RotateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateKeyOK, error)
RotateKey rotates key
Rotate encryption or signing key.
func (*Client) SetAutomaticKeyRotation ¶
func (a *Client) SetAutomaticKeyRotation(params *SetAutomaticKeyRotationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAutomaticKeyRotationOK, error)
SetAutomaticKeyRotation sets automatic key rotation
Set automatic key rotation configuration.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAutomaticKeyRotation(params *GetAutomaticKeyRotationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAutomaticKeyRotationOK, error) GetKey(params *GetKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKeyOK, error) GetKeys(params *GetKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKeysOK, error) RevokeKey(params *RevokeKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeKeyOK, error) RotateKey(params *RotateKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateKeyOK, error) SetAutomaticKeyRotation(params *SetAutomaticKeyRotationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAutomaticKeyRotationOK, 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 keys API client.
type GetAutomaticKeyRotationForbidden ¶
GetAutomaticKeyRotationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAutomaticKeyRotationForbidden ¶
func NewGetAutomaticKeyRotationForbidden() *GetAutomaticKeyRotationForbidden
NewGetAutomaticKeyRotationForbidden creates a GetAutomaticKeyRotationForbidden with default headers values
func (*GetAutomaticKeyRotationForbidden) Code ¶
func (o *GetAutomaticKeyRotationForbidden) Code() int
Code gets the status code for the get automatic key rotation forbidden response
func (*GetAutomaticKeyRotationForbidden) Error ¶
func (o *GetAutomaticKeyRotationForbidden) Error() string
func (*GetAutomaticKeyRotationForbidden) GetPayload ¶
func (o *GetAutomaticKeyRotationForbidden) GetPayload() *models.Error
func (*GetAutomaticKeyRotationForbidden) IsClientError ¶
func (o *GetAutomaticKeyRotationForbidden) IsClientError() bool
IsClientError returns true when this get automatic key rotation forbidden response has a 4xx status code
func (*GetAutomaticKeyRotationForbidden) IsCode ¶
func (o *GetAutomaticKeyRotationForbidden) IsCode(code int) bool
IsCode returns true when this get automatic key rotation forbidden response a status code equal to that given
func (*GetAutomaticKeyRotationForbidden) IsRedirect ¶
func (o *GetAutomaticKeyRotationForbidden) IsRedirect() bool
IsRedirect returns true when this get automatic key rotation forbidden response has a 3xx status code
func (*GetAutomaticKeyRotationForbidden) IsServerError ¶
func (o *GetAutomaticKeyRotationForbidden) IsServerError() bool
IsServerError returns true when this get automatic key rotation forbidden response has a 5xx status code
func (*GetAutomaticKeyRotationForbidden) IsSuccess ¶
func (o *GetAutomaticKeyRotationForbidden) IsSuccess() bool
IsSuccess returns true when this get automatic key rotation forbidden response has a 2xx status code
func (*GetAutomaticKeyRotationForbidden) String ¶
func (o *GetAutomaticKeyRotationForbidden) String() string
type GetAutomaticKeyRotationNotFound ¶
GetAutomaticKeyRotationNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAutomaticKeyRotationNotFound ¶
func NewGetAutomaticKeyRotationNotFound() *GetAutomaticKeyRotationNotFound
NewGetAutomaticKeyRotationNotFound creates a GetAutomaticKeyRotationNotFound with default headers values
func (*GetAutomaticKeyRotationNotFound) Code ¶
func (o *GetAutomaticKeyRotationNotFound) Code() int
Code gets the status code for the get automatic key rotation not found response
func (*GetAutomaticKeyRotationNotFound) Error ¶
func (o *GetAutomaticKeyRotationNotFound) Error() string
func (*GetAutomaticKeyRotationNotFound) GetPayload ¶
func (o *GetAutomaticKeyRotationNotFound) GetPayload() *models.Error
func (*GetAutomaticKeyRotationNotFound) IsClientError ¶
func (o *GetAutomaticKeyRotationNotFound) IsClientError() bool
IsClientError returns true when this get automatic key rotation not found response has a 4xx status code
func (*GetAutomaticKeyRotationNotFound) IsCode ¶
func (o *GetAutomaticKeyRotationNotFound) IsCode(code int) bool
IsCode returns true when this get automatic key rotation not found response a status code equal to that given
func (*GetAutomaticKeyRotationNotFound) IsRedirect ¶
func (o *GetAutomaticKeyRotationNotFound) IsRedirect() bool
IsRedirect returns true when this get automatic key rotation not found response has a 3xx status code
func (*GetAutomaticKeyRotationNotFound) IsServerError ¶
func (o *GetAutomaticKeyRotationNotFound) IsServerError() bool
IsServerError returns true when this get automatic key rotation not found response has a 5xx status code
func (*GetAutomaticKeyRotationNotFound) IsSuccess ¶
func (o *GetAutomaticKeyRotationNotFound) IsSuccess() bool
IsSuccess returns true when this get automatic key rotation not found response has a 2xx status code
func (*GetAutomaticKeyRotationNotFound) String ¶
func (o *GetAutomaticKeyRotationNotFound) String() string
type GetAutomaticKeyRotationOK ¶
type GetAutomaticKeyRotationOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.AutomaticKeyRotation }
GetAutomaticKeyRotationOK describes a response with status code 200, with default header values.
Automation key rotation
func NewGetAutomaticKeyRotationOK ¶
func NewGetAutomaticKeyRotationOK() *GetAutomaticKeyRotationOK
NewGetAutomaticKeyRotationOK creates a GetAutomaticKeyRotationOK with default headers values
func (*GetAutomaticKeyRotationOK) Code ¶
func (o *GetAutomaticKeyRotationOK) Code() int
Code gets the status code for the get automatic key rotation o k response
func (*GetAutomaticKeyRotationOK) Error ¶
func (o *GetAutomaticKeyRotationOK) Error() string
func (*GetAutomaticKeyRotationOK) GetPayload ¶
func (o *GetAutomaticKeyRotationOK) GetPayload() *models.AutomaticKeyRotation
func (*GetAutomaticKeyRotationOK) IsClientError ¶
func (o *GetAutomaticKeyRotationOK) IsClientError() bool
IsClientError returns true when this get automatic key rotation o k response has a 4xx status code
func (*GetAutomaticKeyRotationOK) IsCode ¶
func (o *GetAutomaticKeyRotationOK) IsCode(code int) bool
IsCode returns true when this get automatic key rotation o k response a status code equal to that given
func (*GetAutomaticKeyRotationOK) IsRedirect ¶
func (o *GetAutomaticKeyRotationOK) IsRedirect() bool
IsRedirect returns true when this get automatic key rotation o k response has a 3xx status code
func (*GetAutomaticKeyRotationOK) IsServerError ¶
func (o *GetAutomaticKeyRotationOK) IsServerError() bool
IsServerError returns true when this get automatic key rotation o k response has a 5xx status code
func (*GetAutomaticKeyRotationOK) IsSuccess ¶
func (o *GetAutomaticKeyRotationOK) IsSuccess() bool
IsSuccess returns true when this get automatic key rotation o k response has a 2xx status code
func (*GetAutomaticKeyRotationOK) String ¶
func (o *GetAutomaticKeyRotationOK) String() string
type GetAutomaticKeyRotationParams ¶
type GetAutomaticKeyRotationParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Use. Key use (sig or enc) Default: "sig" */ Use *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAutomaticKeyRotationParams contains all the parameters to send to the API endpoint
for the get automatic key rotation operation. Typically these are written to a http.Request.
func NewGetAutomaticKeyRotationParams ¶
func NewGetAutomaticKeyRotationParams() *GetAutomaticKeyRotationParams
NewGetAutomaticKeyRotationParams creates a new GetAutomaticKeyRotationParams 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 NewGetAutomaticKeyRotationParamsWithContext ¶
func NewGetAutomaticKeyRotationParamsWithContext(ctx context.Context) *GetAutomaticKeyRotationParams
NewGetAutomaticKeyRotationParamsWithContext creates a new GetAutomaticKeyRotationParams object with the ability to set a context for a request.
func NewGetAutomaticKeyRotationParamsWithHTTPClient ¶
func NewGetAutomaticKeyRotationParamsWithHTTPClient(client *http.Client) *GetAutomaticKeyRotationParams
NewGetAutomaticKeyRotationParamsWithHTTPClient creates a new GetAutomaticKeyRotationParams object with the ability to set a custom HTTPClient for a request.
func NewGetAutomaticKeyRotationParamsWithTimeout ¶
func NewGetAutomaticKeyRotationParamsWithTimeout(timeout time.Duration) *GetAutomaticKeyRotationParams
NewGetAutomaticKeyRotationParamsWithTimeout creates a new GetAutomaticKeyRotationParams object with the ability to set a timeout on a request.
func (*GetAutomaticKeyRotationParams) SetContext ¶
func (o *GetAutomaticKeyRotationParams) SetContext(ctx context.Context)
SetContext adds the context to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) SetDefaults ¶
func (o *GetAutomaticKeyRotationParams) SetDefaults()
SetDefaults hydrates default values in the get automatic key rotation params (not the query body).
All values with no default are reset to their zero value.
func (*GetAutomaticKeyRotationParams) SetHTTPClient ¶
func (o *GetAutomaticKeyRotationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) SetIfMatch ¶
func (o *GetAutomaticKeyRotationParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) SetTimeout ¶
func (o *GetAutomaticKeyRotationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) SetUse ¶
func (o *GetAutomaticKeyRotationParams) SetUse(use *string)
SetUse adds the use to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) SetWid ¶
func (o *GetAutomaticKeyRotationParams) SetWid(wid string)
SetWid adds the wid to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) WithContext ¶
func (o *GetAutomaticKeyRotationParams) WithContext(ctx context.Context) *GetAutomaticKeyRotationParams
WithContext adds the context to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) WithDefaults ¶
func (o *GetAutomaticKeyRotationParams) WithDefaults() *GetAutomaticKeyRotationParams
WithDefaults hydrates default values in the get automatic key rotation params (not the query body).
All values with no default are reset to their zero value.
func (*GetAutomaticKeyRotationParams) WithHTTPClient ¶
func (o *GetAutomaticKeyRotationParams) WithHTTPClient(client *http.Client) *GetAutomaticKeyRotationParams
WithHTTPClient adds the HTTPClient to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) WithIfMatch ¶
func (o *GetAutomaticKeyRotationParams) WithIfMatch(ifMatch *string) *GetAutomaticKeyRotationParams
WithIfMatch adds the ifMatch to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) WithTimeout ¶
func (o *GetAutomaticKeyRotationParams) WithTimeout(timeout time.Duration) *GetAutomaticKeyRotationParams
WithTimeout adds the timeout to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) WithUse ¶
func (o *GetAutomaticKeyRotationParams) WithUse(use *string) *GetAutomaticKeyRotationParams
WithUse adds the use to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) WithWid ¶
func (o *GetAutomaticKeyRotationParams) WithWid(wid string) *GetAutomaticKeyRotationParams
WithWid adds the wid to the get automatic key rotation params
func (*GetAutomaticKeyRotationParams) WriteToRequest ¶
func (o *GetAutomaticKeyRotationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAutomaticKeyRotationReader ¶
type GetAutomaticKeyRotationReader struct {
// contains filtered or unexported fields
}
GetAutomaticKeyRotationReader is a Reader for the GetAutomaticKeyRotation structure.
func (*GetAutomaticKeyRotationReader) ReadResponse ¶
func (o *GetAutomaticKeyRotationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAutomaticKeyRotationTooManyRequests ¶
GetAutomaticKeyRotationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetAutomaticKeyRotationTooManyRequests ¶
func NewGetAutomaticKeyRotationTooManyRequests() *GetAutomaticKeyRotationTooManyRequests
NewGetAutomaticKeyRotationTooManyRequests creates a GetAutomaticKeyRotationTooManyRequests with default headers values
func (*GetAutomaticKeyRotationTooManyRequests) Code ¶
func (o *GetAutomaticKeyRotationTooManyRequests) Code() int
Code gets the status code for the get automatic key rotation too many requests response
func (*GetAutomaticKeyRotationTooManyRequests) Error ¶
func (o *GetAutomaticKeyRotationTooManyRequests) Error() string
func (*GetAutomaticKeyRotationTooManyRequests) GetPayload ¶
func (o *GetAutomaticKeyRotationTooManyRequests) GetPayload() *models.Error
func (*GetAutomaticKeyRotationTooManyRequests) IsClientError ¶
func (o *GetAutomaticKeyRotationTooManyRequests) IsClientError() bool
IsClientError returns true when this get automatic key rotation too many requests response has a 4xx status code
func (*GetAutomaticKeyRotationTooManyRequests) IsCode ¶
func (o *GetAutomaticKeyRotationTooManyRequests) IsCode(code int) bool
IsCode returns true when this get automatic key rotation too many requests response a status code equal to that given
func (*GetAutomaticKeyRotationTooManyRequests) IsRedirect ¶
func (o *GetAutomaticKeyRotationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get automatic key rotation too many requests response has a 3xx status code
func (*GetAutomaticKeyRotationTooManyRequests) IsServerError ¶
func (o *GetAutomaticKeyRotationTooManyRequests) IsServerError() bool
IsServerError returns true when this get automatic key rotation too many requests response has a 5xx status code
func (*GetAutomaticKeyRotationTooManyRequests) IsSuccess ¶
func (o *GetAutomaticKeyRotationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get automatic key rotation too many requests response has a 2xx status code
func (*GetAutomaticKeyRotationTooManyRequests) String ¶
func (o *GetAutomaticKeyRotationTooManyRequests) String() string
type GetAutomaticKeyRotationUnauthorized ¶
type GetAutomaticKeyRotationUnauthorized struct {
}GetAutomaticKeyRotationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAutomaticKeyRotationUnauthorized ¶
func NewGetAutomaticKeyRotationUnauthorized() *GetAutomaticKeyRotationUnauthorized
NewGetAutomaticKeyRotationUnauthorized creates a GetAutomaticKeyRotationUnauthorized with default headers values
func (*GetAutomaticKeyRotationUnauthorized) Code ¶
func (o *GetAutomaticKeyRotationUnauthorized) Code() int
Code gets the status code for the get automatic key rotation unauthorized response
func (*GetAutomaticKeyRotationUnauthorized) Error ¶
func (o *GetAutomaticKeyRotationUnauthorized) Error() string
func (*GetAutomaticKeyRotationUnauthorized) GetPayload ¶
func (o *GetAutomaticKeyRotationUnauthorized) GetPayload() *models.Error
func (*GetAutomaticKeyRotationUnauthorized) IsClientError ¶
func (o *GetAutomaticKeyRotationUnauthorized) IsClientError() bool
IsClientError returns true when this get automatic key rotation unauthorized response has a 4xx status code
func (*GetAutomaticKeyRotationUnauthorized) IsCode ¶
func (o *GetAutomaticKeyRotationUnauthorized) IsCode(code int) bool
IsCode returns true when this get automatic key rotation unauthorized response a status code equal to that given
func (*GetAutomaticKeyRotationUnauthorized) IsRedirect ¶
func (o *GetAutomaticKeyRotationUnauthorized) IsRedirect() bool
IsRedirect returns true when this get automatic key rotation unauthorized response has a 3xx status code
func (*GetAutomaticKeyRotationUnauthorized) IsServerError ¶
func (o *GetAutomaticKeyRotationUnauthorized) IsServerError() bool
IsServerError returns true when this get automatic key rotation unauthorized response has a 5xx status code
func (*GetAutomaticKeyRotationUnauthorized) IsSuccess ¶
func (o *GetAutomaticKeyRotationUnauthorized) IsSuccess() bool
IsSuccess returns true when this get automatic key rotation unauthorized response has a 2xx status code
func (*GetAutomaticKeyRotationUnauthorized) String ¶
func (o *GetAutomaticKeyRotationUnauthorized) String() string
type GetKeyForbidden ¶
GetKeyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetKeyForbidden ¶
func NewGetKeyForbidden() *GetKeyForbidden
NewGetKeyForbidden creates a GetKeyForbidden with default headers values
func (*GetKeyForbidden) Code ¶
func (o *GetKeyForbidden) Code() int
Code gets the status code for the get key forbidden response
func (*GetKeyForbidden) Error ¶
func (o *GetKeyForbidden) Error() string
func (*GetKeyForbidden) GetPayload ¶
func (o *GetKeyForbidden) GetPayload() *models.Error
func (*GetKeyForbidden) IsClientError ¶
func (o *GetKeyForbidden) IsClientError() bool
IsClientError returns true when this get key forbidden response has a 4xx status code
func (*GetKeyForbidden) IsCode ¶
func (o *GetKeyForbidden) IsCode(code int) bool
IsCode returns true when this get key forbidden response a status code equal to that given
func (*GetKeyForbidden) IsRedirect ¶
func (o *GetKeyForbidden) IsRedirect() bool
IsRedirect returns true when this get key forbidden response has a 3xx status code
func (*GetKeyForbidden) IsServerError ¶
func (o *GetKeyForbidden) IsServerError() bool
IsServerError returns true when this get key forbidden response has a 5xx status code
func (*GetKeyForbidden) IsSuccess ¶
func (o *GetKeyForbidden) IsSuccess() bool
IsSuccess returns true when this get key forbidden response has a 2xx status code
func (*GetKeyForbidden) String ¶
func (o *GetKeyForbidden) String() string
type GetKeyNotFound ¶
GetKeyNotFound describes a response with status code 404, with default header values.
Not found
func NewGetKeyNotFound ¶
func NewGetKeyNotFound() *GetKeyNotFound
NewGetKeyNotFound creates a GetKeyNotFound with default headers values
func (*GetKeyNotFound) Code ¶
func (o *GetKeyNotFound) Code() int
Code gets the status code for the get key not found response
func (*GetKeyNotFound) Error ¶
func (o *GetKeyNotFound) Error() string
func (*GetKeyNotFound) GetPayload ¶
func (o *GetKeyNotFound) GetPayload() *models.Error
func (*GetKeyNotFound) IsClientError ¶
func (o *GetKeyNotFound) IsClientError() bool
IsClientError returns true when this get key not found response has a 4xx status code
func (*GetKeyNotFound) IsCode ¶
func (o *GetKeyNotFound) IsCode(code int) bool
IsCode returns true when this get key not found response a status code equal to that given
func (*GetKeyNotFound) IsRedirect ¶
func (o *GetKeyNotFound) IsRedirect() bool
IsRedirect returns true when this get key not found response has a 3xx status code
func (*GetKeyNotFound) IsServerError ¶
func (o *GetKeyNotFound) IsServerError() bool
IsServerError returns true when this get key not found response has a 5xx status code
func (*GetKeyNotFound) IsSuccess ¶
func (o *GetKeyNotFound) IsSuccess() bool
IsSuccess returns true when this get key not found response has a 2xx status code
func (*GetKeyNotFound) String ¶
func (o *GetKeyNotFound) String() string
type GetKeyOK ¶
type GetKeyOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ClientJWK }
GetKeyOK describes a response with status code 200, with default header values.
JWK
func NewGetKeyOK ¶
func NewGetKeyOK() *GetKeyOK
NewGetKeyOK creates a GetKeyOK with default headers values
func (*GetKeyOK) GetPayload ¶
func (*GetKeyOK) IsClientError ¶
IsClientError returns true when this get key o k response has a 4xx status code
func (*GetKeyOK) IsCode ¶
IsCode returns true when this get key o k response a status code equal to that given
func (*GetKeyOK) IsRedirect ¶
IsRedirect returns true when this get key o k response has a 3xx status code
func (*GetKeyOK) IsServerError ¶
IsServerError returns true when this get key o k response has a 5xx status code
type GetKeyParams ¶
type GetKeyParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Kid. Key identifier */ Kid string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKeyParams contains all the parameters to send to the API endpoint
for the get key operation. Typically these are written to a http.Request.
func NewGetKeyParams ¶
func NewGetKeyParams() *GetKeyParams
NewGetKeyParams creates a new GetKeyParams 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 NewGetKeyParamsWithContext ¶
func NewGetKeyParamsWithContext(ctx context.Context) *GetKeyParams
NewGetKeyParamsWithContext creates a new GetKeyParams object with the ability to set a context for a request.
func NewGetKeyParamsWithHTTPClient ¶
func NewGetKeyParamsWithHTTPClient(client *http.Client) *GetKeyParams
NewGetKeyParamsWithHTTPClient creates a new GetKeyParams object with the ability to set a custom HTTPClient for a request.
func NewGetKeyParamsWithTimeout ¶
func NewGetKeyParamsWithTimeout(timeout time.Duration) *GetKeyParams
NewGetKeyParamsWithTimeout creates a new GetKeyParams object with the ability to set a timeout on a request.
func (*GetKeyParams) SetContext ¶
func (o *GetKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the get key params
func (*GetKeyParams) SetDefaults ¶
func (o *GetKeyParams) SetDefaults()
SetDefaults hydrates default values in the get key params (not the query body).
All values with no default are reset to their zero value.
func (*GetKeyParams) SetHTTPClient ¶
func (o *GetKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get key params
func (*GetKeyParams) SetIfMatch ¶
func (o *GetKeyParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get key params
func (*GetKeyParams) SetKid ¶
func (o *GetKeyParams) SetKid(kid string)
SetKid adds the kid to the get key params
func (*GetKeyParams) SetTimeout ¶
func (o *GetKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get key params
func (*GetKeyParams) SetWid ¶
func (o *GetKeyParams) SetWid(wid string)
SetWid adds the wid to the get key params
func (*GetKeyParams) WithContext ¶
func (o *GetKeyParams) WithContext(ctx context.Context) *GetKeyParams
WithContext adds the context to the get key params
func (*GetKeyParams) WithDefaults ¶
func (o *GetKeyParams) WithDefaults() *GetKeyParams
WithDefaults hydrates default values in the get key params (not the query body).
All values with no default are reset to their zero value.
func (*GetKeyParams) WithHTTPClient ¶
func (o *GetKeyParams) WithHTTPClient(client *http.Client) *GetKeyParams
WithHTTPClient adds the HTTPClient to the get key params
func (*GetKeyParams) WithIfMatch ¶
func (o *GetKeyParams) WithIfMatch(ifMatch *string) *GetKeyParams
WithIfMatch adds the ifMatch to the get key params
func (*GetKeyParams) WithKid ¶
func (o *GetKeyParams) WithKid(kid string) *GetKeyParams
WithKid adds the kid to the get key params
func (*GetKeyParams) WithTimeout ¶
func (o *GetKeyParams) WithTimeout(timeout time.Duration) *GetKeyParams
WithTimeout adds the timeout to the get key params
func (*GetKeyParams) WithWid ¶
func (o *GetKeyParams) WithWid(wid string) *GetKeyParams
WithWid adds the wid to the get key params
func (*GetKeyParams) WriteToRequest ¶
func (o *GetKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKeyReader ¶
type GetKeyReader struct {
// contains filtered or unexported fields
}
GetKeyReader is a Reader for the GetKey structure.
func (*GetKeyReader) ReadResponse ¶
func (o *GetKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKeyTooManyRequests ¶
GetKeyTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetKeyTooManyRequests ¶
func NewGetKeyTooManyRequests() *GetKeyTooManyRequests
NewGetKeyTooManyRequests creates a GetKeyTooManyRequests with default headers values
func (*GetKeyTooManyRequests) Code ¶
func (o *GetKeyTooManyRequests) Code() int
Code gets the status code for the get key too many requests response
func (*GetKeyTooManyRequests) Error ¶
func (o *GetKeyTooManyRequests) Error() string
func (*GetKeyTooManyRequests) GetPayload ¶
func (o *GetKeyTooManyRequests) GetPayload() *models.Error
func (*GetKeyTooManyRequests) IsClientError ¶
func (o *GetKeyTooManyRequests) IsClientError() bool
IsClientError returns true when this get key too many requests response has a 4xx status code
func (*GetKeyTooManyRequests) IsCode ¶
func (o *GetKeyTooManyRequests) IsCode(code int) bool
IsCode returns true when this get key too many requests response a status code equal to that given
func (*GetKeyTooManyRequests) IsRedirect ¶
func (o *GetKeyTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get key too many requests response has a 3xx status code
func (*GetKeyTooManyRequests) IsServerError ¶
func (o *GetKeyTooManyRequests) IsServerError() bool
IsServerError returns true when this get key too many requests response has a 5xx status code
func (*GetKeyTooManyRequests) IsSuccess ¶
func (o *GetKeyTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get key too many requests response has a 2xx status code
func (*GetKeyTooManyRequests) String ¶
func (o *GetKeyTooManyRequests) String() string
type GetKeyUnauthorized ¶
type GetKeyUnauthorized struct {
}GetKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetKeyUnauthorized ¶
func NewGetKeyUnauthorized() *GetKeyUnauthorized
NewGetKeyUnauthorized creates a GetKeyUnauthorized with default headers values
func (*GetKeyUnauthorized) Code ¶
func (o *GetKeyUnauthorized) Code() int
Code gets the status code for the get key unauthorized response
func (*GetKeyUnauthorized) Error ¶
func (o *GetKeyUnauthorized) Error() string
func (*GetKeyUnauthorized) GetPayload ¶
func (o *GetKeyUnauthorized) GetPayload() *models.Error
func (*GetKeyUnauthorized) IsClientError ¶
func (o *GetKeyUnauthorized) IsClientError() bool
IsClientError returns true when this get key unauthorized response has a 4xx status code
func (*GetKeyUnauthorized) IsCode ¶
func (o *GetKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this get key unauthorized response a status code equal to that given
func (*GetKeyUnauthorized) IsRedirect ¶
func (o *GetKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this get key unauthorized response has a 3xx status code
func (*GetKeyUnauthorized) IsServerError ¶
func (o *GetKeyUnauthorized) IsServerError() bool
IsServerError returns true when this get key unauthorized response has a 5xx status code
func (*GetKeyUnauthorized) IsSuccess ¶
func (o *GetKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this get key unauthorized response has a 2xx status code
func (*GetKeyUnauthorized) String ¶
func (o *GetKeyUnauthorized) String() string
type GetKeysForbidden ¶
GetKeysForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetKeysForbidden ¶
func NewGetKeysForbidden() *GetKeysForbidden
NewGetKeysForbidden creates a GetKeysForbidden with default headers values
func (*GetKeysForbidden) Code ¶
func (o *GetKeysForbidden) Code() int
Code gets the status code for the get keys forbidden response
func (*GetKeysForbidden) Error ¶
func (o *GetKeysForbidden) Error() string
func (*GetKeysForbidden) GetPayload ¶
func (o *GetKeysForbidden) GetPayload() *models.Error
func (*GetKeysForbidden) IsClientError ¶
func (o *GetKeysForbidden) IsClientError() bool
IsClientError returns true when this get keys forbidden response has a 4xx status code
func (*GetKeysForbidden) IsCode ¶
func (o *GetKeysForbidden) IsCode(code int) bool
IsCode returns true when this get keys forbidden response a status code equal to that given
func (*GetKeysForbidden) IsRedirect ¶
func (o *GetKeysForbidden) IsRedirect() bool
IsRedirect returns true when this get keys forbidden response has a 3xx status code
func (*GetKeysForbidden) IsServerError ¶
func (o *GetKeysForbidden) IsServerError() bool
IsServerError returns true when this get keys forbidden response has a 5xx status code
func (*GetKeysForbidden) IsSuccess ¶
func (o *GetKeysForbidden) IsSuccess() bool
IsSuccess returns true when this get keys forbidden response has a 2xx status code
func (*GetKeysForbidden) String ¶
func (o *GetKeysForbidden) String() string
type GetKeysNotFound ¶
GetKeysNotFound describes a response with status code 404, with default header values.
Not found
func NewGetKeysNotFound ¶
func NewGetKeysNotFound() *GetKeysNotFound
NewGetKeysNotFound creates a GetKeysNotFound with default headers values
func (*GetKeysNotFound) Code ¶
func (o *GetKeysNotFound) Code() int
Code gets the status code for the get keys not found response
func (*GetKeysNotFound) Error ¶
func (o *GetKeysNotFound) Error() string
func (*GetKeysNotFound) GetPayload ¶
func (o *GetKeysNotFound) GetPayload() *models.Error
func (*GetKeysNotFound) IsClientError ¶
func (o *GetKeysNotFound) IsClientError() bool
IsClientError returns true when this get keys not found response has a 4xx status code
func (*GetKeysNotFound) IsCode ¶
func (o *GetKeysNotFound) IsCode(code int) bool
IsCode returns true when this get keys not found response a status code equal to that given
func (*GetKeysNotFound) IsRedirect ¶
func (o *GetKeysNotFound) IsRedirect() bool
IsRedirect returns true when this get keys not found response has a 3xx status code
func (*GetKeysNotFound) IsServerError ¶
func (o *GetKeysNotFound) IsServerError() bool
IsServerError returns true when this get keys not found response has a 5xx status code
func (*GetKeysNotFound) IsSuccess ¶
func (o *GetKeysNotFound) IsSuccess() bool
IsSuccess returns true when this get keys not found response has a 2xx status code
func (*GetKeysNotFound) String ¶
func (o *GetKeysNotFound) String() string
type GetKeysOK ¶
type GetKeysOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.KeysResponse }
GetKeysOK describes a response with status code 200, with default header values.
Keys
func NewGetKeysOK ¶
func NewGetKeysOK() *GetKeysOK
NewGetKeysOK creates a GetKeysOK with default headers values
func (*GetKeysOK) GetPayload ¶
func (o *GetKeysOK) GetPayload() *models.KeysResponse
func (*GetKeysOK) IsClientError ¶
IsClientError returns true when this get keys o k response has a 4xx status code
func (*GetKeysOK) IsCode ¶
IsCode returns true when this get keys o k response a status code equal to that given
func (*GetKeysOK) IsRedirect ¶
IsRedirect returns true when this get keys o k response has a 3xx status code
func (*GetKeysOK) IsServerError ¶
IsServerError returns true when this get keys o k response has a 5xx status code
type GetKeysParams ¶
type GetKeysParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Use. Key use (sig or enc) Default: "sig" */ Use *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKeysParams contains all the parameters to send to the API endpoint
for the get keys operation. Typically these are written to a http.Request.
func NewGetKeysParams ¶
func NewGetKeysParams() *GetKeysParams
NewGetKeysParams creates a new GetKeysParams 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 NewGetKeysParamsWithContext ¶
func NewGetKeysParamsWithContext(ctx context.Context) *GetKeysParams
NewGetKeysParamsWithContext creates a new GetKeysParams object with the ability to set a context for a request.
func NewGetKeysParamsWithHTTPClient ¶
func NewGetKeysParamsWithHTTPClient(client *http.Client) *GetKeysParams
NewGetKeysParamsWithHTTPClient creates a new GetKeysParams object with the ability to set a custom HTTPClient for a request.
func NewGetKeysParamsWithTimeout ¶
func NewGetKeysParamsWithTimeout(timeout time.Duration) *GetKeysParams
NewGetKeysParamsWithTimeout creates a new GetKeysParams object with the ability to set a timeout on a request.
func (*GetKeysParams) SetContext ¶
func (o *GetKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the get keys params
func (*GetKeysParams) SetDefaults ¶
func (o *GetKeysParams) SetDefaults()
SetDefaults hydrates default values in the get keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetKeysParams) SetHTTPClient ¶
func (o *GetKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get keys params
func (*GetKeysParams) SetIfMatch ¶
func (o *GetKeysParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get keys params
func (*GetKeysParams) SetTimeout ¶
func (o *GetKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get keys params
func (*GetKeysParams) SetUse ¶
func (o *GetKeysParams) SetUse(use *string)
SetUse adds the use to the get keys params
func (*GetKeysParams) SetWid ¶
func (o *GetKeysParams) SetWid(wid string)
SetWid adds the wid to the get keys params
func (*GetKeysParams) WithContext ¶
func (o *GetKeysParams) WithContext(ctx context.Context) *GetKeysParams
WithContext adds the context to the get keys params
func (*GetKeysParams) WithDefaults ¶
func (o *GetKeysParams) WithDefaults() *GetKeysParams
WithDefaults hydrates default values in the get keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetKeysParams) WithHTTPClient ¶
func (o *GetKeysParams) WithHTTPClient(client *http.Client) *GetKeysParams
WithHTTPClient adds the HTTPClient to the get keys params
func (*GetKeysParams) WithIfMatch ¶
func (o *GetKeysParams) WithIfMatch(ifMatch *string) *GetKeysParams
WithIfMatch adds the ifMatch to the get keys params
func (*GetKeysParams) WithTimeout ¶
func (o *GetKeysParams) WithTimeout(timeout time.Duration) *GetKeysParams
WithTimeout adds the timeout to the get keys params
func (*GetKeysParams) WithUse ¶
func (o *GetKeysParams) WithUse(use *string) *GetKeysParams
WithUse adds the use to the get keys params
func (*GetKeysParams) WithWid ¶
func (o *GetKeysParams) WithWid(wid string) *GetKeysParams
WithWid adds the wid to the get keys params
func (*GetKeysParams) WriteToRequest ¶
func (o *GetKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKeysReader ¶
type GetKeysReader struct {
// contains filtered or unexported fields
}
GetKeysReader is a Reader for the GetKeys structure.
func (*GetKeysReader) ReadResponse ¶
func (o *GetKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKeysTooManyRequests ¶
GetKeysTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetKeysTooManyRequests ¶
func NewGetKeysTooManyRequests() *GetKeysTooManyRequests
NewGetKeysTooManyRequests creates a GetKeysTooManyRequests with default headers values
func (*GetKeysTooManyRequests) Code ¶
func (o *GetKeysTooManyRequests) Code() int
Code gets the status code for the get keys too many requests response
func (*GetKeysTooManyRequests) Error ¶
func (o *GetKeysTooManyRequests) Error() string
func (*GetKeysTooManyRequests) GetPayload ¶
func (o *GetKeysTooManyRequests) GetPayload() *models.Error
func (*GetKeysTooManyRequests) IsClientError ¶
func (o *GetKeysTooManyRequests) IsClientError() bool
IsClientError returns true when this get keys too many requests response has a 4xx status code
func (*GetKeysTooManyRequests) IsCode ¶
func (o *GetKeysTooManyRequests) IsCode(code int) bool
IsCode returns true when this get keys too many requests response a status code equal to that given
func (*GetKeysTooManyRequests) IsRedirect ¶
func (o *GetKeysTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get keys too many requests response has a 3xx status code
func (*GetKeysTooManyRequests) IsServerError ¶
func (o *GetKeysTooManyRequests) IsServerError() bool
IsServerError returns true when this get keys too many requests response has a 5xx status code
func (*GetKeysTooManyRequests) IsSuccess ¶
func (o *GetKeysTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get keys too many requests response has a 2xx status code
func (*GetKeysTooManyRequests) String ¶
func (o *GetKeysTooManyRequests) String() string
type GetKeysUnauthorized ¶
type GetKeysUnauthorized struct {
}GetKeysUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetKeysUnauthorized ¶
func NewGetKeysUnauthorized() *GetKeysUnauthorized
NewGetKeysUnauthorized creates a GetKeysUnauthorized with default headers values
func (*GetKeysUnauthorized) Code ¶
func (o *GetKeysUnauthorized) Code() int
Code gets the status code for the get keys unauthorized response
func (*GetKeysUnauthorized) Error ¶
func (o *GetKeysUnauthorized) Error() string
func (*GetKeysUnauthorized) GetPayload ¶
func (o *GetKeysUnauthorized) GetPayload() *models.Error
func (*GetKeysUnauthorized) IsClientError ¶
func (o *GetKeysUnauthorized) IsClientError() bool
IsClientError returns true when this get keys unauthorized response has a 4xx status code
func (*GetKeysUnauthorized) IsCode ¶
func (o *GetKeysUnauthorized) IsCode(code int) bool
IsCode returns true when this get keys unauthorized response a status code equal to that given
func (*GetKeysUnauthorized) IsRedirect ¶
func (o *GetKeysUnauthorized) IsRedirect() bool
IsRedirect returns true when this get keys unauthorized response has a 3xx status code
func (*GetKeysUnauthorized) IsServerError ¶
func (o *GetKeysUnauthorized) IsServerError() bool
IsServerError returns true when this get keys unauthorized response has a 5xx status code
func (*GetKeysUnauthorized) IsSuccess ¶
func (o *GetKeysUnauthorized) IsSuccess() bool
IsSuccess returns true when this get keys unauthorized response has a 2xx status code
func (*GetKeysUnauthorized) String ¶
func (o *GetKeysUnauthorized) String() string
type RevokeKeyBadRequest ¶
RevokeKeyBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRevokeKeyBadRequest ¶
func NewRevokeKeyBadRequest() *RevokeKeyBadRequest
NewRevokeKeyBadRequest creates a RevokeKeyBadRequest with default headers values
func (*RevokeKeyBadRequest) Code ¶
func (o *RevokeKeyBadRequest) Code() int
Code gets the status code for the revoke key bad request response
func (*RevokeKeyBadRequest) Error ¶
func (o *RevokeKeyBadRequest) Error() string
func (*RevokeKeyBadRequest) GetPayload ¶
func (o *RevokeKeyBadRequest) GetPayload() *models.Error
func (*RevokeKeyBadRequest) IsClientError ¶
func (o *RevokeKeyBadRequest) IsClientError() bool
IsClientError returns true when this revoke key bad request response has a 4xx status code
func (*RevokeKeyBadRequest) IsCode ¶
func (o *RevokeKeyBadRequest) IsCode(code int) bool
IsCode returns true when this revoke key bad request response a status code equal to that given
func (*RevokeKeyBadRequest) IsRedirect ¶
func (o *RevokeKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this revoke key bad request response has a 3xx status code
func (*RevokeKeyBadRequest) IsServerError ¶
func (o *RevokeKeyBadRequest) IsServerError() bool
IsServerError returns true when this revoke key bad request response has a 5xx status code
func (*RevokeKeyBadRequest) IsSuccess ¶
func (o *RevokeKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this revoke key bad request response has a 2xx status code
func (*RevokeKeyBadRequest) String ¶
func (o *RevokeKeyBadRequest) String() string
type RevokeKeyForbidden ¶
RevokeKeyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRevokeKeyForbidden ¶
func NewRevokeKeyForbidden() *RevokeKeyForbidden
NewRevokeKeyForbidden creates a RevokeKeyForbidden with default headers values
func (*RevokeKeyForbidden) Code ¶
func (o *RevokeKeyForbidden) Code() int
Code gets the status code for the revoke key forbidden response
func (*RevokeKeyForbidden) Error ¶
func (o *RevokeKeyForbidden) Error() string
func (*RevokeKeyForbidden) GetPayload ¶
func (o *RevokeKeyForbidden) GetPayload() *models.Error
func (*RevokeKeyForbidden) IsClientError ¶
func (o *RevokeKeyForbidden) IsClientError() bool
IsClientError returns true when this revoke key forbidden response has a 4xx status code
func (*RevokeKeyForbidden) IsCode ¶
func (o *RevokeKeyForbidden) IsCode(code int) bool
IsCode returns true when this revoke key forbidden response a status code equal to that given
func (*RevokeKeyForbidden) IsRedirect ¶
func (o *RevokeKeyForbidden) IsRedirect() bool
IsRedirect returns true when this revoke key forbidden response has a 3xx status code
func (*RevokeKeyForbidden) IsServerError ¶
func (o *RevokeKeyForbidden) IsServerError() bool
IsServerError returns true when this revoke key forbidden response has a 5xx status code
func (*RevokeKeyForbidden) IsSuccess ¶
func (o *RevokeKeyForbidden) IsSuccess() bool
IsSuccess returns true when this revoke key forbidden response has a 2xx status code
func (*RevokeKeyForbidden) String ¶
func (o *RevokeKeyForbidden) String() string
type RevokeKeyNotFound ¶
RevokeKeyNotFound describes a response with status code 404, with default header values.
Not found
func NewRevokeKeyNotFound ¶
func NewRevokeKeyNotFound() *RevokeKeyNotFound
NewRevokeKeyNotFound creates a RevokeKeyNotFound with default headers values
func (*RevokeKeyNotFound) Code ¶
func (o *RevokeKeyNotFound) Code() int
Code gets the status code for the revoke key not found response
func (*RevokeKeyNotFound) Error ¶
func (o *RevokeKeyNotFound) Error() string
func (*RevokeKeyNotFound) GetPayload ¶
func (o *RevokeKeyNotFound) GetPayload() *models.Error
func (*RevokeKeyNotFound) IsClientError ¶
func (o *RevokeKeyNotFound) IsClientError() bool
IsClientError returns true when this revoke key not found response has a 4xx status code
func (*RevokeKeyNotFound) IsCode ¶
func (o *RevokeKeyNotFound) IsCode(code int) bool
IsCode returns true when this revoke key not found response a status code equal to that given
func (*RevokeKeyNotFound) IsRedirect ¶
func (o *RevokeKeyNotFound) IsRedirect() bool
IsRedirect returns true when this revoke key not found response has a 3xx status code
func (*RevokeKeyNotFound) IsServerError ¶
func (o *RevokeKeyNotFound) IsServerError() bool
IsServerError returns true when this revoke key not found response has a 5xx status code
func (*RevokeKeyNotFound) IsSuccess ¶
func (o *RevokeKeyNotFound) IsSuccess() bool
IsSuccess returns true when this revoke key not found response has a 2xx status code
func (*RevokeKeyNotFound) String ¶
func (o *RevokeKeyNotFound) String() string
type RevokeKeyOK ¶
type RevokeKeyOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServerJWK }
RevokeKeyOK describes a response with status code 200, with default header values.
JWK
func NewRevokeKeyOK ¶
func NewRevokeKeyOK() *RevokeKeyOK
NewRevokeKeyOK creates a RevokeKeyOK with default headers values
func (*RevokeKeyOK) Code ¶
func (o *RevokeKeyOK) Code() int
Code gets the status code for the revoke key o k response
func (*RevokeKeyOK) Error ¶
func (o *RevokeKeyOK) Error() string
func (*RevokeKeyOK) GetPayload ¶
func (o *RevokeKeyOK) GetPayload() *models.ServerJWK
func (*RevokeKeyOK) IsClientError ¶
func (o *RevokeKeyOK) IsClientError() bool
IsClientError returns true when this revoke key o k response has a 4xx status code
func (*RevokeKeyOK) IsCode ¶
func (o *RevokeKeyOK) IsCode(code int) bool
IsCode returns true when this revoke key o k response a status code equal to that given
func (*RevokeKeyOK) IsRedirect ¶
func (o *RevokeKeyOK) IsRedirect() bool
IsRedirect returns true when this revoke key o k response has a 3xx status code
func (*RevokeKeyOK) IsServerError ¶
func (o *RevokeKeyOK) IsServerError() bool
IsServerError returns true when this revoke key o k response has a 5xx status code
func (*RevokeKeyOK) IsSuccess ¶
func (o *RevokeKeyOK) IsSuccess() bool
IsSuccess returns true when this revoke key o k response has a 2xx status code
func (*RevokeKeyOK) String ¶
func (o *RevokeKeyOK) String() string
type RevokeKeyParams ¶
type RevokeKeyParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Kid. Key id */ Kid string /* Use. Key use (sig or enc) Default: "sig" */ Use *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeKeyParams contains all the parameters to send to the API endpoint
for the revoke key operation. Typically these are written to a http.Request.
func NewRevokeKeyParams ¶
func NewRevokeKeyParams() *RevokeKeyParams
NewRevokeKeyParams creates a new RevokeKeyParams 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 NewRevokeKeyParamsWithContext ¶
func NewRevokeKeyParamsWithContext(ctx context.Context) *RevokeKeyParams
NewRevokeKeyParamsWithContext creates a new RevokeKeyParams object with the ability to set a context for a request.
func NewRevokeKeyParamsWithHTTPClient ¶
func NewRevokeKeyParamsWithHTTPClient(client *http.Client) *RevokeKeyParams
NewRevokeKeyParamsWithHTTPClient creates a new RevokeKeyParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeKeyParamsWithTimeout ¶
func NewRevokeKeyParamsWithTimeout(timeout time.Duration) *RevokeKeyParams
NewRevokeKeyParamsWithTimeout creates a new RevokeKeyParams object with the ability to set a timeout on a request.
func (*RevokeKeyParams) SetContext ¶
func (o *RevokeKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke key params
func (*RevokeKeyParams) SetDefaults ¶
func (o *RevokeKeyParams) SetDefaults()
SetDefaults hydrates default values in the revoke key params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeKeyParams) SetHTTPClient ¶
func (o *RevokeKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke key params
func (*RevokeKeyParams) SetIfMatch ¶
func (o *RevokeKeyParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the revoke key params
func (*RevokeKeyParams) SetKid ¶
func (o *RevokeKeyParams) SetKid(kid string)
SetKid adds the kid to the revoke key params
func (*RevokeKeyParams) SetTimeout ¶
func (o *RevokeKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke key params
func (*RevokeKeyParams) SetUse ¶
func (o *RevokeKeyParams) SetUse(use *string)
SetUse adds the use to the revoke key params
func (*RevokeKeyParams) SetWid ¶
func (o *RevokeKeyParams) SetWid(wid string)
SetWid adds the wid to the revoke key params
func (*RevokeKeyParams) WithContext ¶
func (o *RevokeKeyParams) WithContext(ctx context.Context) *RevokeKeyParams
WithContext adds the context to the revoke key params
func (*RevokeKeyParams) WithDefaults ¶
func (o *RevokeKeyParams) WithDefaults() *RevokeKeyParams
WithDefaults hydrates default values in the revoke key params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeKeyParams) WithHTTPClient ¶
func (o *RevokeKeyParams) WithHTTPClient(client *http.Client) *RevokeKeyParams
WithHTTPClient adds the HTTPClient to the revoke key params
func (*RevokeKeyParams) WithIfMatch ¶
func (o *RevokeKeyParams) WithIfMatch(ifMatch *string) *RevokeKeyParams
WithIfMatch adds the ifMatch to the revoke key params
func (*RevokeKeyParams) WithKid ¶
func (o *RevokeKeyParams) WithKid(kid string) *RevokeKeyParams
WithKid adds the kid to the revoke key params
func (*RevokeKeyParams) WithTimeout ¶
func (o *RevokeKeyParams) WithTimeout(timeout time.Duration) *RevokeKeyParams
WithTimeout adds the timeout to the revoke key params
func (*RevokeKeyParams) WithUse ¶
func (o *RevokeKeyParams) WithUse(use *string) *RevokeKeyParams
WithUse adds the use to the revoke key params
func (*RevokeKeyParams) WithWid ¶
func (o *RevokeKeyParams) WithWid(wid string) *RevokeKeyParams
WithWid adds the wid to the revoke key params
func (*RevokeKeyParams) WriteToRequest ¶
func (o *RevokeKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeKeyReader ¶
type RevokeKeyReader struct {
// contains filtered or unexported fields
}
RevokeKeyReader is a Reader for the RevokeKey structure.
func (*RevokeKeyReader) ReadResponse ¶
func (o *RevokeKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeKeyTooManyRequests ¶
RevokeKeyTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewRevokeKeyTooManyRequests ¶
func NewRevokeKeyTooManyRequests() *RevokeKeyTooManyRequests
NewRevokeKeyTooManyRequests creates a RevokeKeyTooManyRequests with default headers values
func (*RevokeKeyTooManyRequests) Code ¶
func (o *RevokeKeyTooManyRequests) Code() int
Code gets the status code for the revoke key too many requests response
func (*RevokeKeyTooManyRequests) Error ¶
func (o *RevokeKeyTooManyRequests) Error() string
func (*RevokeKeyTooManyRequests) GetPayload ¶
func (o *RevokeKeyTooManyRequests) GetPayload() *models.Error
func (*RevokeKeyTooManyRequests) IsClientError ¶
func (o *RevokeKeyTooManyRequests) IsClientError() bool
IsClientError returns true when this revoke key too many requests response has a 4xx status code
func (*RevokeKeyTooManyRequests) IsCode ¶
func (o *RevokeKeyTooManyRequests) IsCode(code int) bool
IsCode returns true when this revoke key too many requests response a status code equal to that given
func (*RevokeKeyTooManyRequests) IsRedirect ¶
func (o *RevokeKeyTooManyRequests) IsRedirect() bool
IsRedirect returns true when this revoke key too many requests response has a 3xx status code
func (*RevokeKeyTooManyRequests) IsServerError ¶
func (o *RevokeKeyTooManyRequests) IsServerError() bool
IsServerError returns true when this revoke key too many requests response has a 5xx status code
func (*RevokeKeyTooManyRequests) IsSuccess ¶
func (o *RevokeKeyTooManyRequests) IsSuccess() bool
IsSuccess returns true when this revoke key too many requests response has a 2xx status code
func (*RevokeKeyTooManyRequests) String ¶
func (o *RevokeKeyTooManyRequests) String() string
type RevokeKeyUnauthorized ¶
type RevokeKeyUnauthorized struct {
}RevokeKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRevokeKeyUnauthorized ¶
func NewRevokeKeyUnauthorized() *RevokeKeyUnauthorized
NewRevokeKeyUnauthorized creates a RevokeKeyUnauthorized with default headers values
func (*RevokeKeyUnauthorized) Code ¶
func (o *RevokeKeyUnauthorized) Code() int
Code gets the status code for the revoke key unauthorized response
func (*RevokeKeyUnauthorized) Error ¶
func (o *RevokeKeyUnauthorized) Error() string
func (*RevokeKeyUnauthorized) GetPayload ¶
func (o *RevokeKeyUnauthorized) GetPayload() *models.Error
func (*RevokeKeyUnauthorized) IsClientError ¶
func (o *RevokeKeyUnauthorized) IsClientError() bool
IsClientError returns true when this revoke key unauthorized response has a 4xx status code
func (*RevokeKeyUnauthorized) IsCode ¶
func (o *RevokeKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this revoke key unauthorized response a status code equal to that given
func (*RevokeKeyUnauthorized) IsRedirect ¶
func (o *RevokeKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this revoke key unauthorized response has a 3xx status code
func (*RevokeKeyUnauthorized) IsServerError ¶
func (o *RevokeKeyUnauthorized) IsServerError() bool
IsServerError returns true when this revoke key unauthorized response has a 5xx status code
func (*RevokeKeyUnauthorized) IsSuccess ¶
func (o *RevokeKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this revoke key unauthorized response has a 2xx status code
func (*RevokeKeyUnauthorized) String ¶
func (o *RevokeKeyUnauthorized) String() string
type RotateKeyBadRequest ¶
RotateKeyBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRotateKeyBadRequest ¶
func NewRotateKeyBadRequest() *RotateKeyBadRequest
NewRotateKeyBadRequest creates a RotateKeyBadRequest with default headers values
func (*RotateKeyBadRequest) Code ¶
func (o *RotateKeyBadRequest) Code() int
Code gets the status code for the rotate key bad request response
func (*RotateKeyBadRequest) Error ¶
func (o *RotateKeyBadRequest) Error() string
func (*RotateKeyBadRequest) GetPayload ¶
func (o *RotateKeyBadRequest) GetPayload() *models.Error
func (*RotateKeyBadRequest) IsClientError ¶
func (o *RotateKeyBadRequest) IsClientError() bool
IsClientError returns true when this rotate key bad request response has a 4xx status code
func (*RotateKeyBadRequest) IsCode ¶
func (o *RotateKeyBadRequest) IsCode(code int) bool
IsCode returns true when this rotate key bad request response a status code equal to that given
func (*RotateKeyBadRequest) IsRedirect ¶
func (o *RotateKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this rotate key bad request response has a 3xx status code
func (*RotateKeyBadRequest) IsServerError ¶
func (o *RotateKeyBadRequest) IsServerError() bool
IsServerError returns true when this rotate key bad request response has a 5xx status code
func (*RotateKeyBadRequest) IsSuccess ¶
func (o *RotateKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this rotate key bad request response has a 2xx status code
func (*RotateKeyBadRequest) String ¶
func (o *RotateKeyBadRequest) String() string
type RotateKeyForbidden ¶
RotateKeyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRotateKeyForbidden ¶
func NewRotateKeyForbidden() *RotateKeyForbidden
NewRotateKeyForbidden creates a RotateKeyForbidden with default headers values
func (*RotateKeyForbidden) Code ¶
func (o *RotateKeyForbidden) Code() int
Code gets the status code for the rotate key forbidden response
func (*RotateKeyForbidden) Error ¶
func (o *RotateKeyForbidden) Error() string
func (*RotateKeyForbidden) GetPayload ¶
func (o *RotateKeyForbidden) GetPayload() *models.Error
func (*RotateKeyForbidden) IsClientError ¶
func (o *RotateKeyForbidden) IsClientError() bool
IsClientError returns true when this rotate key forbidden response has a 4xx status code
func (*RotateKeyForbidden) IsCode ¶
func (o *RotateKeyForbidden) IsCode(code int) bool
IsCode returns true when this rotate key forbidden response a status code equal to that given
func (*RotateKeyForbidden) IsRedirect ¶
func (o *RotateKeyForbidden) IsRedirect() bool
IsRedirect returns true when this rotate key forbidden response has a 3xx status code
func (*RotateKeyForbidden) IsServerError ¶
func (o *RotateKeyForbidden) IsServerError() bool
IsServerError returns true when this rotate key forbidden response has a 5xx status code
func (*RotateKeyForbidden) IsSuccess ¶
func (o *RotateKeyForbidden) IsSuccess() bool
IsSuccess returns true when this rotate key forbidden response has a 2xx status code
func (*RotateKeyForbidden) String ¶
func (o *RotateKeyForbidden) String() string
type RotateKeyNotFound ¶
RotateKeyNotFound describes a response with status code 404, with default header values.
Not found
func NewRotateKeyNotFound ¶
func NewRotateKeyNotFound() *RotateKeyNotFound
NewRotateKeyNotFound creates a RotateKeyNotFound with default headers values
func (*RotateKeyNotFound) Code ¶
func (o *RotateKeyNotFound) Code() int
Code gets the status code for the rotate key not found response
func (*RotateKeyNotFound) Error ¶
func (o *RotateKeyNotFound) Error() string
func (*RotateKeyNotFound) GetPayload ¶
func (o *RotateKeyNotFound) GetPayload() *models.Error
func (*RotateKeyNotFound) IsClientError ¶
func (o *RotateKeyNotFound) IsClientError() bool
IsClientError returns true when this rotate key not found response has a 4xx status code
func (*RotateKeyNotFound) IsCode ¶
func (o *RotateKeyNotFound) IsCode(code int) bool
IsCode returns true when this rotate key not found response a status code equal to that given
func (*RotateKeyNotFound) IsRedirect ¶
func (o *RotateKeyNotFound) IsRedirect() bool
IsRedirect returns true when this rotate key not found response has a 3xx status code
func (*RotateKeyNotFound) IsServerError ¶
func (o *RotateKeyNotFound) IsServerError() bool
IsServerError returns true when this rotate key not found response has a 5xx status code
func (*RotateKeyNotFound) IsSuccess ¶
func (o *RotateKeyNotFound) IsSuccess() bool
IsSuccess returns true when this rotate key not found response has a 2xx status code
func (*RotateKeyNotFound) String ¶
func (o *RotateKeyNotFound) String() string
type RotateKeyOK ¶
type RotateKeyOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.ServerJWK }
RotateKeyOK describes a response with status code 200, with default header values.
JWK
func NewRotateKeyOK ¶
func NewRotateKeyOK() *RotateKeyOK
NewRotateKeyOK creates a RotateKeyOK with default headers values
func (*RotateKeyOK) Code ¶
func (o *RotateKeyOK) Code() int
Code gets the status code for the rotate key o k response
func (*RotateKeyOK) Error ¶
func (o *RotateKeyOK) Error() string
func (*RotateKeyOK) GetPayload ¶
func (o *RotateKeyOK) GetPayload() *models.ServerJWK
func (*RotateKeyOK) IsClientError ¶
func (o *RotateKeyOK) IsClientError() bool
IsClientError returns true when this rotate key o k response has a 4xx status code
func (*RotateKeyOK) IsCode ¶
func (o *RotateKeyOK) IsCode(code int) bool
IsCode returns true when this rotate key o k response a status code equal to that given
func (*RotateKeyOK) IsRedirect ¶
func (o *RotateKeyOK) IsRedirect() bool
IsRedirect returns true when this rotate key o k response has a 3xx status code
func (*RotateKeyOK) IsServerError ¶
func (o *RotateKeyOK) IsServerError() bool
IsServerError returns true when this rotate key o k response has a 5xx status code
func (*RotateKeyOK) IsSuccess ¶
func (o *RotateKeyOK) IsSuccess() bool
IsSuccess returns true when this rotate key o k response has a 2xx status code
func (*RotateKeyOK) String ¶
func (o *RotateKeyOK) String() string
type RotateKeyParams ¶
type RotateKeyParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* KeyType. Key type Default: "rsa" */ KeyType *string /* Use. Key use (sig or enc) Default: "sig" */ Use *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RotateKeyParams contains all the parameters to send to the API endpoint
for the rotate key operation. Typically these are written to a http.Request.
func NewRotateKeyParams ¶
func NewRotateKeyParams() *RotateKeyParams
NewRotateKeyParams creates a new RotateKeyParams 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 NewRotateKeyParamsWithContext ¶
func NewRotateKeyParamsWithContext(ctx context.Context) *RotateKeyParams
NewRotateKeyParamsWithContext creates a new RotateKeyParams object with the ability to set a context for a request.
func NewRotateKeyParamsWithHTTPClient ¶
func NewRotateKeyParamsWithHTTPClient(client *http.Client) *RotateKeyParams
NewRotateKeyParamsWithHTTPClient creates a new RotateKeyParams object with the ability to set a custom HTTPClient for a request.
func NewRotateKeyParamsWithTimeout ¶
func NewRotateKeyParamsWithTimeout(timeout time.Duration) *RotateKeyParams
NewRotateKeyParamsWithTimeout creates a new RotateKeyParams object with the ability to set a timeout on a request.
func (*RotateKeyParams) SetContext ¶
func (o *RotateKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the rotate key params
func (*RotateKeyParams) SetDefaults ¶
func (o *RotateKeyParams) SetDefaults()
SetDefaults hydrates default values in the rotate key params (not the query body).
All values with no default are reset to their zero value.
func (*RotateKeyParams) SetHTTPClient ¶
func (o *RotateKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rotate key params
func (*RotateKeyParams) SetIfMatch ¶
func (o *RotateKeyParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the rotate key params
func (*RotateKeyParams) SetKeyType ¶
func (o *RotateKeyParams) SetKeyType(keyType *string)
SetKeyType adds the keyType to the rotate key params
func (*RotateKeyParams) SetTimeout ¶
func (o *RotateKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rotate key params
func (*RotateKeyParams) SetUse ¶
func (o *RotateKeyParams) SetUse(use *string)
SetUse adds the use to the rotate key params
func (*RotateKeyParams) SetWid ¶
func (o *RotateKeyParams) SetWid(wid string)
SetWid adds the wid to the rotate key params
func (*RotateKeyParams) WithContext ¶
func (o *RotateKeyParams) WithContext(ctx context.Context) *RotateKeyParams
WithContext adds the context to the rotate key params
func (*RotateKeyParams) WithDefaults ¶
func (o *RotateKeyParams) WithDefaults() *RotateKeyParams
WithDefaults hydrates default values in the rotate key params (not the query body).
All values with no default are reset to their zero value.
func (*RotateKeyParams) WithHTTPClient ¶
func (o *RotateKeyParams) WithHTTPClient(client *http.Client) *RotateKeyParams
WithHTTPClient adds the HTTPClient to the rotate key params
func (*RotateKeyParams) WithIfMatch ¶
func (o *RotateKeyParams) WithIfMatch(ifMatch *string) *RotateKeyParams
WithIfMatch adds the ifMatch to the rotate key params
func (*RotateKeyParams) WithKeyType ¶
func (o *RotateKeyParams) WithKeyType(keyType *string) *RotateKeyParams
WithKeyType adds the keyType to the rotate key params
func (*RotateKeyParams) WithTimeout ¶
func (o *RotateKeyParams) WithTimeout(timeout time.Duration) *RotateKeyParams
WithTimeout adds the timeout to the rotate key params
func (*RotateKeyParams) WithUse ¶
func (o *RotateKeyParams) WithUse(use *string) *RotateKeyParams
WithUse adds the use to the rotate key params
func (*RotateKeyParams) WithWid ¶
func (o *RotateKeyParams) WithWid(wid string) *RotateKeyParams
WithWid adds the wid to the rotate key params
func (*RotateKeyParams) WriteToRequest ¶
func (o *RotateKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RotateKeyReader ¶
type RotateKeyReader struct {
// contains filtered or unexported fields
}
RotateKeyReader is a Reader for the RotateKey structure.
func (*RotateKeyReader) ReadResponse ¶
func (o *RotateKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RotateKeyTooManyRequests ¶
RotateKeyTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewRotateKeyTooManyRequests ¶
func NewRotateKeyTooManyRequests() *RotateKeyTooManyRequests
NewRotateKeyTooManyRequests creates a RotateKeyTooManyRequests with default headers values
func (*RotateKeyTooManyRequests) Code ¶
func (o *RotateKeyTooManyRequests) Code() int
Code gets the status code for the rotate key too many requests response
func (*RotateKeyTooManyRequests) Error ¶
func (o *RotateKeyTooManyRequests) Error() string
func (*RotateKeyTooManyRequests) GetPayload ¶
func (o *RotateKeyTooManyRequests) GetPayload() *models.Error
func (*RotateKeyTooManyRequests) IsClientError ¶
func (o *RotateKeyTooManyRequests) IsClientError() bool
IsClientError returns true when this rotate key too many requests response has a 4xx status code
func (*RotateKeyTooManyRequests) IsCode ¶
func (o *RotateKeyTooManyRequests) IsCode(code int) bool
IsCode returns true when this rotate key too many requests response a status code equal to that given
func (*RotateKeyTooManyRequests) IsRedirect ¶
func (o *RotateKeyTooManyRequests) IsRedirect() bool
IsRedirect returns true when this rotate key too many requests response has a 3xx status code
func (*RotateKeyTooManyRequests) IsServerError ¶
func (o *RotateKeyTooManyRequests) IsServerError() bool
IsServerError returns true when this rotate key too many requests response has a 5xx status code
func (*RotateKeyTooManyRequests) IsSuccess ¶
func (o *RotateKeyTooManyRequests) IsSuccess() bool
IsSuccess returns true when this rotate key too many requests response has a 2xx status code
func (*RotateKeyTooManyRequests) String ¶
func (o *RotateKeyTooManyRequests) String() string
type RotateKeyUnauthorized ¶
type RotateKeyUnauthorized struct {
}RotateKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRotateKeyUnauthorized ¶
func NewRotateKeyUnauthorized() *RotateKeyUnauthorized
NewRotateKeyUnauthorized creates a RotateKeyUnauthorized with default headers values
func (*RotateKeyUnauthorized) Code ¶
func (o *RotateKeyUnauthorized) Code() int
Code gets the status code for the rotate key unauthorized response
func (*RotateKeyUnauthorized) Error ¶
func (o *RotateKeyUnauthorized) Error() string
func (*RotateKeyUnauthorized) GetPayload ¶
func (o *RotateKeyUnauthorized) GetPayload() *models.Error
func (*RotateKeyUnauthorized) IsClientError ¶
func (o *RotateKeyUnauthorized) IsClientError() bool
IsClientError returns true when this rotate key unauthorized response has a 4xx status code
func (*RotateKeyUnauthorized) IsCode ¶
func (o *RotateKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this rotate key unauthorized response a status code equal to that given
func (*RotateKeyUnauthorized) IsRedirect ¶
func (o *RotateKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this rotate key unauthorized response has a 3xx status code
func (*RotateKeyUnauthorized) IsServerError ¶
func (o *RotateKeyUnauthorized) IsServerError() bool
IsServerError returns true when this rotate key unauthorized response has a 5xx status code
func (*RotateKeyUnauthorized) IsSuccess ¶
func (o *RotateKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this rotate key unauthorized response has a 2xx status code
func (*RotateKeyUnauthorized) String ¶
func (o *RotateKeyUnauthorized) String() string
type SetAutomaticKeyRotationBadRequest ¶
SetAutomaticKeyRotationBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSetAutomaticKeyRotationBadRequest ¶
func NewSetAutomaticKeyRotationBadRequest() *SetAutomaticKeyRotationBadRequest
NewSetAutomaticKeyRotationBadRequest creates a SetAutomaticKeyRotationBadRequest with default headers values
func (*SetAutomaticKeyRotationBadRequest) Code ¶
func (o *SetAutomaticKeyRotationBadRequest) Code() int
Code gets the status code for the set automatic key rotation bad request response
func (*SetAutomaticKeyRotationBadRequest) Error ¶
func (o *SetAutomaticKeyRotationBadRequest) Error() string
func (*SetAutomaticKeyRotationBadRequest) GetPayload ¶
func (o *SetAutomaticKeyRotationBadRequest) GetPayload() *models.Error
func (*SetAutomaticKeyRotationBadRequest) IsClientError ¶
func (o *SetAutomaticKeyRotationBadRequest) IsClientError() bool
IsClientError returns true when this set automatic key rotation bad request response has a 4xx status code
func (*SetAutomaticKeyRotationBadRequest) IsCode ¶
func (o *SetAutomaticKeyRotationBadRequest) IsCode(code int) bool
IsCode returns true when this set automatic key rotation bad request response a status code equal to that given
func (*SetAutomaticKeyRotationBadRequest) IsRedirect ¶
func (o *SetAutomaticKeyRotationBadRequest) IsRedirect() bool
IsRedirect returns true when this set automatic key rotation bad request response has a 3xx status code
func (*SetAutomaticKeyRotationBadRequest) IsServerError ¶
func (o *SetAutomaticKeyRotationBadRequest) IsServerError() bool
IsServerError returns true when this set automatic key rotation bad request response has a 5xx status code
func (*SetAutomaticKeyRotationBadRequest) IsSuccess ¶
func (o *SetAutomaticKeyRotationBadRequest) IsSuccess() bool
IsSuccess returns true when this set automatic key rotation bad request response has a 2xx status code
func (*SetAutomaticKeyRotationBadRequest) String ¶
func (o *SetAutomaticKeyRotationBadRequest) String() string
type SetAutomaticKeyRotationForbidden ¶
SetAutomaticKeyRotationForbidden describes a response with status code 403, with default header values.
Forbidden
func NewSetAutomaticKeyRotationForbidden ¶
func NewSetAutomaticKeyRotationForbidden() *SetAutomaticKeyRotationForbidden
NewSetAutomaticKeyRotationForbidden creates a SetAutomaticKeyRotationForbidden with default headers values
func (*SetAutomaticKeyRotationForbidden) Code ¶
func (o *SetAutomaticKeyRotationForbidden) Code() int
Code gets the status code for the set automatic key rotation forbidden response
func (*SetAutomaticKeyRotationForbidden) Error ¶
func (o *SetAutomaticKeyRotationForbidden) Error() string
func (*SetAutomaticKeyRotationForbidden) GetPayload ¶
func (o *SetAutomaticKeyRotationForbidden) GetPayload() *models.Error
func (*SetAutomaticKeyRotationForbidden) IsClientError ¶
func (o *SetAutomaticKeyRotationForbidden) IsClientError() bool
IsClientError returns true when this set automatic key rotation forbidden response has a 4xx status code
func (*SetAutomaticKeyRotationForbidden) IsCode ¶
func (o *SetAutomaticKeyRotationForbidden) IsCode(code int) bool
IsCode returns true when this set automatic key rotation forbidden response a status code equal to that given
func (*SetAutomaticKeyRotationForbidden) IsRedirect ¶
func (o *SetAutomaticKeyRotationForbidden) IsRedirect() bool
IsRedirect returns true when this set automatic key rotation forbidden response has a 3xx status code
func (*SetAutomaticKeyRotationForbidden) IsServerError ¶
func (o *SetAutomaticKeyRotationForbidden) IsServerError() bool
IsServerError returns true when this set automatic key rotation forbidden response has a 5xx status code
func (*SetAutomaticKeyRotationForbidden) IsSuccess ¶
func (o *SetAutomaticKeyRotationForbidden) IsSuccess() bool
IsSuccess returns true when this set automatic key rotation forbidden response has a 2xx status code
func (*SetAutomaticKeyRotationForbidden) String ¶
func (o *SetAutomaticKeyRotationForbidden) String() string
type SetAutomaticKeyRotationNotFound ¶
SetAutomaticKeyRotationNotFound describes a response with status code 404, with default header values.
Not found
func NewSetAutomaticKeyRotationNotFound ¶
func NewSetAutomaticKeyRotationNotFound() *SetAutomaticKeyRotationNotFound
NewSetAutomaticKeyRotationNotFound creates a SetAutomaticKeyRotationNotFound with default headers values
func (*SetAutomaticKeyRotationNotFound) Code ¶
func (o *SetAutomaticKeyRotationNotFound) Code() int
Code gets the status code for the set automatic key rotation not found response
func (*SetAutomaticKeyRotationNotFound) Error ¶
func (o *SetAutomaticKeyRotationNotFound) Error() string
func (*SetAutomaticKeyRotationNotFound) GetPayload ¶
func (o *SetAutomaticKeyRotationNotFound) GetPayload() *models.Error
func (*SetAutomaticKeyRotationNotFound) IsClientError ¶
func (o *SetAutomaticKeyRotationNotFound) IsClientError() bool
IsClientError returns true when this set automatic key rotation not found response has a 4xx status code
func (*SetAutomaticKeyRotationNotFound) IsCode ¶
func (o *SetAutomaticKeyRotationNotFound) IsCode(code int) bool
IsCode returns true when this set automatic key rotation not found response a status code equal to that given
func (*SetAutomaticKeyRotationNotFound) IsRedirect ¶
func (o *SetAutomaticKeyRotationNotFound) IsRedirect() bool
IsRedirect returns true when this set automatic key rotation not found response has a 3xx status code
func (*SetAutomaticKeyRotationNotFound) IsServerError ¶
func (o *SetAutomaticKeyRotationNotFound) IsServerError() bool
IsServerError returns true when this set automatic key rotation not found response has a 5xx status code
func (*SetAutomaticKeyRotationNotFound) IsSuccess ¶
func (o *SetAutomaticKeyRotationNotFound) IsSuccess() bool
IsSuccess returns true when this set automatic key rotation not found response has a 2xx status code
func (*SetAutomaticKeyRotationNotFound) String ¶
func (o *SetAutomaticKeyRotationNotFound) String() string
type SetAutomaticKeyRotationOK ¶
type SetAutomaticKeyRotationOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.AutomaticKeyRotation }
SetAutomaticKeyRotationOK describes a response with status code 200, with default header values.
Automation key rotation
func NewSetAutomaticKeyRotationOK ¶
func NewSetAutomaticKeyRotationOK() *SetAutomaticKeyRotationOK
NewSetAutomaticKeyRotationOK creates a SetAutomaticKeyRotationOK with default headers values
func (*SetAutomaticKeyRotationOK) Code ¶
func (o *SetAutomaticKeyRotationOK) Code() int
Code gets the status code for the set automatic key rotation o k response
func (*SetAutomaticKeyRotationOK) Error ¶
func (o *SetAutomaticKeyRotationOK) Error() string
func (*SetAutomaticKeyRotationOK) GetPayload ¶
func (o *SetAutomaticKeyRotationOK) GetPayload() *models.AutomaticKeyRotation
func (*SetAutomaticKeyRotationOK) IsClientError ¶
func (o *SetAutomaticKeyRotationOK) IsClientError() bool
IsClientError returns true when this set automatic key rotation o k response has a 4xx status code
func (*SetAutomaticKeyRotationOK) IsCode ¶
func (o *SetAutomaticKeyRotationOK) IsCode(code int) bool
IsCode returns true when this set automatic key rotation o k response a status code equal to that given
func (*SetAutomaticKeyRotationOK) IsRedirect ¶
func (o *SetAutomaticKeyRotationOK) IsRedirect() bool
IsRedirect returns true when this set automatic key rotation o k response has a 3xx status code
func (*SetAutomaticKeyRotationOK) IsServerError ¶
func (o *SetAutomaticKeyRotationOK) IsServerError() bool
IsServerError returns true when this set automatic key rotation o k response has a 5xx status code
func (*SetAutomaticKeyRotationOK) IsSuccess ¶
func (o *SetAutomaticKeyRotationOK) IsSuccess() bool
IsSuccess returns true when this set automatic key rotation o k response has a 2xx status code
func (*SetAutomaticKeyRotationOK) String ¶
func (o *SetAutomaticKeyRotationOK) String() string
type SetAutomaticKeyRotationParams ¶
type SetAutomaticKeyRotationParams struct { /* AutomaticKeyRotation. Automatic key rotation configuration */ AutomaticKeyRotation *models.AutomaticKeyRotation /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* Use. Key use (sig or enc) Default: "sig" */ Use *string /* Wid. Authorization server id Default: "default" */ Wid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetAutomaticKeyRotationParams contains all the parameters to send to the API endpoint
for the set automatic key rotation operation. Typically these are written to a http.Request.
func NewSetAutomaticKeyRotationParams ¶
func NewSetAutomaticKeyRotationParams() *SetAutomaticKeyRotationParams
NewSetAutomaticKeyRotationParams creates a new SetAutomaticKeyRotationParams 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 NewSetAutomaticKeyRotationParamsWithContext ¶
func NewSetAutomaticKeyRotationParamsWithContext(ctx context.Context) *SetAutomaticKeyRotationParams
NewSetAutomaticKeyRotationParamsWithContext creates a new SetAutomaticKeyRotationParams object with the ability to set a context for a request.
func NewSetAutomaticKeyRotationParamsWithHTTPClient ¶
func NewSetAutomaticKeyRotationParamsWithHTTPClient(client *http.Client) *SetAutomaticKeyRotationParams
NewSetAutomaticKeyRotationParamsWithHTTPClient creates a new SetAutomaticKeyRotationParams object with the ability to set a custom HTTPClient for a request.
func NewSetAutomaticKeyRotationParamsWithTimeout ¶
func NewSetAutomaticKeyRotationParamsWithTimeout(timeout time.Duration) *SetAutomaticKeyRotationParams
NewSetAutomaticKeyRotationParamsWithTimeout creates a new SetAutomaticKeyRotationParams object with the ability to set a timeout on a request.
func (*SetAutomaticKeyRotationParams) SetAutomaticKeyRotation ¶
func (o *SetAutomaticKeyRotationParams) SetAutomaticKeyRotation(automaticKeyRotation *models.AutomaticKeyRotation)
SetAutomaticKeyRotation adds the automaticKeyRotation to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) SetContext ¶
func (o *SetAutomaticKeyRotationParams) SetContext(ctx context.Context)
SetContext adds the context to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) SetDefaults ¶
func (o *SetAutomaticKeyRotationParams) SetDefaults()
SetDefaults hydrates default values in the set automatic key rotation params (not the query body).
All values with no default are reset to their zero value.
func (*SetAutomaticKeyRotationParams) SetHTTPClient ¶
func (o *SetAutomaticKeyRotationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) SetIfMatch ¶
func (o *SetAutomaticKeyRotationParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) SetTimeout ¶
func (o *SetAutomaticKeyRotationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) SetUse ¶
func (o *SetAutomaticKeyRotationParams) SetUse(use *string)
SetUse adds the use to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) SetWid ¶
func (o *SetAutomaticKeyRotationParams) SetWid(wid string)
SetWid adds the wid to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WithAutomaticKeyRotation ¶
func (o *SetAutomaticKeyRotationParams) WithAutomaticKeyRotation(automaticKeyRotation *models.AutomaticKeyRotation) *SetAutomaticKeyRotationParams
WithAutomaticKeyRotation adds the automaticKeyRotation to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WithContext ¶
func (o *SetAutomaticKeyRotationParams) WithContext(ctx context.Context) *SetAutomaticKeyRotationParams
WithContext adds the context to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WithDefaults ¶
func (o *SetAutomaticKeyRotationParams) WithDefaults() *SetAutomaticKeyRotationParams
WithDefaults hydrates default values in the set automatic key rotation params (not the query body).
All values with no default are reset to their zero value.
func (*SetAutomaticKeyRotationParams) WithHTTPClient ¶
func (o *SetAutomaticKeyRotationParams) WithHTTPClient(client *http.Client) *SetAutomaticKeyRotationParams
WithHTTPClient adds the HTTPClient to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WithIfMatch ¶
func (o *SetAutomaticKeyRotationParams) WithIfMatch(ifMatch *string) *SetAutomaticKeyRotationParams
WithIfMatch adds the ifMatch to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WithTimeout ¶
func (o *SetAutomaticKeyRotationParams) WithTimeout(timeout time.Duration) *SetAutomaticKeyRotationParams
WithTimeout adds the timeout to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WithUse ¶
func (o *SetAutomaticKeyRotationParams) WithUse(use *string) *SetAutomaticKeyRotationParams
WithUse adds the use to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WithWid ¶
func (o *SetAutomaticKeyRotationParams) WithWid(wid string) *SetAutomaticKeyRotationParams
WithWid adds the wid to the set automatic key rotation params
func (*SetAutomaticKeyRotationParams) WriteToRequest ¶
func (o *SetAutomaticKeyRotationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetAutomaticKeyRotationReader ¶
type SetAutomaticKeyRotationReader struct {
// contains filtered or unexported fields
}
SetAutomaticKeyRotationReader is a Reader for the SetAutomaticKeyRotation structure.
func (*SetAutomaticKeyRotationReader) ReadResponse ¶
func (o *SetAutomaticKeyRotationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetAutomaticKeyRotationTooManyRequests ¶
SetAutomaticKeyRotationTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewSetAutomaticKeyRotationTooManyRequests ¶
func NewSetAutomaticKeyRotationTooManyRequests() *SetAutomaticKeyRotationTooManyRequests
NewSetAutomaticKeyRotationTooManyRequests creates a SetAutomaticKeyRotationTooManyRequests with default headers values
func (*SetAutomaticKeyRotationTooManyRequests) Code ¶
func (o *SetAutomaticKeyRotationTooManyRequests) Code() int
Code gets the status code for the set automatic key rotation too many requests response
func (*SetAutomaticKeyRotationTooManyRequests) Error ¶
func (o *SetAutomaticKeyRotationTooManyRequests) Error() string
func (*SetAutomaticKeyRotationTooManyRequests) GetPayload ¶
func (o *SetAutomaticKeyRotationTooManyRequests) GetPayload() *models.Error
func (*SetAutomaticKeyRotationTooManyRequests) IsClientError ¶
func (o *SetAutomaticKeyRotationTooManyRequests) IsClientError() bool
IsClientError returns true when this set automatic key rotation too many requests response has a 4xx status code
func (*SetAutomaticKeyRotationTooManyRequests) IsCode ¶
func (o *SetAutomaticKeyRotationTooManyRequests) IsCode(code int) bool
IsCode returns true when this set automatic key rotation too many requests response a status code equal to that given
func (*SetAutomaticKeyRotationTooManyRequests) IsRedirect ¶
func (o *SetAutomaticKeyRotationTooManyRequests) IsRedirect() bool
IsRedirect returns true when this set automatic key rotation too many requests response has a 3xx status code
func (*SetAutomaticKeyRotationTooManyRequests) IsServerError ¶
func (o *SetAutomaticKeyRotationTooManyRequests) IsServerError() bool
IsServerError returns true when this set automatic key rotation too many requests response has a 5xx status code
func (*SetAutomaticKeyRotationTooManyRequests) IsSuccess ¶
func (o *SetAutomaticKeyRotationTooManyRequests) IsSuccess() bool
IsSuccess returns true when this set automatic key rotation too many requests response has a 2xx status code
func (*SetAutomaticKeyRotationTooManyRequests) String ¶
func (o *SetAutomaticKeyRotationTooManyRequests) String() string
type SetAutomaticKeyRotationUnauthorized ¶
type SetAutomaticKeyRotationUnauthorized struct {
}SetAutomaticKeyRotationUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewSetAutomaticKeyRotationUnauthorized ¶
func NewSetAutomaticKeyRotationUnauthorized() *SetAutomaticKeyRotationUnauthorized
NewSetAutomaticKeyRotationUnauthorized creates a SetAutomaticKeyRotationUnauthorized with default headers values
func (*SetAutomaticKeyRotationUnauthorized) Code ¶
func (o *SetAutomaticKeyRotationUnauthorized) Code() int
Code gets the status code for the set automatic key rotation unauthorized response
func (*SetAutomaticKeyRotationUnauthorized) Error ¶
func (o *SetAutomaticKeyRotationUnauthorized) Error() string
func (*SetAutomaticKeyRotationUnauthorized) GetPayload ¶
func (o *SetAutomaticKeyRotationUnauthorized) GetPayload() *models.Error
func (*SetAutomaticKeyRotationUnauthorized) IsClientError ¶
func (o *SetAutomaticKeyRotationUnauthorized) IsClientError() bool
IsClientError returns true when this set automatic key rotation unauthorized response has a 4xx status code
func (*SetAutomaticKeyRotationUnauthorized) IsCode ¶
func (o *SetAutomaticKeyRotationUnauthorized) IsCode(code int) bool
IsCode returns true when this set automatic key rotation unauthorized response a status code equal to that given
func (*SetAutomaticKeyRotationUnauthorized) IsRedirect ¶
func (o *SetAutomaticKeyRotationUnauthorized) IsRedirect() bool
IsRedirect returns true when this set automatic key rotation unauthorized response has a 3xx status code
func (*SetAutomaticKeyRotationUnauthorized) IsServerError ¶
func (o *SetAutomaticKeyRotationUnauthorized) IsServerError() bool
IsServerError returns true when this set automatic key rotation unauthorized response has a 5xx status code
func (*SetAutomaticKeyRotationUnauthorized) IsSuccess ¶
func (o *SetAutomaticKeyRotationUnauthorized) IsSuccess() bool
IsSuccess returns true when this set automatic key rotation unauthorized response has a 2xx status code
func (*SetAutomaticKeyRotationUnauthorized) String ¶
func (o *SetAutomaticKeyRotationUnauthorized) String() string
Source Files ¶
- get_automatic_key_rotation_parameters.go
- get_automatic_key_rotation_responses.go
- get_key_parameters.go
- get_key_responses.go
- get_keys_parameters.go
- get_keys_responses.go
- keys_client.go
- revoke_key_parameters.go
- revoke_key_responses.go
- rotate_key_parameters.go
- rotate_key_responses.go
- set_automatic_key_rotation_parameters.go
- set_automatic_key_rotation_responses.go