keys

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

type GetAutomaticKeyRotationForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the get automatic key rotation forbidden response

func (*GetAutomaticKeyRotationForbidden) Error

func (*GetAutomaticKeyRotationForbidden) GetPayload

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

type GetAutomaticKeyRotationNotFound

type GetAutomaticKeyRotationNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the get automatic key rotation not found response

func (*GetAutomaticKeyRotationNotFound) Error

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

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 (*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

WithContext adds the context to the get automatic key rotation params

func (*GetAutomaticKeyRotationParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get automatic key rotation params

func (*GetAutomaticKeyRotationParams) WithIfMatch

WithIfMatch adds the ifMatch to the get automatic key rotation params

func (*GetAutomaticKeyRotationParams) WithTimeout

WithTimeout adds the timeout to the get automatic key rotation params

func (*GetAutomaticKeyRotationParams) WithUse

WithUse adds the use to the get automatic key rotation params

func (*GetAutomaticKeyRotationParams) WithWid

WithWid adds the wid to the get automatic key rotation params

func (*GetAutomaticKeyRotationParams) WriteToRequest

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

type GetAutomaticKeyRotationTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the get automatic key rotation too many requests response

func (*GetAutomaticKeyRotationTooManyRequests) Error

func (*GetAutomaticKeyRotationTooManyRequests) GetPayload

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

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

func (*GetAutomaticKeyRotationTooManyRequests) IsRedirect

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

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

func (*GetAutomaticKeyRotationTooManyRequests) String

type GetAutomaticKeyRotationUnauthorized

type GetAutomaticKeyRotationUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the get automatic key rotation unauthorized response

func (*GetAutomaticKeyRotationUnauthorized) Error

func (*GetAutomaticKeyRotationUnauthorized) GetPayload

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

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

IsSuccess returns true when this get automatic key rotation unauthorized response has a 2xx status code

func (*GetAutomaticKeyRotationUnauthorized) String

type GetKeyForbidden

type GetKeyForbidden struct {
	Payload *models.Error
}

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

type GetKeyNotFound struct {
	Payload *models.Error
}

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

func (o *GetKeyOK) Code() int

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

func (*GetKeyOK) Error

func (o *GetKeyOK) Error() string

func (*GetKeyOK) GetPayload

func (o *GetKeyOK) GetPayload() *models.ClientJWK

func (*GetKeyOK) IsClientError

func (o *GetKeyOK) IsClientError() bool

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

func (*GetKeyOK) IsCode

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

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

func (*GetKeyOK) IsRedirect

func (o *GetKeyOK) IsRedirect() bool

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

func (*GetKeyOK) IsServerError

func (o *GetKeyOK) IsServerError() bool

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

func (*GetKeyOK) IsSuccess

func (o *GetKeyOK) IsSuccess() bool

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

func (*GetKeyOK) String

func (o *GetKeyOK) String() string

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

type GetKeyTooManyRequests struct {
	Payload *models.Error
}

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 {
	Payload *models.Error
}

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

type GetKeysForbidden struct {
	Payload *models.Error
}

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

type GetKeysNotFound struct {
	Payload *models.Error
}

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

func (o *GetKeysOK) Code() int

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

func (*GetKeysOK) Error

func (o *GetKeysOK) Error() string

func (*GetKeysOK) GetPayload

func (o *GetKeysOK) GetPayload() *models.KeysResponse

func (*GetKeysOK) IsClientError

func (o *GetKeysOK) IsClientError() bool

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

func (*GetKeysOK) IsCode

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

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

func (*GetKeysOK) IsRedirect

func (o *GetKeysOK) IsRedirect() bool

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

func (*GetKeysOK) IsServerError

func (o *GetKeysOK) IsServerError() bool

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

func (*GetKeysOK) IsSuccess

func (o *GetKeysOK) IsSuccess() bool

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

func (*GetKeysOK) String

func (o *GetKeysOK) String() string

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

type GetKeysTooManyRequests struct {
	Payload *models.Error
}

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 {
	Payload *models.Error
}

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

type RevokeKeyBadRequest struct {
	Payload *models.Error
}

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

type RevokeKeyForbidden struct {
	Payload *models.Error
}

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

type RevokeKeyNotFound struct {
	Payload *models.Error
}

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

type RevokeKeyTooManyRequests struct {
	Payload *models.Error
}

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 {
	Payload *models.Error
}

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

type RotateKeyBadRequest struct {
	Payload *models.Error
}

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

type RotateKeyForbidden struct {
	Payload *models.Error
}

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

type RotateKeyNotFound struct {
	Payload *models.Error
}

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

type RotateKeyTooManyRequests struct {
	Payload *models.Error
}

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 {
	Payload *models.Error
}

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

type SetAutomaticKeyRotationBadRequest struct {
	Payload *models.Error
}

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

Code gets the status code for the set automatic key rotation bad request response

func (*SetAutomaticKeyRotationBadRequest) Error

func (*SetAutomaticKeyRotationBadRequest) GetPayload

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

type SetAutomaticKeyRotationForbidden

type SetAutomaticKeyRotationForbidden struct {
	Payload *models.Error
}

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

Code gets the status code for the set automatic key rotation forbidden response

func (*SetAutomaticKeyRotationForbidden) Error

func (*SetAutomaticKeyRotationForbidden) GetPayload

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

type SetAutomaticKeyRotationNotFound

type SetAutomaticKeyRotationNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the set automatic key rotation not found response

func (*SetAutomaticKeyRotationNotFound) Error

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

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 (*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

WithContext adds the context to the set automatic key rotation params

func (*SetAutomaticKeyRotationParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the set automatic key rotation params

func (*SetAutomaticKeyRotationParams) WithIfMatch

WithIfMatch adds the ifMatch to the set automatic key rotation params

func (*SetAutomaticKeyRotationParams) WithTimeout

WithTimeout adds the timeout to the set automatic key rotation params

func (*SetAutomaticKeyRotationParams) WithUse

WithUse adds the use to the set automatic key rotation params

func (*SetAutomaticKeyRotationParams) WithWid

WithWid adds the wid to the set automatic key rotation params

func (*SetAutomaticKeyRotationParams) WriteToRequest

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

type SetAutomaticKeyRotationTooManyRequests struct {
	Payload *models.Error
}

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

Code gets the status code for the set automatic key rotation too many requests response

func (*SetAutomaticKeyRotationTooManyRequests) Error

func (*SetAutomaticKeyRotationTooManyRequests) GetPayload

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

IsCode returns true when this set automatic key rotation too many requests response a status code equal to that given

func (*SetAutomaticKeyRotationTooManyRequests) IsRedirect

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

IsSuccess returns true when this set automatic key rotation too many requests response has a 2xx status code

func (*SetAutomaticKeyRotationTooManyRequests) String

type SetAutomaticKeyRotationUnauthorized

type SetAutomaticKeyRotationUnauthorized struct {
	Payload *models.Error
}

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

Code gets the status code for the set automatic key rotation unauthorized response

func (*SetAutomaticKeyRotationUnauthorized) Error

func (*SetAutomaticKeyRotationUnauthorized) GetPayload

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

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

IsSuccess returns true when this set automatic key rotation unauthorized response has a 2xx status code

func (*SetAutomaticKeyRotationUnauthorized) String

Jump to

Keyboard shortcuts

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