api_keys

package
v0.0.0-...-008ff50 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for api keys API

func (*Client) CreateAPIKey

func (a *Client) CreateAPIKey(params *CreateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeyCreated, error)

CreateAPIKey creates API key

Creates a new API key for a SCIM custom app. The token is returned only on creation.

func (*Client) DeleteAPIKey

func (a *Client) DeleteAPIKey(params *DeleteAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNoContent, error)

DeleteAPIKey deletes API key

Deletes an API key.

func (*Client) ListAPIKeys

func (a *Client) ListAPIKeys(params *ListAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIKeysOK, error)

ListAPIKeys lists API keys

Returns list of API keys for a custom app. Tokens are not included in the response.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	CreateAPIKey(params *CreateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAPIKeyCreated, error)

	DeleteAPIKey(params *DeleteAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeyNoContent, error)

	ListAPIKeys(params *ListAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAPIKeysOK, 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 api keys API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new api keys API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new api keys API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateAPIKeyBadRequest

type CreateAPIKeyBadRequest struct {
	Payload *models.Error
}

CreateAPIKeyBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateAPIKeyBadRequest

func NewCreateAPIKeyBadRequest() *CreateAPIKeyBadRequest

NewCreateAPIKeyBadRequest creates a CreateAPIKeyBadRequest with default headers values

func (*CreateAPIKeyBadRequest) Code

func (o *CreateAPIKeyBadRequest) Code() int

Code gets the status code for the create Api key bad request response

func (*CreateAPIKeyBadRequest) Error

func (o *CreateAPIKeyBadRequest) Error() string

func (*CreateAPIKeyBadRequest) GetPayload

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

func (*CreateAPIKeyBadRequest) IsClientError

func (o *CreateAPIKeyBadRequest) IsClientError() bool

IsClientError returns true when this create Api key bad request response has a 4xx status code

func (*CreateAPIKeyBadRequest) IsCode

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

IsCode returns true when this create Api key bad request response a status code equal to that given

func (*CreateAPIKeyBadRequest) IsRedirect

func (o *CreateAPIKeyBadRequest) IsRedirect() bool

IsRedirect returns true when this create Api key bad request response has a 3xx status code

func (*CreateAPIKeyBadRequest) IsServerError

func (o *CreateAPIKeyBadRequest) IsServerError() bool

IsServerError returns true when this create Api key bad request response has a 5xx status code

func (*CreateAPIKeyBadRequest) IsSuccess

func (o *CreateAPIKeyBadRequest) IsSuccess() bool

IsSuccess returns true when this create Api key bad request response has a 2xx status code

func (*CreateAPIKeyBadRequest) String

func (o *CreateAPIKeyBadRequest) String() string

type CreateAPIKeyCreated

type CreateAPIKeyCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	/* Indicates that a 5xx error was caused by tenant-provided code

	in:header
	*/
	XExternalError string

	/* OpenTelemetry trace identifier

	in:header
	*/
	XTraceID string

	Payload *models.APIKeyResponse
}

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

API key response

func NewCreateAPIKeyCreated

func NewCreateAPIKeyCreated() *CreateAPIKeyCreated

NewCreateAPIKeyCreated creates a CreateAPIKeyCreated with default headers values

func (*CreateAPIKeyCreated) Code

func (o *CreateAPIKeyCreated) Code() int

Code gets the status code for the create Api key created response

func (*CreateAPIKeyCreated) Error

func (o *CreateAPIKeyCreated) Error() string

func (*CreateAPIKeyCreated) GetPayload

func (o *CreateAPIKeyCreated) GetPayload() *models.APIKeyResponse

func (*CreateAPIKeyCreated) IsClientError

func (o *CreateAPIKeyCreated) IsClientError() bool

IsClientError returns true when this create Api key created response has a 4xx status code

func (*CreateAPIKeyCreated) IsCode

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

IsCode returns true when this create Api key created response a status code equal to that given

func (*CreateAPIKeyCreated) IsRedirect

func (o *CreateAPIKeyCreated) IsRedirect() bool

IsRedirect returns true when this create Api key created response has a 3xx status code

func (*CreateAPIKeyCreated) IsServerError

func (o *CreateAPIKeyCreated) IsServerError() bool

IsServerError returns true when this create Api key created response has a 5xx status code

func (*CreateAPIKeyCreated) IsSuccess

func (o *CreateAPIKeyCreated) IsSuccess() bool

IsSuccess returns true when this create Api key created response has a 2xx status code

func (*CreateAPIKeyCreated) String

func (o *CreateAPIKeyCreated) String() string

type CreateAPIKeyForbidden

type CreateAPIKeyForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateAPIKeyForbidden

func NewCreateAPIKeyForbidden() *CreateAPIKeyForbidden

NewCreateAPIKeyForbidden creates a CreateAPIKeyForbidden with default headers values

func (*CreateAPIKeyForbidden) Code

func (o *CreateAPIKeyForbidden) Code() int

Code gets the status code for the create Api key forbidden response

func (*CreateAPIKeyForbidden) Error

func (o *CreateAPIKeyForbidden) Error() string

func (*CreateAPIKeyForbidden) GetPayload

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

func (*CreateAPIKeyForbidden) IsClientError

func (o *CreateAPIKeyForbidden) IsClientError() bool

IsClientError returns true when this create Api key forbidden response has a 4xx status code

func (*CreateAPIKeyForbidden) IsCode

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

IsCode returns true when this create Api key forbidden response a status code equal to that given

func (*CreateAPIKeyForbidden) IsRedirect

func (o *CreateAPIKeyForbidden) IsRedirect() bool

IsRedirect returns true when this create Api key forbidden response has a 3xx status code

func (*CreateAPIKeyForbidden) IsServerError

func (o *CreateAPIKeyForbidden) IsServerError() bool

IsServerError returns true when this create Api key forbidden response has a 5xx status code

func (*CreateAPIKeyForbidden) IsSuccess

func (o *CreateAPIKeyForbidden) IsSuccess() bool

IsSuccess returns true when this create Api key forbidden response has a 2xx status code

func (*CreateAPIKeyForbidden) String

func (o *CreateAPIKeyForbidden) String() string

type CreateAPIKeyNotFound

type CreateAPIKeyNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateAPIKeyNotFound

func NewCreateAPIKeyNotFound() *CreateAPIKeyNotFound

NewCreateAPIKeyNotFound creates a CreateAPIKeyNotFound with default headers values

func (*CreateAPIKeyNotFound) Code

func (o *CreateAPIKeyNotFound) Code() int

Code gets the status code for the create Api key not found response

func (*CreateAPIKeyNotFound) Error

func (o *CreateAPIKeyNotFound) Error() string

func (*CreateAPIKeyNotFound) GetPayload

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

func (*CreateAPIKeyNotFound) IsClientError

func (o *CreateAPIKeyNotFound) IsClientError() bool

IsClientError returns true when this create Api key not found response has a 4xx status code

func (*CreateAPIKeyNotFound) IsCode

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

IsCode returns true when this create Api key not found response a status code equal to that given

func (*CreateAPIKeyNotFound) IsRedirect

func (o *CreateAPIKeyNotFound) IsRedirect() bool

IsRedirect returns true when this create Api key not found response has a 3xx status code

func (*CreateAPIKeyNotFound) IsServerError

func (o *CreateAPIKeyNotFound) IsServerError() bool

IsServerError returns true when this create Api key not found response has a 5xx status code

func (*CreateAPIKeyNotFound) IsSuccess

func (o *CreateAPIKeyNotFound) IsSuccess() bool

IsSuccess returns true when this create Api key not found response has a 2xx status code

func (*CreateAPIKeyNotFound) String

func (o *CreateAPIKeyNotFound) String() string

type CreateAPIKeyParams

type CreateAPIKeyParams struct {

	// APIKey.
	APIKey *models.CreateAPIKeyRequest

	/* CustomAppID.

	   CustomApp ID
	*/
	CustomAppID string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Authorization server id
	*/
	Wid string

	/* XCorrelationID.

	   Unique identifier included in audit events for request tracking
	*/
	XCorrelationID *string

	/* XIdempotencyKey.

	   Key used to safely retry failed requests without duplicate processing
	*/
	XIdempotencyKey *string

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

CreateAPIKeyParams contains all the parameters to send to the API endpoint

for the create Api key operation.

Typically these are written to a http.Request.

func NewCreateAPIKeyParams

func NewCreateAPIKeyParams() *CreateAPIKeyParams

NewCreateAPIKeyParams creates a new CreateAPIKeyParams 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 NewCreateAPIKeyParamsWithContext

func NewCreateAPIKeyParamsWithContext(ctx context.Context) *CreateAPIKeyParams

NewCreateAPIKeyParamsWithContext creates a new CreateAPIKeyParams object with the ability to set a context for a request.

func NewCreateAPIKeyParamsWithHTTPClient

func NewCreateAPIKeyParamsWithHTTPClient(client *http.Client) *CreateAPIKeyParams

NewCreateAPIKeyParamsWithHTTPClient creates a new CreateAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAPIKeyParamsWithTimeout

func NewCreateAPIKeyParamsWithTimeout(timeout time.Duration) *CreateAPIKeyParams

NewCreateAPIKeyParamsWithTimeout creates a new CreateAPIKeyParams object with the ability to set a timeout on a request.

func (*CreateAPIKeyParams) SetAPIKey

func (o *CreateAPIKeyParams) SetAPIKey(aPIKey *models.CreateAPIKeyRequest)

SetAPIKey adds the apiKey to the create Api key params

func (*CreateAPIKeyParams) SetContext

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

SetContext adds the context to the create Api key params

func (*CreateAPIKeyParams) SetCustomAppID

func (o *CreateAPIKeyParams) SetCustomAppID(customAppID string)

SetCustomAppID adds the customAppId to the create Api key params

func (*CreateAPIKeyParams) SetDefaults

func (o *CreateAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the create Api key params (not the query body).

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

func (*CreateAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create Api key params

func (*CreateAPIKeyParams) SetIfMatch

func (o *CreateAPIKeyParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create Api key params

func (*CreateAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the create Api key params

func (*CreateAPIKeyParams) SetWid

func (o *CreateAPIKeyParams) SetWid(wid string)

SetWid adds the wid to the create Api key params

func (*CreateAPIKeyParams) SetXCorrelationID

func (o *CreateAPIKeyParams) SetXCorrelationID(xCorrelationID *string)

SetXCorrelationID adds the xCorrelationId to the create Api key params

func (*CreateAPIKeyParams) SetXIdempotencyKey

func (o *CreateAPIKeyParams) SetXIdempotencyKey(xIdempotencyKey *string)

SetXIdempotencyKey adds the xIdempotencyKey to the create Api key params

func (*CreateAPIKeyParams) WithAPIKey

WithAPIKey adds the aPIKey to the create Api key params

func (*CreateAPIKeyParams) WithContext

WithContext adds the context to the create Api key params

func (*CreateAPIKeyParams) WithCustomAppID

func (o *CreateAPIKeyParams) WithCustomAppID(customAppID string) *CreateAPIKeyParams

WithCustomAppID adds the customAppID to the create Api key params

func (*CreateAPIKeyParams) WithDefaults

func (o *CreateAPIKeyParams) WithDefaults() *CreateAPIKeyParams

WithDefaults hydrates default values in the create Api key params (not the query body).

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

func (*CreateAPIKeyParams) WithHTTPClient

func (o *CreateAPIKeyParams) WithHTTPClient(client *http.Client) *CreateAPIKeyParams

WithHTTPClient adds the HTTPClient to the create Api key params

func (*CreateAPIKeyParams) WithIfMatch

func (o *CreateAPIKeyParams) WithIfMatch(ifMatch *string) *CreateAPIKeyParams

WithIfMatch adds the ifMatch to the create Api key params

func (*CreateAPIKeyParams) WithTimeout

func (o *CreateAPIKeyParams) WithTimeout(timeout time.Duration) *CreateAPIKeyParams

WithTimeout adds the timeout to the create Api key params

func (*CreateAPIKeyParams) WithWid

func (o *CreateAPIKeyParams) WithWid(wid string) *CreateAPIKeyParams

WithWid adds the wid to the create Api key params

func (*CreateAPIKeyParams) WithXCorrelationID

func (o *CreateAPIKeyParams) WithXCorrelationID(xCorrelationID *string) *CreateAPIKeyParams

WithXCorrelationID adds the xCorrelationID to the create Api key params

func (*CreateAPIKeyParams) WithXIdempotencyKey

func (o *CreateAPIKeyParams) WithXIdempotencyKey(xIdempotencyKey *string) *CreateAPIKeyParams

WithXIdempotencyKey adds the xIdempotencyKey to the create Api key params

func (*CreateAPIKeyParams) WriteToRequest

func (o *CreateAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAPIKeyReader

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

CreateAPIKeyReader is a Reader for the CreateAPIKey structure.

func (*CreateAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAPIKeyTooManyRequests

type CreateAPIKeyTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreateAPIKeyTooManyRequests

func NewCreateAPIKeyTooManyRequests() *CreateAPIKeyTooManyRequests

NewCreateAPIKeyTooManyRequests creates a CreateAPIKeyTooManyRequests with default headers values

func (*CreateAPIKeyTooManyRequests) Code

func (o *CreateAPIKeyTooManyRequests) Code() int

Code gets the status code for the create Api key too many requests response

func (*CreateAPIKeyTooManyRequests) Error

func (*CreateAPIKeyTooManyRequests) GetPayload

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

func (*CreateAPIKeyTooManyRequests) IsClientError

func (o *CreateAPIKeyTooManyRequests) IsClientError() bool

IsClientError returns true when this create Api key too many requests response has a 4xx status code

func (*CreateAPIKeyTooManyRequests) IsCode

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

IsCode returns true when this create Api key too many requests response a status code equal to that given

func (*CreateAPIKeyTooManyRequests) IsRedirect

func (o *CreateAPIKeyTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create Api key too many requests response has a 3xx status code

func (*CreateAPIKeyTooManyRequests) IsServerError

func (o *CreateAPIKeyTooManyRequests) IsServerError() bool

IsServerError returns true when this create Api key too many requests response has a 5xx status code

func (*CreateAPIKeyTooManyRequests) IsSuccess

func (o *CreateAPIKeyTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create Api key too many requests response has a 2xx status code

func (*CreateAPIKeyTooManyRequests) String

func (o *CreateAPIKeyTooManyRequests) String() string

type CreateAPIKeyUnauthorized

type CreateAPIKeyUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateAPIKeyUnauthorized

func NewCreateAPIKeyUnauthorized() *CreateAPIKeyUnauthorized

NewCreateAPIKeyUnauthorized creates a CreateAPIKeyUnauthorized with default headers values

func (*CreateAPIKeyUnauthorized) Code

func (o *CreateAPIKeyUnauthorized) Code() int

Code gets the status code for the create Api key unauthorized response

func (*CreateAPIKeyUnauthorized) Error

func (o *CreateAPIKeyUnauthorized) Error() string

func (*CreateAPIKeyUnauthorized) GetPayload

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

func (*CreateAPIKeyUnauthorized) IsClientError

func (o *CreateAPIKeyUnauthorized) IsClientError() bool

IsClientError returns true when this create Api key unauthorized response has a 4xx status code

func (*CreateAPIKeyUnauthorized) IsCode

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

IsCode returns true when this create Api key unauthorized response a status code equal to that given

func (*CreateAPIKeyUnauthorized) IsRedirect

func (o *CreateAPIKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this create Api key unauthorized response has a 3xx status code

func (*CreateAPIKeyUnauthorized) IsServerError

func (o *CreateAPIKeyUnauthorized) IsServerError() bool

IsServerError returns true when this create Api key unauthorized response has a 5xx status code

func (*CreateAPIKeyUnauthorized) IsSuccess

func (o *CreateAPIKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this create Api key unauthorized response has a 2xx status code

func (*CreateAPIKeyUnauthorized) String

func (o *CreateAPIKeyUnauthorized) String() string

type DeleteAPIKeyForbidden

type DeleteAPIKeyForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteAPIKeyForbidden

func NewDeleteAPIKeyForbidden() *DeleteAPIKeyForbidden

NewDeleteAPIKeyForbidden creates a DeleteAPIKeyForbidden with default headers values

func (*DeleteAPIKeyForbidden) Code

func (o *DeleteAPIKeyForbidden) Code() int

Code gets the status code for the delete Api key forbidden response

func (*DeleteAPIKeyForbidden) Error

func (o *DeleteAPIKeyForbidden) Error() string

func (*DeleteAPIKeyForbidden) GetPayload

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

func (*DeleteAPIKeyForbidden) IsClientError

func (o *DeleteAPIKeyForbidden) IsClientError() bool

IsClientError returns true when this delete Api key forbidden response has a 4xx status code

func (*DeleteAPIKeyForbidden) IsCode

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

IsCode returns true when this delete Api key forbidden response a status code equal to that given

func (*DeleteAPIKeyForbidden) IsRedirect

func (o *DeleteAPIKeyForbidden) IsRedirect() bool

IsRedirect returns true when this delete Api key forbidden response has a 3xx status code

func (*DeleteAPIKeyForbidden) IsServerError

func (o *DeleteAPIKeyForbidden) IsServerError() bool

IsServerError returns true when this delete Api key forbidden response has a 5xx status code

func (*DeleteAPIKeyForbidden) IsSuccess

func (o *DeleteAPIKeyForbidden) IsSuccess() bool

IsSuccess returns true when this delete Api key forbidden response has a 2xx status code

func (*DeleteAPIKeyForbidden) String

func (o *DeleteAPIKeyForbidden) String() string

type DeleteAPIKeyNoContent

type DeleteAPIKeyNoContent struct {
}

DeleteAPIKeyNoContent describes a response with status code 204, with default header values.

API key has been deleted

func NewDeleteAPIKeyNoContent

func NewDeleteAPIKeyNoContent() *DeleteAPIKeyNoContent

NewDeleteAPIKeyNoContent creates a DeleteAPIKeyNoContent with default headers values

func (*DeleteAPIKeyNoContent) Code

func (o *DeleteAPIKeyNoContent) Code() int

Code gets the status code for the delete Api key no content response

func (*DeleteAPIKeyNoContent) Error

func (o *DeleteAPIKeyNoContent) Error() string

func (*DeleteAPIKeyNoContent) IsClientError

func (o *DeleteAPIKeyNoContent) IsClientError() bool

IsClientError returns true when this delete Api key no content response has a 4xx status code

func (*DeleteAPIKeyNoContent) IsCode

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

IsCode returns true when this delete Api key no content response a status code equal to that given

func (*DeleteAPIKeyNoContent) IsRedirect

func (o *DeleteAPIKeyNoContent) IsRedirect() bool

IsRedirect returns true when this delete Api key no content response has a 3xx status code

func (*DeleteAPIKeyNoContent) IsServerError

func (o *DeleteAPIKeyNoContent) IsServerError() bool

IsServerError returns true when this delete Api key no content response has a 5xx status code

func (*DeleteAPIKeyNoContent) IsSuccess

func (o *DeleteAPIKeyNoContent) IsSuccess() bool

IsSuccess returns true when this delete Api key no content response has a 2xx status code

func (*DeleteAPIKeyNoContent) String

func (o *DeleteAPIKeyNoContent) String() string

type DeleteAPIKeyNotFound

type DeleteAPIKeyNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteAPIKeyNotFound

func NewDeleteAPIKeyNotFound() *DeleteAPIKeyNotFound

NewDeleteAPIKeyNotFound creates a DeleteAPIKeyNotFound with default headers values

func (*DeleteAPIKeyNotFound) Code

func (o *DeleteAPIKeyNotFound) Code() int

Code gets the status code for the delete Api key not found response

func (*DeleteAPIKeyNotFound) Error

func (o *DeleteAPIKeyNotFound) Error() string

func (*DeleteAPIKeyNotFound) GetPayload

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

func (*DeleteAPIKeyNotFound) IsClientError

func (o *DeleteAPIKeyNotFound) IsClientError() bool

IsClientError returns true when this delete Api key not found response has a 4xx status code

func (*DeleteAPIKeyNotFound) IsCode

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

IsCode returns true when this delete Api key not found response a status code equal to that given

func (*DeleteAPIKeyNotFound) IsRedirect

func (o *DeleteAPIKeyNotFound) IsRedirect() bool

IsRedirect returns true when this delete Api key not found response has a 3xx status code

func (*DeleteAPIKeyNotFound) IsServerError

func (o *DeleteAPIKeyNotFound) IsServerError() bool

IsServerError returns true when this delete Api key not found response has a 5xx status code

func (*DeleteAPIKeyNotFound) IsSuccess

func (o *DeleteAPIKeyNotFound) IsSuccess() bool

IsSuccess returns true when this delete Api key not found response has a 2xx status code

func (*DeleteAPIKeyNotFound) String

func (o *DeleteAPIKeyNotFound) String() string

type DeleteAPIKeyParams

type DeleteAPIKeyParams struct {

	/* APIKeyID.

	   API Key ID
	*/
	APIKeyID string

	/* CustomAppID.

	   CustomApp ID
	*/
	CustomAppID string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Authorization server id
	*/
	Wid string

	/* XCorrelationID.

	   Unique identifier included in audit events for request tracking
	*/
	XCorrelationID *string

	/* XIdempotencyKey.

	   Key used to safely retry failed requests without duplicate processing
	*/
	XIdempotencyKey *string

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

DeleteAPIKeyParams contains all the parameters to send to the API endpoint

for the delete Api key operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyParams

func NewDeleteAPIKeyParams() *DeleteAPIKeyParams

NewDeleteAPIKeyParams creates a new DeleteAPIKeyParams 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 NewDeleteAPIKeyParamsWithContext

func NewDeleteAPIKeyParamsWithContext(ctx context.Context) *DeleteAPIKeyParams

NewDeleteAPIKeyParamsWithContext creates a new DeleteAPIKeyParams object with the ability to set a context for a request.

func NewDeleteAPIKeyParamsWithHTTPClient

func NewDeleteAPIKeyParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyParams

NewDeleteAPIKeyParamsWithHTTPClient creates a new DeleteAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeyParamsWithTimeout

func NewDeleteAPIKeyParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyParams

NewDeleteAPIKeyParamsWithTimeout creates a new DeleteAPIKeyParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeyParams) SetAPIKeyID

func (o *DeleteAPIKeyParams) SetAPIKeyID(aPIKeyID string)

SetAPIKeyID adds the apiKeyId to the delete Api key params

func (*DeleteAPIKeyParams) SetContext

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

SetContext adds the context to the delete Api key params

func (*DeleteAPIKeyParams) SetCustomAppID

func (o *DeleteAPIKeyParams) SetCustomAppID(customAppID string)

SetCustomAppID adds the customAppId to the delete Api key params

func (*DeleteAPIKeyParams) SetDefaults

func (o *DeleteAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the delete Api key params (not the query body).

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

func (*DeleteAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete Api key params

func (*DeleteAPIKeyParams) SetIfMatch

func (o *DeleteAPIKeyParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete Api key params

func (*DeleteAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the delete Api key params

func (*DeleteAPIKeyParams) SetWid

func (o *DeleteAPIKeyParams) SetWid(wid string)

SetWid adds the wid to the delete Api key params

func (*DeleteAPIKeyParams) SetXCorrelationID

func (o *DeleteAPIKeyParams) SetXCorrelationID(xCorrelationID *string)

SetXCorrelationID adds the xCorrelationId to the delete Api key params

func (*DeleteAPIKeyParams) SetXIdempotencyKey

func (o *DeleteAPIKeyParams) SetXIdempotencyKey(xIdempotencyKey *string)

SetXIdempotencyKey adds the xIdempotencyKey to the delete Api key params

func (*DeleteAPIKeyParams) WithAPIKeyID

func (o *DeleteAPIKeyParams) WithAPIKeyID(aPIKeyID string) *DeleteAPIKeyParams

WithAPIKeyID adds the aPIKeyID to the delete Api key params

func (*DeleteAPIKeyParams) WithContext

WithContext adds the context to the delete Api key params

func (*DeleteAPIKeyParams) WithCustomAppID

func (o *DeleteAPIKeyParams) WithCustomAppID(customAppID string) *DeleteAPIKeyParams

WithCustomAppID adds the customAppID to the delete Api key params

func (*DeleteAPIKeyParams) WithDefaults

func (o *DeleteAPIKeyParams) WithDefaults() *DeleteAPIKeyParams

WithDefaults hydrates default values in the delete Api key params (not the query body).

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

func (*DeleteAPIKeyParams) WithHTTPClient

func (o *DeleteAPIKeyParams) WithHTTPClient(client *http.Client) *DeleteAPIKeyParams

WithHTTPClient adds the HTTPClient to the delete Api key params

func (*DeleteAPIKeyParams) WithIfMatch

func (o *DeleteAPIKeyParams) WithIfMatch(ifMatch *string) *DeleteAPIKeyParams

WithIfMatch adds the ifMatch to the delete Api key params

func (*DeleteAPIKeyParams) WithTimeout

func (o *DeleteAPIKeyParams) WithTimeout(timeout time.Duration) *DeleteAPIKeyParams

WithTimeout adds the timeout to the delete Api key params

func (*DeleteAPIKeyParams) WithWid

func (o *DeleteAPIKeyParams) WithWid(wid string) *DeleteAPIKeyParams

WithWid adds the wid to the delete Api key params

func (*DeleteAPIKeyParams) WithXCorrelationID

func (o *DeleteAPIKeyParams) WithXCorrelationID(xCorrelationID *string) *DeleteAPIKeyParams

WithXCorrelationID adds the xCorrelationID to the delete Api key params

func (*DeleteAPIKeyParams) WithXIdempotencyKey

func (o *DeleteAPIKeyParams) WithXIdempotencyKey(xIdempotencyKey *string) *DeleteAPIKeyParams

WithXIdempotencyKey adds the xIdempotencyKey to the delete Api key params

func (*DeleteAPIKeyParams) WriteToRequest

func (o *DeleteAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyReader

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

DeleteAPIKeyReader is a Reader for the DeleteAPIKey structure.

func (*DeleteAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPIKeyTooManyRequests

type DeleteAPIKeyTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteAPIKeyTooManyRequests

func NewDeleteAPIKeyTooManyRequests() *DeleteAPIKeyTooManyRequests

NewDeleteAPIKeyTooManyRequests creates a DeleteAPIKeyTooManyRequests with default headers values

func (*DeleteAPIKeyTooManyRequests) Code

func (o *DeleteAPIKeyTooManyRequests) Code() int

Code gets the status code for the delete Api key too many requests response

func (*DeleteAPIKeyTooManyRequests) Error

func (*DeleteAPIKeyTooManyRequests) GetPayload

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

func (*DeleteAPIKeyTooManyRequests) IsClientError

func (o *DeleteAPIKeyTooManyRequests) IsClientError() bool

IsClientError returns true when this delete Api key too many requests response has a 4xx status code

func (*DeleteAPIKeyTooManyRequests) IsCode

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

IsCode returns true when this delete Api key too many requests response a status code equal to that given

func (*DeleteAPIKeyTooManyRequests) IsRedirect

func (o *DeleteAPIKeyTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete Api key too many requests response has a 3xx status code

func (*DeleteAPIKeyTooManyRequests) IsServerError

func (o *DeleteAPIKeyTooManyRequests) IsServerError() bool

IsServerError returns true when this delete Api key too many requests response has a 5xx status code

func (*DeleteAPIKeyTooManyRequests) IsSuccess

func (o *DeleteAPIKeyTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete Api key too many requests response has a 2xx status code

func (*DeleteAPIKeyTooManyRequests) String

func (o *DeleteAPIKeyTooManyRequests) String() string

type DeleteAPIKeyUnauthorized

type DeleteAPIKeyUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteAPIKeyUnauthorized

func NewDeleteAPIKeyUnauthorized() *DeleteAPIKeyUnauthorized

NewDeleteAPIKeyUnauthorized creates a DeleteAPIKeyUnauthorized with default headers values

func (*DeleteAPIKeyUnauthorized) Code

func (o *DeleteAPIKeyUnauthorized) Code() int

Code gets the status code for the delete Api key unauthorized response

func (*DeleteAPIKeyUnauthorized) Error

func (o *DeleteAPIKeyUnauthorized) Error() string

func (*DeleteAPIKeyUnauthorized) GetPayload

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

func (*DeleteAPIKeyUnauthorized) IsClientError

func (o *DeleteAPIKeyUnauthorized) IsClientError() bool

IsClientError returns true when this delete Api key unauthorized response has a 4xx status code

func (*DeleteAPIKeyUnauthorized) IsCode

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

IsCode returns true when this delete Api key unauthorized response a status code equal to that given

func (*DeleteAPIKeyUnauthorized) IsRedirect

func (o *DeleteAPIKeyUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete Api key unauthorized response has a 3xx status code

func (*DeleteAPIKeyUnauthorized) IsServerError

func (o *DeleteAPIKeyUnauthorized) IsServerError() bool

IsServerError returns true when this delete Api key unauthorized response has a 5xx status code

func (*DeleteAPIKeyUnauthorized) IsSuccess

func (o *DeleteAPIKeyUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete Api key unauthorized response has a 2xx status code

func (*DeleteAPIKeyUnauthorized) String

func (o *DeleteAPIKeyUnauthorized) String() string

type ListAPIKeysForbidden

type ListAPIKeysForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListAPIKeysForbidden

func NewListAPIKeysForbidden() *ListAPIKeysForbidden

NewListAPIKeysForbidden creates a ListAPIKeysForbidden with default headers values

func (*ListAPIKeysForbidden) Code

func (o *ListAPIKeysForbidden) Code() int

Code gets the status code for the list Api keys forbidden response

func (*ListAPIKeysForbidden) Error

func (o *ListAPIKeysForbidden) Error() string

func (*ListAPIKeysForbidden) GetPayload

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

func (*ListAPIKeysForbidden) IsClientError

func (o *ListAPIKeysForbidden) IsClientError() bool

IsClientError returns true when this list Api keys forbidden response has a 4xx status code

func (*ListAPIKeysForbidden) IsCode

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

IsCode returns true when this list Api keys forbidden response a status code equal to that given

func (*ListAPIKeysForbidden) IsRedirect

func (o *ListAPIKeysForbidden) IsRedirect() bool

IsRedirect returns true when this list Api keys forbidden response has a 3xx status code

func (*ListAPIKeysForbidden) IsServerError

func (o *ListAPIKeysForbidden) IsServerError() bool

IsServerError returns true when this list Api keys forbidden response has a 5xx status code

func (*ListAPIKeysForbidden) IsSuccess

func (o *ListAPIKeysForbidden) IsSuccess() bool

IsSuccess returns true when this list Api keys forbidden response has a 2xx status code

func (*ListAPIKeysForbidden) String

func (o *ListAPIKeysForbidden) String() string

type ListAPIKeysNotFound

type ListAPIKeysNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListAPIKeysNotFound

func NewListAPIKeysNotFound() *ListAPIKeysNotFound

NewListAPIKeysNotFound creates a ListAPIKeysNotFound with default headers values

func (*ListAPIKeysNotFound) Code

func (o *ListAPIKeysNotFound) Code() int

Code gets the status code for the list Api keys not found response

func (*ListAPIKeysNotFound) Error

func (o *ListAPIKeysNotFound) Error() string

func (*ListAPIKeysNotFound) GetPayload

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

func (*ListAPIKeysNotFound) IsClientError

func (o *ListAPIKeysNotFound) IsClientError() bool

IsClientError returns true when this list Api keys not found response has a 4xx status code

func (*ListAPIKeysNotFound) IsCode

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

IsCode returns true when this list Api keys not found response a status code equal to that given

func (*ListAPIKeysNotFound) IsRedirect

func (o *ListAPIKeysNotFound) IsRedirect() bool

IsRedirect returns true when this list Api keys not found response has a 3xx status code

func (*ListAPIKeysNotFound) IsServerError

func (o *ListAPIKeysNotFound) IsServerError() bool

IsServerError returns true when this list Api keys not found response has a 5xx status code

func (*ListAPIKeysNotFound) IsSuccess

func (o *ListAPIKeysNotFound) IsSuccess() bool

IsSuccess returns true when this list Api keys not found response has a 2xx status code

func (*ListAPIKeysNotFound) String

func (o *ListAPIKeysNotFound) String() string

type ListAPIKeysOK

type ListAPIKeysOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	/* Indicates that a 5xx error was caused by tenant-provided code

	in:header
	*/
	XExternalError string

	/* OpenTelemetry trace identifier

	in:header
	*/
	XTraceID string

	Payload *models.ListAPIKeysResponse
}

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

List API keys response

func NewListAPIKeysOK

func NewListAPIKeysOK() *ListAPIKeysOK

NewListAPIKeysOK creates a ListAPIKeysOK with default headers values

func (*ListAPIKeysOK) Code

func (o *ListAPIKeysOK) Code() int

Code gets the status code for the list Api keys o k response

func (*ListAPIKeysOK) Error

func (o *ListAPIKeysOK) Error() string

func (*ListAPIKeysOK) GetPayload

func (o *ListAPIKeysOK) GetPayload() *models.ListAPIKeysResponse

func (*ListAPIKeysOK) IsClientError

func (o *ListAPIKeysOK) IsClientError() bool

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

func (*ListAPIKeysOK) IsCode

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

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

func (*ListAPIKeysOK) IsRedirect

func (o *ListAPIKeysOK) IsRedirect() bool

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

func (*ListAPIKeysOK) IsServerError

func (o *ListAPIKeysOK) IsServerError() bool

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

func (*ListAPIKeysOK) IsSuccess

func (o *ListAPIKeysOK) IsSuccess() bool

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

func (*ListAPIKeysOK) String

func (o *ListAPIKeysOK) String() string

type ListAPIKeysParams

type ListAPIKeysParams struct {

	/* CustomAppID.

	   CustomApp ID
	*/
	CustomAppID string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Authorization server id
	*/
	Wid string

	/* XCorrelationID.

	   Unique identifier included in audit events for request tracking
	*/
	XCorrelationID *string

	/* XIdempotencyKey.

	   Key used to safely retry failed requests without duplicate processing
	*/
	XIdempotencyKey *string

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

ListAPIKeysParams contains all the parameters to send to the API endpoint

for the list Api keys operation.

Typically these are written to a http.Request.

func NewListAPIKeysParams

func NewListAPIKeysParams() *ListAPIKeysParams

NewListAPIKeysParams creates a new ListAPIKeysParams 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 NewListAPIKeysParamsWithContext

func NewListAPIKeysParamsWithContext(ctx context.Context) *ListAPIKeysParams

NewListAPIKeysParamsWithContext creates a new ListAPIKeysParams object with the ability to set a context for a request.

func NewListAPIKeysParamsWithHTTPClient

func NewListAPIKeysParamsWithHTTPClient(client *http.Client) *ListAPIKeysParams

NewListAPIKeysParamsWithHTTPClient creates a new ListAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewListAPIKeysParamsWithTimeout

func NewListAPIKeysParamsWithTimeout(timeout time.Duration) *ListAPIKeysParams

NewListAPIKeysParamsWithTimeout creates a new ListAPIKeysParams object with the ability to set a timeout on a request.

func (*ListAPIKeysParams) SetContext

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

SetContext adds the context to the list Api keys params

func (*ListAPIKeysParams) SetCustomAppID

func (o *ListAPIKeysParams) SetCustomAppID(customAppID string)

SetCustomAppID adds the customAppId to the list Api keys params

func (*ListAPIKeysParams) SetDefaults

func (o *ListAPIKeysParams) SetDefaults()

SetDefaults hydrates default values in the list Api keys params (not the query body).

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

func (*ListAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list Api keys params

func (*ListAPIKeysParams) SetIfMatch

func (o *ListAPIKeysParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list Api keys params

func (*ListAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the list Api keys params

func (*ListAPIKeysParams) SetWid

func (o *ListAPIKeysParams) SetWid(wid string)

SetWid adds the wid to the list Api keys params

func (*ListAPIKeysParams) SetXCorrelationID

func (o *ListAPIKeysParams) SetXCorrelationID(xCorrelationID *string)

SetXCorrelationID adds the xCorrelationId to the list Api keys params

func (*ListAPIKeysParams) SetXIdempotencyKey

func (o *ListAPIKeysParams) SetXIdempotencyKey(xIdempotencyKey *string)

SetXIdempotencyKey adds the xIdempotencyKey to the list Api keys params

func (*ListAPIKeysParams) WithContext

func (o *ListAPIKeysParams) WithContext(ctx context.Context) *ListAPIKeysParams

WithContext adds the context to the list Api keys params

func (*ListAPIKeysParams) WithCustomAppID

func (o *ListAPIKeysParams) WithCustomAppID(customAppID string) *ListAPIKeysParams

WithCustomAppID adds the customAppID to the list Api keys params

func (*ListAPIKeysParams) WithDefaults

func (o *ListAPIKeysParams) WithDefaults() *ListAPIKeysParams

WithDefaults hydrates default values in the list Api keys params (not the query body).

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

func (*ListAPIKeysParams) WithHTTPClient

func (o *ListAPIKeysParams) WithHTTPClient(client *http.Client) *ListAPIKeysParams

WithHTTPClient adds the HTTPClient to the list Api keys params

func (*ListAPIKeysParams) WithIfMatch

func (o *ListAPIKeysParams) WithIfMatch(ifMatch *string) *ListAPIKeysParams

WithIfMatch adds the ifMatch to the list Api keys params

func (*ListAPIKeysParams) WithTimeout

func (o *ListAPIKeysParams) WithTimeout(timeout time.Duration) *ListAPIKeysParams

WithTimeout adds the timeout to the list Api keys params

func (*ListAPIKeysParams) WithWid

func (o *ListAPIKeysParams) WithWid(wid string) *ListAPIKeysParams

WithWid adds the wid to the list Api keys params

func (*ListAPIKeysParams) WithXCorrelationID

func (o *ListAPIKeysParams) WithXCorrelationID(xCorrelationID *string) *ListAPIKeysParams

WithXCorrelationID adds the xCorrelationID to the list Api keys params

func (*ListAPIKeysParams) WithXIdempotencyKey

func (o *ListAPIKeysParams) WithXIdempotencyKey(xIdempotencyKey *string) *ListAPIKeysParams

WithXIdempotencyKey adds the xIdempotencyKey to the list Api keys params

func (*ListAPIKeysParams) WriteToRequest

func (o *ListAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAPIKeysReader

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

ListAPIKeysReader is a Reader for the ListAPIKeys structure.

func (*ListAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAPIKeysTooManyRequests

type ListAPIKeysTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListAPIKeysTooManyRequests

func NewListAPIKeysTooManyRequests() *ListAPIKeysTooManyRequests

NewListAPIKeysTooManyRequests creates a ListAPIKeysTooManyRequests with default headers values

func (*ListAPIKeysTooManyRequests) Code

func (o *ListAPIKeysTooManyRequests) Code() int

Code gets the status code for the list Api keys too many requests response

func (*ListAPIKeysTooManyRequests) Error

func (*ListAPIKeysTooManyRequests) GetPayload

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

func (*ListAPIKeysTooManyRequests) IsClientError

func (o *ListAPIKeysTooManyRequests) IsClientError() bool

IsClientError returns true when this list Api keys too many requests response has a 4xx status code

func (*ListAPIKeysTooManyRequests) IsCode

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

IsCode returns true when this list Api keys too many requests response a status code equal to that given

func (*ListAPIKeysTooManyRequests) IsRedirect

func (o *ListAPIKeysTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list Api keys too many requests response has a 3xx status code

func (*ListAPIKeysTooManyRequests) IsServerError

func (o *ListAPIKeysTooManyRequests) IsServerError() bool

IsServerError returns true when this list Api keys too many requests response has a 5xx status code

func (*ListAPIKeysTooManyRequests) IsSuccess

func (o *ListAPIKeysTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list Api keys too many requests response has a 2xx status code

func (*ListAPIKeysTooManyRequests) String

func (o *ListAPIKeysTooManyRequests) String() string

type ListAPIKeysUnauthorized

type ListAPIKeysUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListAPIKeysUnauthorized

func NewListAPIKeysUnauthorized() *ListAPIKeysUnauthorized

NewListAPIKeysUnauthorized creates a ListAPIKeysUnauthorized with default headers values

func (*ListAPIKeysUnauthorized) Code

func (o *ListAPIKeysUnauthorized) Code() int

Code gets the status code for the list Api keys unauthorized response

func (*ListAPIKeysUnauthorized) Error

func (o *ListAPIKeysUnauthorized) Error() string

func (*ListAPIKeysUnauthorized) GetPayload

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

func (*ListAPIKeysUnauthorized) IsClientError

func (o *ListAPIKeysUnauthorized) IsClientError() bool

IsClientError returns true when this list Api keys unauthorized response has a 4xx status code

func (*ListAPIKeysUnauthorized) IsCode

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

IsCode returns true when this list Api keys unauthorized response a status code equal to that given

func (*ListAPIKeysUnauthorized) IsRedirect

func (o *ListAPIKeysUnauthorized) IsRedirect() bool

IsRedirect returns true when this list Api keys unauthorized response has a 3xx status code

func (*ListAPIKeysUnauthorized) IsServerError

func (o *ListAPIKeysUnauthorized) IsServerError() bool

IsServerError returns true when this list Api keys unauthorized response has a 5xx status code

func (*ListAPIKeysUnauthorized) IsSuccess

func (o *ListAPIKeysUnauthorized) IsSuccess() bool

IsSuccess returns true when this list Api keys unauthorized response has a 2xx status code

func (*ListAPIKeysUnauthorized) String

func (o *ListAPIKeysUnauthorized) String() string

Jump to

Keyboard shortcuts

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