clients

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: 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 clients API

func (*Client) CreateClient

func (a *Client) CreateClient(params *CreateClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClientCreated, error)
CreateClient creates o auth s a m l client

Create an OAuth 2.0 or SAML client application. Specify the required protocol type with the

`client_type` request body parameter.

Client must be created under existing tenant and authorization server. Provide the tenant identifier as the `{tenantID}` path value, and the authorization server with the `authorization_server_id` request body parameter.

The default values: `client_type`=`oauth2`, `grant_type`=`authorization_code`, `response_type`=`code`, `token_endpoint_auth_method`=`client_secret_basic`.

func (*Client) DeleteClient

func (a *Client) DeleteClient(params *DeleteClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClientNoContent, error)

DeleteClient deletes client

Delete client.

func (*Client) GetClient

func (a *Client) GetClient(params *GetClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClientOK, error)

GetClient gets client

If client has been created by a developer, client's secret will be empty.

func (*Client) GetClientSAMLMetadata

func (a *Client) GetClientSAMLMetadata(params *GetClientSAMLMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClientSAMLMetadataOK, error)

GetClientSAMLMetadata gets saml metadata

func (*Client) ImportSAMLMetadataFromFile

ImportSAMLMetadataFromFile imports saml metadata from file

func (*Client) ImportSAMLMetadataFromText

ImportSAMLMetadataFromText imports saml metadata from text

func (*Client) ImportSAMLMetadataFromURL

ImportSAMLMetadataFromURL imports saml metadata from url

func (*Client) ListClients

func (a *Client) ListClients(params *ListClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClientsOK, error)

ListClients lists clients

Returns clients created by admins and developers. If client has been created by a developer, client secret will be empty.

func (*Client) ParseCertificate

func (a *Client) ParseCertificate(params *ParseCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ParseCertificateOK, error)
ParseCertificate parses certificate in p e m format

Parse certificate in PEM format.

Returns certificate in JWKS format and additional details about subject DN and SAN entries.

func (*Client) RevokeRotatedClientSecrets

RevokeRotatedClientSecrets revokes rotated secrets

Revoke all rotated client's secrets.

func (*Client) RotateClientSecret

func (a *Client) RotateClientSecret(params *RotateClientSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateClientSecretOK, error)
RotateClientSecret rotates client s secret

Generate a new client secret, move old secret to rotated secrets list and return

new client secret as a response. The max number of client rotated secrets is 2. The rotated secrets over the limit are dropped.

It is possible to set expiration time for rotated secrets. When the `AutoRevokeAfter` parameter is set to a value greater than zero, rotated secrets that reach their expiry time are revoked. The `AutoRevokeAfter` parameter accepts values in the go-openapi duration format, for example, `1s`, `5m`, `2h`.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateClient

func (a *Client) UpdateClient(params *UpdateClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClientOK, error)
UpdateClient updates client

Update client.

For clients created by developers only metadata, system and trusted attributes can be updated.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateClient(params *CreateClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClientCreated, error)

	DeleteClient(params *DeleteClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClientNoContent, error)

	GetClient(params *GetClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClientOK, error)

	GetClientSAMLMetadata(params *GetClientSAMLMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClientSAMLMetadataOK, error)

	ImportSAMLMetadataFromFile(params *ImportSAMLMetadataFromFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSAMLMetadataFromFileNoContent, error)

	ImportSAMLMetadataFromText(params *ImportSAMLMetadataFromTextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSAMLMetadataFromTextNoContent, error)

	ImportSAMLMetadataFromURL(params *ImportSAMLMetadataFromURLParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ImportSAMLMetadataFromURLNoContent, error)

	ListClients(params *ListClientsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClientsOK, error)

	ParseCertificate(params *ParseCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ParseCertificateOK, error)

	RevokeRotatedClientSecrets(params *RevokeRotatedClientSecretsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeRotatedClientSecretsNoContent, error)

	RotateClientSecret(params *RotateClientSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RotateClientSecretOK, error)

	UpdateClient(params *UpdateClientParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClientOK, 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 clients API client.

type CreateClientConflict

type CreateClientConflict struct {
	Payload *models.Error
}

CreateClientConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateClientConflict

func NewCreateClientConflict() *CreateClientConflict

NewCreateClientConflict creates a CreateClientConflict with default headers values

func (*CreateClientConflict) Code

func (o *CreateClientConflict) Code() int

Code gets the status code for the create client conflict response

func (*CreateClientConflict) Error

func (o *CreateClientConflict) Error() string

func (*CreateClientConflict) GetPayload

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

func (*CreateClientConflict) IsClientError

func (o *CreateClientConflict) IsClientError() bool

IsClientError returns true when this create client conflict response has a 4xx status code

func (*CreateClientConflict) IsCode

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

IsCode returns true when this create client conflict response a status code equal to that given

func (*CreateClientConflict) IsRedirect

func (o *CreateClientConflict) IsRedirect() bool

IsRedirect returns true when this create client conflict response has a 3xx status code

func (*CreateClientConflict) IsServerError

func (o *CreateClientConflict) IsServerError() bool

IsServerError returns true when this create client conflict response has a 5xx status code

func (*CreateClientConflict) IsSuccess

func (o *CreateClientConflict) IsSuccess() bool

IsSuccess returns true when this create client conflict response has a 2xx status code

func (*CreateClientConflict) String

func (o *CreateClientConflict) String() string

type CreateClientCreated

type CreateClientCreated struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ClientAdminResponse
}

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

Client

func NewCreateClientCreated

func NewCreateClientCreated() *CreateClientCreated

NewCreateClientCreated creates a CreateClientCreated with default headers values

func (*CreateClientCreated) Code

func (o *CreateClientCreated) Code() int

Code gets the status code for the create client created response

func (*CreateClientCreated) Error

func (o *CreateClientCreated) Error() string

func (*CreateClientCreated) GetPayload

func (*CreateClientCreated) IsClientError

func (o *CreateClientCreated) IsClientError() bool

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

func (*CreateClientCreated) IsCode

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

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

func (*CreateClientCreated) IsRedirect

func (o *CreateClientCreated) IsRedirect() bool

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

func (*CreateClientCreated) IsServerError

func (o *CreateClientCreated) IsServerError() bool

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

func (*CreateClientCreated) IsSuccess

func (o *CreateClientCreated) IsSuccess() bool

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

func (*CreateClientCreated) String

func (o *CreateClientCreated) String() string

type CreateClientForbidden

type CreateClientForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewCreateClientForbidden

func NewCreateClientForbidden() *CreateClientForbidden

NewCreateClientForbidden creates a CreateClientForbidden with default headers values

func (*CreateClientForbidden) Code

func (o *CreateClientForbidden) Code() int

Code gets the status code for the create client forbidden response

func (*CreateClientForbidden) Error

func (o *CreateClientForbidden) Error() string

func (*CreateClientForbidden) GetPayload

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

func (*CreateClientForbidden) IsClientError

func (o *CreateClientForbidden) IsClientError() bool

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

func (*CreateClientForbidden) IsCode

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

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

func (*CreateClientForbidden) IsRedirect

func (o *CreateClientForbidden) IsRedirect() bool

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

func (*CreateClientForbidden) IsServerError

func (o *CreateClientForbidden) IsServerError() bool

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

func (*CreateClientForbidden) IsSuccess

func (o *CreateClientForbidden) IsSuccess() bool

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

func (*CreateClientForbidden) String

func (o *CreateClientForbidden) String() string

type CreateClientNotFound

type CreateClientNotFound struct {
	Payload *models.Error
}

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

Not found

func NewCreateClientNotFound

func NewCreateClientNotFound() *CreateClientNotFound

NewCreateClientNotFound creates a CreateClientNotFound with default headers values

func (*CreateClientNotFound) Code

func (o *CreateClientNotFound) Code() int

Code gets the status code for the create client not found response

func (*CreateClientNotFound) Error

func (o *CreateClientNotFound) Error() string

func (*CreateClientNotFound) GetPayload

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

func (*CreateClientNotFound) IsClientError

func (o *CreateClientNotFound) IsClientError() bool

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

func (*CreateClientNotFound) IsCode

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

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

func (*CreateClientNotFound) IsRedirect

func (o *CreateClientNotFound) IsRedirect() bool

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

func (*CreateClientNotFound) IsServerError

func (o *CreateClientNotFound) IsServerError() bool

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

func (*CreateClientNotFound) IsSuccess

func (o *CreateClientNotFound) IsSuccess() bool

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

func (*CreateClientNotFound) String

func (o *CreateClientNotFound) String() string

type CreateClientParams

type CreateClientParams struct {

	// Client.
	Client *models.CreateClientAdminRequest

	// ApplicationPurpose.
	ApplicationPurpose *string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

CreateClientParams contains all the parameters to send to the API endpoint

for the create client operation.

Typically these are written to a http.Request.

func NewCreateClientParams

func NewCreateClientParams() *CreateClientParams

NewCreateClientParams creates a new CreateClientParams 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 NewCreateClientParamsWithContext

func NewCreateClientParamsWithContext(ctx context.Context) *CreateClientParams

NewCreateClientParamsWithContext creates a new CreateClientParams object with the ability to set a context for a request.

func NewCreateClientParamsWithHTTPClient

func NewCreateClientParamsWithHTTPClient(client *http.Client) *CreateClientParams

NewCreateClientParamsWithHTTPClient creates a new CreateClientParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClientParamsWithTimeout

func NewCreateClientParamsWithTimeout(timeout time.Duration) *CreateClientParams

NewCreateClientParamsWithTimeout creates a new CreateClientParams object with the ability to set a timeout on a request.

func (*CreateClientParams) SetApplicationPurpose

func (o *CreateClientParams) SetApplicationPurpose(applicationPurpose *string)

SetApplicationPurpose adds the applicationPurpose to the create client params

func (*CreateClientParams) SetClient

func (o *CreateClientParams) SetClient(client *models.CreateClientAdminRequest)

SetClient adds the client to the create client params

func (*CreateClientParams) SetContext

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

SetContext adds the context to the create client params

func (*CreateClientParams) SetDefaults

func (o *CreateClientParams) SetDefaults()

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

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

func (*CreateClientParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create client params

func (*CreateClientParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the create client params

func (*CreateClientParams) SetTimeout

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

SetTimeout adds the timeout to the create client params

func (*CreateClientParams) WithApplicationPurpose

func (o *CreateClientParams) WithApplicationPurpose(applicationPurpose *string) *CreateClientParams

WithApplicationPurpose adds the applicationPurpose to the create client params

func (*CreateClientParams) WithClient

WithClient adds the client to the create client params

func (*CreateClientParams) WithContext

WithContext adds the context to the create client params

func (*CreateClientParams) WithDefaults

func (o *CreateClientParams) WithDefaults() *CreateClientParams

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

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

func (*CreateClientParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create client params

func (*CreateClientParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the create client params

func (*CreateClientParams) WithTimeout

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

WithTimeout adds the timeout to the create client params

func (*CreateClientParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateClientReader

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

CreateClientReader is a Reader for the CreateClient structure.

func (*CreateClientReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateClientTooManyRequests

type CreateClientTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewCreateClientTooManyRequests

func NewCreateClientTooManyRequests() *CreateClientTooManyRequests

NewCreateClientTooManyRequests creates a CreateClientTooManyRequests with default headers values

func (*CreateClientTooManyRequests) Code

func (o *CreateClientTooManyRequests) Code() int

Code gets the status code for the create client too many requests response

func (*CreateClientTooManyRequests) Error

func (*CreateClientTooManyRequests) GetPayload

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

func (*CreateClientTooManyRequests) IsClientError

func (o *CreateClientTooManyRequests) IsClientError() bool

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

func (*CreateClientTooManyRequests) IsCode

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

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

func (*CreateClientTooManyRequests) IsRedirect

func (o *CreateClientTooManyRequests) IsRedirect() bool

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

func (*CreateClientTooManyRequests) IsServerError

func (o *CreateClientTooManyRequests) IsServerError() bool

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

func (*CreateClientTooManyRequests) IsSuccess

func (o *CreateClientTooManyRequests) IsSuccess() bool

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

func (*CreateClientTooManyRequests) String

func (o *CreateClientTooManyRequests) String() string

type CreateClientUnauthorized

type CreateClientUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewCreateClientUnauthorized

func NewCreateClientUnauthorized() *CreateClientUnauthorized

NewCreateClientUnauthorized creates a CreateClientUnauthorized with default headers values

func (*CreateClientUnauthorized) Code

func (o *CreateClientUnauthorized) Code() int

Code gets the status code for the create client unauthorized response

func (*CreateClientUnauthorized) Error

func (o *CreateClientUnauthorized) Error() string

func (*CreateClientUnauthorized) GetPayload

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

func (*CreateClientUnauthorized) IsClientError

func (o *CreateClientUnauthorized) IsClientError() bool

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

func (*CreateClientUnauthorized) IsCode

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

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

func (*CreateClientUnauthorized) IsRedirect

func (o *CreateClientUnauthorized) IsRedirect() bool

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

func (*CreateClientUnauthorized) IsServerError

func (o *CreateClientUnauthorized) IsServerError() bool

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

func (*CreateClientUnauthorized) IsSuccess

func (o *CreateClientUnauthorized) IsSuccess() bool

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

func (*CreateClientUnauthorized) String

func (o *CreateClientUnauthorized) String() string

type CreateClientUnprocessableEntity

type CreateClientUnprocessableEntity struct {
	Payload *models.Error
}

CreateClientUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateClientUnprocessableEntity

func NewCreateClientUnprocessableEntity() *CreateClientUnprocessableEntity

NewCreateClientUnprocessableEntity creates a CreateClientUnprocessableEntity with default headers values

func (*CreateClientUnprocessableEntity) Code

Code gets the status code for the create client unprocessable entity response

func (*CreateClientUnprocessableEntity) Error

func (*CreateClientUnprocessableEntity) GetPayload

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

func (*CreateClientUnprocessableEntity) IsClientError

func (o *CreateClientUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create client unprocessable entity response has a 4xx status code

func (*CreateClientUnprocessableEntity) IsCode

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

IsCode returns true when this create client unprocessable entity response a status code equal to that given

func (*CreateClientUnprocessableEntity) IsRedirect

func (o *CreateClientUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create client unprocessable entity response has a 3xx status code

func (*CreateClientUnprocessableEntity) IsServerError

func (o *CreateClientUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create client unprocessable entity response has a 5xx status code

func (*CreateClientUnprocessableEntity) IsSuccess

func (o *CreateClientUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create client unprocessable entity response has a 2xx status code

func (*CreateClientUnprocessableEntity) String

type DeleteClientBadRequest

type DeleteClientBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewDeleteClientBadRequest

func NewDeleteClientBadRequest() *DeleteClientBadRequest

NewDeleteClientBadRequest creates a DeleteClientBadRequest with default headers values

func (*DeleteClientBadRequest) Code

func (o *DeleteClientBadRequest) Code() int

Code gets the status code for the delete client bad request response

func (*DeleteClientBadRequest) Error

func (o *DeleteClientBadRequest) Error() string

func (*DeleteClientBadRequest) GetPayload

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

func (*DeleteClientBadRequest) IsClientError

func (o *DeleteClientBadRequest) IsClientError() bool

IsClientError returns true when this delete client bad request response has a 4xx status code

func (*DeleteClientBadRequest) IsCode

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

IsCode returns true when this delete client bad request response a status code equal to that given

func (*DeleteClientBadRequest) IsRedirect

func (o *DeleteClientBadRequest) IsRedirect() bool

IsRedirect returns true when this delete client bad request response has a 3xx status code

func (*DeleteClientBadRequest) IsServerError

func (o *DeleteClientBadRequest) IsServerError() bool

IsServerError returns true when this delete client bad request response has a 5xx status code

func (*DeleteClientBadRequest) IsSuccess

func (o *DeleteClientBadRequest) IsSuccess() bool

IsSuccess returns true when this delete client bad request response has a 2xx status code

func (*DeleteClientBadRequest) String

func (o *DeleteClientBadRequest) String() string

type DeleteClientForbidden

type DeleteClientForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewDeleteClientForbidden

func NewDeleteClientForbidden() *DeleteClientForbidden

NewDeleteClientForbidden creates a DeleteClientForbidden with default headers values

func (*DeleteClientForbidden) Code

func (o *DeleteClientForbidden) Code() int

Code gets the status code for the delete client forbidden response

func (*DeleteClientForbidden) Error

func (o *DeleteClientForbidden) Error() string

func (*DeleteClientForbidden) GetPayload

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

func (*DeleteClientForbidden) IsClientError

func (o *DeleteClientForbidden) IsClientError() bool

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

func (*DeleteClientForbidden) IsCode

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

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

func (*DeleteClientForbidden) IsRedirect

func (o *DeleteClientForbidden) IsRedirect() bool

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

func (*DeleteClientForbidden) IsServerError

func (o *DeleteClientForbidden) IsServerError() bool

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

func (*DeleteClientForbidden) IsSuccess

func (o *DeleteClientForbidden) IsSuccess() bool

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

func (*DeleteClientForbidden) String

func (o *DeleteClientForbidden) String() string

type DeleteClientNoContent

type DeleteClientNoContent struct {
}

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

Client has been deleted

func NewDeleteClientNoContent

func NewDeleteClientNoContent() *DeleteClientNoContent

NewDeleteClientNoContent creates a DeleteClientNoContent with default headers values

func (*DeleteClientNoContent) Code

func (o *DeleteClientNoContent) Code() int

Code gets the status code for the delete client no content response

func (*DeleteClientNoContent) Error

func (o *DeleteClientNoContent) Error() string

func (*DeleteClientNoContent) IsClientError

func (o *DeleteClientNoContent) IsClientError() bool

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

func (*DeleteClientNoContent) IsCode

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

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

func (*DeleteClientNoContent) IsRedirect

func (o *DeleteClientNoContent) IsRedirect() bool

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

func (*DeleteClientNoContent) IsServerError

func (o *DeleteClientNoContent) IsServerError() bool

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

func (*DeleteClientNoContent) IsSuccess

func (o *DeleteClientNoContent) IsSuccess() bool

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

func (*DeleteClientNoContent) String

func (o *DeleteClientNoContent) String() string

type DeleteClientNotFound

type DeleteClientNotFound struct {
	Payload *models.Error
}

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

Not found

func NewDeleteClientNotFound

func NewDeleteClientNotFound() *DeleteClientNotFound

NewDeleteClientNotFound creates a DeleteClientNotFound with default headers values

func (*DeleteClientNotFound) Code

func (o *DeleteClientNotFound) Code() int

Code gets the status code for the delete client not found response

func (*DeleteClientNotFound) Error

func (o *DeleteClientNotFound) Error() string

func (*DeleteClientNotFound) GetPayload

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

func (*DeleteClientNotFound) IsClientError

func (o *DeleteClientNotFound) IsClientError() bool

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

func (*DeleteClientNotFound) IsCode

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

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

func (*DeleteClientNotFound) IsRedirect

func (o *DeleteClientNotFound) IsRedirect() bool

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

func (*DeleteClientNotFound) IsServerError

func (o *DeleteClientNotFound) IsServerError() bool

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

func (*DeleteClientNotFound) IsSuccess

func (o *DeleteClientNotFound) IsSuccess() bool

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

func (*DeleteClientNotFound) String

func (o *DeleteClientNotFound) String() string

type DeleteClientParams

type DeleteClientParams struct {

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

DeleteClientParams contains all the parameters to send to the API endpoint

for the delete client operation.

Typically these are written to a http.Request.

func NewDeleteClientParams

func NewDeleteClientParams() *DeleteClientParams

NewDeleteClientParams creates a new DeleteClientParams 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 NewDeleteClientParamsWithContext

func NewDeleteClientParamsWithContext(ctx context.Context) *DeleteClientParams

NewDeleteClientParamsWithContext creates a new DeleteClientParams object with the ability to set a context for a request.

func NewDeleteClientParamsWithHTTPClient

func NewDeleteClientParamsWithHTTPClient(client *http.Client) *DeleteClientParams

NewDeleteClientParamsWithHTTPClient creates a new DeleteClientParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClientParamsWithTimeout

func NewDeleteClientParamsWithTimeout(timeout time.Duration) *DeleteClientParams

NewDeleteClientParamsWithTimeout creates a new DeleteClientParams object with the ability to set a timeout on a request.

func (*DeleteClientParams) SetCid

func (o *DeleteClientParams) SetCid(cid string)

SetCid adds the cid to the delete client params

func (*DeleteClientParams) SetContext

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

SetContext adds the context to the delete client params

func (*DeleteClientParams) SetDefaults

func (o *DeleteClientParams) SetDefaults()

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

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

func (*DeleteClientParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete client params

func (*DeleteClientParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the delete client params

func (*DeleteClientParams) SetTimeout

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

SetTimeout adds the timeout to the delete client params

func (*DeleteClientParams) WithCid

func (o *DeleteClientParams) WithCid(cid string) *DeleteClientParams

WithCid adds the cid to the delete client params

func (*DeleteClientParams) WithContext

WithContext adds the context to the delete client params

func (*DeleteClientParams) WithDefaults

func (o *DeleteClientParams) WithDefaults() *DeleteClientParams

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

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

func (*DeleteClientParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete client params

func (*DeleteClientParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the delete client params

func (*DeleteClientParams) WithTimeout

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

WithTimeout adds the timeout to the delete client params

func (*DeleteClientParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteClientReader

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

DeleteClientReader is a Reader for the DeleteClient structure.

func (*DeleteClientReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteClientTooManyRequests

type DeleteClientTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewDeleteClientTooManyRequests

func NewDeleteClientTooManyRequests() *DeleteClientTooManyRequests

NewDeleteClientTooManyRequests creates a DeleteClientTooManyRequests with default headers values

func (*DeleteClientTooManyRequests) Code

func (o *DeleteClientTooManyRequests) Code() int

Code gets the status code for the delete client too many requests response

func (*DeleteClientTooManyRequests) Error

func (*DeleteClientTooManyRequests) GetPayload

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

func (*DeleteClientTooManyRequests) IsClientError

func (o *DeleteClientTooManyRequests) IsClientError() bool

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

func (*DeleteClientTooManyRequests) IsCode

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

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

func (*DeleteClientTooManyRequests) IsRedirect

func (o *DeleteClientTooManyRequests) IsRedirect() bool

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

func (*DeleteClientTooManyRequests) IsServerError

func (o *DeleteClientTooManyRequests) IsServerError() bool

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

func (*DeleteClientTooManyRequests) IsSuccess

func (o *DeleteClientTooManyRequests) IsSuccess() bool

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

func (*DeleteClientTooManyRequests) String

func (o *DeleteClientTooManyRequests) String() string

type DeleteClientUnauthorized

type DeleteClientUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewDeleteClientUnauthorized

func NewDeleteClientUnauthorized() *DeleteClientUnauthorized

NewDeleteClientUnauthorized creates a DeleteClientUnauthorized with default headers values

func (*DeleteClientUnauthorized) Code

func (o *DeleteClientUnauthorized) Code() int

Code gets the status code for the delete client unauthorized response

func (*DeleteClientUnauthorized) Error

func (o *DeleteClientUnauthorized) Error() string

func (*DeleteClientUnauthorized) GetPayload

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

func (*DeleteClientUnauthorized) IsClientError

func (o *DeleteClientUnauthorized) IsClientError() bool

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

func (*DeleteClientUnauthorized) IsCode

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

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

func (*DeleteClientUnauthorized) IsRedirect

func (o *DeleteClientUnauthorized) IsRedirect() bool

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

func (*DeleteClientUnauthorized) IsServerError

func (o *DeleteClientUnauthorized) IsServerError() bool

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

func (*DeleteClientUnauthorized) IsSuccess

func (o *DeleteClientUnauthorized) IsSuccess() bool

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

func (*DeleteClientUnauthorized) String

func (o *DeleteClientUnauthorized) String() string

type GetClientForbidden

type GetClientForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetClientForbidden

func NewGetClientForbidden() *GetClientForbidden

NewGetClientForbidden creates a GetClientForbidden with default headers values

func (*GetClientForbidden) Code

func (o *GetClientForbidden) Code() int

Code gets the status code for the get client forbidden response

func (*GetClientForbidden) Error

func (o *GetClientForbidden) Error() string

func (*GetClientForbidden) GetPayload

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

func (*GetClientForbidden) IsClientError

func (o *GetClientForbidden) IsClientError() bool

IsClientError returns true when this get client forbidden response has a 4xx status code

func (*GetClientForbidden) IsCode

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

IsCode returns true when this get client forbidden response a status code equal to that given

func (*GetClientForbidden) IsRedirect

func (o *GetClientForbidden) IsRedirect() bool

IsRedirect returns true when this get client forbidden response has a 3xx status code

func (*GetClientForbidden) IsServerError

func (o *GetClientForbidden) IsServerError() bool

IsServerError returns true when this get client forbidden response has a 5xx status code

func (*GetClientForbidden) IsSuccess

func (o *GetClientForbidden) IsSuccess() bool

IsSuccess returns true when this get client forbidden response has a 2xx status code

func (*GetClientForbidden) String

func (o *GetClientForbidden) String() string

type GetClientNotFound

type GetClientNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetClientNotFound

func NewGetClientNotFound() *GetClientNotFound

NewGetClientNotFound creates a GetClientNotFound with default headers values

func (*GetClientNotFound) Code

func (o *GetClientNotFound) Code() int

Code gets the status code for the get client not found response

func (*GetClientNotFound) Error

func (o *GetClientNotFound) Error() string

func (*GetClientNotFound) GetPayload

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

func (*GetClientNotFound) IsClientError

func (o *GetClientNotFound) IsClientError() bool

IsClientError returns true when this get client not found response has a 4xx status code

func (*GetClientNotFound) IsCode

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

IsCode returns true when this get client not found response a status code equal to that given

func (*GetClientNotFound) IsRedirect

func (o *GetClientNotFound) IsRedirect() bool

IsRedirect returns true when this get client not found response has a 3xx status code

func (*GetClientNotFound) IsServerError

func (o *GetClientNotFound) IsServerError() bool

IsServerError returns true when this get client not found response has a 5xx status code

func (*GetClientNotFound) IsSuccess

func (o *GetClientNotFound) IsSuccess() bool

IsSuccess returns true when this get client not found response has a 2xx status code

func (*GetClientNotFound) String

func (o *GetClientNotFound) String() string

type GetClientOK

type GetClientOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ClientAdminResponse
}

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

Client

func NewGetClientOK

func NewGetClientOK() *GetClientOK

NewGetClientOK creates a GetClientOK with default headers values

func (*GetClientOK) Code

func (o *GetClientOK) Code() int

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

func (*GetClientOK) Error

func (o *GetClientOK) Error() string

func (*GetClientOK) GetPayload

func (o *GetClientOK) GetPayload() *models.ClientAdminResponse

func (*GetClientOK) IsClientError

func (o *GetClientOK) IsClientError() bool

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

func (*GetClientOK) IsCode

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

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

func (*GetClientOK) IsRedirect

func (o *GetClientOK) IsRedirect() bool

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

func (*GetClientOK) IsServerError

func (o *GetClientOK) IsServerError() bool

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

func (*GetClientOK) IsSuccess

func (o *GetClientOK) IsSuccess() bool

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

func (*GetClientOK) String

func (o *GetClientOK) String() string

type GetClientParams

type GetClientParams struct {

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

GetClientParams contains all the parameters to send to the API endpoint

for the get client operation.

Typically these are written to a http.Request.

func NewGetClientParams

func NewGetClientParams() *GetClientParams

NewGetClientParams creates a new GetClientParams 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 NewGetClientParamsWithContext

func NewGetClientParamsWithContext(ctx context.Context) *GetClientParams

NewGetClientParamsWithContext creates a new GetClientParams object with the ability to set a context for a request.

func NewGetClientParamsWithHTTPClient

func NewGetClientParamsWithHTTPClient(client *http.Client) *GetClientParams

NewGetClientParamsWithHTTPClient creates a new GetClientParams object with the ability to set a custom HTTPClient for a request.

func NewGetClientParamsWithTimeout

func NewGetClientParamsWithTimeout(timeout time.Duration) *GetClientParams

NewGetClientParamsWithTimeout creates a new GetClientParams object with the ability to set a timeout on a request.

func (*GetClientParams) SetCid

func (o *GetClientParams) SetCid(cid string)

SetCid adds the cid to the get client params

func (*GetClientParams) SetContext

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

SetContext adds the context to the get client params

func (*GetClientParams) SetDefaults

func (o *GetClientParams) SetDefaults()

SetDefaults hydrates default values in the get client params (not the query body).

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

func (*GetClientParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get client params

func (*GetClientParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the get client params

func (*GetClientParams) SetTimeout

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

SetTimeout adds the timeout to the get client params

func (*GetClientParams) WithCid

func (o *GetClientParams) WithCid(cid string) *GetClientParams

WithCid adds the cid to the get client params

func (*GetClientParams) WithContext

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

WithContext adds the context to the get client params

func (*GetClientParams) WithDefaults

func (o *GetClientParams) WithDefaults() *GetClientParams

WithDefaults hydrates default values in the get client params (not the query body).

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

func (*GetClientParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get client params

func (*GetClientParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the get client params

func (*GetClientParams) WithTimeout

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

WithTimeout adds the timeout to the get client params

func (*GetClientParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClientReader

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

GetClientReader is a Reader for the GetClient structure.

func (*GetClientReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClientSAMLMetadataForbidden

type GetClientSAMLMetadataForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetClientSAMLMetadataForbidden

func NewGetClientSAMLMetadataForbidden() *GetClientSAMLMetadataForbidden

NewGetClientSAMLMetadataForbidden creates a GetClientSAMLMetadataForbidden with default headers values

func (*GetClientSAMLMetadataForbidden) Code

Code gets the status code for the get client s a m l metadata forbidden response

func (*GetClientSAMLMetadataForbidden) Error

func (*GetClientSAMLMetadataForbidden) GetPayload

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

func (*GetClientSAMLMetadataForbidden) IsClientError

func (o *GetClientSAMLMetadataForbidden) IsClientError() bool

IsClientError returns true when this get client s a m l metadata forbidden response has a 4xx status code

func (*GetClientSAMLMetadataForbidden) IsCode

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

IsCode returns true when this get client s a m l metadata forbidden response a status code equal to that given

func (*GetClientSAMLMetadataForbidden) IsRedirect

func (o *GetClientSAMLMetadataForbidden) IsRedirect() bool

IsRedirect returns true when this get client s a m l metadata forbidden response has a 3xx status code

func (*GetClientSAMLMetadataForbidden) IsServerError

func (o *GetClientSAMLMetadataForbidden) IsServerError() bool

IsServerError returns true when this get client s a m l metadata forbidden response has a 5xx status code

func (*GetClientSAMLMetadataForbidden) IsSuccess

func (o *GetClientSAMLMetadataForbidden) IsSuccess() bool

IsSuccess returns true when this get client s a m l metadata forbidden response has a 2xx status code

func (*GetClientSAMLMetadataForbidden) String

type GetClientSAMLMetadataNotFound

type GetClientSAMLMetadataNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetClientSAMLMetadataNotFound

func NewGetClientSAMLMetadataNotFound() *GetClientSAMLMetadataNotFound

NewGetClientSAMLMetadataNotFound creates a GetClientSAMLMetadataNotFound with default headers values

func (*GetClientSAMLMetadataNotFound) Code

Code gets the status code for the get client s a m l metadata not found response

func (*GetClientSAMLMetadataNotFound) Error

func (*GetClientSAMLMetadataNotFound) GetPayload

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

func (*GetClientSAMLMetadataNotFound) IsClientError

func (o *GetClientSAMLMetadataNotFound) IsClientError() bool

IsClientError returns true when this get client s a m l metadata not found response has a 4xx status code

func (*GetClientSAMLMetadataNotFound) IsCode

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

IsCode returns true when this get client s a m l metadata not found response a status code equal to that given

func (*GetClientSAMLMetadataNotFound) IsRedirect

func (o *GetClientSAMLMetadataNotFound) IsRedirect() bool

IsRedirect returns true when this get client s a m l metadata not found response has a 3xx status code

func (*GetClientSAMLMetadataNotFound) IsServerError

func (o *GetClientSAMLMetadataNotFound) IsServerError() bool

IsServerError returns true when this get client s a m l metadata not found response has a 5xx status code

func (*GetClientSAMLMetadataNotFound) IsSuccess

func (o *GetClientSAMLMetadataNotFound) IsSuccess() bool

IsSuccess returns true when this get client s a m l metadata not found response has a 2xx status code

func (*GetClientSAMLMetadataNotFound) String

type GetClientSAMLMetadataOK

type GetClientSAMLMetadataOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.SAMLClientMetadataResponse
}

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

SAML Client metadata

func NewGetClientSAMLMetadataOK

func NewGetClientSAMLMetadataOK() *GetClientSAMLMetadataOK

NewGetClientSAMLMetadataOK creates a GetClientSAMLMetadataOK with default headers values

func (*GetClientSAMLMetadataOK) Code

func (o *GetClientSAMLMetadataOK) Code() int

Code gets the status code for the get client s a m l metadata o k response

func (*GetClientSAMLMetadataOK) Error

func (o *GetClientSAMLMetadataOK) Error() string

func (*GetClientSAMLMetadataOK) GetPayload

func (*GetClientSAMLMetadataOK) IsClientError

func (o *GetClientSAMLMetadataOK) IsClientError() bool

IsClientError returns true when this get client s a m l metadata o k response has a 4xx status code

func (*GetClientSAMLMetadataOK) IsCode

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

IsCode returns true when this get client s a m l metadata o k response a status code equal to that given

func (*GetClientSAMLMetadataOK) IsRedirect

func (o *GetClientSAMLMetadataOK) IsRedirect() bool

IsRedirect returns true when this get client s a m l metadata o k response has a 3xx status code

func (*GetClientSAMLMetadataOK) IsServerError

func (o *GetClientSAMLMetadataOK) IsServerError() bool

IsServerError returns true when this get client s a m l metadata o k response has a 5xx status code

func (*GetClientSAMLMetadataOK) IsSuccess

func (o *GetClientSAMLMetadataOK) IsSuccess() bool

IsSuccess returns true when this get client s a m l metadata o k response has a 2xx status code

func (*GetClientSAMLMetadataOK) String

func (o *GetClientSAMLMetadataOK) String() string

type GetClientSAMLMetadataParams

type GetClientSAMLMetadataParams struct {

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

GetClientSAMLMetadataParams contains all the parameters to send to the API endpoint

for the get client s a m l metadata operation.

Typically these are written to a http.Request.

func NewGetClientSAMLMetadataParams

func NewGetClientSAMLMetadataParams() *GetClientSAMLMetadataParams

NewGetClientSAMLMetadataParams creates a new GetClientSAMLMetadataParams 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 NewGetClientSAMLMetadataParamsWithContext

func NewGetClientSAMLMetadataParamsWithContext(ctx context.Context) *GetClientSAMLMetadataParams

NewGetClientSAMLMetadataParamsWithContext creates a new GetClientSAMLMetadataParams object with the ability to set a context for a request.

func NewGetClientSAMLMetadataParamsWithHTTPClient

func NewGetClientSAMLMetadataParamsWithHTTPClient(client *http.Client) *GetClientSAMLMetadataParams

NewGetClientSAMLMetadataParamsWithHTTPClient creates a new GetClientSAMLMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewGetClientSAMLMetadataParamsWithTimeout

func NewGetClientSAMLMetadataParamsWithTimeout(timeout time.Duration) *GetClientSAMLMetadataParams

NewGetClientSAMLMetadataParamsWithTimeout creates a new GetClientSAMLMetadataParams object with the ability to set a timeout on a request.

func (*GetClientSAMLMetadataParams) SetCid

func (o *GetClientSAMLMetadataParams) SetCid(cid string)

SetCid adds the cid to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) SetContext

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

SetContext adds the context to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) SetDefaults

func (o *GetClientSAMLMetadataParams) SetDefaults()

SetDefaults hydrates default values in the get client s a m l metadata params (not the query body).

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

func (*GetClientSAMLMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) WithCid

WithCid adds the cid to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) WithContext

WithContext adds the context to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) WithDefaults

WithDefaults hydrates default values in the get client s a m l metadata params (not the query body).

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

func (*GetClientSAMLMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) WithIfMatch

WithIfMatch adds the ifMatch to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) WithTimeout

WithTimeout adds the timeout to the get client s a m l metadata params

func (*GetClientSAMLMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClientSAMLMetadataReader

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

GetClientSAMLMetadataReader is a Reader for the GetClientSAMLMetadata structure.

func (*GetClientSAMLMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClientSAMLMetadataTooManyRequests

type GetClientSAMLMetadataTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetClientSAMLMetadataTooManyRequests

func NewGetClientSAMLMetadataTooManyRequests() *GetClientSAMLMetadataTooManyRequests

NewGetClientSAMLMetadataTooManyRequests creates a GetClientSAMLMetadataTooManyRequests with default headers values

func (*GetClientSAMLMetadataTooManyRequests) Code

Code gets the status code for the get client s a m l metadata too many requests response

func (*GetClientSAMLMetadataTooManyRequests) Error

func (*GetClientSAMLMetadataTooManyRequests) GetPayload

func (*GetClientSAMLMetadataTooManyRequests) IsClientError

func (o *GetClientSAMLMetadataTooManyRequests) IsClientError() bool

IsClientError returns true when this get client s a m l metadata too many requests response has a 4xx status code

func (*GetClientSAMLMetadataTooManyRequests) IsCode

IsCode returns true when this get client s a m l metadata too many requests response a status code equal to that given

func (*GetClientSAMLMetadataTooManyRequests) IsRedirect

IsRedirect returns true when this get client s a m l metadata too many requests response has a 3xx status code

func (*GetClientSAMLMetadataTooManyRequests) IsServerError

func (o *GetClientSAMLMetadataTooManyRequests) IsServerError() bool

IsServerError returns true when this get client s a m l metadata too many requests response has a 5xx status code

func (*GetClientSAMLMetadataTooManyRequests) IsSuccess

IsSuccess returns true when this get client s a m l metadata too many requests response has a 2xx status code

func (*GetClientSAMLMetadataTooManyRequests) String

type GetClientSAMLMetadataUnauthorized

type GetClientSAMLMetadataUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetClientSAMLMetadataUnauthorized

func NewGetClientSAMLMetadataUnauthorized() *GetClientSAMLMetadataUnauthorized

NewGetClientSAMLMetadataUnauthorized creates a GetClientSAMLMetadataUnauthorized with default headers values

func (*GetClientSAMLMetadataUnauthorized) Code

Code gets the status code for the get client s a m l metadata unauthorized response

func (*GetClientSAMLMetadataUnauthorized) Error

func (*GetClientSAMLMetadataUnauthorized) GetPayload

func (*GetClientSAMLMetadataUnauthorized) IsClientError

func (o *GetClientSAMLMetadataUnauthorized) IsClientError() bool

IsClientError returns true when this get client s a m l metadata unauthorized response has a 4xx status code

func (*GetClientSAMLMetadataUnauthorized) IsCode

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

IsCode returns true when this get client s a m l metadata unauthorized response a status code equal to that given

func (*GetClientSAMLMetadataUnauthorized) IsRedirect

func (o *GetClientSAMLMetadataUnauthorized) IsRedirect() bool

IsRedirect returns true when this get client s a m l metadata unauthorized response has a 3xx status code

func (*GetClientSAMLMetadataUnauthorized) IsServerError

func (o *GetClientSAMLMetadataUnauthorized) IsServerError() bool

IsServerError returns true when this get client s a m l metadata unauthorized response has a 5xx status code

func (*GetClientSAMLMetadataUnauthorized) IsSuccess

func (o *GetClientSAMLMetadataUnauthorized) IsSuccess() bool

IsSuccess returns true when this get client s a m l metadata unauthorized response has a 2xx status code

func (*GetClientSAMLMetadataUnauthorized) String

type GetClientTooManyRequests

type GetClientTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetClientTooManyRequests

func NewGetClientTooManyRequests() *GetClientTooManyRequests

NewGetClientTooManyRequests creates a GetClientTooManyRequests with default headers values

func (*GetClientTooManyRequests) Code

func (o *GetClientTooManyRequests) Code() int

Code gets the status code for the get client too many requests response

func (*GetClientTooManyRequests) Error

func (o *GetClientTooManyRequests) Error() string

func (*GetClientTooManyRequests) GetPayload

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

func (*GetClientTooManyRequests) IsClientError

func (o *GetClientTooManyRequests) IsClientError() bool

IsClientError returns true when this get client too many requests response has a 4xx status code

func (*GetClientTooManyRequests) IsCode

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

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

func (*GetClientTooManyRequests) IsRedirect

func (o *GetClientTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get client too many requests response has a 3xx status code

func (*GetClientTooManyRequests) IsServerError

func (o *GetClientTooManyRequests) IsServerError() bool

IsServerError returns true when this get client too many requests response has a 5xx status code

func (*GetClientTooManyRequests) IsSuccess

func (o *GetClientTooManyRequests) IsSuccess() bool

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

func (*GetClientTooManyRequests) String

func (o *GetClientTooManyRequests) String() string

type GetClientUnauthorized

type GetClientUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetClientUnauthorized

func NewGetClientUnauthorized() *GetClientUnauthorized

NewGetClientUnauthorized creates a GetClientUnauthorized with default headers values

func (*GetClientUnauthorized) Code

func (o *GetClientUnauthorized) Code() int

Code gets the status code for the get client unauthorized response

func (*GetClientUnauthorized) Error

func (o *GetClientUnauthorized) Error() string

func (*GetClientUnauthorized) GetPayload

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

func (*GetClientUnauthorized) IsClientError

func (o *GetClientUnauthorized) IsClientError() bool

IsClientError returns true when this get client unauthorized response has a 4xx status code

func (*GetClientUnauthorized) IsCode

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

IsCode returns true when this get client unauthorized response a status code equal to that given

func (*GetClientUnauthorized) IsRedirect

func (o *GetClientUnauthorized) IsRedirect() bool

IsRedirect returns true when this get client unauthorized response has a 3xx status code

func (*GetClientUnauthorized) IsServerError

func (o *GetClientUnauthorized) IsServerError() bool

IsServerError returns true when this get client unauthorized response has a 5xx status code

func (*GetClientUnauthorized) IsSuccess

func (o *GetClientUnauthorized) IsSuccess() bool

IsSuccess returns true when this get client unauthorized response has a 2xx status code

func (*GetClientUnauthorized) String

func (o *GetClientUnauthorized) String() string

type ImportSAMLMetadataFromFileBadRequest

type ImportSAMLMetadataFromFileBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewImportSAMLMetadataFromFileBadRequest

func NewImportSAMLMetadataFromFileBadRequest() *ImportSAMLMetadataFromFileBadRequest

NewImportSAMLMetadataFromFileBadRequest creates a ImportSAMLMetadataFromFileBadRequest with default headers values

func (*ImportSAMLMetadataFromFileBadRequest) Code

Code gets the status code for the import s a m l metadata from file bad request response

func (*ImportSAMLMetadataFromFileBadRequest) Error

func (*ImportSAMLMetadataFromFileBadRequest) GetPayload

func (*ImportSAMLMetadataFromFileBadRequest) IsClientError

func (o *ImportSAMLMetadataFromFileBadRequest) IsClientError() bool

IsClientError returns true when this import s a m l metadata from file bad request response has a 4xx status code

func (*ImportSAMLMetadataFromFileBadRequest) IsCode

IsCode returns true when this import s a m l metadata from file bad request response a status code equal to that given

func (*ImportSAMLMetadataFromFileBadRequest) IsRedirect

IsRedirect returns true when this import s a m l metadata from file bad request response has a 3xx status code

func (*ImportSAMLMetadataFromFileBadRequest) IsServerError

func (o *ImportSAMLMetadataFromFileBadRequest) IsServerError() bool

IsServerError returns true when this import s a m l metadata from file bad request response has a 5xx status code

func (*ImportSAMLMetadataFromFileBadRequest) IsSuccess

IsSuccess returns true when this import s a m l metadata from file bad request response has a 2xx status code

func (*ImportSAMLMetadataFromFileBadRequest) String

type ImportSAMLMetadataFromFileConflict

type ImportSAMLMetadataFromFileConflict struct {
	Payload *models.Error
}

ImportSAMLMetadataFromFileConflict describes a response with status code 409, with default header values.

Conflict

func NewImportSAMLMetadataFromFileConflict

func NewImportSAMLMetadataFromFileConflict() *ImportSAMLMetadataFromFileConflict

NewImportSAMLMetadataFromFileConflict creates a ImportSAMLMetadataFromFileConflict with default headers values

func (*ImportSAMLMetadataFromFileConflict) Code

Code gets the status code for the import s a m l metadata from file conflict response

func (*ImportSAMLMetadataFromFileConflict) Error

func (*ImportSAMLMetadataFromFileConflict) GetPayload

func (*ImportSAMLMetadataFromFileConflict) IsClientError

func (o *ImportSAMLMetadataFromFileConflict) IsClientError() bool

IsClientError returns true when this import s a m l metadata from file conflict response has a 4xx status code

func (*ImportSAMLMetadataFromFileConflict) IsCode

IsCode returns true when this import s a m l metadata from file conflict response a status code equal to that given

func (*ImportSAMLMetadataFromFileConflict) IsRedirect

func (o *ImportSAMLMetadataFromFileConflict) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from file conflict response has a 3xx status code

func (*ImportSAMLMetadataFromFileConflict) IsServerError

func (o *ImportSAMLMetadataFromFileConflict) IsServerError() bool

IsServerError returns true when this import s a m l metadata from file conflict response has a 5xx status code

func (*ImportSAMLMetadataFromFileConflict) IsSuccess

IsSuccess returns true when this import s a m l metadata from file conflict response has a 2xx status code

func (*ImportSAMLMetadataFromFileConflict) String

type ImportSAMLMetadataFromFileForbidden

type ImportSAMLMetadataFromFileForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewImportSAMLMetadataFromFileForbidden

func NewImportSAMLMetadataFromFileForbidden() *ImportSAMLMetadataFromFileForbidden

NewImportSAMLMetadataFromFileForbidden creates a ImportSAMLMetadataFromFileForbidden with default headers values

func (*ImportSAMLMetadataFromFileForbidden) Code

Code gets the status code for the import s a m l metadata from file forbidden response

func (*ImportSAMLMetadataFromFileForbidden) Error

func (*ImportSAMLMetadataFromFileForbidden) GetPayload

func (*ImportSAMLMetadataFromFileForbidden) IsClientError

func (o *ImportSAMLMetadataFromFileForbidden) IsClientError() bool

IsClientError returns true when this import s a m l metadata from file forbidden response has a 4xx status code

func (*ImportSAMLMetadataFromFileForbidden) IsCode

IsCode returns true when this import s a m l metadata from file forbidden response a status code equal to that given

func (*ImportSAMLMetadataFromFileForbidden) IsRedirect

func (o *ImportSAMLMetadataFromFileForbidden) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from file forbidden response has a 3xx status code

func (*ImportSAMLMetadataFromFileForbidden) IsServerError

func (o *ImportSAMLMetadataFromFileForbidden) IsServerError() bool

IsServerError returns true when this import s a m l metadata from file forbidden response has a 5xx status code

func (*ImportSAMLMetadataFromFileForbidden) IsSuccess

IsSuccess returns true when this import s a m l metadata from file forbidden response has a 2xx status code

func (*ImportSAMLMetadataFromFileForbidden) String

type ImportSAMLMetadataFromFileNoContent

type ImportSAMLMetadataFromFileNoContent struct {
}

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

metadata has been successfully imported

func NewImportSAMLMetadataFromFileNoContent

func NewImportSAMLMetadataFromFileNoContent() *ImportSAMLMetadataFromFileNoContent

NewImportSAMLMetadataFromFileNoContent creates a ImportSAMLMetadataFromFileNoContent with default headers values

func (*ImportSAMLMetadataFromFileNoContent) Code

Code gets the status code for the import s a m l metadata from file no content response

func (*ImportSAMLMetadataFromFileNoContent) Error

func (*ImportSAMLMetadataFromFileNoContent) IsClientError

func (o *ImportSAMLMetadataFromFileNoContent) IsClientError() bool

IsClientError returns true when this import s a m l metadata from file no content response has a 4xx status code

func (*ImportSAMLMetadataFromFileNoContent) IsCode

IsCode returns true when this import s a m l metadata from file no content response a status code equal to that given

func (*ImportSAMLMetadataFromFileNoContent) IsRedirect

func (o *ImportSAMLMetadataFromFileNoContent) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from file no content response has a 3xx status code

func (*ImportSAMLMetadataFromFileNoContent) IsServerError

func (o *ImportSAMLMetadataFromFileNoContent) IsServerError() bool

IsServerError returns true when this import s a m l metadata from file no content response has a 5xx status code

func (*ImportSAMLMetadataFromFileNoContent) IsSuccess

IsSuccess returns true when this import s a m l metadata from file no content response has a 2xx status code

func (*ImportSAMLMetadataFromFileNoContent) String

type ImportSAMLMetadataFromFileNotFound

type ImportSAMLMetadataFromFileNotFound struct {
	Payload *models.Error
}

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

Not found

func NewImportSAMLMetadataFromFileNotFound

func NewImportSAMLMetadataFromFileNotFound() *ImportSAMLMetadataFromFileNotFound

NewImportSAMLMetadataFromFileNotFound creates a ImportSAMLMetadataFromFileNotFound with default headers values

func (*ImportSAMLMetadataFromFileNotFound) Code

Code gets the status code for the import s a m l metadata from file not found response

func (*ImportSAMLMetadataFromFileNotFound) Error

func (*ImportSAMLMetadataFromFileNotFound) GetPayload

func (*ImportSAMLMetadataFromFileNotFound) IsClientError

func (o *ImportSAMLMetadataFromFileNotFound) IsClientError() bool

IsClientError returns true when this import s a m l metadata from file not found response has a 4xx status code

func (*ImportSAMLMetadataFromFileNotFound) IsCode

IsCode returns true when this import s a m l metadata from file not found response a status code equal to that given

func (*ImportSAMLMetadataFromFileNotFound) IsRedirect

func (o *ImportSAMLMetadataFromFileNotFound) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from file not found response has a 3xx status code

func (*ImportSAMLMetadataFromFileNotFound) IsServerError

func (o *ImportSAMLMetadataFromFileNotFound) IsServerError() bool

IsServerError returns true when this import s a m l metadata from file not found response has a 5xx status code

func (*ImportSAMLMetadataFromFileNotFound) IsSuccess

IsSuccess returns true when this import s a m l metadata from file not found response has a 2xx status code

func (*ImportSAMLMetadataFromFileNotFound) String

type ImportSAMLMetadataFromFileParams

type ImportSAMLMetadataFromFileParams struct {

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	// File.
	File runtime.NamedReadCloser

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

ImportSAMLMetadataFromFileParams contains all the parameters to send to the API endpoint

for the import s a m l metadata from file operation.

Typically these are written to a http.Request.

func NewImportSAMLMetadataFromFileParams

func NewImportSAMLMetadataFromFileParams() *ImportSAMLMetadataFromFileParams

NewImportSAMLMetadataFromFileParams creates a new ImportSAMLMetadataFromFileParams 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 NewImportSAMLMetadataFromFileParamsWithContext

func NewImportSAMLMetadataFromFileParamsWithContext(ctx context.Context) *ImportSAMLMetadataFromFileParams

NewImportSAMLMetadataFromFileParamsWithContext creates a new ImportSAMLMetadataFromFileParams object with the ability to set a context for a request.

func NewImportSAMLMetadataFromFileParamsWithHTTPClient

func NewImportSAMLMetadataFromFileParamsWithHTTPClient(client *http.Client) *ImportSAMLMetadataFromFileParams

NewImportSAMLMetadataFromFileParamsWithHTTPClient creates a new ImportSAMLMetadataFromFileParams object with the ability to set a custom HTTPClient for a request.

func NewImportSAMLMetadataFromFileParamsWithTimeout

func NewImportSAMLMetadataFromFileParamsWithTimeout(timeout time.Duration) *ImportSAMLMetadataFromFileParams

NewImportSAMLMetadataFromFileParamsWithTimeout creates a new ImportSAMLMetadataFromFileParams object with the ability to set a timeout on a request.

func (*ImportSAMLMetadataFromFileParams) SetCid

SetCid adds the cid to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) SetContext

SetContext adds the context to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) SetDefaults

func (o *ImportSAMLMetadataFromFileParams) SetDefaults()

SetDefaults hydrates default values in the import s a m l metadata from file params (not the query body).

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

func (*ImportSAMLMetadataFromFileParams) SetFile

SetFile adds the file to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) SetTimeout

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

SetTimeout adds the timeout to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) WithCid

WithCid adds the cid to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) WithContext

WithContext adds the context to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) WithDefaults

WithDefaults hydrates default values in the import s a m l metadata from file params (not the query body).

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

func (*ImportSAMLMetadataFromFileParams) WithFile

WithFile adds the file to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) WithIfMatch

WithIfMatch adds the ifMatch to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) WithTimeout

WithTimeout adds the timeout to the import s a m l metadata from file params

func (*ImportSAMLMetadataFromFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportSAMLMetadataFromFileReader

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

ImportSAMLMetadataFromFileReader is a Reader for the ImportSAMLMetadataFromFile structure.

func (*ImportSAMLMetadataFromFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportSAMLMetadataFromFileTooManyRequests

type ImportSAMLMetadataFromFileTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewImportSAMLMetadataFromFileTooManyRequests

func NewImportSAMLMetadataFromFileTooManyRequests() *ImportSAMLMetadataFromFileTooManyRequests

NewImportSAMLMetadataFromFileTooManyRequests creates a ImportSAMLMetadataFromFileTooManyRequests with default headers values

func (*ImportSAMLMetadataFromFileTooManyRequests) Code

Code gets the status code for the import s a m l metadata from file too many requests response

func (*ImportSAMLMetadataFromFileTooManyRequests) Error

func (*ImportSAMLMetadataFromFileTooManyRequests) GetPayload

func (*ImportSAMLMetadataFromFileTooManyRequests) IsClientError

IsClientError returns true when this import s a m l metadata from file too many requests response has a 4xx status code

func (*ImportSAMLMetadataFromFileTooManyRequests) IsCode

IsCode returns true when this import s a m l metadata from file too many requests response a status code equal to that given

func (*ImportSAMLMetadataFromFileTooManyRequests) IsRedirect

IsRedirect returns true when this import s a m l metadata from file too many requests response has a 3xx status code

func (*ImportSAMLMetadataFromFileTooManyRequests) IsServerError

IsServerError returns true when this import s a m l metadata from file too many requests response has a 5xx status code

func (*ImportSAMLMetadataFromFileTooManyRequests) IsSuccess

IsSuccess returns true when this import s a m l metadata from file too many requests response has a 2xx status code

func (*ImportSAMLMetadataFromFileTooManyRequests) String

type ImportSAMLMetadataFromFileUnauthorized

type ImportSAMLMetadataFromFileUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewImportSAMLMetadataFromFileUnauthorized

func NewImportSAMLMetadataFromFileUnauthorized() *ImportSAMLMetadataFromFileUnauthorized

NewImportSAMLMetadataFromFileUnauthorized creates a ImportSAMLMetadataFromFileUnauthorized with default headers values

func (*ImportSAMLMetadataFromFileUnauthorized) Code

Code gets the status code for the import s a m l metadata from file unauthorized response

func (*ImportSAMLMetadataFromFileUnauthorized) Error

func (*ImportSAMLMetadataFromFileUnauthorized) GetPayload

func (*ImportSAMLMetadataFromFileUnauthorized) IsClientError

func (o *ImportSAMLMetadataFromFileUnauthorized) IsClientError() bool

IsClientError returns true when this import s a m l metadata from file unauthorized response has a 4xx status code

func (*ImportSAMLMetadataFromFileUnauthorized) IsCode

IsCode returns true when this import s a m l metadata from file unauthorized response a status code equal to that given

func (*ImportSAMLMetadataFromFileUnauthorized) IsRedirect

IsRedirect returns true when this import s a m l metadata from file unauthorized response has a 3xx status code

func (*ImportSAMLMetadataFromFileUnauthorized) IsServerError

func (o *ImportSAMLMetadataFromFileUnauthorized) IsServerError() bool

IsServerError returns true when this import s a m l metadata from file unauthorized response has a 5xx status code

func (*ImportSAMLMetadataFromFileUnauthorized) IsSuccess

IsSuccess returns true when this import s a m l metadata from file unauthorized response has a 2xx status code

func (*ImportSAMLMetadataFromFileUnauthorized) String

type ImportSAMLMetadataFromFileUnprocessableEntity

type ImportSAMLMetadataFromFileUnprocessableEntity struct {
	Payload *models.Error
}

ImportSAMLMetadataFromFileUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewImportSAMLMetadataFromFileUnprocessableEntity

func NewImportSAMLMetadataFromFileUnprocessableEntity() *ImportSAMLMetadataFromFileUnprocessableEntity

NewImportSAMLMetadataFromFileUnprocessableEntity creates a ImportSAMLMetadataFromFileUnprocessableEntity with default headers values

func (*ImportSAMLMetadataFromFileUnprocessableEntity) Code

Code gets the status code for the import s a m l metadata from file unprocessable entity response

func (*ImportSAMLMetadataFromFileUnprocessableEntity) Error

func (*ImportSAMLMetadataFromFileUnprocessableEntity) GetPayload

func (*ImportSAMLMetadataFromFileUnprocessableEntity) IsClientError

IsClientError returns true when this import s a m l metadata from file unprocessable entity response has a 4xx status code

func (*ImportSAMLMetadataFromFileUnprocessableEntity) IsCode

IsCode returns true when this import s a m l metadata from file unprocessable entity response a status code equal to that given

func (*ImportSAMLMetadataFromFileUnprocessableEntity) IsRedirect

IsRedirect returns true when this import s a m l metadata from file unprocessable entity response has a 3xx status code

func (*ImportSAMLMetadataFromFileUnprocessableEntity) IsServerError

IsServerError returns true when this import s a m l metadata from file unprocessable entity response has a 5xx status code

func (*ImportSAMLMetadataFromFileUnprocessableEntity) IsSuccess

IsSuccess returns true when this import s a m l metadata from file unprocessable entity response has a 2xx status code

func (*ImportSAMLMetadataFromFileUnprocessableEntity) String

type ImportSAMLMetadataFromTextBadRequest

type ImportSAMLMetadataFromTextBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewImportSAMLMetadataFromTextBadRequest

func NewImportSAMLMetadataFromTextBadRequest() *ImportSAMLMetadataFromTextBadRequest

NewImportSAMLMetadataFromTextBadRequest creates a ImportSAMLMetadataFromTextBadRequest with default headers values

func (*ImportSAMLMetadataFromTextBadRequest) Code

Code gets the status code for the import s a m l metadata from text bad request response

func (*ImportSAMLMetadataFromTextBadRequest) Error

func (*ImportSAMLMetadataFromTextBadRequest) GetPayload

func (*ImportSAMLMetadataFromTextBadRequest) IsClientError

func (o *ImportSAMLMetadataFromTextBadRequest) IsClientError() bool

IsClientError returns true when this import s a m l metadata from text bad request response has a 4xx status code

func (*ImportSAMLMetadataFromTextBadRequest) IsCode

IsCode returns true when this import s a m l metadata from text bad request response a status code equal to that given

func (*ImportSAMLMetadataFromTextBadRequest) IsRedirect

IsRedirect returns true when this import s a m l metadata from text bad request response has a 3xx status code

func (*ImportSAMLMetadataFromTextBadRequest) IsServerError

func (o *ImportSAMLMetadataFromTextBadRequest) IsServerError() bool

IsServerError returns true when this import s a m l metadata from text bad request response has a 5xx status code

func (*ImportSAMLMetadataFromTextBadRequest) IsSuccess

IsSuccess returns true when this import s a m l metadata from text bad request response has a 2xx status code

func (*ImportSAMLMetadataFromTextBadRequest) String

type ImportSAMLMetadataFromTextConflict

type ImportSAMLMetadataFromTextConflict struct {
	Payload *models.Error
}

ImportSAMLMetadataFromTextConflict describes a response with status code 409, with default header values.

Conflict

func NewImportSAMLMetadataFromTextConflict

func NewImportSAMLMetadataFromTextConflict() *ImportSAMLMetadataFromTextConflict

NewImportSAMLMetadataFromTextConflict creates a ImportSAMLMetadataFromTextConflict with default headers values

func (*ImportSAMLMetadataFromTextConflict) Code

Code gets the status code for the import s a m l metadata from text conflict response

func (*ImportSAMLMetadataFromTextConflict) Error

func (*ImportSAMLMetadataFromTextConflict) GetPayload

func (*ImportSAMLMetadataFromTextConflict) IsClientError

func (o *ImportSAMLMetadataFromTextConflict) IsClientError() bool

IsClientError returns true when this import s a m l metadata from text conflict response has a 4xx status code

func (*ImportSAMLMetadataFromTextConflict) IsCode

IsCode returns true when this import s a m l metadata from text conflict response a status code equal to that given

func (*ImportSAMLMetadataFromTextConflict) IsRedirect

func (o *ImportSAMLMetadataFromTextConflict) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from text conflict response has a 3xx status code

func (*ImportSAMLMetadataFromTextConflict) IsServerError

func (o *ImportSAMLMetadataFromTextConflict) IsServerError() bool

IsServerError returns true when this import s a m l metadata from text conflict response has a 5xx status code

func (*ImportSAMLMetadataFromTextConflict) IsSuccess

IsSuccess returns true when this import s a m l metadata from text conflict response has a 2xx status code

func (*ImportSAMLMetadataFromTextConflict) String

type ImportSAMLMetadataFromTextForbidden

type ImportSAMLMetadataFromTextForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewImportSAMLMetadataFromTextForbidden

func NewImportSAMLMetadataFromTextForbidden() *ImportSAMLMetadataFromTextForbidden

NewImportSAMLMetadataFromTextForbidden creates a ImportSAMLMetadataFromTextForbidden with default headers values

func (*ImportSAMLMetadataFromTextForbidden) Code

Code gets the status code for the import s a m l metadata from text forbidden response

func (*ImportSAMLMetadataFromTextForbidden) Error

func (*ImportSAMLMetadataFromTextForbidden) GetPayload

func (*ImportSAMLMetadataFromTextForbidden) IsClientError

func (o *ImportSAMLMetadataFromTextForbidden) IsClientError() bool

IsClientError returns true when this import s a m l metadata from text forbidden response has a 4xx status code

func (*ImportSAMLMetadataFromTextForbidden) IsCode

IsCode returns true when this import s a m l metadata from text forbidden response a status code equal to that given

func (*ImportSAMLMetadataFromTextForbidden) IsRedirect

func (o *ImportSAMLMetadataFromTextForbidden) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from text forbidden response has a 3xx status code

func (*ImportSAMLMetadataFromTextForbidden) IsServerError

func (o *ImportSAMLMetadataFromTextForbidden) IsServerError() bool

IsServerError returns true when this import s a m l metadata from text forbidden response has a 5xx status code

func (*ImportSAMLMetadataFromTextForbidden) IsSuccess

IsSuccess returns true when this import s a m l metadata from text forbidden response has a 2xx status code

func (*ImportSAMLMetadataFromTextForbidden) String

type ImportSAMLMetadataFromTextNoContent

type ImportSAMLMetadataFromTextNoContent struct {
}

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

metadata has been successfully imported

func NewImportSAMLMetadataFromTextNoContent

func NewImportSAMLMetadataFromTextNoContent() *ImportSAMLMetadataFromTextNoContent

NewImportSAMLMetadataFromTextNoContent creates a ImportSAMLMetadataFromTextNoContent with default headers values

func (*ImportSAMLMetadataFromTextNoContent) Code

Code gets the status code for the import s a m l metadata from text no content response

func (*ImportSAMLMetadataFromTextNoContent) Error

func (*ImportSAMLMetadataFromTextNoContent) IsClientError

func (o *ImportSAMLMetadataFromTextNoContent) IsClientError() bool

IsClientError returns true when this import s a m l metadata from text no content response has a 4xx status code

func (*ImportSAMLMetadataFromTextNoContent) IsCode

IsCode returns true when this import s a m l metadata from text no content response a status code equal to that given

func (*ImportSAMLMetadataFromTextNoContent) IsRedirect

func (o *ImportSAMLMetadataFromTextNoContent) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from text no content response has a 3xx status code

func (*ImportSAMLMetadataFromTextNoContent) IsServerError

func (o *ImportSAMLMetadataFromTextNoContent) IsServerError() bool

IsServerError returns true when this import s a m l metadata from text no content response has a 5xx status code

func (*ImportSAMLMetadataFromTextNoContent) IsSuccess

IsSuccess returns true when this import s a m l metadata from text no content response has a 2xx status code

func (*ImportSAMLMetadataFromTextNoContent) String

type ImportSAMLMetadataFromTextNotFound

type ImportSAMLMetadataFromTextNotFound struct {
	Payload *models.Error
}

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

Not found

func NewImportSAMLMetadataFromTextNotFound

func NewImportSAMLMetadataFromTextNotFound() *ImportSAMLMetadataFromTextNotFound

NewImportSAMLMetadataFromTextNotFound creates a ImportSAMLMetadataFromTextNotFound with default headers values

func (*ImportSAMLMetadataFromTextNotFound) Code

Code gets the status code for the import s a m l metadata from text not found response

func (*ImportSAMLMetadataFromTextNotFound) Error

func (*ImportSAMLMetadataFromTextNotFound) GetPayload

func (*ImportSAMLMetadataFromTextNotFound) IsClientError

func (o *ImportSAMLMetadataFromTextNotFound) IsClientError() bool

IsClientError returns true when this import s a m l metadata from text not found response has a 4xx status code

func (*ImportSAMLMetadataFromTextNotFound) IsCode

IsCode returns true when this import s a m l metadata from text not found response a status code equal to that given

func (*ImportSAMLMetadataFromTextNotFound) IsRedirect

func (o *ImportSAMLMetadataFromTextNotFound) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from text not found response has a 3xx status code

func (*ImportSAMLMetadataFromTextNotFound) IsServerError

func (o *ImportSAMLMetadataFromTextNotFound) IsServerError() bool

IsServerError returns true when this import s a m l metadata from text not found response has a 5xx status code

func (*ImportSAMLMetadataFromTextNotFound) IsSuccess

IsSuccess returns true when this import s a m l metadata from text not found response has a 2xx status code

func (*ImportSAMLMetadataFromTextNotFound) String

type ImportSAMLMetadataFromTextParams

type ImportSAMLMetadataFromTextParams struct {

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// Text.
	Text string

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

ImportSAMLMetadataFromTextParams contains all the parameters to send to the API endpoint

for the import s a m l metadata from text operation.

Typically these are written to a http.Request.

func NewImportSAMLMetadataFromTextParams

func NewImportSAMLMetadataFromTextParams() *ImportSAMLMetadataFromTextParams

NewImportSAMLMetadataFromTextParams creates a new ImportSAMLMetadataFromTextParams 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 NewImportSAMLMetadataFromTextParamsWithContext

func NewImportSAMLMetadataFromTextParamsWithContext(ctx context.Context) *ImportSAMLMetadataFromTextParams

NewImportSAMLMetadataFromTextParamsWithContext creates a new ImportSAMLMetadataFromTextParams object with the ability to set a context for a request.

func NewImportSAMLMetadataFromTextParamsWithHTTPClient

func NewImportSAMLMetadataFromTextParamsWithHTTPClient(client *http.Client) *ImportSAMLMetadataFromTextParams

NewImportSAMLMetadataFromTextParamsWithHTTPClient creates a new ImportSAMLMetadataFromTextParams object with the ability to set a custom HTTPClient for a request.

func NewImportSAMLMetadataFromTextParamsWithTimeout

func NewImportSAMLMetadataFromTextParamsWithTimeout(timeout time.Duration) *ImportSAMLMetadataFromTextParams

NewImportSAMLMetadataFromTextParamsWithTimeout creates a new ImportSAMLMetadataFromTextParams object with the ability to set a timeout on a request.

func (*ImportSAMLMetadataFromTextParams) SetCid

SetCid adds the cid to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) SetContext

SetContext adds the context to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) SetDefaults

func (o *ImportSAMLMetadataFromTextParams) SetDefaults()

SetDefaults hydrates default values in the import s a m l metadata from text params (not the query body).

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

func (*ImportSAMLMetadataFromTextParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) SetText

func (o *ImportSAMLMetadataFromTextParams) SetText(text string)

SetText adds the text to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) SetTimeout

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

SetTimeout adds the timeout to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) WithCid

WithCid adds the cid to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) WithContext

WithContext adds the context to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) WithDefaults

WithDefaults hydrates default values in the import s a m l metadata from text params (not the query body).

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

func (*ImportSAMLMetadataFromTextParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) WithIfMatch

WithIfMatch adds the ifMatch to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) WithText

WithText adds the text to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) WithTimeout

WithTimeout adds the timeout to the import s a m l metadata from text params

func (*ImportSAMLMetadataFromTextParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportSAMLMetadataFromTextReader

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

ImportSAMLMetadataFromTextReader is a Reader for the ImportSAMLMetadataFromText structure.

func (*ImportSAMLMetadataFromTextReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportSAMLMetadataFromTextTooManyRequests

type ImportSAMLMetadataFromTextTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewImportSAMLMetadataFromTextTooManyRequests

func NewImportSAMLMetadataFromTextTooManyRequests() *ImportSAMLMetadataFromTextTooManyRequests

NewImportSAMLMetadataFromTextTooManyRequests creates a ImportSAMLMetadataFromTextTooManyRequests with default headers values

func (*ImportSAMLMetadataFromTextTooManyRequests) Code

Code gets the status code for the import s a m l metadata from text too many requests response

func (*ImportSAMLMetadataFromTextTooManyRequests) Error

func (*ImportSAMLMetadataFromTextTooManyRequests) GetPayload

func (*ImportSAMLMetadataFromTextTooManyRequests) IsClientError

IsClientError returns true when this import s a m l metadata from text too many requests response has a 4xx status code

func (*ImportSAMLMetadataFromTextTooManyRequests) IsCode

IsCode returns true when this import s a m l metadata from text too many requests response a status code equal to that given

func (*ImportSAMLMetadataFromTextTooManyRequests) IsRedirect

IsRedirect returns true when this import s a m l metadata from text too many requests response has a 3xx status code

func (*ImportSAMLMetadataFromTextTooManyRequests) IsServerError

IsServerError returns true when this import s a m l metadata from text too many requests response has a 5xx status code

func (*ImportSAMLMetadataFromTextTooManyRequests) IsSuccess

IsSuccess returns true when this import s a m l metadata from text too many requests response has a 2xx status code

func (*ImportSAMLMetadataFromTextTooManyRequests) String

type ImportSAMLMetadataFromTextUnauthorized

type ImportSAMLMetadataFromTextUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewImportSAMLMetadataFromTextUnauthorized

func NewImportSAMLMetadataFromTextUnauthorized() *ImportSAMLMetadataFromTextUnauthorized

NewImportSAMLMetadataFromTextUnauthorized creates a ImportSAMLMetadataFromTextUnauthorized with default headers values

func (*ImportSAMLMetadataFromTextUnauthorized) Code

Code gets the status code for the import s a m l metadata from text unauthorized response

func (*ImportSAMLMetadataFromTextUnauthorized) Error

func (*ImportSAMLMetadataFromTextUnauthorized) GetPayload

func (*ImportSAMLMetadataFromTextUnauthorized) IsClientError

func (o *ImportSAMLMetadataFromTextUnauthorized) IsClientError() bool

IsClientError returns true when this import s a m l metadata from text unauthorized response has a 4xx status code

func (*ImportSAMLMetadataFromTextUnauthorized) IsCode

IsCode returns true when this import s a m l metadata from text unauthorized response a status code equal to that given

func (*ImportSAMLMetadataFromTextUnauthorized) IsRedirect

IsRedirect returns true when this import s a m l metadata from text unauthorized response has a 3xx status code

func (*ImportSAMLMetadataFromTextUnauthorized) IsServerError

func (o *ImportSAMLMetadataFromTextUnauthorized) IsServerError() bool

IsServerError returns true when this import s a m l metadata from text unauthorized response has a 5xx status code

func (*ImportSAMLMetadataFromTextUnauthorized) IsSuccess

IsSuccess returns true when this import s a m l metadata from text unauthorized response has a 2xx status code

func (*ImportSAMLMetadataFromTextUnauthorized) String

type ImportSAMLMetadataFromTextUnprocessableEntity

type ImportSAMLMetadataFromTextUnprocessableEntity struct {
	Payload *models.Error
}

ImportSAMLMetadataFromTextUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewImportSAMLMetadataFromTextUnprocessableEntity

func NewImportSAMLMetadataFromTextUnprocessableEntity() *ImportSAMLMetadataFromTextUnprocessableEntity

NewImportSAMLMetadataFromTextUnprocessableEntity creates a ImportSAMLMetadataFromTextUnprocessableEntity with default headers values

func (*ImportSAMLMetadataFromTextUnprocessableEntity) Code

Code gets the status code for the import s a m l metadata from text unprocessable entity response

func (*ImportSAMLMetadataFromTextUnprocessableEntity) Error

func (*ImportSAMLMetadataFromTextUnprocessableEntity) GetPayload

func (*ImportSAMLMetadataFromTextUnprocessableEntity) IsClientError

IsClientError returns true when this import s a m l metadata from text unprocessable entity response has a 4xx status code

func (*ImportSAMLMetadataFromTextUnprocessableEntity) IsCode

IsCode returns true when this import s a m l metadata from text unprocessable entity response a status code equal to that given

func (*ImportSAMLMetadataFromTextUnprocessableEntity) IsRedirect

IsRedirect returns true when this import s a m l metadata from text unprocessable entity response has a 3xx status code

func (*ImportSAMLMetadataFromTextUnprocessableEntity) IsServerError

IsServerError returns true when this import s a m l metadata from text unprocessable entity response has a 5xx status code

func (*ImportSAMLMetadataFromTextUnprocessableEntity) IsSuccess

IsSuccess returns true when this import s a m l metadata from text unprocessable entity response has a 2xx status code

func (*ImportSAMLMetadataFromTextUnprocessableEntity) String

type ImportSAMLMetadataFromURLBadRequest

type ImportSAMLMetadataFromURLBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewImportSAMLMetadataFromURLBadRequest

func NewImportSAMLMetadataFromURLBadRequest() *ImportSAMLMetadataFromURLBadRequest

NewImportSAMLMetadataFromURLBadRequest creates a ImportSAMLMetadataFromURLBadRequest with default headers values

func (*ImportSAMLMetadataFromURLBadRequest) Code

Code gets the status code for the import s a m l metadata from Url bad request response

func (*ImportSAMLMetadataFromURLBadRequest) Error

func (*ImportSAMLMetadataFromURLBadRequest) GetPayload

func (*ImportSAMLMetadataFromURLBadRequest) IsClientError

func (o *ImportSAMLMetadataFromURLBadRequest) IsClientError() bool

IsClientError returns true when this import s a m l metadata from Url bad request response has a 4xx status code

func (*ImportSAMLMetadataFromURLBadRequest) IsCode

IsCode returns true when this import s a m l metadata from Url bad request response a status code equal to that given

func (*ImportSAMLMetadataFromURLBadRequest) IsRedirect

func (o *ImportSAMLMetadataFromURLBadRequest) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from Url bad request response has a 3xx status code

func (*ImportSAMLMetadataFromURLBadRequest) IsServerError

func (o *ImportSAMLMetadataFromURLBadRequest) IsServerError() bool

IsServerError returns true when this import s a m l metadata from Url bad request response has a 5xx status code

func (*ImportSAMLMetadataFromURLBadRequest) IsSuccess

IsSuccess returns true when this import s a m l metadata from Url bad request response has a 2xx status code

func (*ImportSAMLMetadataFromURLBadRequest) String

type ImportSAMLMetadataFromURLConflict

type ImportSAMLMetadataFromURLConflict struct {
	Payload *models.Error
}

ImportSAMLMetadataFromURLConflict describes a response with status code 409, with default header values.

Conflict

func NewImportSAMLMetadataFromURLConflict

func NewImportSAMLMetadataFromURLConflict() *ImportSAMLMetadataFromURLConflict

NewImportSAMLMetadataFromURLConflict creates a ImportSAMLMetadataFromURLConflict with default headers values

func (*ImportSAMLMetadataFromURLConflict) Code

Code gets the status code for the import s a m l metadata from Url conflict response

func (*ImportSAMLMetadataFromURLConflict) Error

func (*ImportSAMLMetadataFromURLConflict) GetPayload

func (*ImportSAMLMetadataFromURLConflict) IsClientError

func (o *ImportSAMLMetadataFromURLConflict) IsClientError() bool

IsClientError returns true when this import s a m l metadata from Url conflict response has a 4xx status code

func (*ImportSAMLMetadataFromURLConflict) IsCode

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

IsCode returns true when this import s a m l metadata from Url conflict response a status code equal to that given

func (*ImportSAMLMetadataFromURLConflict) IsRedirect

func (o *ImportSAMLMetadataFromURLConflict) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from Url conflict response has a 3xx status code

func (*ImportSAMLMetadataFromURLConflict) IsServerError

func (o *ImportSAMLMetadataFromURLConflict) IsServerError() bool

IsServerError returns true when this import s a m l metadata from Url conflict response has a 5xx status code

func (*ImportSAMLMetadataFromURLConflict) IsSuccess

func (o *ImportSAMLMetadataFromURLConflict) IsSuccess() bool

IsSuccess returns true when this import s a m l metadata from Url conflict response has a 2xx status code

func (*ImportSAMLMetadataFromURLConflict) String

type ImportSAMLMetadataFromURLForbidden

type ImportSAMLMetadataFromURLForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewImportSAMLMetadataFromURLForbidden

func NewImportSAMLMetadataFromURLForbidden() *ImportSAMLMetadataFromURLForbidden

NewImportSAMLMetadataFromURLForbidden creates a ImportSAMLMetadataFromURLForbidden with default headers values

func (*ImportSAMLMetadataFromURLForbidden) Code

Code gets the status code for the import s a m l metadata from Url forbidden response

func (*ImportSAMLMetadataFromURLForbidden) Error

func (*ImportSAMLMetadataFromURLForbidden) GetPayload

func (*ImportSAMLMetadataFromURLForbidden) IsClientError

func (o *ImportSAMLMetadataFromURLForbidden) IsClientError() bool

IsClientError returns true when this import s a m l metadata from Url forbidden response has a 4xx status code

func (*ImportSAMLMetadataFromURLForbidden) IsCode

IsCode returns true when this import s a m l metadata from Url forbidden response a status code equal to that given

func (*ImportSAMLMetadataFromURLForbidden) IsRedirect

func (o *ImportSAMLMetadataFromURLForbidden) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from Url forbidden response has a 3xx status code

func (*ImportSAMLMetadataFromURLForbidden) IsServerError

func (o *ImportSAMLMetadataFromURLForbidden) IsServerError() bool

IsServerError returns true when this import s a m l metadata from Url forbidden response has a 5xx status code

func (*ImportSAMLMetadataFromURLForbidden) IsSuccess

IsSuccess returns true when this import s a m l metadata from Url forbidden response has a 2xx status code

func (*ImportSAMLMetadataFromURLForbidden) String

type ImportSAMLMetadataFromURLNoContent

type ImportSAMLMetadataFromURLNoContent struct {
}

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

metadata has been successfully imported

func NewImportSAMLMetadataFromURLNoContent

func NewImportSAMLMetadataFromURLNoContent() *ImportSAMLMetadataFromURLNoContent

NewImportSAMLMetadataFromURLNoContent creates a ImportSAMLMetadataFromURLNoContent with default headers values

func (*ImportSAMLMetadataFromURLNoContent) Code

Code gets the status code for the import s a m l metadata from Url no content response

func (*ImportSAMLMetadataFromURLNoContent) Error

func (*ImportSAMLMetadataFromURLNoContent) IsClientError

func (o *ImportSAMLMetadataFromURLNoContent) IsClientError() bool

IsClientError returns true when this import s a m l metadata from Url no content response has a 4xx status code

func (*ImportSAMLMetadataFromURLNoContent) IsCode

IsCode returns true when this import s a m l metadata from Url no content response a status code equal to that given

func (*ImportSAMLMetadataFromURLNoContent) IsRedirect

func (o *ImportSAMLMetadataFromURLNoContent) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from Url no content response has a 3xx status code

func (*ImportSAMLMetadataFromURLNoContent) IsServerError

func (o *ImportSAMLMetadataFromURLNoContent) IsServerError() bool

IsServerError returns true when this import s a m l metadata from Url no content response has a 5xx status code

func (*ImportSAMLMetadataFromURLNoContent) IsSuccess

IsSuccess returns true when this import s a m l metadata from Url no content response has a 2xx status code

func (*ImportSAMLMetadataFromURLNoContent) String

type ImportSAMLMetadataFromURLNotFound

type ImportSAMLMetadataFromURLNotFound struct {
	Payload *models.Error
}

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

Not found

func NewImportSAMLMetadataFromURLNotFound

func NewImportSAMLMetadataFromURLNotFound() *ImportSAMLMetadataFromURLNotFound

NewImportSAMLMetadataFromURLNotFound creates a ImportSAMLMetadataFromURLNotFound with default headers values

func (*ImportSAMLMetadataFromURLNotFound) Code

Code gets the status code for the import s a m l metadata from Url not found response

func (*ImportSAMLMetadataFromURLNotFound) Error

func (*ImportSAMLMetadataFromURLNotFound) GetPayload

func (*ImportSAMLMetadataFromURLNotFound) IsClientError

func (o *ImportSAMLMetadataFromURLNotFound) IsClientError() bool

IsClientError returns true when this import s a m l metadata from Url not found response has a 4xx status code

func (*ImportSAMLMetadataFromURLNotFound) IsCode

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

IsCode returns true when this import s a m l metadata from Url not found response a status code equal to that given

func (*ImportSAMLMetadataFromURLNotFound) IsRedirect

func (o *ImportSAMLMetadataFromURLNotFound) IsRedirect() bool

IsRedirect returns true when this import s a m l metadata from Url not found response has a 3xx status code

func (*ImportSAMLMetadataFromURLNotFound) IsServerError

func (o *ImportSAMLMetadataFromURLNotFound) IsServerError() bool

IsServerError returns true when this import s a m l metadata from Url not found response has a 5xx status code

func (*ImportSAMLMetadataFromURLNotFound) IsSuccess

func (o *ImportSAMLMetadataFromURLNotFound) IsSuccess() bool

IsSuccess returns true when this import s a m l metadata from Url not found response has a 2xx status code

func (*ImportSAMLMetadataFromURLNotFound) String

type ImportSAMLMetadataFromURLParams

type ImportSAMLMetadataFromURLParams struct {

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	// URL.
	URL *string

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

ImportSAMLMetadataFromURLParams contains all the parameters to send to the API endpoint

for the import s a m l metadata from URL operation.

Typically these are written to a http.Request.

func NewImportSAMLMetadataFromURLParams

func NewImportSAMLMetadataFromURLParams() *ImportSAMLMetadataFromURLParams

NewImportSAMLMetadataFromURLParams creates a new ImportSAMLMetadataFromURLParams 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 NewImportSAMLMetadataFromURLParamsWithContext

func NewImportSAMLMetadataFromURLParamsWithContext(ctx context.Context) *ImportSAMLMetadataFromURLParams

NewImportSAMLMetadataFromURLParamsWithContext creates a new ImportSAMLMetadataFromURLParams object with the ability to set a context for a request.

func NewImportSAMLMetadataFromURLParamsWithHTTPClient

func NewImportSAMLMetadataFromURLParamsWithHTTPClient(client *http.Client) *ImportSAMLMetadataFromURLParams

NewImportSAMLMetadataFromURLParamsWithHTTPClient creates a new ImportSAMLMetadataFromURLParams object with the ability to set a custom HTTPClient for a request.

func NewImportSAMLMetadataFromURLParamsWithTimeout

func NewImportSAMLMetadataFromURLParamsWithTimeout(timeout time.Duration) *ImportSAMLMetadataFromURLParams

NewImportSAMLMetadataFromURLParamsWithTimeout creates a new ImportSAMLMetadataFromURLParams object with the ability to set a timeout on a request.

func (*ImportSAMLMetadataFromURLParams) SetCid

func (o *ImportSAMLMetadataFromURLParams) SetCid(cid string)

SetCid adds the cid to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) SetContext

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

SetContext adds the context to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) SetDefaults

func (o *ImportSAMLMetadataFromURLParams) SetDefaults()

SetDefaults hydrates default values in the import s a m l metadata from URL params (not the query body).

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

func (*ImportSAMLMetadataFromURLParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) SetTimeout

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

SetTimeout adds the timeout to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) SetURL

func (o *ImportSAMLMetadataFromURLParams) SetURL(url *string)

SetURL adds the url to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) WithCid

WithCid adds the cid to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) WithContext

WithContext adds the context to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) WithDefaults

WithDefaults hydrates default values in the import s a m l metadata from URL params (not the query body).

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

func (*ImportSAMLMetadataFromURLParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) WithIfMatch

WithIfMatch adds the ifMatch to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) WithTimeout

WithTimeout adds the timeout to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) WithURL

WithURL adds the url to the import s a m l metadata from URL params

func (*ImportSAMLMetadataFromURLParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportSAMLMetadataFromURLReader

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

ImportSAMLMetadataFromURLReader is a Reader for the ImportSAMLMetadataFromURL structure.

func (*ImportSAMLMetadataFromURLReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportSAMLMetadataFromURLTooManyRequests

type ImportSAMLMetadataFromURLTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewImportSAMLMetadataFromURLTooManyRequests

func NewImportSAMLMetadataFromURLTooManyRequests() *ImportSAMLMetadataFromURLTooManyRequests

NewImportSAMLMetadataFromURLTooManyRequests creates a ImportSAMLMetadataFromURLTooManyRequests with default headers values

func (*ImportSAMLMetadataFromURLTooManyRequests) Code

Code gets the status code for the import s a m l metadata from Url too many requests response

func (*ImportSAMLMetadataFromURLTooManyRequests) Error

func (*ImportSAMLMetadataFromURLTooManyRequests) GetPayload

func (*ImportSAMLMetadataFromURLTooManyRequests) IsClientError

IsClientError returns true when this import s a m l metadata from Url too many requests response has a 4xx status code

func (*ImportSAMLMetadataFromURLTooManyRequests) IsCode

IsCode returns true when this import s a m l metadata from Url too many requests response a status code equal to that given

func (*ImportSAMLMetadataFromURLTooManyRequests) IsRedirect

IsRedirect returns true when this import s a m l metadata from Url too many requests response has a 3xx status code

func (*ImportSAMLMetadataFromURLTooManyRequests) IsServerError

IsServerError returns true when this import s a m l metadata from Url too many requests response has a 5xx status code

func (*ImportSAMLMetadataFromURLTooManyRequests) IsSuccess

IsSuccess returns true when this import s a m l metadata from Url too many requests response has a 2xx status code

func (*ImportSAMLMetadataFromURLTooManyRequests) String

type ImportSAMLMetadataFromURLUnauthorized

type ImportSAMLMetadataFromURLUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewImportSAMLMetadataFromURLUnauthorized

func NewImportSAMLMetadataFromURLUnauthorized() *ImportSAMLMetadataFromURLUnauthorized

NewImportSAMLMetadataFromURLUnauthorized creates a ImportSAMLMetadataFromURLUnauthorized with default headers values

func (*ImportSAMLMetadataFromURLUnauthorized) Code

Code gets the status code for the import s a m l metadata from Url unauthorized response

func (*ImportSAMLMetadataFromURLUnauthorized) Error

func (*ImportSAMLMetadataFromURLUnauthorized) GetPayload

func (*ImportSAMLMetadataFromURLUnauthorized) IsClientError

func (o *ImportSAMLMetadataFromURLUnauthorized) IsClientError() bool

IsClientError returns true when this import s a m l metadata from Url unauthorized response has a 4xx status code

func (*ImportSAMLMetadataFromURLUnauthorized) IsCode

IsCode returns true when this import s a m l metadata from Url unauthorized response a status code equal to that given

func (*ImportSAMLMetadataFromURLUnauthorized) IsRedirect

IsRedirect returns true when this import s a m l metadata from Url unauthorized response has a 3xx status code

func (*ImportSAMLMetadataFromURLUnauthorized) IsServerError

func (o *ImportSAMLMetadataFromURLUnauthorized) IsServerError() bool

IsServerError returns true when this import s a m l metadata from Url unauthorized response has a 5xx status code

func (*ImportSAMLMetadataFromURLUnauthorized) IsSuccess

IsSuccess returns true when this import s a m l metadata from Url unauthorized response has a 2xx status code

func (*ImportSAMLMetadataFromURLUnauthorized) String

type ImportSAMLMetadataFromURLUnprocessableEntity

type ImportSAMLMetadataFromURLUnprocessableEntity struct {
	Payload *models.Error
}

ImportSAMLMetadataFromURLUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewImportSAMLMetadataFromURLUnprocessableEntity

func NewImportSAMLMetadataFromURLUnprocessableEntity() *ImportSAMLMetadataFromURLUnprocessableEntity

NewImportSAMLMetadataFromURLUnprocessableEntity creates a ImportSAMLMetadataFromURLUnprocessableEntity with default headers values

func (*ImportSAMLMetadataFromURLUnprocessableEntity) Code

Code gets the status code for the import s a m l metadata from Url unprocessable entity response

func (*ImportSAMLMetadataFromURLUnprocessableEntity) Error

func (*ImportSAMLMetadataFromURLUnprocessableEntity) GetPayload

func (*ImportSAMLMetadataFromURLUnprocessableEntity) IsClientError

IsClientError returns true when this import s a m l metadata from Url unprocessable entity response has a 4xx status code

func (*ImportSAMLMetadataFromURLUnprocessableEntity) IsCode

IsCode returns true when this import s a m l metadata from Url unprocessable entity response a status code equal to that given

func (*ImportSAMLMetadataFromURLUnprocessableEntity) IsRedirect

IsRedirect returns true when this import s a m l metadata from Url unprocessable entity response has a 3xx status code

func (*ImportSAMLMetadataFromURLUnprocessableEntity) IsServerError

IsServerError returns true when this import s a m l metadata from Url unprocessable entity response has a 5xx status code

func (*ImportSAMLMetadataFromURLUnprocessableEntity) IsSuccess

IsSuccess returns true when this import s a m l metadata from Url unprocessable entity response has a 2xx status code

func (*ImportSAMLMetadataFromURLUnprocessableEntity) String

type ListClientsBadRequest

type ListClientsBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewListClientsBadRequest

func NewListClientsBadRequest() *ListClientsBadRequest

NewListClientsBadRequest creates a ListClientsBadRequest with default headers values

func (*ListClientsBadRequest) Code

func (o *ListClientsBadRequest) Code() int

Code gets the status code for the list clients bad request response

func (*ListClientsBadRequest) Error

func (o *ListClientsBadRequest) Error() string

func (*ListClientsBadRequest) GetPayload

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

func (*ListClientsBadRequest) IsClientError

func (o *ListClientsBadRequest) IsClientError() bool

IsClientError returns true when this list clients bad request response has a 4xx status code

func (*ListClientsBadRequest) IsCode

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

IsCode returns true when this list clients bad request response a status code equal to that given

func (*ListClientsBadRequest) IsRedirect

func (o *ListClientsBadRequest) IsRedirect() bool

IsRedirect returns true when this list clients bad request response has a 3xx status code

func (*ListClientsBadRequest) IsServerError

func (o *ListClientsBadRequest) IsServerError() bool

IsServerError returns true when this list clients bad request response has a 5xx status code

func (*ListClientsBadRequest) IsSuccess

func (o *ListClientsBadRequest) IsSuccess() bool

IsSuccess returns true when this list clients bad request response has a 2xx status code

func (*ListClientsBadRequest) String

func (o *ListClientsBadRequest) String() string

type ListClientsForbidden

type ListClientsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewListClientsForbidden

func NewListClientsForbidden() *ListClientsForbidden

NewListClientsForbidden creates a ListClientsForbidden with default headers values

func (*ListClientsForbidden) Code

func (o *ListClientsForbidden) Code() int

Code gets the status code for the list clients forbidden response

func (*ListClientsForbidden) Error

func (o *ListClientsForbidden) Error() string

func (*ListClientsForbidden) GetPayload

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

func (*ListClientsForbidden) IsClientError

func (o *ListClientsForbidden) IsClientError() bool

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

func (*ListClientsForbidden) IsCode

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

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

func (*ListClientsForbidden) IsRedirect

func (o *ListClientsForbidden) IsRedirect() bool

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

func (*ListClientsForbidden) IsServerError

func (o *ListClientsForbidden) IsServerError() bool

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

func (*ListClientsForbidden) IsSuccess

func (o *ListClientsForbidden) IsSuccess() bool

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

func (*ListClientsForbidden) String

func (o *ListClientsForbidden) String() string

type ListClientsNotFound

type ListClientsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListClientsNotFound

func NewListClientsNotFound() *ListClientsNotFound

NewListClientsNotFound creates a ListClientsNotFound with default headers values

func (*ListClientsNotFound) Code

func (o *ListClientsNotFound) Code() int

Code gets the status code for the list clients not found response

func (*ListClientsNotFound) Error

func (o *ListClientsNotFound) Error() string

func (*ListClientsNotFound) GetPayload

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

func (*ListClientsNotFound) IsClientError

func (o *ListClientsNotFound) IsClientError() bool

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

func (*ListClientsNotFound) IsCode

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

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

func (*ListClientsNotFound) IsRedirect

func (o *ListClientsNotFound) IsRedirect() bool

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

func (*ListClientsNotFound) IsServerError

func (o *ListClientsNotFound) IsServerError() bool

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

func (*ListClientsNotFound) IsSuccess

func (o *ListClientsNotFound) IsSuccess() bool

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

func (*ListClientsNotFound) String

func (o *ListClientsNotFound) String() string

type ListClientsOK

type ListClientsOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ClientsForAdmin
}

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

Clients

func NewListClientsOK

func NewListClientsOK() *ListClientsOK

NewListClientsOK creates a ListClientsOK with default headers values

func (*ListClientsOK) Code

func (o *ListClientsOK) Code() int

Code gets the status code for the list clients o k response

func (*ListClientsOK) Error

func (o *ListClientsOK) Error() string

func (*ListClientsOK) GetPayload

func (o *ListClientsOK) GetPayload() *models.ClientsForAdmin

func (*ListClientsOK) IsClientError

func (o *ListClientsOK) IsClientError() bool

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

func (*ListClientsOK) IsCode

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

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

func (*ListClientsOK) IsRedirect

func (o *ListClientsOK) IsRedirect() bool

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

func (*ListClientsOK) IsServerError

func (o *ListClientsOK) IsServerError() bool

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

func (*ListClientsOK) IsSuccess

func (o *ListClientsOK) IsSuccess() bool

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

func (*ListClientsOK) String

func (o *ListClientsOK) String() string

type ListClientsParams

type ListClientsParams struct {

	/* AfterClientID.

	     optional list clients after given id
	AfterClientID
	*/
	AfterClientID *string

	/* ApplicationTypes.

	     Optional application types
	ApplicationTypes
	*/
	ApplicationTypes *string

	/* BeforeClientID.

	     optional list clients before given id
	BeforeClientID
	*/
	BeforeClientID *string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

	/* Limit.

	     optional limit results
	Limit

	     Format: int64
	     Default: 20
	*/
	Limit *int64

	/* Order.

	     optional order clients by given direction
	Order
	*/
	Order *string

	/* SearchPhrase.

	     Optional search phrase: client id OR client name substring
	SearchPhrase
	*/
	SearchPhrase *string

	/* Sort.

	     optional sort clients by given field, one of: name, client_id, issued_at
	Sort
	*/
	Sort *string

	/* Type.

	     Optional type, one of: internal, third_party
	Type
	*/
	Type *string

	/* Wid.

	   Authorization server id

	   Default: "default"
	*/
	Wid string

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

ListClientsParams contains all the parameters to send to the API endpoint

for the list clients operation.

Typically these are written to a http.Request.

func NewListClientsParams

func NewListClientsParams() *ListClientsParams

NewListClientsParams creates a new ListClientsParams 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 NewListClientsParamsWithContext

func NewListClientsParamsWithContext(ctx context.Context) *ListClientsParams

NewListClientsParamsWithContext creates a new ListClientsParams object with the ability to set a context for a request.

func NewListClientsParamsWithHTTPClient

func NewListClientsParamsWithHTTPClient(client *http.Client) *ListClientsParams

NewListClientsParamsWithHTTPClient creates a new ListClientsParams object with the ability to set a custom HTTPClient for a request.

func NewListClientsParamsWithTimeout

func NewListClientsParamsWithTimeout(timeout time.Duration) *ListClientsParams

NewListClientsParamsWithTimeout creates a new ListClientsParams object with the ability to set a timeout on a request.

func (*ListClientsParams) SetAfterClientID

func (o *ListClientsParams) SetAfterClientID(afterClientID *string)

SetAfterClientID adds the afterClientId to the list clients params

func (*ListClientsParams) SetApplicationTypes

func (o *ListClientsParams) SetApplicationTypes(applicationTypes *string)

SetApplicationTypes adds the applicationTypes to the list clients params

func (*ListClientsParams) SetBeforeClientID

func (o *ListClientsParams) SetBeforeClientID(beforeClientID *string)

SetBeforeClientID adds the beforeClientId to the list clients params

func (*ListClientsParams) SetContext

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

SetContext adds the context to the list clients params

func (*ListClientsParams) SetDefaults

func (o *ListClientsParams) SetDefaults()

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

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

func (*ListClientsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list clients params

func (*ListClientsParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the list clients params

func (*ListClientsParams) SetLimit

func (o *ListClientsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list clients params

func (*ListClientsParams) SetOrder

func (o *ListClientsParams) SetOrder(order *string)

SetOrder adds the order to the list clients params

func (*ListClientsParams) SetSearchPhrase

func (o *ListClientsParams) SetSearchPhrase(searchPhrase *string)

SetSearchPhrase adds the searchPhrase to the list clients params

func (*ListClientsParams) SetSort

func (o *ListClientsParams) SetSort(sort *string)

SetSort adds the sort to the list clients params

func (*ListClientsParams) SetTimeout

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

SetTimeout adds the timeout to the list clients params

func (*ListClientsParams) SetType

func (o *ListClientsParams) SetType(typeVar *string)

SetType adds the type to the list clients params

func (*ListClientsParams) SetWid

func (o *ListClientsParams) SetWid(wid string)

SetWid adds the wid to the list clients params

func (*ListClientsParams) WithAfterClientID

func (o *ListClientsParams) WithAfterClientID(afterClientID *string) *ListClientsParams

WithAfterClientID adds the afterClientID to the list clients params

func (*ListClientsParams) WithApplicationTypes

func (o *ListClientsParams) WithApplicationTypes(applicationTypes *string) *ListClientsParams

WithApplicationTypes adds the applicationTypes to the list clients params

func (*ListClientsParams) WithBeforeClientID

func (o *ListClientsParams) WithBeforeClientID(beforeClientID *string) *ListClientsParams

WithBeforeClientID adds the beforeClientID to the list clients params

func (*ListClientsParams) WithContext

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

WithContext adds the context to the list clients params

func (*ListClientsParams) WithDefaults

func (o *ListClientsParams) WithDefaults() *ListClientsParams

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

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

func (*ListClientsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list clients params

func (*ListClientsParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the list clients params

func (*ListClientsParams) WithLimit

func (o *ListClientsParams) WithLimit(limit *int64) *ListClientsParams

WithLimit adds the limit to the list clients params

func (*ListClientsParams) WithOrder

func (o *ListClientsParams) WithOrder(order *string) *ListClientsParams

WithOrder adds the order to the list clients params

func (*ListClientsParams) WithSearchPhrase

func (o *ListClientsParams) WithSearchPhrase(searchPhrase *string) *ListClientsParams

WithSearchPhrase adds the searchPhrase to the list clients params

func (*ListClientsParams) WithSort

func (o *ListClientsParams) WithSort(sort *string) *ListClientsParams

WithSort adds the sort to the list clients params

func (*ListClientsParams) WithTimeout

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

WithTimeout adds the timeout to the list clients params

func (*ListClientsParams) WithType

func (o *ListClientsParams) WithType(typeVar *string) *ListClientsParams

WithType adds the typeVar to the list clients params

func (*ListClientsParams) WithWid

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

WithWid adds the wid to the list clients params

func (*ListClientsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListClientsReader

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

ListClientsReader is a Reader for the ListClients structure.

func (*ListClientsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListClientsTooManyRequests

type ListClientsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewListClientsTooManyRequests

func NewListClientsTooManyRequests() *ListClientsTooManyRequests

NewListClientsTooManyRequests creates a ListClientsTooManyRequests with default headers values

func (*ListClientsTooManyRequests) Code

func (o *ListClientsTooManyRequests) Code() int

Code gets the status code for the list clients too many requests response

func (*ListClientsTooManyRequests) Error

func (*ListClientsTooManyRequests) GetPayload

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

func (*ListClientsTooManyRequests) IsClientError

func (o *ListClientsTooManyRequests) IsClientError() bool

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

func (*ListClientsTooManyRequests) IsCode

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

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

func (*ListClientsTooManyRequests) IsRedirect

func (o *ListClientsTooManyRequests) IsRedirect() bool

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

func (*ListClientsTooManyRequests) IsServerError

func (o *ListClientsTooManyRequests) IsServerError() bool

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

func (*ListClientsTooManyRequests) IsSuccess

func (o *ListClientsTooManyRequests) IsSuccess() bool

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

func (*ListClientsTooManyRequests) String

func (o *ListClientsTooManyRequests) String() string

type ListClientsUnauthorized

type ListClientsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListClientsUnauthorized

func NewListClientsUnauthorized() *ListClientsUnauthorized

NewListClientsUnauthorized creates a ListClientsUnauthorized with default headers values

func (*ListClientsUnauthorized) Code

func (o *ListClientsUnauthorized) Code() int

Code gets the status code for the list clients unauthorized response

func (*ListClientsUnauthorized) Error

func (o *ListClientsUnauthorized) Error() string

func (*ListClientsUnauthorized) GetPayload

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

func (*ListClientsUnauthorized) IsClientError

func (o *ListClientsUnauthorized) IsClientError() bool

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

func (*ListClientsUnauthorized) IsCode

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

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

func (*ListClientsUnauthorized) IsRedirect

func (o *ListClientsUnauthorized) IsRedirect() bool

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

func (*ListClientsUnauthorized) IsServerError

func (o *ListClientsUnauthorized) IsServerError() bool

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

func (*ListClientsUnauthorized) IsSuccess

func (o *ListClientsUnauthorized) IsSuccess() bool

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

func (*ListClientsUnauthorized) String

func (o *ListClientsUnauthorized) String() string

type ParseCertificateBadRequest

type ParseCertificateBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewParseCertificateBadRequest

func NewParseCertificateBadRequest() *ParseCertificateBadRequest

NewParseCertificateBadRequest creates a ParseCertificateBadRequest with default headers values

func (*ParseCertificateBadRequest) Code

func (o *ParseCertificateBadRequest) Code() int

Code gets the status code for the parse certificate bad request response

func (*ParseCertificateBadRequest) Error

func (*ParseCertificateBadRequest) GetPayload

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

func (*ParseCertificateBadRequest) IsClientError

func (o *ParseCertificateBadRequest) IsClientError() bool

IsClientError returns true when this parse certificate bad request response has a 4xx status code

func (*ParseCertificateBadRequest) IsCode

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

IsCode returns true when this parse certificate bad request response a status code equal to that given

func (*ParseCertificateBadRequest) IsRedirect

func (o *ParseCertificateBadRequest) IsRedirect() bool

IsRedirect returns true when this parse certificate bad request response has a 3xx status code

func (*ParseCertificateBadRequest) IsServerError

func (o *ParseCertificateBadRequest) IsServerError() bool

IsServerError returns true when this parse certificate bad request response has a 5xx status code

func (*ParseCertificateBadRequest) IsSuccess

func (o *ParseCertificateBadRequest) IsSuccess() bool

IsSuccess returns true when this parse certificate bad request response has a 2xx status code

func (*ParseCertificateBadRequest) String

func (o *ParseCertificateBadRequest) String() string

type ParseCertificateForbidden

type ParseCertificateForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewParseCertificateForbidden

func NewParseCertificateForbidden() *ParseCertificateForbidden

NewParseCertificateForbidden creates a ParseCertificateForbidden with default headers values

func (*ParseCertificateForbidden) Code

func (o *ParseCertificateForbidden) Code() int

Code gets the status code for the parse certificate forbidden response

func (*ParseCertificateForbidden) Error

func (o *ParseCertificateForbidden) Error() string

func (*ParseCertificateForbidden) GetPayload

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

func (*ParseCertificateForbidden) IsClientError

func (o *ParseCertificateForbidden) IsClientError() bool

IsClientError returns true when this parse certificate forbidden response has a 4xx status code

func (*ParseCertificateForbidden) IsCode

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

IsCode returns true when this parse certificate forbidden response a status code equal to that given

func (*ParseCertificateForbidden) IsRedirect

func (o *ParseCertificateForbidden) IsRedirect() bool

IsRedirect returns true when this parse certificate forbidden response has a 3xx status code

func (*ParseCertificateForbidden) IsServerError

func (o *ParseCertificateForbidden) IsServerError() bool

IsServerError returns true when this parse certificate forbidden response has a 5xx status code

func (*ParseCertificateForbidden) IsSuccess

func (o *ParseCertificateForbidden) IsSuccess() bool

IsSuccess returns true when this parse certificate forbidden response has a 2xx status code

func (*ParseCertificateForbidden) String

func (o *ParseCertificateForbidden) String() string

type ParseCertificateOK

type ParseCertificateOK struct {
	Payload *models.CertificateInfo
}

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

CertificateInfo

func NewParseCertificateOK

func NewParseCertificateOK() *ParseCertificateOK

NewParseCertificateOK creates a ParseCertificateOK with default headers values

func (*ParseCertificateOK) Code

func (o *ParseCertificateOK) Code() int

Code gets the status code for the parse certificate o k response

func (*ParseCertificateOK) Error

func (o *ParseCertificateOK) Error() string

func (*ParseCertificateOK) GetPayload

func (o *ParseCertificateOK) GetPayload() *models.CertificateInfo

func (*ParseCertificateOK) IsClientError

func (o *ParseCertificateOK) IsClientError() bool

IsClientError returns true when this parse certificate o k response has a 4xx status code

func (*ParseCertificateOK) IsCode

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

IsCode returns true when this parse certificate o k response a status code equal to that given

func (*ParseCertificateOK) IsRedirect

func (o *ParseCertificateOK) IsRedirect() bool

IsRedirect returns true when this parse certificate o k response has a 3xx status code

func (*ParseCertificateOK) IsServerError

func (o *ParseCertificateOK) IsServerError() bool

IsServerError returns true when this parse certificate o k response has a 5xx status code

func (*ParseCertificateOK) IsSuccess

func (o *ParseCertificateOK) IsSuccess() bool

IsSuccess returns true when this parse certificate o k response has a 2xx status code

func (*ParseCertificateOK) String

func (o *ParseCertificateOK) String() string

type ParseCertificateParams

type ParseCertificateParams struct {

	// File.
	File runtime.NamedReadCloser

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

ParseCertificateParams contains all the parameters to send to the API endpoint

for the parse certificate operation.

Typically these are written to a http.Request.

func NewParseCertificateParams

func NewParseCertificateParams() *ParseCertificateParams

NewParseCertificateParams creates a new ParseCertificateParams 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 NewParseCertificateParamsWithContext

func NewParseCertificateParamsWithContext(ctx context.Context) *ParseCertificateParams

NewParseCertificateParamsWithContext creates a new ParseCertificateParams object with the ability to set a context for a request.

func NewParseCertificateParamsWithHTTPClient

func NewParseCertificateParamsWithHTTPClient(client *http.Client) *ParseCertificateParams

NewParseCertificateParamsWithHTTPClient creates a new ParseCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewParseCertificateParamsWithTimeout

func NewParseCertificateParamsWithTimeout(timeout time.Duration) *ParseCertificateParams

NewParseCertificateParamsWithTimeout creates a new ParseCertificateParams object with the ability to set a timeout on a request.

func (*ParseCertificateParams) SetContext

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

SetContext adds the context to the parse certificate params

func (*ParseCertificateParams) SetDefaults

func (o *ParseCertificateParams) SetDefaults()

SetDefaults hydrates default values in the parse certificate params (not the query body).

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

func (*ParseCertificateParams) SetFile

SetFile adds the file to the parse certificate params

func (*ParseCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the parse certificate params

func (*ParseCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the parse certificate params

func (*ParseCertificateParams) WithContext

WithContext adds the context to the parse certificate params

func (*ParseCertificateParams) WithDefaults

WithDefaults hydrates default values in the parse certificate params (not the query body).

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

func (*ParseCertificateParams) WithFile

WithFile adds the file to the parse certificate params

func (*ParseCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the parse certificate params

func (*ParseCertificateParams) WithTimeout

WithTimeout adds the timeout to the parse certificate params

func (*ParseCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ParseCertificateReader

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

ParseCertificateReader is a Reader for the ParseCertificate structure.

func (*ParseCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ParseCertificateTooManyRequests

type ParseCertificateTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewParseCertificateTooManyRequests

func NewParseCertificateTooManyRequests() *ParseCertificateTooManyRequests

NewParseCertificateTooManyRequests creates a ParseCertificateTooManyRequests with default headers values

func (*ParseCertificateTooManyRequests) Code

Code gets the status code for the parse certificate too many requests response

func (*ParseCertificateTooManyRequests) Error

func (*ParseCertificateTooManyRequests) GetPayload

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

func (*ParseCertificateTooManyRequests) IsClientError

func (o *ParseCertificateTooManyRequests) IsClientError() bool

IsClientError returns true when this parse certificate too many requests response has a 4xx status code

func (*ParseCertificateTooManyRequests) IsCode

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

IsCode returns true when this parse certificate too many requests response a status code equal to that given

func (*ParseCertificateTooManyRequests) IsRedirect

func (o *ParseCertificateTooManyRequests) IsRedirect() bool

IsRedirect returns true when this parse certificate too many requests response has a 3xx status code

func (*ParseCertificateTooManyRequests) IsServerError

func (o *ParseCertificateTooManyRequests) IsServerError() bool

IsServerError returns true when this parse certificate too many requests response has a 5xx status code

func (*ParseCertificateTooManyRequests) IsSuccess

func (o *ParseCertificateTooManyRequests) IsSuccess() bool

IsSuccess returns true when this parse certificate too many requests response has a 2xx status code

func (*ParseCertificateTooManyRequests) String

type ParseCertificateUnauthorized

type ParseCertificateUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewParseCertificateUnauthorized

func NewParseCertificateUnauthorized() *ParseCertificateUnauthorized

NewParseCertificateUnauthorized creates a ParseCertificateUnauthorized with default headers values

func (*ParseCertificateUnauthorized) Code

Code gets the status code for the parse certificate unauthorized response

func (*ParseCertificateUnauthorized) Error

func (*ParseCertificateUnauthorized) GetPayload

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

func (*ParseCertificateUnauthorized) IsClientError

func (o *ParseCertificateUnauthorized) IsClientError() bool

IsClientError returns true when this parse certificate unauthorized response has a 4xx status code

func (*ParseCertificateUnauthorized) IsCode

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

IsCode returns true when this parse certificate unauthorized response a status code equal to that given

func (*ParseCertificateUnauthorized) IsRedirect

func (o *ParseCertificateUnauthorized) IsRedirect() bool

IsRedirect returns true when this parse certificate unauthorized response has a 3xx status code

func (*ParseCertificateUnauthorized) IsServerError

func (o *ParseCertificateUnauthorized) IsServerError() bool

IsServerError returns true when this parse certificate unauthorized response has a 5xx status code

func (*ParseCertificateUnauthorized) IsSuccess

func (o *ParseCertificateUnauthorized) IsSuccess() bool

IsSuccess returns true when this parse certificate unauthorized response has a 2xx status code

func (*ParseCertificateUnauthorized) String

type RevokeRotatedClientSecretsForbidden

type RevokeRotatedClientSecretsForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRevokeRotatedClientSecretsForbidden

func NewRevokeRotatedClientSecretsForbidden() *RevokeRotatedClientSecretsForbidden

NewRevokeRotatedClientSecretsForbidden creates a RevokeRotatedClientSecretsForbidden with default headers values

func (*RevokeRotatedClientSecretsForbidden) Code

Code gets the status code for the revoke rotated client secrets forbidden response

func (*RevokeRotatedClientSecretsForbidden) Error

func (*RevokeRotatedClientSecretsForbidden) GetPayload

func (*RevokeRotatedClientSecretsForbidden) IsClientError

func (o *RevokeRotatedClientSecretsForbidden) IsClientError() bool

IsClientError returns true when this revoke rotated client secrets forbidden response has a 4xx status code

func (*RevokeRotatedClientSecretsForbidden) IsCode

IsCode returns true when this revoke rotated client secrets forbidden response a status code equal to that given

func (*RevokeRotatedClientSecretsForbidden) IsRedirect

func (o *RevokeRotatedClientSecretsForbidden) IsRedirect() bool

IsRedirect returns true when this revoke rotated client secrets forbidden response has a 3xx status code

func (*RevokeRotatedClientSecretsForbidden) IsServerError

func (o *RevokeRotatedClientSecretsForbidden) IsServerError() bool

IsServerError returns true when this revoke rotated client secrets forbidden response has a 5xx status code

func (*RevokeRotatedClientSecretsForbidden) IsSuccess

IsSuccess returns true when this revoke rotated client secrets forbidden response has a 2xx status code

func (*RevokeRotatedClientSecretsForbidden) String

type RevokeRotatedClientSecretsNoContent

type RevokeRotatedClientSecretsNoContent struct {
}

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

all client's rotated secrets has been revoked

func NewRevokeRotatedClientSecretsNoContent

func NewRevokeRotatedClientSecretsNoContent() *RevokeRotatedClientSecretsNoContent

NewRevokeRotatedClientSecretsNoContent creates a RevokeRotatedClientSecretsNoContent with default headers values

func (*RevokeRotatedClientSecretsNoContent) Code

Code gets the status code for the revoke rotated client secrets no content response

func (*RevokeRotatedClientSecretsNoContent) Error

func (*RevokeRotatedClientSecretsNoContent) IsClientError

func (o *RevokeRotatedClientSecretsNoContent) IsClientError() bool

IsClientError returns true when this revoke rotated client secrets no content response has a 4xx status code

func (*RevokeRotatedClientSecretsNoContent) IsCode

IsCode returns true when this revoke rotated client secrets no content response a status code equal to that given

func (*RevokeRotatedClientSecretsNoContent) IsRedirect

func (o *RevokeRotatedClientSecretsNoContent) IsRedirect() bool

IsRedirect returns true when this revoke rotated client secrets no content response has a 3xx status code

func (*RevokeRotatedClientSecretsNoContent) IsServerError

func (o *RevokeRotatedClientSecretsNoContent) IsServerError() bool

IsServerError returns true when this revoke rotated client secrets no content response has a 5xx status code

func (*RevokeRotatedClientSecretsNoContent) IsSuccess

IsSuccess returns true when this revoke rotated client secrets no content response has a 2xx status code

func (*RevokeRotatedClientSecretsNoContent) String

type RevokeRotatedClientSecretsNotFound

type RevokeRotatedClientSecretsNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRevokeRotatedClientSecretsNotFound

func NewRevokeRotatedClientSecretsNotFound() *RevokeRotatedClientSecretsNotFound

NewRevokeRotatedClientSecretsNotFound creates a RevokeRotatedClientSecretsNotFound with default headers values

func (*RevokeRotatedClientSecretsNotFound) Code

Code gets the status code for the revoke rotated client secrets not found response

func (*RevokeRotatedClientSecretsNotFound) Error

func (*RevokeRotatedClientSecretsNotFound) GetPayload

func (*RevokeRotatedClientSecretsNotFound) IsClientError

func (o *RevokeRotatedClientSecretsNotFound) IsClientError() bool

IsClientError returns true when this revoke rotated client secrets not found response has a 4xx status code

func (*RevokeRotatedClientSecretsNotFound) IsCode

IsCode returns true when this revoke rotated client secrets not found response a status code equal to that given

func (*RevokeRotatedClientSecretsNotFound) IsRedirect

func (o *RevokeRotatedClientSecretsNotFound) IsRedirect() bool

IsRedirect returns true when this revoke rotated client secrets not found response has a 3xx status code

func (*RevokeRotatedClientSecretsNotFound) IsServerError

func (o *RevokeRotatedClientSecretsNotFound) IsServerError() bool

IsServerError returns true when this revoke rotated client secrets not found response has a 5xx status code

func (*RevokeRotatedClientSecretsNotFound) IsSuccess

IsSuccess returns true when this revoke rotated client secrets not found response has a 2xx status code

func (*RevokeRotatedClientSecretsNotFound) String

type RevokeRotatedClientSecretsParams

type RevokeRotatedClientSecretsParams struct {

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

RevokeRotatedClientSecretsParams contains all the parameters to send to the API endpoint

for the revoke rotated client secrets operation.

Typically these are written to a http.Request.

func NewRevokeRotatedClientSecretsParams

func NewRevokeRotatedClientSecretsParams() *RevokeRotatedClientSecretsParams

NewRevokeRotatedClientSecretsParams creates a new RevokeRotatedClientSecretsParams 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 NewRevokeRotatedClientSecretsParamsWithContext

func NewRevokeRotatedClientSecretsParamsWithContext(ctx context.Context) *RevokeRotatedClientSecretsParams

NewRevokeRotatedClientSecretsParamsWithContext creates a new RevokeRotatedClientSecretsParams object with the ability to set a context for a request.

func NewRevokeRotatedClientSecretsParamsWithHTTPClient

func NewRevokeRotatedClientSecretsParamsWithHTTPClient(client *http.Client) *RevokeRotatedClientSecretsParams

NewRevokeRotatedClientSecretsParamsWithHTTPClient creates a new RevokeRotatedClientSecretsParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeRotatedClientSecretsParamsWithTimeout

func NewRevokeRotatedClientSecretsParamsWithTimeout(timeout time.Duration) *RevokeRotatedClientSecretsParams

NewRevokeRotatedClientSecretsParamsWithTimeout creates a new RevokeRotatedClientSecretsParams object with the ability to set a timeout on a request.

func (*RevokeRotatedClientSecretsParams) SetCid

SetCid adds the cid to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) SetContext

SetContext adds the context to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) SetDefaults

func (o *RevokeRotatedClientSecretsParams) SetDefaults()

SetDefaults hydrates default values in the revoke rotated client secrets params (not the query body).

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

func (*RevokeRotatedClientSecretsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) WithCid

WithCid adds the cid to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) WithContext

WithContext adds the context to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) WithDefaults

WithDefaults hydrates default values in the revoke rotated client secrets params (not the query body).

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

func (*RevokeRotatedClientSecretsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) WithIfMatch

WithIfMatch adds the ifMatch to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) WithTimeout

WithTimeout adds the timeout to the revoke rotated client secrets params

func (*RevokeRotatedClientSecretsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevokeRotatedClientSecretsReader

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

RevokeRotatedClientSecretsReader is a Reader for the RevokeRotatedClientSecrets structure.

func (*RevokeRotatedClientSecretsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeRotatedClientSecretsTooManyRequests

type RevokeRotatedClientSecretsTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRevokeRotatedClientSecretsTooManyRequests

func NewRevokeRotatedClientSecretsTooManyRequests() *RevokeRotatedClientSecretsTooManyRequests

NewRevokeRotatedClientSecretsTooManyRequests creates a RevokeRotatedClientSecretsTooManyRequests with default headers values

func (*RevokeRotatedClientSecretsTooManyRequests) Code

Code gets the status code for the revoke rotated client secrets too many requests response

func (*RevokeRotatedClientSecretsTooManyRequests) Error

func (*RevokeRotatedClientSecretsTooManyRequests) GetPayload

func (*RevokeRotatedClientSecretsTooManyRequests) IsClientError

IsClientError returns true when this revoke rotated client secrets too many requests response has a 4xx status code

func (*RevokeRotatedClientSecretsTooManyRequests) IsCode

IsCode returns true when this revoke rotated client secrets too many requests response a status code equal to that given

func (*RevokeRotatedClientSecretsTooManyRequests) IsRedirect

IsRedirect returns true when this revoke rotated client secrets too many requests response has a 3xx status code

func (*RevokeRotatedClientSecretsTooManyRequests) IsServerError

IsServerError returns true when this revoke rotated client secrets too many requests response has a 5xx status code

func (*RevokeRotatedClientSecretsTooManyRequests) IsSuccess

IsSuccess returns true when this revoke rotated client secrets too many requests response has a 2xx status code

func (*RevokeRotatedClientSecretsTooManyRequests) String

type RevokeRotatedClientSecretsUnauthorized

type RevokeRotatedClientSecretsUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRevokeRotatedClientSecretsUnauthorized

func NewRevokeRotatedClientSecretsUnauthorized() *RevokeRotatedClientSecretsUnauthorized

NewRevokeRotatedClientSecretsUnauthorized creates a RevokeRotatedClientSecretsUnauthorized with default headers values

func (*RevokeRotatedClientSecretsUnauthorized) Code

Code gets the status code for the revoke rotated client secrets unauthorized response

func (*RevokeRotatedClientSecretsUnauthorized) Error

func (*RevokeRotatedClientSecretsUnauthorized) GetPayload

func (*RevokeRotatedClientSecretsUnauthorized) IsClientError

func (o *RevokeRotatedClientSecretsUnauthorized) IsClientError() bool

IsClientError returns true when this revoke rotated client secrets unauthorized response has a 4xx status code

func (*RevokeRotatedClientSecretsUnauthorized) IsCode

IsCode returns true when this revoke rotated client secrets unauthorized response a status code equal to that given

func (*RevokeRotatedClientSecretsUnauthorized) IsRedirect

IsRedirect returns true when this revoke rotated client secrets unauthorized response has a 3xx status code

func (*RevokeRotatedClientSecretsUnauthorized) IsServerError

func (o *RevokeRotatedClientSecretsUnauthorized) IsServerError() bool

IsServerError returns true when this revoke rotated client secrets unauthorized response has a 5xx status code

func (*RevokeRotatedClientSecretsUnauthorized) IsSuccess

IsSuccess returns true when this revoke rotated client secrets unauthorized response has a 2xx status code

func (*RevokeRotatedClientSecretsUnauthorized) String

type RotateClientSecretBadRequest

type RotateClientSecretBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewRotateClientSecretBadRequest

func NewRotateClientSecretBadRequest() *RotateClientSecretBadRequest

NewRotateClientSecretBadRequest creates a RotateClientSecretBadRequest with default headers values

func (*RotateClientSecretBadRequest) Code

Code gets the status code for the rotate client secret bad request response

func (*RotateClientSecretBadRequest) Error

func (*RotateClientSecretBadRequest) GetPayload

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

func (*RotateClientSecretBadRequest) IsClientError

func (o *RotateClientSecretBadRequest) IsClientError() bool

IsClientError returns true when this rotate client secret bad request response has a 4xx status code

func (*RotateClientSecretBadRequest) IsCode

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

IsCode returns true when this rotate client secret bad request response a status code equal to that given

func (*RotateClientSecretBadRequest) IsRedirect

func (o *RotateClientSecretBadRequest) IsRedirect() bool

IsRedirect returns true when this rotate client secret bad request response has a 3xx status code

func (*RotateClientSecretBadRequest) IsServerError

func (o *RotateClientSecretBadRequest) IsServerError() bool

IsServerError returns true when this rotate client secret bad request response has a 5xx status code

func (*RotateClientSecretBadRequest) IsSuccess

func (o *RotateClientSecretBadRequest) IsSuccess() bool

IsSuccess returns true when this rotate client secret bad request response has a 2xx status code

func (*RotateClientSecretBadRequest) String

type RotateClientSecretForbidden

type RotateClientSecretForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewRotateClientSecretForbidden

func NewRotateClientSecretForbidden() *RotateClientSecretForbidden

NewRotateClientSecretForbidden creates a RotateClientSecretForbidden with default headers values

func (*RotateClientSecretForbidden) Code

func (o *RotateClientSecretForbidden) Code() int

Code gets the status code for the rotate client secret forbidden response

func (*RotateClientSecretForbidden) Error

func (*RotateClientSecretForbidden) GetPayload

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

func (*RotateClientSecretForbidden) IsClientError

func (o *RotateClientSecretForbidden) IsClientError() bool

IsClientError returns true when this rotate client secret forbidden response has a 4xx status code

func (*RotateClientSecretForbidden) IsCode

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

IsCode returns true when this rotate client secret forbidden response a status code equal to that given

func (*RotateClientSecretForbidden) IsRedirect

func (o *RotateClientSecretForbidden) IsRedirect() bool

IsRedirect returns true when this rotate client secret forbidden response has a 3xx status code

func (*RotateClientSecretForbidden) IsServerError

func (o *RotateClientSecretForbidden) IsServerError() bool

IsServerError returns true when this rotate client secret forbidden response has a 5xx status code

func (*RotateClientSecretForbidden) IsSuccess

func (o *RotateClientSecretForbidden) IsSuccess() bool

IsSuccess returns true when this rotate client secret forbidden response has a 2xx status code

func (*RotateClientSecretForbidden) String

func (o *RotateClientSecretForbidden) String() string

type RotateClientSecretNotFound

type RotateClientSecretNotFound struct {
	Payload *models.Error
}

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

Not found

func NewRotateClientSecretNotFound

func NewRotateClientSecretNotFound() *RotateClientSecretNotFound

NewRotateClientSecretNotFound creates a RotateClientSecretNotFound with default headers values

func (*RotateClientSecretNotFound) Code

func (o *RotateClientSecretNotFound) Code() int

Code gets the status code for the rotate client secret not found response

func (*RotateClientSecretNotFound) Error

func (*RotateClientSecretNotFound) GetPayload

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

func (*RotateClientSecretNotFound) IsClientError

func (o *RotateClientSecretNotFound) IsClientError() bool

IsClientError returns true when this rotate client secret not found response has a 4xx status code

func (*RotateClientSecretNotFound) IsCode

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

IsCode returns true when this rotate client secret not found response a status code equal to that given

func (*RotateClientSecretNotFound) IsRedirect

func (o *RotateClientSecretNotFound) IsRedirect() bool

IsRedirect returns true when this rotate client secret not found response has a 3xx status code

func (*RotateClientSecretNotFound) IsServerError

func (o *RotateClientSecretNotFound) IsServerError() bool

IsServerError returns true when this rotate client secret not found response has a 5xx status code

func (*RotateClientSecretNotFound) IsSuccess

func (o *RotateClientSecretNotFound) IsSuccess() bool

IsSuccess returns true when this rotate client secret not found response has a 2xx status code

func (*RotateClientSecretNotFound) String

func (o *RotateClientSecretNotFound) String() string

type RotateClientSecretOK

type RotateClientSecretOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.RotateClientSecretResponse
}

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

Rotate client secret response

func NewRotateClientSecretOK

func NewRotateClientSecretOK() *RotateClientSecretOK

NewRotateClientSecretOK creates a RotateClientSecretOK with default headers values

func (*RotateClientSecretOK) Code

func (o *RotateClientSecretOK) Code() int

Code gets the status code for the rotate client secret o k response

func (*RotateClientSecretOK) Error

func (o *RotateClientSecretOK) Error() string

func (*RotateClientSecretOK) GetPayload

func (*RotateClientSecretOK) IsClientError

func (o *RotateClientSecretOK) IsClientError() bool

IsClientError returns true when this rotate client secret o k response has a 4xx status code

func (*RotateClientSecretOK) IsCode

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

IsCode returns true when this rotate client secret o k response a status code equal to that given

func (*RotateClientSecretOK) IsRedirect

func (o *RotateClientSecretOK) IsRedirect() bool

IsRedirect returns true when this rotate client secret o k response has a 3xx status code

func (*RotateClientSecretOK) IsServerError

func (o *RotateClientSecretOK) IsServerError() bool

IsServerError returns true when this rotate client secret o k response has a 5xx status code

func (*RotateClientSecretOK) IsSuccess

func (o *RotateClientSecretOK) IsSuccess() bool

IsSuccess returns true when this rotate client secret o k response has a 2xx status code

func (*RotateClientSecretOK) String

func (o *RotateClientSecretOK) String() string

type RotateClientSecretParams

type RotateClientSecretParams struct {

	/* AutoRevokeAfter.

	   Auto revoke after

	   Default: "0"
	*/
	AutoRevokeAfter *string

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

RotateClientSecretParams contains all the parameters to send to the API endpoint

for the rotate client secret operation.

Typically these are written to a http.Request.

func NewRotateClientSecretParams

func NewRotateClientSecretParams() *RotateClientSecretParams

NewRotateClientSecretParams creates a new RotateClientSecretParams 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 NewRotateClientSecretParamsWithContext

func NewRotateClientSecretParamsWithContext(ctx context.Context) *RotateClientSecretParams

NewRotateClientSecretParamsWithContext creates a new RotateClientSecretParams object with the ability to set a context for a request.

func NewRotateClientSecretParamsWithHTTPClient

func NewRotateClientSecretParamsWithHTTPClient(client *http.Client) *RotateClientSecretParams

NewRotateClientSecretParamsWithHTTPClient creates a new RotateClientSecretParams object with the ability to set a custom HTTPClient for a request.

func NewRotateClientSecretParamsWithTimeout

func NewRotateClientSecretParamsWithTimeout(timeout time.Duration) *RotateClientSecretParams

NewRotateClientSecretParamsWithTimeout creates a new RotateClientSecretParams object with the ability to set a timeout on a request.

func (*RotateClientSecretParams) SetAutoRevokeAfter

func (o *RotateClientSecretParams) SetAutoRevokeAfter(autoRevokeAfter *string)

SetAutoRevokeAfter adds the autoRevokeAfter to the rotate client secret params

func (*RotateClientSecretParams) SetCid

func (o *RotateClientSecretParams) SetCid(cid string)

SetCid adds the cid to the rotate client secret params

func (*RotateClientSecretParams) SetContext

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

SetContext adds the context to the rotate client secret params

func (*RotateClientSecretParams) SetDefaults

func (o *RotateClientSecretParams) SetDefaults()

SetDefaults hydrates default values in the rotate client secret params (not the query body).

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

func (*RotateClientSecretParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rotate client secret params

func (*RotateClientSecretParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the rotate client secret params

func (*RotateClientSecretParams) SetTimeout

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

SetTimeout adds the timeout to the rotate client secret params

func (*RotateClientSecretParams) WithAutoRevokeAfter

func (o *RotateClientSecretParams) WithAutoRevokeAfter(autoRevokeAfter *string) *RotateClientSecretParams

WithAutoRevokeAfter adds the autoRevokeAfter to the rotate client secret params

func (*RotateClientSecretParams) WithCid

WithCid adds the cid to the rotate client secret params

func (*RotateClientSecretParams) WithContext

WithContext adds the context to the rotate client secret params

func (*RotateClientSecretParams) WithDefaults

WithDefaults hydrates default values in the rotate client secret params (not the query body).

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

func (*RotateClientSecretParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the rotate client secret params

func (*RotateClientSecretParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the rotate client secret params

func (*RotateClientSecretParams) WithTimeout

WithTimeout adds the timeout to the rotate client secret params

func (*RotateClientSecretParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RotateClientSecretReader

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

RotateClientSecretReader is a Reader for the RotateClientSecret structure.

func (*RotateClientSecretReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RotateClientSecretTooManyRequests

type RotateClientSecretTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewRotateClientSecretTooManyRequests

func NewRotateClientSecretTooManyRequests() *RotateClientSecretTooManyRequests

NewRotateClientSecretTooManyRequests creates a RotateClientSecretTooManyRequests with default headers values

func (*RotateClientSecretTooManyRequests) Code

Code gets the status code for the rotate client secret too many requests response

func (*RotateClientSecretTooManyRequests) Error

func (*RotateClientSecretTooManyRequests) GetPayload

func (*RotateClientSecretTooManyRequests) IsClientError

func (o *RotateClientSecretTooManyRequests) IsClientError() bool

IsClientError returns true when this rotate client secret too many requests response has a 4xx status code

func (*RotateClientSecretTooManyRequests) IsCode

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

IsCode returns true when this rotate client secret too many requests response a status code equal to that given

func (*RotateClientSecretTooManyRequests) IsRedirect

func (o *RotateClientSecretTooManyRequests) IsRedirect() bool

IsRedirect returns true when this rotate client secret too many requests response has a 3xx status code

func (*RotateClientSecretTooManyRequests) IsServerError

func (o *RotateClientSecretTooManyRequests) IsServerError() bool

IsServerError returns true when this rotate client secret too many requests response has a 5xx status code

func (*RotateClientSecretTooManyRequests) IsSuccess

func (o *RotateClientSecretTooManyRequests) IsSuccess() bool

IsSuccess returns true when this rotate client secret too many requests response has a 2xx status code

func (*RotateClientSecretTooManyRequests) String

type RotateClientSecretUnauthorized

type RotateClientSecretUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewRotateClientSecretUnauthorized

func NewRotateClientSecretUnauthorized() *RotateClientSecretUnauthorized

NewRotateClientSecretUnauthorized creates a RotateClientSecretUnauthorized with default headers values

func (*RotateClientSecretUnauthorized) Code

Code gets the status code for the rotate client secret unauthorized response

func (*RotateClientSecretUnauthorized) Error

func (*RotateClientSecretUnauthorized) GetPayload

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

func (*RotateClientSecretUnauthorized) IsClientError

func (o *RotateClientSecretUnauthorized) IsClientError() bool

IsClientError returns true when this rotate client secret unauthorized response has a 4xx status code

func (*RotateClientSecretUnauthorized) IsCode

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

IsCode returns true when this rotate client secret unauthorized response a status code equal to that given

func (*RotateClientSecretUnauthorized) IsRedirect

func (o *RotateClientSecretUnauthorized) IsRedirect() bool

IsRedirect returns true when this rotate client secret unauthorized response has a 3xx status code

func (*RotateClientSecretUnauthorized) IsServerError

func (o *RotateClientSecretUnauthorized) IsServerError() bool

IsServerError returns true when this rotate client secret unauthorized response has a 5xx status code

func (*RotateClientSecretUnauthorized) IsSuccess

func (o *RotateClientSecretUnauthorized) IsSuccess() bool

IsSuccess returns true when this rotate client secret unauthorized response has a 2xx status code

func (*RotateClientSecretUnauthorized) String

type UpdateClientBadRequest

type UpdateClientBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewUpdateClientBadRequest

func NewUpdateClientBadRequest() *UpdateClientBadRequest

NewUpdateClientBadRequest creates a UpdateClientBadRequest with default headers values

func (*UpdateClientBadRequest) Code

func (o *UpdateClientBadRequest) Code() int

Code gets the status code for the update client bad request response

func (*UpdateClientBadRequest) Error

func (o *UpdateClientBadRequest) Error() string

func (*UpdateClientBadRequest) GetPayload

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

func (*UpdateClientBadRequest) IsClientError

func (o *UpdateClientBadRequest) IsClientError() bool

IsClientError returns true when this update client bad request response has a 4xx status code

func (*UpdateClientBadRequest) IsCode

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

IsCode returns true when this update client bad request response a status code equal to that given

func (*UpdateClientBadRequest) IsRedirect

func (o *UpdateClientBadRequest) IsRedirect() bool

IsRedirect returns true when this update client bad request response has a 3xx status code

func (*UpdateClientBadRequest) IsServerError

func (o *UpdateClientBadRequest) IsServerError() bool

IsServerError returns true when this update client bad request response has a 5xx status code

func (*UpdateClientBadRequest) IsSuccess

func (o *UpdateClientBadRequest) IsSuccess() bool

IsSuccess returns true when this update client bad request response has a 2xx status code

func (*UpdateClientBadRequest) String

func (o *UpdateClientBadRequest) String() string

type UpdateClientForbidden

type UpdateClientForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewUpdateClientForbidden

func NewUpdateClientForbidden() *UpdateClientForbidden

NewUpdateClientForbidden creates a UpdateClientForbidden with default headers values

func (*UpdateClientForbidden) Code

func (o *UpdateClientForbidden) Code() int

Code gets the status code for the update client forbidden response

func (*UpdateClientForbidden) Error

func (o *UpdateClientForbidden) Error() string

func (*UpdateClientForbidden) GetPayload

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

func (*UpdateClientForbidden) IsClientError

func (o *UpdateClientForbidden) IsClientError() bool

IsClientError returns true when this update client forbidden response has a 4xx status code

func (*UpdateClientForbidden) IsCode

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

IsCode returns true when this update client forbidden response a status code equal to that given

func (*UpdateClientForbidden) IsRedirect

func (o *UpdateClientForbidden) IsRedirect() bool

IsRedirect returns true when this update client forbidden response has a 3xx status code

func (*UpdateClientForbidden) IsServerError

func (o *UpdateClientForbidden) IsServerError() bool

IsServerError returns true when this update client forbidden response has a 5xx status code

func (*UpdateClientForbidden) IsSuccess

func (o *UpdateClientForbidden) IsSuccess() bool

IsSuccess returns true when this update client forbidden response has a 2xx status code

func (*UpdateClientForbidden) String

func (o *UpdateClientForbidden) String() string

type UpdateClientNotFound

type UpdateClientNotFound struct {
	Payload *models.Error
}

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

Not found

func NewUpdateClientNotFound

func NewUpdateClientNotFound() *UpdateClientNotFound

NewUpdateClientNotFound creates a UpdateClientNotFound with default headers values

func (*UpdateClientNotFound) Code

func (o *UpdateClientNotFound) Code() int

Code gets the status code for the update client not found response

func (*UpdateClientNotFound) Error

func (o *UpdateClientNotFound) Error() string

func (*UpdateClientNotFound) GetPayload

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

func (*UpdateClientNotFound) IsClientError

func (o *UpdateClientNotFound) IsClientError() bool

IsClientError returns true when this update client not found response has a 4xx status code

func (*UpdateClientNotFound) IsCode

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

IsCode returns true when this update client not found response a status code equal to that given

func (*UpdateClientNotFound) IsRedirect

func (o *UpdateClientNotFound) IsRedirect() bool

IsRedirect returns true when this update client not found response has a 3xx status code

func (*UpdateClientNotFound) IsServerError

func (o *UpdateClientNotFound) IsServerError() bool

IsServerError returns true when this update client not found response has a 5xx status code

func (*UpdateClientNotFound) IsSuccess

func (o *UpdateClientNotFound) IsSuccess() bool

IsSuccess returns true when this update client not found response has a 2xx status code

func (*UpdateClientNotFound) String

func (o *UpdateClientNotFound) String() string

type UpdateClientOK

type UpdateClientOK struct {

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

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.ClientAdminResponse
}

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

Client

func NewUpdateClientOK

func NewUpdateClientOK() *UpdateClientOK

NewUpdateClientOK creates a UpdateClientOK with default headers values

func (*UpdateClientOK) Code

func (o *UpdateClientOK) Code() int

Code gets the status code for the update client o k response

func (*UpdateClientOK) Error

func (o *UpdateClientOK) Error() string

func (*UpdateClientOK) GetPayload

func (o *UpdateClientOK) GetPayload() *models.ClientAdminResponse

func (*UpdateClientOK) IsClientError

func (o *UpdateClientOK) IsClientError() bool

IsClientError returns true when this update client o k response has a 4xx status code

func (*UpdateClientOK) IsCode

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

IsCode returns true when this update client o k response a status code equal to that given

func (*UpdateClientOK) IsRedirect

func (o *UpdateClientOK) IsRedirect() bool

IsRedirect returns true when this update client o k response has a 3xx status code

func (*UpdateClientOK) IsServerError

func (o *UpdateClientOK) IsServerError() bool

IsServerError returns true when this update client o k response has a 5xx status code

func (*UpdateClientOK) IsSuccess

func (o *UpdateClientOK) IsSuccess() bool

IsSuccess returns true when this update client o k response has a 2xx status code

func (*UpdateClientOK) String

func (o *UpdateClientOK) String() string

type UpdateClientParams

type UpdateClientParams struct {

	// Client.
	Client *models.UpdateClientAdminRequest

	/* Cid.

	   Client id

	   Default: "default"
	*/
	Cid string

	/* IfMatch.

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

	   Format: etag
	*/
	IfMatch *string

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

UpdateClientParams contains all the parameters to send to the API endpoint

for the update client operation.

Typically these are written to a http.Request.

func NewUpdateClientParams

func NewUpdateClientParams() *UpdateClientParams

NewUpdateClientParams creates a new UpdateClientParams 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 NewUpdateClientParamsWithContext

func NewUpdateClientParamsWithContext(ctx context.Context) *UpdateClientParams

NewUpdateClientParamsWithContext creates a new UpdateClientParams object with the ability to set a context for a request.

func NewUpdateClientParamsWithHTTPClient

func NewUpdateClientParamsWithHTTPClient(client *http.Client) *UpdateClientParams

NewUpdateClientParamsWithHTTPClient creates a new UpdateClientParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClientParamsWithTimeout

func NewUpdateClientParamsWithTimeout(timeout time.Duration) *UpdateClientParams

NewUpdateClientParamsWithTimeout creates a new UpdateClientParams object with the ability to set a timeout on a request.

func (*UpdateClientParams) SetCid

func (o *UpdateClientParams) SetCid(cid string)

SetCid adds the cid to the update client params

func (*UpdateClientParams) SetClient

func (o *UpdateClientParams) SetClient(client *models.UpdateClientAdminRequest)

SetClient adds the client to the update client params

func (*UpdateClientParams) SetContext

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

SetContext adds the context to the update client params

func (*UpdateClientParams) SetDefaults

func (o *UpdateClientParams) SetDefaults()

SetDefaults hydrates default values in the update client params (not the query body).

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

func (*UpdateClientParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update client params

func (*UpdateClientParams) SetIfMatch

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

SetIfMatch adds the ifMatch to the update client params

func (*UpdateClientParams) SetTimeout

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

SetTimeout adds the timeout to the update client params

func (*UpdateClientParams) WithCid

func (o *UpdateClientParams) WithCid(cid string) *UpdateClientParams

WithCid adds the cid to the update client params

func (*UpdateClientParams) WithClient

WithClient adds the client to the update client params

func (*UpdateClientParams) WithContext

WithContext adds the context to the update client params

func (*UpdateClientParams) WithDefaults

func (o *UpdateClientParams) WithDefaults() *UpdateClientParams

WithDefaults hydrates default values in the update client params (not the query body).

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

func (*UpdateClientParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update client params

func (*UpdateClientParams) WithIfMatch

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

WithIfMatch adds the ifMatch to the update client params

func (*UpdateClientParams) WithTimeout

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

WithTimeout adds the timeout to the update client params

func (*UpdateClientParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateClientReader

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

UpdateClientReader is a Reader for the UpdateClient structure.

func (*UpdateClientReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateClientTooManyRequests

type UpdateClientTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewUpdateClientTooManyRequests

func NewUpdateClientTooManyRequests() *UpdateClientTooManyRequests

NewUpdateClientTooManyRequests creates a UpdateClientTooManyRequests with default headers values

func (*UpdateClientTooManyRequests) Code

func (o *UpdateClientTooManyRequests) Code() int

Code gets the status code for the update client too many requests response

func (*UpdateClientTooManyRequests) Error

func (*UpdateClientTooManyRequests) GetPayload

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

func (*UpdateClientTooManyRequests) IsClientError

func (o *UpdateClientTooManyRequests) IsClientError() bool

IsClientError returns true when this update client too many requests response has a 4xx status code

func (*UpdateClientTooManyRequests) IsCode

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

IsCode returns true when this update client too many requests response a status code equal to that given

func (*UpdateClientTooManyRequests) IsRedirect

func (o *UpdateClientTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update client too many requests response has a 3xx status code

func (*UpdateClientTooManyRequests) IsServerError

func (o *UpdateClientTooManyRequests) IsServerError() bool

IsServerError returns true when this update client too many requests response has a 5xx status code

func (*UpdateClientTooManyRequests) IsSuccess

func (o *UpdateClientTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update client too many requests response has a 2xx status code

func (*UpdateClientTooManyRequests) String

func (o *UpdateClientTooManyRequests) String() string

type UpdateClientUnauthorized

type UpdateClientUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewUpdateClientUnauthorized

func NewUpdateClientUnauthorized() *UpdateClientUnauthorized

NewUpdateClientUnauthorized creates a UpdateClientUnauthorized with default headers values

func (*UpdateClientUnauthorized) Code

func (o *UpdateClientUnauthorized) Code() int

Code gets the status code for the update client unauthorized response

func (*UpdateClientUnauthorized) Error

func (o *UpdateClientUnauthorized) Error() string

func (*UpdateClientUnauthorized) GetPayload

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

func (*UpdateClientUnauthorized) IsClientError

func (o *UpdateClientUnauthorized) IsClientError() bool

IsClientError returns true when this update client unauthorized response has a 4xx status code

func (*UpdateClientUnauthorized) IsCode

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

IsCode returns true when this update client unauthorized response a status code equal to that given

func (*UpdateClientUnauthorized) IsRedirect

func (o *UpdateClientUnauthorized) IsRedirect() bool

IsRedirect returns true when this update client unauthorized response has a 3xx status code

func (*UpdateClientUnauthorized) IsServerError

func (o *UpdateClientUnauthorized) IsServerError() bool

IsServerError returns true when this update client unauthorized response has a 5xx status code

func (*UpdateClientUnauthorized) IsSuccess

func (o *UpdateClientUnauthorized) IsSuccess() bool

IsSuccess returns true when this update client unauthorized response has a 2xx status code

func (*UpdateClientUnauthorized) String

func (o *UpdateClientUnauthorized) String() string

type UpdateClientUnprocessableEntity

type UpdateClientUnprocessableEntity struct {
	Payload *models.Error
}

UpdateClientUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateClientUnprocessableEntity

func NewUpdateClientUnprocessableEntity() *UpdateClientUnprocessableEntity

NewUpdateClientUnprocessableEntity creates a UpdateClientUnprocessableEntity with default headers values

func (*UpdateClientUnprocessableEntity) Code

Code gets the status code for the update client unprocessable entity response

func (*UpdateClientUnprocessableEntity) Error

func (*UpdateClientUnprocessableEntity) GetPayload

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

func (*UpdateClientUnprocessableEntity) IsClientError

func (o *UpdateClientUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update client unprocessable entity response has a 4xx status code

func (*UpdateClientUnprocessableEntity) IsCode

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

IsCode returns true when this update client unprocessable entity response a status code equal to that given

func (*UpdateClientUnprocessableEntity) IsRedirect

func (o *UpdateClientUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update client unprocessable entity response has a 3xx status code

func (*UpdateClientUnprocessableEntity) IsServerError

func (o *UpdateClientUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update client unprocessable entity response has a 5xx status code

func (*UpdateClientUnprocessableEntity) IsSuccess

func (o *UpdateClientUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update client unprocessable entity response has a 2xx status code

func (*UpdateClientUnprocessableEntity) String

Jump to

Keyboard shortcuts

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