authentication

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 4

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 authentication API

func (*Client) CreateAPIKey

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

CreateAPIKey creates API key

Creates a new API key.

func (*Client) DeleteAPIKey

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

DeleteAPIKey deletes API key

Delete or invalidate the API key.

func (*Client) DeleteAPIKeys

func (a *Client) DeleteAPIKeys(params *DeleteAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeysOK, error)

DeleteAPIKeys deletes API keys

Delete or invalidate API keys.

func (*Client) DeleteUserAPIKey

func (a *Client) DeleteUserAPIKey(params *DeleteUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserAPIKeyOK, error)

DeleteUserAPIKey deletes an API key for a user

Delete or invalidate an API key for a user.

func (*Client) DeleteUserAPIKeys

func (a *Client) DeleteUserAPIKeys(params *DeleteUserAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserAPIKeysOK, error)

DeleteUserAPIKeys deletes API keys for a user

Delete or invalidate all of the API keys for a user.

func (*Client) DeleteUsersAPIKeys

func (a *Client) DeleteUsersAPIKeys(params *DeleteUsersAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersAPIKeysOK, error)

DeleteUsersAPIKeys deletes API keys of multiple users

Delete or invalidate the API keys for multiple users.

func (*Client) GetAPIKey

func (a *Client) GetAPIKey(params *GetAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyOK, error)

GetAPIKey gets API key

Retrieves the metadata for an API key.

func (*Client) GetAPIKeys

func (a *Client) GetAPIKeys(params *GetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeysOK, error)

GetAPIKeys gets all API keys

Retrieves the metadata for all of the API keys that the user generated.

func (*Client) GetAuthenticationInfo

func (a *Client) GetAuthenticationInfo(params *GetAuthenticationInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticationInfoOK, error)

GetAuthenticationInfo users authentication information

Provides authentication information about a user, including elevated permission status and TOTP device availability.

func (*Client) GetUserAPIKey

func (a *Client) GetUserAPIKey(params *GetUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserAPIKeyOK, error)

GetUserAPIKey gets a user API key

Retrieves the API key metadata for a user.

func (*Client) GetUserAPIKeys

func (a *Client) GetUserAPIKeys(params *GetUserAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserAPIKeysOK, error)

GetUserAPIKeys gets API key metadata for all keys created by the user

Retrieves metadata for all API keys created by the given user.

func (*Client) GetUsersAPIKeys

func (a *Client) GetUsersAPIKeys(params *GetUsersAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersAPIKeysOK, error)

GetUsersAPIKeys gets all API keys for all users

Retrieves the metadata for all of the API keys for all users.

func (*Client) Login

func (a *Client) Login(params *LoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginOK, error)

Login logins to e c e

Authenticates against available users.

func (*Client) Logout

func (a *Client) Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogoutOK, error)

Logout logouts from e c e

Destroys the current session.

func (*Client) Methods

func (a *Client) Methods(params *MethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MethodsOK, error)

Methods availables authentication methods

Provides information about available authentication methods.

func (*Client) RefreshToken

func (a *Client) RefreshToken(params *RefreshTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshTokenOK, error)

RefreshToken refreshes authentication token

Issues a new authentication token.

func (*Client) SamlCallback

func (a *Client) SamlCallback(params *SamlCallbackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

SamlCallback s a m l callback

Accepts a callback request from an identity provider and authenticates the user.

func (*Client) SamlInit

func (a *Client) SamlInit(params *SamlInitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

SamlInit initiates s a m l protocol

Calls the authentication cluster to initiate SAML Single Sign-on (Web Browser SSO profile) protocol and redirects the user to the identity provider for authentication. The authentication cluster must be configured prior to initiation.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.3.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

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

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

	DeleteAPIKeys(params *DeleteAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIKeysOK, error)

	DeleteUserAPIKey(params *DeleteUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserAPIKeyOK, error)

	DeleteUserAPIKeys(params *DeleteUserAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserAPIKeysOK, error)

	DeleteUsersAPIKeys(params *DeleteUsersAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUsersAPIKeysOK, error)

	GetAPIKey(params *GetAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeyOK, error)

	GetAPIKeys(params *GetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIKeysOK, error)

	GetAuthenticationInfo(params *GetAuthenticationInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticationInfoOK, error)

	GetUserAPIKey(params *GetUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserAPIKeyOK, error)

	GetUserAPIKeys(params *GetUserAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserAPIKeysOK, error)

	GetUsersAPIKeys(params *GetUsersAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUsersAPIKeysOK, error)

	Login(params *LoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LoginOK, error)

	Logout(params *LogoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LogoutOK, error)

	Methods(params *MethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MethodsOK, error)

	RefreshToken(params *RefreshTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RefreshTokenOK, error)

	SamlCallback(params *SamlCallbackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	SamlInit(params *SamlInitParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) 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 authentication API client.

type CreateAPIKeyBadRequest

type CreateAPIKeyBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The request is invalid. Specify a different request, then try again. (code: `api_keys.invalid_input`)

func NewCreateAPIKeyBadRequest

func NewCreateAPIKeyBadRequest() *CreateAPIKeyBadRequest

NewCreateAPIKeyBadRequest creates a CreateAPIKeyBadRequest with default headers values

func (*CreateAPIKeyBadRequest) Code added in v1.13.0

func (o *CreateAPIKeyBadRequest) Code() int

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

func (*CreateAPIKeyBadRequest) Error

func (o *CreateAPIKeyBadRequest) Error() string

func (*CreateAPIKeyBadRequest) GetPayload

func (*CreateAPIKeyBadRequest) IsClientError added in v1.13.0

func (o *CreateAPIKeyBadRequest) IsClientError() bool

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

func (*CreateAPIKeyBadRequest) IsCode added in v1.13.0

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

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

func (*CreateAPIKeyBadRequest) IsRedirect added in v1.13.0

func (o *CreateAPIKeyBadRequest) IsRedirect() bool

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

func (*CreateAPIKeyBadRequest) IsServerError added in v1.13.0

func (o *CreateAPIKeyBadRequest) IsServerError() bool

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

func (*CreateAPIKeyBadRequest) IsSuccess added in v1.13.0

func (o *CreateAPIKeyBadRequest) IsSuccess() bool

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

func (*CreateAPIKeyBadRequest) String added in v1.13.0

func (o *CreateAPIKeyBadRequest) String() string

type CreateAPIKeyCreated

type CreateAPIKeyCreated struct {
	Payload *models.APIKeyResponse
}

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

The API key is created and returned in the body of the response.

func NewCreateAPIKeyCreated

func NewCreateAPIKeyCreated() *CreateAPIKeyCreated

NewCreateAPIKeyCreated creates a CreateAPIKeyCreated with default headers values

func (*CreateAPIKeyCreated) Code added in v1.13.0

func (o *CreateAPIKeyCreated) Code() int

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

func (*CreateAPIKeyCreated) Error

func (o *CreateAPIKeyCreated) Error() string

func (*CreateAPIKeyCreated) GetPayload

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

func (*CreateAPIKeyCreated) IsClientError added in v1.13.0

func (o *CreateAPIKeyCreated) IsClientError() bool

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

func (*CreateAPIKeyCreated) IsCode added in v1.13.0

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

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

func (*CreateAPIKeyCreated) IsRedirect added in v1.13.0

func (o *CreateAPIKeyCreated) IsRedirect() bool

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

func (*CreateAPIKeyCreated) IsServerError added in v1.13.0

func (o *CreateAPIKeyCreated) IsServerError() bool

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

func (*CreateAPIKeyCreated) IsSuccess added in v1.13.0

func (o *CreateAPIKeyCreated) IsSuccess() bool

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

func (*CreateAPIKeyCreated) String added in v1.13.0

func (o *CreateAPIKeyCreated) String() string

type CreateAPIKeyParams

type CreateAPIKeyParams struct {

	/* Body.

	   The request to create the API key
	*/
	Body *models.CreateAPIKeyRequest

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

CreateAPIKeyParams contains all the parameters to send to the API endpoint

for the create api key operation.

Typically these are written to a http.Request.

func NewCreateAPIKeyParams

func NewCreateAPIKeyParams() *CreateAPIKeyParams

NewCreateAPIKeyParams creates a new CreateAPIKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateAPIKeyParamsWithContext

func NewCreateAPIKeyParamsWithContext(ctx context.Context) *CreateAPIKeyParams

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

func NewCreateAPIKeyParamsWithHTTPClient

func NewCreateAPIKeyParamsWithHTTPClient(client *http.Client) *CreateAPIKeyParams

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

func NewCreateAPIKeyParamsWithTimeout

func NewCreateAPIKeyParamsWithTimeout(timeout time.Duration) *CreateAPIKeyParams

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

func (*CreateAPIKeyParams) SetBody

func (o *CreateAPIKeyParams) SetBody(body *models.CreateAPIKeyRequest)

SetBody adds the body to the create api key params

func (*CreateAPIKeyParams) SetContext

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

SetContext adds the context to the create api key params

func (*CreateAPIKeyParams) SetDefaults added in v1.3.0

func (o *CreateAPIKeyParams) SetDefaults()

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

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

func (*CreateAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create api key params

func (*CreateAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the create api key params

func (*CreateAPIKeyParams) WithBody

WithBody adds the body to the create api key params

func (*CreateAPIKeyParams) WithContext

WithContext adds the context to the create api key params

func (*CreateAPIKeyParams) WithDefaults added in v1.3.0

func (o *CreateAPIKeyParams) WithDefaults() *CreateAPIKeyParams

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

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

func (*CreateAPIKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create api key params

func (*CreateAPIKeyParams) WithTimeout

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

WithTimeout adds the timeout to the create api key params

func (*CreateAPIKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateAPIKeyReader

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

CreateAPIKeyReader is a Reader for the CreateAPIKey structure.

func (*CreateAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPIKeyNotFound

type DeleteAPIKeyNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The {api_key_id} can't be found. (code: `api_keys.key_not_found`)

func NewDeleteAPIKeyNotFound

func NewDeleteAPIKeyNotFound() *DeleteAPIKeyNotFound

NewDeleteAPIKeyNotFound creates a DeleteAPIKeyNotFound with default headers values

func (*DeleteAPIKeyNotFound) Code added in v1.13.0

func (o *DeleteAPIKeyNotFound) Code() int

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

func (*DeleteAPIKeyNotFound) Error

func (o *DeleteAPIKeyNotFound) Error() string

func (*DeleteAPIKeyNotFound) GetPayload

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

func (*DeleteAPIKeyNotFound) IsClientError added in v1.13.0

func (o *DeleteAPIKeyNotFound) IsClientError() bool

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

func (*DeleteAPIKeyNotFound) IsCode added in v1.13.0

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

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

func (*DeleteAPIKeyNotFound) IsRedirect added in v1.13.0

func (o *DeleteAPIKeyNotFound) IsRedirect() bool

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

func (*DeleteAPIKeyNotFound) IsServerError added in v1.13.0

func (o *DeleteAPIKeyNotFound) IsServerError() bool

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

func (*DeleteAPIKeyNotFound) IsSuccess added in v1.13.0

func (o *DeleteAPIKeyNotFound) IsSuccess() bool

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

func (*DeleteAPIKeyNotFound) String added in v1.13.0

func (o *DeleteAPIKeyNotFound) String() string

type DeleteAPIKeyOK

type DeleteAPIKeyOK struct {
	Payload models.EmptyResponse
}

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

The API key is deleted.

func NewDeleteAPIKeyOK

func NewDeleteAPIKeyOK() *DeleteAPIKeyOK

NewDeleteAPIKeyOK creates a DeleteAPIKeyOK with default headers values

func (*DeleteAPIKeyOK) Code added in v1.13.0

func (o *DeleteAPIKeyOK) Code() int

Code gets the status code for the delete Api key o k response

func (*DeleteAPIKeyOK) Error

func (o *DeleteAPIKeyOK) Error() string

func (*DeleteAPIKeyOK) GetPayload

func (o *DeleteAPIKeyOK) GetPayload() models.EmptyResponse

func (*DeleteAPIKeyOK) IsClientError added in v1.13.0

func (o *DeleteAPIKeyOK) IsClientError() bool

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

func (*DeleteAPIKeyOK) IsCode added in v1.13.0

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

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

func (*DeleteAPIKeyOK) IsRedirect added in v1.13.0

func (o *DeleteAPIKeyOK) IsRedirect() bool

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

func (*DeleteAPIKeyOK) IsServerError added in v1.13.0

func (o *DeleteAPIKeyOK) IsServerError() bool

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

func (*DeleteAPIKeyOK) IsSuccess added in v1.13.0

func (o *DeleteAPIKeyOK) IsSuccess() bool

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

func (*DeleteAPIKeyOK) String added in v1.13.0

func (o *DeleteAPIKeyOK) String() string

type DeleteAPIKeyParams

type DeleteAPIKeyParams struct {

	/* APIKeyID.

	   The API Key ID.
	*/
	APIKeyID string

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

DeleteAPIKeyParams contains all the parameters to send to the API endpoint

for the delete api key operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeyParams

func NewDeleteAPIKeyParams() *DeleteAPIKeyParams

NewDeleteAPIKeyParams creates a new DeleteAPIKeyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAPIKeyParamsWithContext

func NewDeleteAPIKeyParamsWithContext(ctx context.Context) *DeleteAPIKeyParams

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

func NewDeleteAPIKeyParamsWithHTTPClient

func NewDeleteAPIKeyParamsWithHTTPClient(client *http.Client) *DeleteAPIKeyParams

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

func NewDeleteAPIKeyParamsWithTimeout

func NewDeleteAPIKeyParamsWithTimeout(timeout time.Duration) *DeleteAPIKeyParams

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

func (*DeleteAPIKeyParams) SetAPIKeyID

func (o *DeleteAPIKeyParams) SetAPIKeyID(aPIKeyID string)

SetAPIKeyID adds the apiKeyId to the delete api key params

func (*DeleteAPIKeyParams) SetContext

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

SetContext adds the context to the delete api key params

func (*DeleteAPIKeyParams) SetDefaults added in v1.3.0

func (o *DeleteAPIKeyParams) SetDefaults()

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

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

func (*DeleteAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete api key params

func (*DeleteAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the delete api key params

func (*DeleteAPIKeyParams) WithAPIKeyID

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

WithAPIKeyID adds the aPIKeyID to the delete api key params

func (*DeleteAPIKeyParams) WithContext

WithContext adds the context to the delete api key params

func (*DeleteAPIKeyParams) WithDefaults added in v1.3.0

func (o *DeleteAPIKeyParams) WithDefaults() *DeleteAPIKeyParams

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

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

func (*DeleteAPIKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete api key params

func (*DeleteAPIKeyParams) WithTimeout

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

WithTimeout adds the timeout to the delete api key params

func (*DeleteAPIKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAPIKeyReader

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

DeleteAPIKeyReader is a Reader for the DeleteAPIKey structure.

func (*DeleteAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAPIKeysOK

type DeleteAPIKeysOK struct {
	Payload models.EmptyResponse
}

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

The API keys are deleted.

func NewDeleteAPIKeysOK

func NewDeleteAPIKeysOK() *DeleteAPIKeysOK

NewDeleteAPIKeysOK creates a DeleteAPIKeysOK with default headers values

func (*DeleteAPIKeysOK) Code added in v1.13.0

func (o *DeleteAPIKeysOK) Code() int

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

func (*DeleteAPIKeysOK) Error

func (o *DeleteAPIKeysOK) Error() string

func (*DeleteAPIKeysOK) GetPayload

func (o *DeleteAPIKeysOK) GetPayload() models.EmptyResponse

func (*DeleteAPIKeysOK) IsClientError added in v1.13.0

func (o *DeleteAPIKeysOK) IsClientError() bool

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

func (*DeleteAPIKeysOK) IsCode added in v1.13.0

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

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

func (*DeleteAPIKeysOK) IsRedirect added in v1.13.0

func (o *DeleteAPIKeysOK) IsRedirect() bool

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

func (*DeleteAPIKeysOK) IsServerError added in v1.13.0

func (o *DeleteAPIKeysOK) IsServerError() bool

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

func (*DeleteAPIKeysOK) IsSuccess added in v1.13.0

func (o *DeleteAPIKeysOK) IsSuccess() bool

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

func (*DeleteAPIKeysOK) String added in v1.13.0

func (o *DeleteAPIKeysOK) String() string

type DeleteAPIKeysParams

type DeleteAPIKeysParams struct {

	/* Body.

	   The request to delete API keys
	*/
	Body *models.DeleteAPIKeysRequest

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

DeleteAPIKeysParams contains all the parameters to send to the API endpoint

for the delete api keys operation.

Typically these are written to a http.Request.

func NewDeleteAPIKeysParams

func NewDeleteAPIKeysParams() *DeleteAPIKeysParams

NewDeleteAPIKeysParams creates a new DeleteAPIKeysParams 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 NewDeleteAPIKeysParamsWithContext

func NewDeleteAPIKeysParamsWithContext(ctx context.Context) *DeleteAPIKeysParams

NewDeleteAPIKeysParamsWithContext creates a new DeleteAPIKeysParams object with the ability to set a context for a request.

func NewDeleteAPIKeysParamsWithHTTPClient

func NewDeleteAPIKeysParamsWithHTTPClient(client *http.Client) *DeleteAPIKeysParams

NewDeleteAPIKeysParamsWithHTTPClient creates a new DeleteAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIKeysParamsWithTimeout

func NewDeleteAPIKeysParamsWithTimeout(timeout time.Duration) *DeleteAPIKeysParams

NewDeleteAPIKeysParamsWithTimeout creates a new DeleteAPIKeysParams object with the ability to set a timeout on a request.

func (*DeleteAPIKeysParams) SetBody

SetBody adds the body to the delete api keys params

func (*DeleteAPIKeysParams) SetContext

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

SetContext adds the context to the delete api keys params

func (*DeleteAPIKeysParams) SetDefaults added in v1.3.0

func (o *DeleteAPIKeysParams) SetDefaults()

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

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

func (*DeleteAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete api keys params

func (*DeleteAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the delete api keys params

func (*DeleteAPIKeysParams) WithBody

WithBody adds the body to the delete api keys params

func (*DeleteAPIKeysParams) WithContext

WithContext adds the context to the delete api keys params

func (*DeleteAPIKeysParams) WithDefaults added in v1.3.0

func (o *DeleteAPIKeysParams) WithDefaults() *DeleteAPIKeysParams

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

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

func (*DeleteAPIKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete api keys params

func (*DeleteAPIKeysParams) WithTimeout

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

WithTimeout adds the timeout to the delete api keys params

func (*DeleteAPIKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteAPIKeysReader

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

DeleteAPIKeysReader is a Reader for the DeleteAPIKeys structure.

func (*DeleteAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserAPIKeyNotFound

type DeleteUserAPIKeyNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The {api_key_id} can't be found. (code: `api_keys.key_not_found`)

func NewDeleteUserAPIKeyNotFound

func NewDeleteUserAPIKeyNotFound() *DeleteUserAPIKeyNotFound

NewDeleteUserAPIKeyNotFound creates a DeleteUserAPIKeyNotFound with default headers values

func (*DeleteUserAPIKeyNotFound) Code added in v1.13.0

func (o *DeleteUserAPIKeyNotFound) Code() int

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

func (*DeleteUserAPIKeyNotFound) Error

func (o *DeleteUserAPIKeyNotFound) Error() string

func (*DeleteUserAPIKeyNotFound) GetPayload

func (*DeleteUserAPIKeyNotFound) IsClientError added in v1.13.0

func (o *DeleteUserAPIKeyNotFound) IsClientError() bool

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

func (*DeleteUserAPIKeyNotFound) IsCode added in v1.13.0

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

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

func (*DeleteUserAPIKeyNotFound) IsRedirect added in v1.13.0

func (o *DeleteUserAPIKeyNotFound) IsRedirect() bool

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

func (*DeleteUserAPIKeyNotFound) IsServerError added in v1.13.0

func (o *DeleteUserAPIKeyNotFound) IsServerError() bool

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

func (*DeleteUserAPIKeyNotFound) IsSuccess added in v1.13.0

func (o *DeleteUserAPIKeyNotFound) IsSuccess() bool

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

func (*DeleteUserAPIKeyNotFound) String added in v1.13.0

func (o *DeleteUserAPIKeyNotFound) String() string

type DeleteUserAPIKeyOK

type DeleteUserAPIKeyOK struct {
	Payload models.EmptyResponse
}

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

The API key is deleted.

func NewDeleteUserAPIKeyOK

func NewDeleteUserAPIKeyOK() *DeleteUserAPIKeyOK

NewDeleteUserAPIKeyOK creates a DeleteUserAPIKeyOK with default headers values

func (*DeleteUserAPIKeyOK) Code added in v1.13.0

func (o *DeleteUserAPIKeyOK) Code() int

Code gets the status code for the delete user Api key o k response

func (*DeleteUserAPIKeyOK) Error

func (o *DeleteUserAPIKeyOK) Error() string

func (*DeleteUserAPIKeyOK) GetPayload

func (o *DeleteUserAPIKeyOK) GetPayload() models.EmptyResponse

func (*DeleteUserAPIKeyOK) IsClientError added in v1.13.0

func (o *DeleteUserAPIKeyOK) IsClientError() bool

IsClientError returns true when this delete user Api key o k response has a 4xx status code

func (*DeleteUserAPIKeyOK) IsCode added in v1.13.0

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

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

func (*DeleteUserAPIKeyOK) IsRedirect added in v1.13.0

func (o *DeleteUserAPIKeyOK) IsRedirect() bool

IsRedirect returns true when this delete user Api key o k response has a 3xx status code

func (*DeleteUserAPIKeyOK) IsServerError added in v1.13.0

func (o *DeleteUserAPIKeyOK) IsServerError() bool

IsServerError returns true when this delete user Api key o k response has a 5xx status code

func (*DeleteUserAPIKeyOK) IsSuccess added in v1.13.0

func (o *DeleteUserAPIKeyOK) IsSuccess() bool

IsSuccess returns true when this delete user Api key o k response has a 2xx status code

func (*DeleteUserAPIKeyOK) String added in v1.13.0

func (o *DeleteUserAPIKeyOK) String() string

type DeleteUserAPIKeyParams

type DeleteUserAPIKeyParams struct {

	/* APIKeyID.

	   The API Key ID.
	*/
	APIKeyID string

	/* UserID.

	   The user ID.
	*/
	UserID string

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

DeleteUserAPIKeyParams contains all the parameters to send to the API endpoint

for the delete user api key operation.

Typically these are written to a http.Request.

func NewDeleteUserAPIKeyParams

func NewDeleteUserAPIKeyParams() *DeleteUserAPIKeyParams

NewDeleteUserAPIKeyParams creates a new DeleteUserAPIKeyParams 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 NewDeleteUserAPIKeyParamsWithContext

func NewDeleteUserAPIKeyParamsWithContext(ctx context.Context) *DeleteUserAPIKeyParams

NewDeleteUserAPIKeyParamsWithContext creates a new DeleteUserAPIKeyParams object with the ability to set a context for a request.

func NewDeleteUserAPIKeyParamsWithHTTPClient

func NewDeleteUserAPIKeyParamsWithHTTPClient(client *http.Client) *DeleteUserAPIKeyParams

NewDeleteUserAPIKeyParamsWithHTTPClient creates a new DeleteUserAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserAPIKeyParamsWithTimeout

func NewDeleteUserAPIKeyParamsWithTimeout(timeout time.Duration) *DeleteUserAPIKeyParams

NewDeleteUserAPIKeyParamsWithTimeout creates a new DeleteUserAPIKeyParams object with the ability to set a timeout on a request.

func (*DeleteUserAPIKeyParams) SetAPIKeyID

func (o *DeleteUserAPIKeyParams) SetAPIKeyID(aPIKeyID string)

SetAPIKeyID adds the apiKeyId to the delete user api key params

func (*DeleteUserAPIKeyParams) SetContext

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

SetContext adds the context to the delete user api key params

func (*DeleteUserAPIKeyParams) SetDefaults added in v1.3.0

func (o *DeleteUserAPIKeyParams) SetDefaults()

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

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

func (*DeleteUserAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user api key params

func (*DeleteUserAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the delete user api key params

func (*DeleteUserAPIKeyParams) SetUserID

func (o *DeleteUserAPIKeyParams) SetUserID(userID string)

SetUserID adds the userId to the delete user api key params

func (*DeleteUserAPIKeyParams) WithAPIKeyID

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

WithAPIKeyID adds the aPIKeyID to the delete user api key params

func (*DeleteUserAPIKeyParams) WithContext

WithContext adds the context to the delete user api key params

func (*DeleteUserAPIKeyParams) WithDefaults added in v1.3.0

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

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

func (*DeleteUserAPIKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user api key params

func (*DeleteUserAPIKeyParams) WithTimeout

WithTimeout adds the timeout to the delete user api key params

func (*DeleteUserAPIKeyParams) WithUserID

func (o *DeleteUserAPIKeyParams) WithUserID(userID string) *DeleteUserAPIKeyParams

WithUserID adds the userID to the delete user api key params

func (*DeleteUserAPIKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserAPIKeyReader

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

DeleteUserAPIKeyReader is a Reader for the DeleteUserAPIKey structure.

func (*DeleteUserAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserAPIKeysNotFound

type DeleteUserAPIKeysNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The {user_id} can't be found. (code: `api_keys.user_not_found`)

func NewDeleteUserAPIKeysNotFound

func NewDeleteUserAPIKeysNotFound() *DeleteUserAPIKeysNotFound

NewDeleteUserAPIKeysNotFound creates a DeleteUserAPIKeysNotFound with default headers values

func (*DeleteUserAPIKeysNotFound) Code added in v1.13.0

func (o *DeleteUserAPIKeysNotFound) Code() int

Code gets the status code for the delete user Api keys not found response

func (*DeleteUserAPIKeysNotFound) Error

func (o *DeleteUserAPIKeysNotFound) Error() string

func (*DeleteUserAPIKeysNotFound) GetPayload

func (*DeleteUserAPIKeysNotFound) IsClientError added in v1.13.0

func (o *DeleteUserAPIKeysNotFound) IsClientError() bool

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

func (*DeleteUserAPIKeysNotFound) IsCode added in v1.13.0

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

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

func (*DeleteUserAPIKeysNotFound) IsRedirect added in v1.13.0

func (o *DeleteUserAPIKeysNotFound) IsRedirect() bool

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

func (*DeleteUserAPIKeysNotFound) IsServerError added in v1.13.0

func (o *DeleteUserAPIKeysNotFound) IsServerError() bool

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

func (*DeleteUserAPIKeysNotFound) IsSuccess added in v1.13.0

func (o *DeleteUserAPIKeysNotFound) IsSuccess() bool

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

func (*DeleteUserAPIKeysNotFound) String added in v1.13.0

func (o *DeleteUserAPIKeysNotFound) String() string

type DeleteUserAPIKeysOK

type DeleteUserAPIKeysOK struct {
	Payload models.EmptyResponse
}

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

The API key is deleted.

func NewDeleteUserAPIKeysOK

func NewDeleteUserAPIKeysOK() *DeleteUserAPIKeysOK

NewDeleteUserAPIKeysOK creates a DeleteUserAPIKeysOK with default headers values

func (*DeleteUserAPIKeysOK) Code added in v1.13.0

func (o *DeleteUserAPIKeysOK) Code() int

Code gets the status code for the delete user Api keys o k response

func (*DeleteUserAPIKeysOK) Error

func (o *DeleteUserAPIKeysOK) Error() string

func (*DeleteUserAPIKeysOK) GetPayload

func (o *DeleteUserAPIKeysOK) GetPayload() models.EmptyResponse

func (*DeleteUserAPIKeysOK) IsClientError added in v1.13.0

func (o *DeleteUserAPIKeysOK) IsClientError() bool

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

func (*DeleteUserAPIKeysOK) IsCode added in v1.13.0

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

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

func (*DeleteUserAPIKeysOK) IsRedirect added in v1.13.0

func (o *DeleteUserAPIKeysOK) IsRedirect() bool

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

func (*DeleteUserAPIKeysOK) IsServerError added in v1.13.0

func (o *DeleteUserAPIKeysOK) IsServerError() bool

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

func (*DeleteUserAPIKeysOK) IsSuccess added in v1.13.0

func (o *DeleteUserAPIKeysOK) IsSuccess() bool

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

func (*DeleteUserAPIKeysOK) String added in v1.13.0

func (o *DeleteUserAPIKeysOK) String() string

type DeleteUserAPIKeysParams

type DeleteUserAPIKeysParams struct {

	/* UserID.

	   The user ID.
	*/
	UserID string

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

DeleteUserAPIKeysParams contains all the parameters to send to the API endpoint

for the delete user api keys operation.

Typically these are written to a http.Request.

func NewDeleteUserAPIKeysParams

func NewDeleteUserAPIKeysParams() *DeleteUserAPIKeysParams

NewDeleteUserAPIKeysParams creates a new DeleteUserAPIKeysParams 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 NewDeleteUserAPIKeysParamsWithContext

func NewDeleteUserAPIKeysParamsWithContext(ctx context.Context) *DeleteUserAPIKeysParams

NewDeleteUserAPIKeysParamsWithContext creates a new DeleteUserAPIKeysParams object with the ability to set a context for a request.

func NewDeleteUserAPIKeysParamsWithHTTPClient

func NewDeleteUserAPIKeysParamsWithHTTPClient(client *http.Client) *DeleteUserAPIKeysParams

NewDeleteUserAPIKeysParamsWithHTTPClient creates a new DeleteUserAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserAPIKeysParamsWithTimeout

func NewDeleteUserAPIKeysParamsWithTimeout(timeout time.Duration) *DeleteUserAPIKeysParams

NewDeleteUserAPIKeysParamsWithTimeout creates a new DeleteUserAPIKeysParams object with the ability to set a timeout on a request.

func (*DeleteUserAPIKeysParams) SetContext

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

SetContext adds the context to the delete user api keys params

func (*DeleteUserAPIKeysParams) SetDefaults added in v1.3.0

func (o *DeleteUserAPIKeysParams) SetDefaults()

SetDefaults hydrates default values in the delete user api keys params (not the query body).

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

func (*DeleteUserAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user api keys params

func (*DeleteUserAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the delete user api keys params

func (*DeleteUserAPIKeysParams) SetUserID

func (o *DeleteUserAPIKeysParams) SetUserID(userID string)

SetUserID adds the userId to the delete user api keys params

func (*DeleteUserAPIKeysParams) WithContext

WithContext adds the context to the delete user api keys params

func (*DeleteUserAPIKeysParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete user api keys params (not the query body).

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

func (*DeleteUserAPIKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user api keys params

func (*DeleteUserAPIKeysParams) WithTimeout

WithTimeout adds the timeout to the delete user api keys params

func (*DeleteUserAPIKeysParams) WithUserID

WithUserID adds the userID to the delete user api keys params

func (*DeleteUserAPIKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUserAPIKeysReader

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

DeleteUserAPIKeysReader is a Reader for the DeleteUserAPIKeys structure.

func (*DeleteUserAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUsersAPIKeysOK

type DeleteUsersAPIKeysOK struct {
	Payload models.EmptyResponse
}

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

The API keys are deleted.

func NewDeleteUsersAPIKeysOK

func NewDeleteUsersAPIKeysOK() *DeleteUsersAPIKeysOK

NewDeleteUsersAPIKeysOK creates a DeleteUsersAPIKeysOK with default headers values

func (*DeleteUsersAPIKeysOK) Code added in v1.13.0

func (o *DeleteUsersAPIKeysOK) Code() int

Code gets the status code for the delete users Api keys o k response

func (*DeleteUsersAPIKeysOK) Error

func (o *DeleteUsersAPIKeysOK) Error() string

func (*DeleteUsersAPIKeysOK) GetPayload

func (o *DeleteUsersAPIKeysOK) GetPayload() models.EmptyResponse

func (*DeleteUsersAPIKeysOK) IsClientError added in v1.13.0

func (o *DeleteUsersAPIKeysOK) IsClientError() bool

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

func (*DeleteUsersAPIKeysOK) IsCode added in v1.13.0

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

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

func (*DeleteUsersAPIKeysOK) IsRedirect added in v1.13.0

func (o *DeleteUsersAPIKeysOK) IsRedirect() bool

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

func (*DeleteUsersAPIKeysOK) IsServerError added in v1.13.0

func (o *DeleteUsersAPIKeysOK) IsServerError() bool

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

func (*DeleteUsersAPIKeysOK) IsSuccess added in v1.13.0

func (o *DeleteUsersAPIKeysOK) IsSuccess() bool

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

func (*DeleteUsersAPIKeysOK) String added in v1.13.0

func (o *DeleteUsersAPIKeysOK) String() string

type DeleteUsersAPIKeysParams

type DeleteUsersAPIKeysParams struct {

	/* Body.

	   The request to delete API keys.
	*/
	Body *models.DeleteUsersAPIKeysRequest

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

DeleteUsersAPIKeysParams contains all the parameters to send to the API endpoint

for the delete users api keys operation.

Typically these are written to a http.Request.

func NewDeleteUsersAPIKeysParams

func NewDeleteUsersAPIKeysParams() *DeleteUsersAPIKeysParams

NewDeleteUsersAPIKeysParams creates a new DeleteUsersAPIKeysParams 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 NewDeleteUsersAPIKeysParamsWithContext

func NewDeleteUsersAPIKeysParamsWithContext(ctx context.Context) *DeleteUsersAPIKeysParams

NewDeleteUsersAPIKeysParamsWithContext creates a new DeleteUsersAPIKeysParams object with the ability to set a context for a request.

func NewDeleteUsersAPIKeysParamsWithHTTPClient

func NewDeleteUsersAPIKeysParamsWithHTTPClient(client *http.Client) *DeleteUsersAPIKeysParams

NewDeleteUsersAPIKeysParamsWithHTTPClient creates a new DeleteUsersAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUsersAPIKeysParamsWithTimeout

func NewDeleteUsersAPIKeysParamsWithTimeout(timeout time.Duration) *DeleteUsersAPIKeysParams

NewDeleteUsersAPIKeysParamsWithTimeout creates a new DeleteUsersAPIKeysParams object with the ability to set a timeout on a request.

func (*DeleteUsersAPIKeysParams) SetBody

SetBody adds the body to the delete users api keys params

func (*DeleteUsersAPIKeysParams) SetContext

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

SetContext adds the context to the delete users api keys params

func (*DeleteUsersAPIKeysParams) SetDefaults added in v1.3.0

func (o *DeleteUsersAPIKeysParams) SetDefaults()

SetDefaults hydrates default values in the delete users api keys params (not the query body).

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

func (*DeleteUsersAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete users api keys params

func (*DeleteUsersAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the delete users api keys params

func (*DeleteUsersAPIKeysParams) WithBody

WithBody adds the body to the delete users api keys params

func (*DeleteUsersAPIKeysParams) WithContext

WithContext adds the context to the delete users api keys params

func (*DeleteUsersAPIKeysParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete users api keys params (not the query body).

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

func (*DeleteUsersAPIKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete users api keys params

func (*DeleteUsersAPIKeysParams) WithTimeout

WithTimeout adds the timeout to the delete users api keys params

func (*DeleteUsersAPIKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteUsersAPIKeysReader

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

DeleteUsersAPIKeysReader is a Reader for the DeleteUsersAPIKeys structure.

func (*DeleteUsersAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeyNotFound

type GetAPIKeyNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The {api_key_id} can't be found. (code: `api_keys.key_not_found`)

func NewGetAPIKeyNotFound

func NewGetAPIKeyNotFound() *GetAPIKeyNotFound

NewGetAPIKeyNotFound creates a GetAPIKeyNotFound with default headers values

func (*GetAPIKeyNotFound) Code added in v1.13.0

func (o *GetAPIKeyNotFound) Code() int

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

func (*GetAPIKeyNotFound) Error

func (o *GetAPIKeyNotFound) Error() string

func (*GetAPIKeyNotFound) GetPayload

func (o *GetAPIKeyNotFound) GetPayload() *models.BasicFailedReply

func (*GetAPIKeyNotFound) IsClientError added in v1.13.0

func (o *GetAPIKeyNotFound) IsClientError() bool

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

func (*GetAPIKeyNotFound) IsCode added in v1.13.0

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

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

func (*GetAPIKeyNotFound) IsRedirect added in v1.13.0

func (o *GetAPIKeyNotFound) IsRedirect() bool

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

func (*GetAPIKeyNotFound) IsServerError added in v1.13.0

func (o *GetAPIKeyNotFound) IsServerError() bool

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

func (*GetAPIKeyNotFound) IsSuccess added in v1.13.0

func (o *GetAPIKeyNotFound) IsSuccess() bool

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

func (*GetAPIKeyNotFound) String added in v1.13.0

func (o *GetAPIKeyNotFound) String() string

type GetAPIKeyOK

type GetAPIKeyOK struct {
	Payload *models.APIKeyResponse
}

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

The API key metadata is retrieved.

func NewGetAPIKeyOK

func NewGetAPIKeyOK() *GetAPIKeyOK

NewGetAPIKeyOK creates a GetAPIKeyOK with default headers values

func (*GetAPIKeyOK) Code added in v1.13.0

func (o *GetAPIKeyOK) Code() int

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

func (*GetAPIKeyOK) Error

func (o *GetAPIKeyOK) Error() string

func (*GetAPIKeyOK) GetPayload

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

func (*GetAPIKeyOK) IsClientError added in v1.13.0

func (o *GetAPIKeyOK) IsClientError() bool

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

func (*GetAPIKeyOK) IsCode added in v1.13.0

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

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

func (*GetAPIKeyOK) IsRedirect added in v1.13.0

func (o *GetAPIKeyOK) IsRedirect() bool

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

func (*GetAPIKeyOK) IsServerError added in v1.13.0

func (o *GetAPIKeyOK) IsServerError() bool

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

func (*GetAPIKeyOK) IsSuccess added in v1.13.0

func (o *GetAPIKeyOK) IsSuccess() bool

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

func (*GetAPIKeyOK) String added in v1.13.0

func (o *GetAPIKeyOK) String() string

type GetAPIKeyParams

type GetAPIKeyParams struct {

	/* APIKeyID.

	   The API Key ID.
	*/
	APIKeyID string

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

GetAPIKeyParams contains all the parameters to send to the API endpoint

for the get api key operation.

Typically these are written to a http.Request.

func NewGetAPIKeyParams

func NewGetAPIKeyParams() *GetAPIKeyParams

NewGetAPIKeyParams creates a new GetAPIKeyParams 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 NewGetAPIKeyParamsWithContext

func NewGetAPIKeyParamsWithContext(ctx context.Context) *GetAPIKeyParams

NewGetAPIKeyParamsWithContext creates a new GetAPIKeyParams object with the ability to set a context for a request.

func NewGetAPIKeyParamsWithHTTPClient

func NewGetAPIKeyParamsWithHTTPClient(client *http.Client) *GetAPIKeyParams

NewGetAPIKeyParamsWithHTTPClient creates a new GetAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeyParamsWithTimeout

func NewGetAPIKeyParamsWithTimeout(timeout time.Duration) *GetAPIKeyParams

NewGetAPIKeyParamsWithTimeout creates a new GetAPIKeyParams object with the ability to set a timeout on a request.

func (*GetAPIKeyParams) SetAPIKeyID

func (o *GetAPIKeyParams) SetAPIKeyID(aPIKeyID string)

SetAPIKeyID adds the apiKeyId to the get api key params

func (*GetAPIKeyParams) SetContext

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

SetContext adds the context to the get api key params

func (*GetAPIKeyParams) SetDefaults added in v1.3.0

func (o *GetAPIKeyParams) SetDefaults()

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

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

func (*GetAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get api key params

func (*GetAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get api key params

func (*GetAPIKeyParams) WithAPIKeyID

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

WithAPIKeyID adds the aPIKeyID to the get api key params

func (*GetAPIKeyParams) WithContext

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

WithContext adds the context to the get api key params

func (*GetAPIKeyParams) WithDefaults added in v1.3.0

func (o *GetAPIKeyParams) WithDefaults() *GetAPIKeyParams

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

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

func (*GetAPIKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get api key params

func (*GetAPIKeyParams) WithTimeout

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

WithTimeout adds the timeout to the get api key params

func (*GetAPIKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPIKeyReader

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

GetAPIKeyReader is a Reader for the GetAPIKey structure.

func (*GetAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIKeysOK

type GetAPIKeysOK struct {
	Payload *models.APIKeysResponse
}

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

The metadata for the API keys is retrieved.

func NewGetAPIKeysOK

func NewGetAPIKeysOK() *GetAPIKeysOK

NewGetAPIKeysOK creates a GetAPIKeysOK with default headers values

func (*GetAPIKeysOK) Code added in v1.13.0

func (o *GetAPIKeysOK) Code() int

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

func (*GetAPIKeysOK) Error

func (o *GetAPIKeysOK) Error() string

func (*GetAPIKeysOK) GetPayload

func (o *GetAPIKeysOK) GetPayload() *models.APIKeysResponse

func (*GetAPIKeysOK) IsClientError added in v1.13.0

func (o *GetAPIKeysOK) IsClientError() bool

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

func (*GetAPIKeysOK) IsCode added in v1.13.0

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

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

func (*GetAPIKeysOK) IsRedirect added in v1.13.0

func (o *GetAPIKeysOK) IsRedirect() bool

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

func (*GetAPIKeysOK) IsServerError added in v1.13.0

func (o *GetAPIKeysOK) IsServerError() bool

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

func (*GetAPIKeysOK) IsSuccess added in v1.13.0

func (o *GetAPIKeysOK) IsSuccess() bool

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

func (*GetAPIKeysOK) String added in v1.13.0

func (o *GetAPIKeysOK) String() string

type GetAPIKeysParams

type GetAPIKeysParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIKeysParams contains all the parameters to send to the API endpoint

for the get api keys operation.

Typically these are written to a http.Request.

func NewGetAPIKeysParams

func NewGetAPIKeysParams() *GetAPIKeysParams

NewGetAPIKeysParams creates a new GetAPIKeysParams 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 NewGetAPIKeysParamsWithContext

func NewGetAPIKeysParamsWithContext(ctx context.Context) *GetAPIKeysParams

NewGetAPIKeysParamsWithContext creates a new GetAPIKeysParams object with the ability to set a context for a request.

func NewGetAPIKeysParamsWithHTTPClient

func NewGetAPIKeysParamsWithHTTPClient(client *http.Client) *GetAPIKeysParams

NewGetAPIKeysParamsWithHTTPClient creates a new GetAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIKeysParamsWithTimeout

func NewGetAPIKeysParamsWithTimeout(timeout time.Duration) *GetAPIKeysParams

NewGetAPIKeysParamsWithTimeout creates a new GetAPIKeysParams object with the ability to set a timeout on a request.

func (*GetAPIKeysParams) SetContext

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

SetContext adds the context to the get api keys params

func (*GetAPIKeysParams) SetDefaults added in v1.3.0

func (o *GetAPIKeysParams) SetDefaults()

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

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

func (*GetAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get api keys params

func (*GetAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the get api keys params

func (*GetAPIKeysParams) WithContext

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

WithContext adds the context to the get api keys params

func (*GetAPIKeysParams) WithDefaults added in v1.3.0

func (o *GetAPIKeysParams) WithDefaults() *GetAPIKeysParams

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

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

func (*GetAPIKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get api keys params

func (*GetAPIKeysParams) WithTimeout

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

WithTimeout adds the timeout to the get api keys params

func (*GetAPIKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPIKeysReader

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

GetAPIKeysReader is a Reader for the GetAPIKeys structure.

func (*GetAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuthenticationInfoOK

type GetAuthenticationInfoOK struct {
	Payload *models.AuthenticationInfo
}

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

User authentication information response

func NewGetAuthenticationInfoOK

func NewGetAuthenticationInfoOK() *GetAuthenticationInfoOK

NewGetAuthenticationInfoOK creates a GetAuthenticationInfoOK with default headers values

func (*GetAuthenticationInfoOK) Code added in v1.13.0

func (o *GetAuthenticationInfoOK) Code() int

Code gets the status code for the get authentication info o k response

func (*GetAuthenticationInfoOK) Error

func (o *GetAuthenticationInfoOK) Error() string

func (*GetAuthenticationInfoOK) GetPayload

func (*GetAuthenticationInfoOK) IsClientError added in v1.13.0

func (o *GetAuthenticationInfoOK) IsClientError() bool

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

func (*GetAuthenticationInfoOK) IsCode added in v1.13.0

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

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

func (*GetAuthenticationInfoOK) IsRedirect added in v1.13.0

func (o *GetAuthenticationInfoOK) IsRedirect() bool

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

func (*GetAuthenticationInfoOK) IsServerError added in v1.13.0

func (o *GetAuthenticationInfoOK) IsServerError() bool

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

func (*GetAuthenticationInfoOK) IsSuccess added in v1.13.0

func (o *GetAuthenticationInfoOK) IsSuccess() bool

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

func (*GetAuthenticationInfoOK) String added in v1.13.0

func (o *GetAuthenticationInfoOK) String() string

type GetAuthenticationInfoParams

type GetAuthenticationInfoParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAuthenticationInfoParams contains all the parameters to send to the API endpoint

for the get authentication info operation.

Typically these are written to a http.Request.

func NewGetAuthenticationInfoParams

func NewGetAuthenticationInfoParams() *GetAuthenticationInfoParams

NewGetAuthenticationInfoParams creates a new GetAuthenticationInfoParams 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 NewGetAuthenticationInfoParamsWithContext

func NewGetAuthenticationInfoParamsWithContext(ctx context.Context) *GetAuthenticationInfoParams

NewGetAuthenticationInfoParamsWithContext creates a new GetAuthenticationInfoParams object with the ability to set a context for a request.

func NewGetAuthenticationInfoParamsWithHTTPClient

func NewGetAuthenticationInfoParamsWithHTTPClient(client *http.Client) *GetAuthenticationInfoParams

NewGetAuthenticationInfoParamsWithHTTPClient creates a new GetAuthenticationInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetAuthenticationInfoParamsWithTimeout

func NewGetAuthenticationInfoParamsWithTimeout(timeout time.Duration) *GetAuthenticationInfoParams

NewGetAuthenticationInfoParamsWithTimeout creates a new GetAuthenticationInfoParams object with the ability to set a timeout on a request.

func (*GetAuthenticationInfoParams) SetContext

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

SetContext adds the context to the get authentication info params

func (*GetAuthenticationInfoParams) SetDefaults added in v1.3.0

func (o *GetAuthenticationInfoParams) SetDefaults()

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

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

func (*GetAuthenticationInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get authentication info params

func (*GetAuthenticationInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get authentication info params

func (*GetAuthenticationInfoParams) WithContext

WithContext adds the context to the get authentication info params

func (*GetAuthenticationInfoParams) WithDefaults added in v1.3.0

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

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

func (*GetAuthenticationInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get authentication info params

func (*GetAuthenticationInfoParams) WithTimeout

WithTimeout adds the timeout to the get authentication info params

func (*GetAuthenticationInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuthenticationInfoReader

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

GetAuthenticationInfoReader is a Reader for the GetAuthenticationInfo structure.

func (*GetAuthenticationInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserAPIKeyNotFound

type GetUserAPIKeyNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The {api_key_id} can't be found. (code: `api_keys.key_not_found`)

func NewGetUserAPIKeyNotFound

func NewGetUserAPIKeyNotFound() *GetUserAPIKeyNotFound

NewGetUserAPIKeyNotFound creates a GetUserAPIKeyNotFound with default headers values

func (*GetUserAPIKeyNotFound) Code added in v1.13.0

func (o *GetUserAPIKeyNotFound) Code() int

Code gets the status code for the get user Api key not found response

func (*GetUserAPIKeyNotFound) Error

func (o *GetUserAPIKeyNotFound) Error() string

func (*GetUserAPIKeyNotFound) GetPayload

func (*GetUserAPIKeyNotFound) IsClientError added in v1.13.0

func (o *GetUserAPIKeyNotFound) IsClientError() bool

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

func (*GetUserAPIKeyNotFound) IsCode added in v1.13.0

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

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

func (*GetUserAPIKeyNotFound) IsRedirect added in v1.13.0

func (o *GetUserAPIKeyNotFound) IsRedirect() bool

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

func (*GetUserAPIKeyNotFound) IsServerError added in v1.13.0

func (o *GetUserAPIKeyNotFound) IsServerError() bool

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

func (*GetUserAPIKeyNotFound) IsSuccess added in v1.13.0

func (o *GetUserAPIKeyNotFound) IsSuccess() bool

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

func (*GetUserAPIKeyNotFound) String added in v1.13.0

func (o *GetUserAPIKeyNotFound) String() string

type GetUserAPIKeyOK

type GetUserAPIKeyOK struct {
	Payload *models.APIKeyResponse
}

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

The API key metadata is retrieved.

func NewGetUserAPIKeyOK

func NewGetUserAPIKeyOK() *GetUserAPIKeyOK

NewGetUserAPIKeyOK creates a GetUserAPIKeyOK with default headers values

func (*GetUserAPIKeyOK) Code added in v1.13.0

func (o *GetUserAPIKeyOK) Code() int

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

func (*GetUserAPIKeyOK) Error

func (o *GetUserAPIKeyOK) Error() string

func (*GetUserAPIKeyOK) GetPayload

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

func (*GetUserAPIKeyOK) IsClientError added in v1.13.0

func (o *GetUserAPIKeyOK) IsClientError() bool

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

func (*GetUserAPIKeyOK) IsCode added in v1.13.0

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

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

func (*GetUserAPIKeyOK) IsRedirect added in v1.13.0

func (o *GetUserAPIKeyOK) IsRedirect() bool

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

func (*GetUserAPIKeyOK) IsServerError added in v1.13.0

func (o *GetUserAPIKeyOK) IsServerError() bool

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

func (*GetUserAPIKeyOK) IsSuccess added in v1.13.0

func (o *GetUserAPIKeyOK) IsSuccess() bool

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

func (*GetUserAPIKeyOK) String added in v1.13.0

func (o *GetUserAPIKeyOK) String() string

type GetUserAPIKeyParams

type GetUserAPIKeyParams struct {

	/* APIKeyID.

	   The API Key ID.
	*/
	APIKeyID string

	/* UserID.

	   The user ID.
	*/
	UserID string

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

GetUserAPIKeyParams contains all the parameters to send to the API endpoint

for the get user api key operation.

Typically these are written to a http.Request.

func NewGetUserAPIKeyParams

func NewGetUserAPIKeyParams() *GetUserAPIKeyParams

NewGetUserAPIKeyParams creates a new GetUserAPIKeyParams 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 NewGetUserAPIKeyParamsWithContext

func NewGetUserAPIKeyParamsWithContext(ctx context.Context) *GetUserAPIKeyParams

NewGetUserAPIKeyParamsWithContext creates a new GetUserAPIKeyParams object with the ability to set a context for a request.

func NewGetUserAPIKeyParamsWithHTTPClient

func NewGetUserAPIKeyParamsWithHTTPClient(client *http.Client) *GetUserAPIKeyParams

NewGetUserAPIKeyParamsWithHTTPClient creates a new GetUserAPIKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserAPIKeyParamsWithTimeout

func NewGetUserAPIKeyParamsWithTimeout(timeout time.Duration) *GetUserAPIKeyParams

NewGetUserAPIKeyParamsWithTimeout creates a new GetUserAPIKeyParams object with the ability to set a timeout on a request.

func (*GetUserAPIKeyParams) SetAPIKeyID

func (o *GetUserAPIKeyParams) SetAPIKeyID(aPIKeyID string)

SetAPIKeyID adds the apiKeyId to the get user api key params

func (*GetUserAPIKeyParams) SetContext

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

SetContext adds the context to the get user api key params

func (*GetUserAPIKeyParams) SetDefaults added in v1.3.0

func (o *GetUserAPIKeyParams) SetDefaults()

SetDefaults hydrates default values in the get user api key params (not the query body).

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

func (*GetUserAPIKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user api key params

func (*GetUserAPIKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get user api key params

func (*GetUserAPIKeyParams) SetUserID

func (o *GetUserAPIKeyParams) SetUserID(userID string)

SetUserID adds the userId to the get user api key params

func (*GetUserAPIKeyParams) WithAPIKeyID

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

WithAPIKeyID adds the aPIKeyID to the get user api key params

func (*GetUserAPIKeyParams) WithContext

WithContext adds the context to the get user api key params

func (*GetUserAPIKeyParams) WithDefaults added in v1.3.0

func (o *GetUserAPIKeyParams) WithDefaults() *GetUserAPIKeyParams

WithDefaults hydrates default values in the get user api key params (not the query body).

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

func (*GetUserAPIKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user api key params

func (*GetUserAPIKeyParams) WithTimeout

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

WithTimeout adds the timeout to the get user api key params

func (*GetUserAPIKeyParams) WithUserID

func (o *GetUserAPIKeyParams) WithUserID(userID string) *GetUserAPIKeyParams

WithUserID adds the userID to the get user api key params

func (*GetUserAPIKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserAPIKeyReader

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

GetUserAPIKeyReader is a Reader for the GetUserAPIKey structure.

func (*GetUserAPIKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserAPIKeysNotFound

type GetUserAPIKeysNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The {user_id} can't be found. (code: `api_keys.user_not_found`)

func NewGetUserAPIKeysNotFound

func NewGetUserAPIKeysNotFound() *GetUserAPIKeysNotFound

NewGetUserAPIKeysNotFound creates a GetUserAPIKeysNotFound with default headers values

func (*GetUserAPIKeysNotFound) Code added in v1.13.0

func (o *GetUserAPIKeysNotFound) Code() int

Code gets the status code for the get user Api keys not found response

func (*GetUserAPIKeysNotFound) Error

func (o *GetUserAPIKeysNotFound) Error() string

func (*GetUserAPIKeysNotFound) GetPayload

func (*GetUserAPIKeysNotFound) IsClientError added in v1.13.0

func (o *GetUserAPIKeysNotFound) IsClientError() bool

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

func (*GetUserAPIKeysNotFound) IsCode added in v1.13.0

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

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

func (*GetUserAPIKeysNotFound) IsRedirect added in v1.13.0

func (o *GetUserAPIKeysNotFound) IsRedirect() bool

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

func (*GetUserAPIKeysNotFound) IsServerError added in v1.13.0

func (o *GetUserAPIKeysNotFound) IsServerError() bool

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

func (*GetUserAPIKeysNotFound) IsSuccess added in v1.13.0

func (o *GetUserAPIKeysNotFound) IsSuccess() bool

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

func (*GetUserAPIKeysNotFound) String added in v1.13.0

func (o *GetUserAPIKeysNotFound) String() string

type GetUserAPIKeysOK

type GetUserAPIKeysOK struct {
	Payload *models.APIKeysResponse
}

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

The API key metadata is retrieved.

func NewGetUserAPIKeysOK

func NewGetUserAPIKeysOK() *GetUserAPIKeysOK

NewGetUserAPIKeysOK creates a GetUserAPIKeysOK with default headers values

func (*GetUserAPIKeysOK) Code added in v1.13.0

func (o *GetUserAPIKeysOK) Code() int

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

func (*GetUserAPIKeysOK) Error

func (o *GetUserAPIKeysOK) Error() string

func (*GetUserAPIKeysOK) GetPayload

func (o *GetUserAPIKeysOK) GetPayload() *models.APIKeysResponse

func (*GetUserAPIKeysOK) IsClientError added in v1.13.0

func (o *GetUserAPIKeysOK) IsClientError() bool

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

func (*GetUserAPIKeysOK) IsCode added in v1.13.0

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

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

func (*GetUserAPIKeysOK) IsRedirect added in v1.13.0

func (o *GetUserAPIKeysOK) IsRedirect() bool

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

func (*GetUserAPIKeysOK) IsServerError added in v1.13.0

func (o *GetUserAPIKeysOK) IsServerError() bool

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

func (*GetUserAPIKeysOK) IsSuccess added in v1.13.0

func (o *GetUserAPIKeysOK) IsSuccess() bool

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

func (*GetUserAPIKeysOK) String added in v1.13.0

func (o *GetUserAPIKeysOK) String() string

type GetUserAPIKeysParams

type GetUserAPIKeysParams struct {

	/* UserID.

	   The user ID.
	*/
	UserID string

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

GetUserAPIKeysParams contains all the parameters to send to the API endpoint

for the get user api keys operation.

Typically these are written to a http.Request.

func NewGetUserAPIKeysParams

func NewGetUserAPIKeysParams() *GetUserAPIKeysParams

NewGetUserAPIKeysParams creates a new GetUserAPIKeysParams 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 NewGetUserAPIKeysParamsWithContext

func NewGetUserAPIKeysParamsWithContext(ctx context.Context) *GetUserAPIKeysParams

NewGetUserAPIKeysParamsWithContext creates a new GetUserAPIKeysParams object with the ability to set a context for a request.

func NewGetUserAPIKeysParamsWithHTTPClient

func NewGetUserAPIKeysParamsWithHTTPClient(client *http.Client) *GetUserAPIKeysParams

NewGetUserAPIKeysParamsWithHTTPClient creates a new GetUserAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserAPIKeysParamsWithTimeout

func NewGetUserAPIKeysParamsWithTimeout(timeout time.Duration) *GetUserAPIKeysParams

NewGetUserAPIKeysParamsWithTimeout creates a new GetUserAPIKeysParams object with the ability to set a timeout on a request.

func (*GetUserAPIKeysParams) SetContext

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

SetContext adds the context to the get user api keys params

func (*GetUserAPIKeysParams) SetDefaults added in v1.3.0

func (o *GetUserAPIKeysParams) SetDefaults()

SetDefaults hydrates default values in the get user api keys params (not the query body).

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

func (*GetUserAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user api keys params

func (*GetUserAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the get user api keys params

func (*GetUserAPIKeysParams) SetUserID

func (o *GetUserAPIKeysParams) SetUserID(userID string)

SetUserID adds the userId to the get user api keys params

func (*GetUserAPIKeysParams) WithContext

WithContext adds the context to the get user api keys params

func (*GetUserAPIKeysParams) WithDefaults added in v1.3.0

func (o *GetUserAPIKeysParams) WithDefaults() *GetUserAPIKeysParams

WithDefaults hydrates default values in the get user api keys params (not the query body).

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

func (*GetUserAPIKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user api keys params

func (*GetUserAPIKeysParams) WithTimeout

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

WithTimeout adds the timeout to the get user api keys params

func (*GetUserAPIKeysParams) WithUserID

func (o *GetUserAPIKeysParams) WithUserID(userID string) *GetUserAPIKeysParams

WithUserID adds the userID to the get user api keys params

func (*GetUserAPIKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserAPIKeysReader

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

GetUserAPIKeysReader is a Reader for the GetUserAPIKeys structure.

func (*GetUserAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersAPIKeysOK

type GetUsersAPIKeysOK struct {
	Payload *models.APIKeysResponse
}

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

The metadata for the API keys is retrieved.

func NewGetUsersAPIKeysOK

func NewGetUsersAPIKeysOK() *GetUsersAPIKeysOK

NewGetUsersAPIKeysOK creates a GetUsersAPIKeysOK with default headers values

func (*GetUsersAPIKeysOK) Code added in v1.13.0

func (o *GetUsersAPIKeysOK) Code() int

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

func (*GetUsersAPIKeysOK) Error

func (o *GetUsersAPIKeysOK) Error() string

func (*GetUsersAPIKeysOK) GetPayload

func (o *GetUsersAPIKeysOK) GetPayload() *models.APIKeysResponse

func (*GetUsersAPIKeysOK) IsClientError added in v1.13.0

func (o *GetUsersAPIKeysOK) IsClientError() bool

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

func (*GetUsersAPIKeysOK) IsCode added in v1.13.0

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

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

func (*GetUsersAPIKeysOK) IsRedirect added in v1.13.0

func (o *GetUsersAPIKeysOK) IsRedirect() bool

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

func (*GetUsersAPIKeysOK) IsServerError added in v1.13.0

func (o *GetUsersAPIKeysOK) IsServerError() bool

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

func (*GetUsersAPIKeysOK) IsSuccess added in v1.13.0

func (o *GetUsersAPIKeysOK) IsSuccess() bool

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

func (*GetUsersAPIKeysOK) String added in v1.13.0

func (o *GetUsersAPIKeysOK) String() string

type GetUsersAPIKeysParams

type GetUsersAPIKeysParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUsersAPIKeysParams contains all the parameters to send to the API endpoint

for the get users api keys operation.

Typically these are written to a http.Request.

func NewGetUsersAPIKeysParams

func NewGetUsersAPIKeysParams() *GetUsersAPIKeysParams

NewGetUsersAPIKeysParams creates a new GetUsersAPIKeysParams 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 NewGetUsersAPIKeysParamsWithContext

func NewGetUsersAPIKeysParamsWithContext(ctx context.Context) *GetUsersAPIKeysParams

NewGetUsersAPIKeysParamsWithContext creates a new GetUsersAPIKeysParams object with the ability to set a context for a request.

func NewGetUsersAPIKeysParamsWithHTTPClient

func NewGetUsersAPIKeysParamsWithHTTPClient(client *http.Client) *GetUsersAPIKeysParams

NewGetUsersAPIKeysParamsWithHTTPClient creates a new GetUsersAPIKeysParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersAPIKeysParamsWithTimeout

func NewGetUsersAPIKeysParamsWithTimeout(timeout time.Duration) *GetUsersAPIKeysParams

NewGetUsersAPIKeysParamsWithTimeout creates a new GetUsersAPIKeysParams object with the ability to set a timeout on a request.

func (*GetUsersAPIKeysParams) SetContext

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

SetContext adds the context to the get users api keys params

func (*GetUsersAPIKeysParams) SetDefaults added in v1.3.0

func (o *GetUsersAPIKeysParams) SetDefaults()

SetDefaults hydrates default values in the get users api keys params (not the query body).

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

func (*GetUsersAPIKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users api keys params

func (*GetUsersAPIKeysParams) SetTimeout

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

SetTimeout adds the timeout to the get users api keys params

func (*GetUsersAPIKeysParams) WithContext

WithContext adds the context to the get users api keys params

func (*GetUsersAPIKeysParams) WithDefaults added in v1.3.0

func (o *GetUsersAPIKeysParams) WithDefaults() *GetUsersAPIKeysParams

WithDefaults hydrates default values in the get users api keys params (not the query body).

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

func (*GetUsersAPIKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users api keys params

func (*GetUsersAPIKeysParams) WithTimeout

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

WithTimeout adds the timeout to the get users api keys params

func (*GetUsersAPIKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersAPIKeysReader

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

GetUsersAPIKeysReader is a Reader for the GetUsersAPIKeys structure.

func (*GetUsersAPIKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoginBadGateway

type LoginBadGateway struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

LoginBadGateway describes a response with status code 502, with default header values.

The authentication cluster failed to process the request. The response body contains details about the error. (code: `authc.authentication_cluster_error`)

func NewLoginBadGateway

func NewLoginBadGateway() *LoginBadGateway

NewLoginBadGateway creates a LoginBadGateway with default headers values

func (*LoginBadGateway) Code added in v1.13.0

func (o *LoginBadGateway) Code() int

Code gets the status code for the login bad gateway response

func (*LoginBadGateway) Error

func (o *LoginBadGateway) Error() string

func (*LoginBadGateway) GetPayload

func (o *LoginBadGateway) GetPayload() *models.BasicFailedReply

func (*LoginBadGateway) IsClientError added in v1.13.0

func (o *LoginBadGateway) IsClientError() bool

IsClientError returns true when this login bad gateway response has a 4xx status code

func (*LoginBadGateway) IsCode added in v1.13.0

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

IsCode returns true when this login bad gateway response a status code equal to that given

func (*LoginBadGateway) IsRedirect added in v1.13.0

func (o *LoginBadGateway) IsRedirect() bool

IsRedirect returns true when this login bad gateway response has a 3xx status code

func (*LoginBadGateway) IsServerError added in v1.13.0

func (o *LoginBadGateway) IsServerError() bool

IsServerError returns true when this login bad gateway response has a 5xx status code

func (*LoginBadGateway) IsSuccess added in v1.13.0

func (o *LoginBadGateway) IsSuccess() bool

IsSuccess returns true when this login bad gateway response has a 2xx status code

func (*LoginBadGateway) String added in v1.13.0

func (o *LoginBadGateway) String() string

type LoginFound

type LoginFound struct {
	Payload models.EmptyResponse
}

LoginFound describes a response with status code 302, with default header values.

Redirects to '/sso/token#BEARER_TOKEN?state=LOGIN_STATE' with the fragment containing a bearer token (if 'login_state.path' is specified)

func NewLoginFound

func NewLoginFound() *LoginFound

NewLoginFound creates a LoginFound with default headers values

func (*LoginFound) Code added in v1.13.0

func (o *LoginFound) Code() int

Code gets the status code for the login found response

func (*LoginFound) Error

func (o *LoginFound) Error() string

func (*LoginFound) GetPayload

func (o *LoginFound) GetPayload() models.EmptyResponse

func (*LoginFound) IsClientError added in v1.13.0

func (o *LoginFound) IsClientError() bool

IsClientError returns true when this login found response has a 4xx status code

func (*LoginFound) IsCode added in v1.13.0

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

IsCode returns true when this login found response a status code equal to that given

func (*LoginFound) IsRedirect added in v1.13.0

func (o *LoginFound) IsRedirect() bool

IsRedirect returns true when this login found response has a 3xx status code

func (*LoginFound) IsServerError added in v1.13.0

func (o *LoginFound) IsServerError() bool

IsServerError returns true when this login found response has a 5xx status code

func (*LoginFound) IsSuccess added in v1.13.0

func (o *LoginFound) IsSuccess() bool

IsSuccess returns true when this login found response has a 2xx status code

func (*LoginFound) String added in v1.13.0

func (o *LoginFound) String() string

type LoginNotImplemented

type LoginNotImplemented struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

LoginNotImplemented describes a response with status code 501, with default header values.

The administrator needs to configure the authentication cluster. (code: `authc.no_authentication_cluster`)

func NewLoginNotImplemented

func NewLoginNotImplemented() *LoginNotImplemented

NewLoginNotImplemented creates a LoginNotImplemented with default headers values

func (*LoginNotImplemented) Code added in v1.13.0

func (o *LoginNotImplemented) Code() int

Code gets the status code for the login not implemented response

func (*LoginNotImplemented) Error

func (o *LoginNotImplemented) Error() string

func (*LoginNotImplemented) GetPayload

func (o *LoginNotImplemented) GetPayload() *models.BasicFailedReply

func (*LoginNotImplemented) IsClientError added in v1.13.0

func (o *LoginNotImplemented) IsClientError() bool

IsClientError returns true when this login not implemented response has a 4xx status code

func (*LoginNotImplemented) IsCode added in v1.13.0

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

IsCode returns true when this login not implemented response a status code equal to that given

func (*LoginNotImplemented) IsRedirect added in v1.13.0

func (o *LoginNotImplemented) IsRedirect() bool

IsRedirect returns true when this login not implemented response has a 3xx status code

func (*LoginNotImplemented) IsServerError added in v1.13.0

func (o *LoginNotImplemented) IsServerError() bool

IsServerError returns true when this login not implemented response has a 5xx status code

func (*LoginNotImplemented) IsSuccess added in v1.13.0

func (o *LoginNotImplemented) IsSuccess() bool

IsSuccess returns true when this login not implemented response has a 2xx status code

func (*LoginNotImplemented) String added in v1.13.0

func (o *LoginNotImplemented) String() string

type LoginOK

type LoginOK struct {
	Payload *models.TokenResponse
}

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

Login successful, returns the token in the body (if 'login_state.path' not specified)

func NewLoginOK

func NewLoginOK() *LoginOK

NewLoginOK creates a LoginOK with default headers values

func (*LoginOK) Code added in v1.13.0

func (o *LoginOK) Code() int

Code gets the status code for the login o k response

func (*LoginOK) Error

func (o *LoginOK) Error() string

func (*LoginOK) GetPayload

func (o *LoginOK) GetPayload() *models.TokenResponse

func (*LoginOK) IsClientError added in v1.13.0

func (o *LoginOK) IsClientError() bool

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

func (*LoginOK) IsCode added in v1.13.0

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

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

func (*LoginOK) IsRedirect added in v1.13.0

func (o *LoginOK) IsRedirect() bool

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

func (*LoginOK) IsServerError added in v1.13.0

func (o *LoginOK) IsServerError() bool

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

func (*LoginOK) IsSuccess added in v1.13.0

func (o *LoginOK) IsSuccess() bool

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

func (*LoginOK) String added in v1.13.0

func (o *LoginOK) String() string

type LoginParams

type LoginParams struct {

	/* Body.

	   The login request
	*/
	Body *models.LoginRequest

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

LoginParams contains all the parameters to send to the API endpoint

for the login operation.

Typically these are written to a http.Request.

func NewLoginParams

func NewLoginParams() *LoginParams

NewLoginParams creates a new LoginParams 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 NewLoginParamsWithContext

func NewLoginParamsWithContext(ctx context.Context) *LoginParams

NewLoginParamsWithContext creates a new LoginParams object with the ability to set a context for a request.

func NewLoginParamsWithHTTPClient

func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams

NewLoginParamsWithHTTPClient creates a new LoginParams object with the ability to set a custom HTTPClient for a request.

func NewLoginParamsWithTimeout

func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams

NewLoginParamsWithTimeout creates a new LoginParams object with the ability to set a timeout on a request.

func (*LoginParams) SetBody

func (o *LoginParams) SetBody(body *models.LoginRequest)

SetBody adds the body to the login params

func (*LoginParams) SetContext

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

SetContext adds the context to the login params

func (*LoginParams) SetDefaults added in v1.3.0

func (o *LoginParams) SetDefaults()

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

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

func (*LoginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the login params

func (*LoginParams) SetTimeout

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

SetTimeout adds the timeout to the login params

func (*LoginParams) WithBody

func (o *LoginParams) WithBody(body *models.LoginRequest) *LoginParams

WithBody adds the body to the login params

func (*LoginParams) WithContext

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

WithContext adds the context to the login params

func (*LoginParams) WithDefaults added in v1.3.0

func (o *LoginParams) WithDefaults() *LoginParams

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

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

func (*LoginParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the login params

func (*LoginParams) WithTimeout

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

WithTimeout adds the timeout to the login params

func (*LoginParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoginReader

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

LoginReader is a Reader for the Login structure.

func (*LoginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoginUnauthorized

type LoginUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The supplied authentication is invalid. (code: `root.unauthenticated`)

func NewLoginUnauthorized

func NewLoginUnauthorized() *LoginUnauthorized

NewLoginUnauthorized creates a LoginUnauthorized with default headers values

func (*LoginUnauthorized) Code added in v1.13.0

func (o *LoginUnauthorized) Code() int

Code gets the status code for the login unauthorized response

func (*LoginUnauthorized) Error

func (o *LoginUnauthorized) Error() string

func (*LoginUnauthorized) GetPayload

func (o *LoginUnauthorized) GetPayload() *models.BasicFailedReply

func (*LoginUnauthorized) IsClientError added in v1.13.0

func (o *LoginUnauthorized) IsClientError() bool

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

func (*LoginUnauthorized) IsCode added in v1.13.0

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

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

func (*LoginUnauthorized) IsRedirect added in v1.13.0

func (o *LoginUnauthorized) IsRedirect() bool

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

func (*LoginUnauthorized) IsServerError added in v1.13.0

func (o *LoginUnauthorized) IsServerError() bool

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

func (*LoginUnauthorized) IsSuccess added in v1.13.0

func (o *LoginUnauthorized) IsSuccess() bool

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

func (*LoginUnauthorized) String added in v1.13.0

func (o *LoginUnauthorized) String() string

type LogoutBadGateway

type LogoutBadGateway struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

LogoutBadGateway describes a response with status code 502, with default header values.

The authentication cluster failed to process the request. The response body contains details about the error. (code: `authc.authentication_cluster_error`)

func NewLogoutBadGateway

func NewLogoutBadGateway() *LogoutBadGateway

NewLogoutBadGateway creates a LogoutBadGateway with default headers values

func (*LogoutBadGateway) Code added in v1.13.0

func (o *LogoutBadGateway) Code() int

Code gets the status code for the logout bad gateway response

func (*LogoutBadGateway) Error

func (o *LogoutBadGateway) Error() string

func (*LogoutBadGateway) GetPayload

func (o *LogoutBadGateway) GetPayload() *models.BasicFailedReply

func (*LogoutBadGateway) IsClientError added in v1.13.0

func (o *LogoutBadGateway) IsClientError() bool

IsClientError returns true when this logout bad gateway response has a 4xx status code

func (*LogoutBadGateway) IsCode added in v1.13.0

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

IsCode returns true when this logout bad gateway response a status code equal to that given

func (*LogoutBadGateway) IsRedirect added in v1.13.0

func (o *LogoutBadGateway) IsRedirect() bool

IsRedirect returns true when this logout bad gateway response has a 3xx status code

func (*LogoutBadGateway) IsServerError added in v1.13.0

func (o *LogoutBadGateway) IsServerError() bool

IsServerError returns true when this logout bad gateway response has a 5xx status code

func (*LogoutBadGateway) IsSuccess added in v1.13.0

func (o *LogoutBadGateway) IsSuccess() bool

IsSuccess returns true when this logout bad gateway response has a 2xx status code

func (*LogoutBadGateway) String added in v1.13.0

func (o *LogoutBadGateway) String() string

type LogoutNotImplemented

type LogoutNotImplemented struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

LogoutNotImplemented describes a response with status code 501, with default header values.

The administrator needs to configure the authentication cluster. (code: `authc.no_authentication_cluster`)

func NewLogoutNotImplemented

func NewLogoutNotImplemented() *LogoutNotImplemented

NewLogoutNotImplemented creates a LogoutNotImplemented with default headers values

func (*LogoutNotImplemented) Code added in v1.13.0

func (o *LogoutNotImplemented) Code() int

Code gets the status code for the logout not implemented response

func (*LogoutNotImplemented) Error

func (o *LogoutNotImplemented) Error() string

func (*LogoutNotImplemented) GetPayload

func (o *LogoutNotImplemented) GetPayload() *models.BasicFailedReply

func (*LogoutNotImplemented) IsClientError added in v1.13.0

func (o *LogoutNotImplemented) IsClientError() bool

IsClientError returns true when this logout not implemented response has a 4xx status code

func (*LogoutNotImplemented) IsCode added in v1.13.0

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

IsCode returns true when this logout not implemented response a status code equal to that given

func (*LogoutNotImplemented) IsRedirect added in v1.13.0

func (o *LogoutNotImplemented) IsRedirect() bool

IsRedirect returns true when this logout not implemented response has a 3xx status code

func (*LogoutNotImplemented) IsServerError added in v1.13.0

func (o *LogoutNotImplemented) IsServerError() bool

IsServerError returns true when this logout not implemented response has a 5xx status code

func (*LogoutNotImplemented) IsSuccess added in v1.13.0

func (o *LogoutNotImplemented) IsSuccess() bool

IsSuccess returns true when this logout not implemented response has a 2xx status code

func (*LogoutNotImplemented) String added in v1.13.0

func (o *LogoutNotImplemented) String() string

type LogoutOK

type LogoutOK struct {
	Payload models.EmptyResponse
}

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

The current session was successfully destroyed.

func NewLogoutOK

func NewLogoutOK() *LogoutOK

NewLogoutOK creates a LogoutOK with default headers values

func (*LogoutOK) Code added in v1.13.0

func (o *LogoutOK) Code() int

Code gets the status code for the logout o k response

func (*LogoutOK) Error

func (o *LogoutOK) Error() string

func (*LogoutOK) GetPayload

func (o *LogoutOK) GetPayload() models.EmptyResponse

func (*LogoutOK) IsClientError added in v1.13.0

func (o *LogoutOK) IsClientError() bool

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

func (*LogoutOK) IsCode added in v1.13.0

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

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

func (*LogoutOK) IsRedirect added in v1.13.0

func (o *LogoutOK) IsRedirect() bool

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

func (*LogoutOK) IsServerError added in v1.13.0

func (o *LogoutOK) IsServerError() bool

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

func (*LogoutOK) IsSuccess added in v1.13.0

func (o *LogoutOK) IsSuccess() bool

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

func (*LogoutOK) String added in v1.13.0

func (o *LogoutOK) String() string

type LogoutParams

type LogoutParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

LogoutParams contains all the parameters to send to the API endpoint

for the logout operation.

Typically these are written to a http.Request.

func NewLogoutParams

func NewLogoutParams() *LogoutParams

NewLogoutParams creates a new LogoutParams 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 NewLogoutParamsWithContext

func NewLogoutParamsWithContext(ctx context.Context) *LogoutParams

NewLogoutParamsWithContext creates a new LogoutParams object with the ability to set a context for a request.

func NewLogoutParamsWithHTTPClient

func NewLogoutParamsWithHTTPClient(client *http.Client) *LogoutParams

NewLogoutParamsWithHTTPClient creates a new LogoutParams object with the ability to set a custom HTTPClient for a request.

func NewLogoutParamsWithTimeout

func NewLogoutParamsWithTimeout(timeout time.Duration) *LogoutParams

NewLogoutParamsWithTimeout creates a new LogoutParams object with the ability to set a timeout on a request.

func (*LogoutParams) SetContext

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

SetContext adds the context to the logout params

func (*LogoutParams) SetDefaults added in v1.3.0

func (o *LogoutParams) SetDefaults()

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

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

func (*LogoutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the logout params

func (*LogoutParams) SetTimeout

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

SetTimeout adds the timeout to the logout params

func (*LogoutParams) WithContext

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

WithContext adds the context to the logout params

func (*LogoutParams) WithDefaults added in v1.3.0

func (o *LogoutParams) WithDefaults() *LogoutParams

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

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

func (*LogoutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the logout params

func (*LogoutParams) WithTimeout

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

WithTimeout adds the timeout to the logout params

func (*LogoutParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LogoutReader

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

LogoutReader is a Reader for the Logout structure.

func (*LogoutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MethodsOK

type MethodsOK struct {
	Payload *models.AvailableAuthenticationMethods
}

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

Available authentication methods response

func NewMethodsOK

func NewMethodsOK() *MethodsOK

NewMethodsOK creates a MethodsOK with default headers values

func (*MethodsOK) Code added in v1.13.0

func (o *MethodsOK) Code() int

Code gets the status code for the methods o k response

func (*MethodsOK) Error

func (o *MethodsOK) Error() string

func (*MethodsOK) GetPayload

func (*MethodsOK) IsClientError added in v1.13.0

func (o *MethodsOK) IsClientError() bool

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

func (*MethodsOK) IsCode added in v1.13.0

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

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

func (*MethodsOK) IsRedirect added in v1.13.0

func (o *MethodsOK) IsRedirect() bool

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

func (*MethodsOK) IsServerError added in v1.13.0

func (o *MethodsOK) IsServerError() bool

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

func (*MethodsOK) IsSuccess added in v1.13.0

func (o *MethodsOK) IsSuccess() bool

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

func (*MethodsOK) String added in v1.13.0

func (o *MethodsOK) String() string

type MethodsParams

type MethodsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MethodsParams contains all the parameters to send to the API endpoint

for the methods operation.

Typically these are written to a http.Request.

func NewMethodsParams

func NewMethodsParams() *MethodsParams

NewMethodsParams creates a new MethodsParams 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 NewMethodsParamsWithContext

func NewMethodsParamsWithContext(ctx context.Context) *MethodsParams

NewMethodsParamsWithContext creates a new MethodsParams object with the ability to set a context for a request.

func NewMethodsParamsWithHTTPClient

func NewMethodsParamsWithHTTPClient(client *http.Client) *MethodsParams

NewMethodsParamsWithHTTPClient creates a new MethodsParams object with the ability to set a custom HTTPClient for a request.

func NewMethodsParamsWithTimeout

func NewMethodsParamsWithTimeout(timeout time.Duration) *MethodsParams

NewMethodsParamsWithTimeout creates a new MethodsParams object with the ability to set a timeout on a request.

func (*MethodsParams) SetContext

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

SetContext adds the context to the methods params

func (*MethodsParams) SetDefaults added in v1.3.0

func (o *MethodsParams) SetDefaults()

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

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

func (*MethodsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the methods params

func (*MethodsParams) SetTimeout

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

SetTimeout adds the timeout to the methods params

func (*MethodsParams) WithContext

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

WithContext adds the context to the methods params

func (*MethodsParams) WithDefaults added in v1.3.0

func (o *MethodsParams) WithDefaults() *MethodsParams

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

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

func (*MethodsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the methods params

func (*MethodsParams) WithTimeout

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

WithTimeout adds the timeout to the methods params

func (*MethodsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type MethodsReader

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

MethodsReader is a Reader for the Methods structure.

func (*MethodsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefreshTokenBadGateway

type RefreshTokenBadGateway struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

RefreshTokenBadGateway describes a response with status code 502, with default header values.

The authentication cluster failed to process the request. The response body contains details about the error. (code: `authc.authentication_cluster_error`)

func NewRefreshTokenBadGateway

func NewRefreshTokenBadGateway() *RefreshTokenBadGateway

NewRefreshTokenBadGateway creates a RefreshTokenBadGateway with default headers values

func (*RefreshTokenBadGateway) Code added in v1.13.0

func (o *RefreshTokenBadGateway) Code() int

Code gets the status code for the refresh token bad gateway response

func (*RefreshTokenBadGateway) Error

func (o *RefreshTokenBadGateway) Error() string

func (*RefreshTokenBadGateway) GetPayload

func (*RefreshTokenBadGateway) IsClientError added in v1.13.0

func (o *RefreshTokenBadGateway) IsClientError() bool

IsClientError returns true when this refresh token bad gateway response has a 4xx status code

func (*RefreshTokenBadGateway) IsCode added in v1.13.0

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

IsCode returns true when this refresh token bad gateway response a status code equal to that given

func (*RefreshTokenBadGateway) IsRedirect added in v1.13.0

func (o *RefreshTokenBadGateway) IsRedirect() bool

IsRedirect returns true when this refresh token bad gateway response has a 3xx status code

func (*RefreshTokenBadGateway) IsServerError added in v1.13.0

func (o *RefreshTokenBadGateway) IsServerError() bool

IsServerError returns true when this refresh token bad gateway response has a 5xx status code

func (*RefreshTokenBadGateway) IsSuccess added in v1.13.0

func (o *RefreshTokenBadGateway) IsSuccess() bool

IsSuccess returns true when this refresh token bad gateway response has a 2xx status code

func (*RefreshTokenBadGateway) String added in v1.13.0

func (o *RefreshTokenBadGateway) String() string

type RefreshTokenNotImplemented

type RefreshTokenNotImplemented struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

RefreshTokenNotImplemented describes a response with status code 501, with default header values.

The administrator needs to configure the authentication cluster. (code: `authc.no_authentication_cluster`)

func NewRefreshTokenNotImplemented

func NewRefreshTokenNotImplemented() *RefreshTokenNotImplemented

NewRefreshTokenNotImplemented creates a RefreshTokenNotImplemented with default headers values

func (*RefreshTokenNotImplemented) Code added in v1.13.0

func (o *RefreshTokenNotImplemented) Code() int

Code gets the status code for the refresh token not implemented response

func (*RefreshTokenNotImplemented) Error

func (*RefreshTokenNotImplemented) GetPayload

func (*RefreshTokenNotImplemented) IsClientError added in v1.13.0

func (o *RefreshTokenNotImplemented) IsClientError() bool

IsClientError returns true when this refresh token not implemented response has a 4xx status code

func (*RefreshTokenNotImplemented) IsCode added in v1.13.0

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

IsCode returns true when this refresh token not implemented response a status code equal to that given

func (*RefreshTokenNotImplemented) IsRedirect added in v1.13.0

func (o *RefreshTokenNotImplemented) IsRedirect() bool

IsRedirect returns true when this refresh token not implemented response has a 3xx status code

func (*RefreshTokenNotImplemented) IsServerError added in v1.13.0

func (o *RefreshTokenNotImplemented) IsServerError() bool

IsServerError returns true when this refresh token not implemented response has a 5xx status code

func (*RefreshTokenNotImplemented) IsSuccess added in v1.13.0

func (o *RefreshTokenNotImplemented) IsSuccess() bool

IsSuccess returns true when this refresh token not implemented response has a 2xx status code

func (*RefreshTokenNotImplemented) String added in v1.13.0

func (o *RefreshTokenNotImplemented) String() string

type RefreshTokenOK

type RefreshTokenOK struct {
	Payload *models.TokenResponse
}

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

The token refreshed successfully and was returned in the body of the response.

func NewRefreshTokenOK

func NewRefreshTokenOK() *RefreshTokenOK

NewRefreshTokenOK creates a RefreshTokenOK with default headers values

func (*RefreshTokenOK) Code added in v1.13.0

func (o *RefreshTokenOK) Code() int

Code gets the status code for the refresh token o k response

func (*RefreshTokenOK) Error

func (o *RefreshTokenOK) Error() string

func (*RefreshTokenOK) GetPayload

func (o *RefreshTokenOK) GetPayload() *models.TokenResponse

func (*RefreshTokenOK) IsClientError added in v1.13.0

func (o *RefreshTokenOK) IsClientError() bool

IsClientError returns true when this refresh token o k response has a 4xx status code

func (*RefreshTokenOK) IsCode added in v1.13.0

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

IsCode returns true when this refresh token o k response a status code equal to that given

func (*RefreshTokenOK) IsRedirect added in v1.13.0

func (o *RefreshTokenOK) IsRedirect() bool

IsRedirect returns true when this refresh token o k response has a 3xx status code

func (*RefreshTokenOK) IsServerError added in v1.13.0

func (o *RefreshTokenOK) IsServerError() bool

IsServerError returns true when this refresh token o k response has a 5xx status code

func (*RefreshTokenOK) IsSuccess added in v1.13.0

func (o *RefreshTokenOK) IsSuccess() bool

IsSuccess returns true when this refresh token o k response has a 2xx status code

func (*RefreshTokenOK) String added in v1.13.0

func (o *RefreshTokenOK) String() string

type RefreshTokenParams

type RefreshTokenParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RefreshTokenParams contains all the parameters to send to the API endpoint

for the refresh token operation.

Typically these are written to a http.Request.

func NewRefreshTokenParams

func NewRefreshTokenParams() *RefreshTokenParams

NewRefreshTokenParams creates a new RefreshTokenParams 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 NewRefreshTokenParamsWithContext

func NewRefreshTokenParamsWithContext(ctx context.Context) *RefreshTokenParams

NewRefreshTokenParamsWithContext creates a new RefreshTokenParams object with the ability to set a context for a request.

func NewRefreshTokenParamsWithHTTPClient

func NewRefreshTokenParamsWithHTTPClient(client *http.Client) *RefreshTokenParams

NewRefreshTokenParamsWithHTTPClient creates a new RefreshTokenParams object with the ability to set a custom HTTPClient for a request.

func NewRefreshTokenParamsWithTimeout

func NewRefreshTokenParamsWithTimeout(timeout time.Duration) *RefreshTokenParams

NewRefreshTokenParamsWithTimeout creates a new RefreshTokenParams object with the ability to set a timeout on a request.

func (*RefreshTokenParams) SetContext

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

SetContext adds the context to the refresh token params

func (*RefreshTokenParams) SetDefaults added in v1.3.0

func (o *RefreshTokenParams) SetDefaults()

SetDefaults hydrates default values in the refresh token params (not the query body).

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

func (*RefreshTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the refresh token params

func (*RefreshTokenParams) SetTimeout

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

SetTimeout adds the timeout to the refresh token params

func (*RefreshTokenParams) WithContext

WithContext adds the context to the refresh token params

func (*RefreshTokenParams) WithDefaults added in v1.3.0

func (o *RefreshTokenParams) WithDefaults() *RefreshTokenParams

WithDefaults hydrates default values in the refresh token params (not the query body).

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

func (*RefreshTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the refresh token params

func (*RefreshTokenParams) WithTimeout

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

WithTimeout adds the timeout to the refresh token params

func (*RefreshTokenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RefreshTokenReader

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

RefreshTokenReader is a Reader for the RefreshToken structure.

func (*RefreshTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RefreshTokenUnauthorized

type RefreshTokenUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The authentication token is invalid or expired. (code: `root.unauthorized`)

func NewRefreshTokenUnauthorized

func NewRefreshTokenUnauthorized() *RefreshTokenUnauthorized

NewRefreshTokenUnauthorized creates a RefreshTokenUnauthorized with default headers values

func (*RefreshTokenUnauthorized) Code added in v1.13.0

func (o *RefreshTokenUnauthorized) Code() int

Code gets the status code for the refresh token unauthorized response

func (*RefreshTokenUnauthorized) Error

func (o *RefreshTokenUnauthorized) Error() string

func (*RefreshTokenUnauthorized) GetPayload

func (*RefreshTokenUnauthorized) IsClientError added in v1.13.0

func (o *RefreshTokenUnauthorized) IsClientError() bool

IsClientError returns true when this refresh token unauthorized response has a 4xx status code

func (*RefreshTokenUnauthorized) IsCode added in v1.13.0

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

IsCode returns true when this refresh token unauthorized response a status code equal to that given

func (*RefreshTokenUnauthorized) IsRedirect added in v1.13.0

func (o *RefreshTokenUnauthorized) IsRedirect() bool

IsRedirect returns true when this refresh token unauthorized response has a 3xx status code

func (*RefreshTokenUnauthorized) IsServerError added in v1.13.0

func (o *RefreshTokenUnauthorized) IsServerError() bool

IsServerError returns true when this refresh token unauthorized response has a 5xx status code

func (*RefreshTokenUnauthorized) IsSuccess added in v1.13.0

func (o *RefreshTokenUnauthorized) IsSuccess() bool

IsSuccess returns true when this refresh token unauthorized response has a 2xx status code

func (*RefreshTokenUnauthorized) String added in v1.13.0

func (o *RefreshTokenUnauthorized) String() string

type SamlCallbackBadGateway

type SamlCallbackBadGateway struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlCallbackBadGateway describes a response with status code 502, with default header values.

The authentication cluster failed to process the request. The response body contains details about the error. (code: `authc.authentication_cluster_error`)

func NewSamlCallbackBadGateway

func NewSamlCallbackBadGateway() *SamlCallbackBadGateway

NewSamlCallbackBadGateway creates a SamlCallbackBadGateway with default headers values

func (*SamlCallbackBadGateway) Code added in v1.13.0

func (o *SamlCallbackBadGateway) Code() int

Code gets the status code for the saml callback bad gateway response

func (*SamlCallbackBadGateway) Error

func (o *SamlCallbackBadGateway) Error() string

func (*SamlCallbackBadGateway) GetPayload

func (*SamlCallbackBadGateway) IsClientError added in v1.13.0

func (o *SamlCallbackBadGateway) IsClientError() bool

IsClientError returns true when this saml callback bad gateway response has a 4xx status code

func (*SamlCallbackBadGateway) IsCode added in v1.13.0

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

IsCode returns true when this saml callback bad gateway response a status code equal to that given

func (*SamlCallbackBadGateway) IsRedirect added in v1.13.0

func (o *SamlCallbackBadGateway) IsRedirect() bool

IsRedirect returns true when this saml callback bad gateway response has a 3xx status code

func (*SamlCallbackBadGateway) IsServerError added in v1.13.0

func (o *SamlCallbackBadGateway) IsServerError() bool

IsServerError returns true when this saml callback bad gateway response has a 5xx status code

func (*SamlCallbackBadGateway) IsSuccess added in v1.13.0

func (o *SamlCallbackBadGateway) IsSuccess() bool

IsSuccess returns true when this saml callback bad gateway response has a 2xx status code

func (*SamlCallbackBadGateway) String added in v1.13.0

func (o *SamlCallbackBadGateway) String() string

type SamlCallbackFound

type SamlCallbackFound struct {
	Payload models.EmptyResponse
}

SamlCallbackFound describes a response with status code 302, with default header values.

Redirects to the UI endpoint with an authorization token in the fragment and the relay state, if it was specified during the initialization.

func NewSamlCallbackFound

func NewSamlCallbackFound() *SamlCallbackFound

NewSamlCallbackFound creates a SamlCallbackFound with default headers values

func (*SamlCallbackFound) Code added in v1.13.0

func (o *SamlCallbackFound) Code() int

Code gets the status code for the saml callback found response

func (*SamlCallbackFound) Error

func (o *SamlCallbackFound) Error() string

func (*SamlCallbackFound) GetPayload

func (o *SamlCallbackFound) GetPayload() models.EmptyResponse

func (*SamlCallbackFound) IsClientError added in v1.13.0

func (o *SamlCallbackFound) IsClientError() bool

IsClientError returns true when this saml callback found response has a 4xx status code

func (*SamlCallbackFound) IsCode added in v1.13.0

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

IsCode returns true when this saml callback found response a status code equal to that given

func (*SamlCallbackFound) IsRedirect added in v1.13.0

func (o *SamlCallbackFound) IsRedirect() bool

IsRedirect returns true when this saml callback found response has a 3xx status code

func (*SamlCallbackFound) IsServerError added in v1.13.0

func (o *SamlCallbackFound) IsServerError() bool

IsServerError returns true when this saml callback found response has a 5xx status code

func (*SamlCallbackFound) IsSuccess added in v1.13.0

func (o *SamlCallbackFound) IsSuccess() bool

IsSuccess returns true when this saml callback found response has a 2xx status code

func (*SamlCallbackFound) String added in v1.13.0

func (o *SamlCallbackFound) String() string

type SamlCallbackNotImplemented

type SamlCallbackNotImplemented struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlCallbackNotImplemented describes a response with status code 501, with default header values.

The administrator needs to configure the authentication cluster. (code: `authc.no_authentication_cluster`)

func NewSamlCallbackNotImplemented

func NewSamlCallbackNotImplemented() *SamlCallbackNotImplemented

NewSamlCallbackNotImplemented creates a SamlCallbackNotImplemented with default headers values

func (*SamlCallbackNotImplemented) Code added in v1.13.0

func (o *SamlCallbackNotImplemented) Code() int

Code gets the status code for the saml callback not implemented response

func (*SamlCallbackNotImplemented) Error

func (*SamlCallbackNotImplemented) GetPayload

func (*SamlCallbackNotImplemented) IsClientError added in v1.13.0

func (o *SamlCallbackNotImplemented) IsClientError() bool

IsClientError returns true when this saml callback not implemented response has a 4xx status code

func (*SamlCallbackNotImplemented) IsCode added in v1.13.0

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

IsCode returns true when this saml callback not implemented response a status code equal to that given

func (*SamlCallbackNotImplemented) IsRedirect added in v1.13.0

func (o *SamlCallbackNotImplemented) IsRedirect() bool

IsRedirect returns true when this saml callback not implemented response has a 3xx status code

func (*SamlCallbackNotImplemented) IsServerError added in v1.13.0

func (o *SamlCallbackNotImplemented) IsServerError() bool

IsServerError returns true when this saml callback not implemented response has a 5xx status code

func (*SamlCallbackNotImplemented) IsSuccess added in v1.13.0

func (o *SamlCallbackNotImplemented) IsSuccess() bool

IsSuccess returns true when this saml callback not implemented response has a 2xx status code

func (*SamlCallbackNotImplemented) String added in v1.13.0

func (o *SamlCallbackNotImplemented) String() string

type SamlCallbackParams

type SamlCallbackParams struct {

	/* RelayState.

	   The optional relay state that the API (service provider) sent to the identity provider.
	*/
	RelayState *string

	/* SAMLResponse.

	   A message issued by the identity provider to the service provider
	*/
	SAMLResponse string

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

SamlCallbackParams contains all the parameters to send to the API endpoint

for the saml callback operation.

Typically these are written to a http.Request.

func NewSamlCallbackParams

func NewSamlCallbackParams() *SamlCallbackParams

NewSamlCallbackParams creates a new SamlCallbackParams 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 NewSamlCallbackParamsWithContext

func NewSamlCallbackParamsWithContext(ctx context.Context) *SamlCallbackParams

NewSamlCallbackParamsWithContext creates a new SamlCallbackParams object with the ability to set a context for a request.

func NewSamlCallbackParamsWithHTTPClient

func NewSamlCallbackParamsWithHTTPClient(client *http.Client) *SamlCallbackParams

NewSamlCallbackParamsWithHTTPClient creates a new SamlCallbackParams object with the ability to set a custom HTTPClient for a request.

func NewSamlCallbackParamsWithTimeout

func NewSamlCallbackParamsWithTimeout(timeout time.Duration) *SamlCallbackParams

NewSamlCallbackParamsWithTimeout creates a new SamlCallbackParams object with the ability to set a timeout on a request.

func (*SamlCallbackParams) SetContext

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

SetContext adds the context to the saml callback params

func (*SamlCallbackParams) SetDefaults added in v1.3.0

func (o *SamlCallbackParams) SetDefaults()

SetDefaults hydrates default values in the saml callback params (not the query body).

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

func (*SamlCallbackParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the saml callback params

func (*SamlCallbackParams) SetRelayState

func (o *SamlCallbackParams) SetRelayState(relayState *string)

SetRelayState adds the relayState to the saml callback params

func (*SamlCallbackParams) SetSAMLResponse

func (o *SamlCallbackParams) SetSAMLResponse(sAMLResponse string)

SetSAMLResponse adds the sAMLResponse to the saml callback params

func (*SamlCallbackParams) SetTimeout

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

SetTimeout adds the timeout to the saml callback params

func (*SamlCallbackParams) WithContext

WithContext adds the context to the saml callback params

func (*SamlCallbackParams) WithDefaults added in v1.3.0

func (o *SamlCallbackParams) WithDefaults() *SamlCallbackParams

WithDefaults hydrates default values in the saml callback params (not the query body).

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

func (*SamlCallbackParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the saml callback params

func (*SamlCallbackParams) WithRelayState

func (o *SamlCallbackParams) WithRelayState(relayState *string) *SamlCallbackParams

WithRelayState adds the relayState to the saml callback params

func (*SamlCallbackParams) WithSAMLResponse

func (o *SamlCallbackParams) WithSAMLResponse(sAMLResponse string) *SamlCallbackParams

WithSAMLResponse adds the sAMLResponse to the saml callback params

func (*SamlCallbackParams) WithTimeout

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

WithTimeout adds the timeout to the saml callback params

func (*SamlCallbackParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SamlCallbackReader

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

SamlCallbackReader is a Reader for the SamlCallback structure.

func (*SamlCallbackReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SamlCallbackUnauthorized

type SamlCallbackUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

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

The supplied SAML response is invalid. (code: `root.unauthenticated`)

func NewSamlCallbackUnauthorized

func NewSamlCallbackUnauthorized() *SamlCallbackUnauthorized

NewSamlCallbackUnauthorized creates a SamlCallbackUnauthorized with default headers values

func (*SamlCallbackUnauthorized) Code added in v1.13.0

func (o *SamlCallbackUnauthorized) Code() int

Code gets the status code for the saml callback unauthorized response

func (*SamlCallbackUnauthorized) Error

func (o *SamlCallbackUnauthorized) Error() string

func (*SamlCallbackUnauthorized) GetPayload

func (*SamlCallbackUnauthorized) IsClientError added in v1.13.0

func (o *SamlCallbackUnauthorized) IsClientError() bool

IsClientError returns true when this saml callback unauthorized response has a 4xx status code

func (*SamlCallbackUnauthorized) IsCode added in v1.13.0

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

IsCode returns true when this saml callback unauthorized response a status code equal to that given

func (*SamlCallbackUnauthorized) IsRedirect added in v1.13.0

func (o *SamlCallbackUnauthorized) IsRedirect() bool

IsRedirect returns true when this saml callback unauthorized response has a 3xx status code

func (*SamlCallbackUnauthorized) IsServerError added in v1.13.0

func (o *SamlCallbackUnauthorized) IsServerError() bool

IsServerError returns true when this saml callback unauthorized response has a 5xx status code

func (*SamlCallbackUnauthorized) IsSuccess added in v1.13.0

func (o *SamlCallbackUnauthorized) IsSuccess() bool

IsSuccess returns true when this saml callback unauthorized response has a 2xx status code

func (*SamlCallbackUnauthorized) String added in v1.13.0

func (o *SamlCallbackUnauthorized) String() string

type SamlInitBadGateway

type SamlInitBadGateway struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlInitBadGateway describes a response with status code 502, with default header values.

The authentication cluster failed to process the request. The response body contains details about the error. (code: `authc.authentication_cluster_error`)

func NewSamlInitBadGateway

func NewSamlInitBadGateway() *SamlInitBadGateway

NewSamlInitBadGateway creates a SamlInitBadGateway with default headers values

func (*SamlInitBadGateway) Code added in v1.13.0

func (o *SamlInitBadGateway) Code() int

Code gets the status code for the saml init bad gateway response

func (*SamlInitBadGateway) Error

func (o *SamlInitBadGateway) Error() string

func (*SamlInitBadGateway) GetPayload

func (o *SamlInitBadGateway) GetPayload() *models.BasicFailedReply

func (*SamlInitBadGateway) IsClientError added in v1.13.0

func (o *SamlInitBadGateway) IsClientError() bool

IsClientError returns true when this saml init bad gateway response has a 4xx status code

func (*SamlInitBadGateway) IsCode added in v1.13.0

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

IsCode returns true when this saml init bad gateway response a status code equal to that given

func (*SamlInitBadGateway) IsRedirect added in v1.13.0

func (o *SamlInitBadGateway) IsRedirect() bool

IsRedirect returns true when this saml init bad gateway response has a 3xx status code

func (*SamlInitBadGateway) IsServerError added in v1.13.0

func (o *SamlInitBadGateway) IsServerError() bool

IsServerError returns true when this saml init bad gateway response has a 5xx status code

func (*SamlInitBadGateway) IsSuccess added in v1.13.0

func (o *SamlInitBadGateway) IsSuccess() bool

IsSuccess returns true when this saml init bad gateway response has a 2xx status code

func (*SamlInitBadGateway) String added in v1.13.0

func (o *SamlInitBadGateway) String() string

type SamlInitFound

type SamlInitFound struct {
	Payload models.EmptyResponse
}

SamlInitFound describes a response with status code 302, with default header values.

Redirects the client to the identity provider with a SAML authentication request

func NewSamlInitFound

func NewSamlInitFound() *SamlInitFound

NewSamlInitFound creates a SamlInitFound with default headers values

func (*SamlInitFound) Code added in v1.13.0

func (o *SamlInitFound) Code() int

Code gets the status code for the saml init found response

func (*SamlInitFound) Error

func (o *SamlInitFound) Error() string

func (*SamlInitFound) GetPayload

func (o *SamlInitFound) GetPayload() models.EmptyResponse

func (*SamlInitFound) IsClientError added in v1.13.0

func (o *SamlInitFound) IsClientError() bool

IsClientError returns true when this saml init found response has a 4xx status code

func (*SamlInitFound) IsCode added in v1.13.0

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

IsCode returns true when this saml init found response a status code equal to that given

func (*SamlInitFound) IsRedirect added in v1.13.0

func (o *SamlInitFound) IsRedirect() bool

IsRedirect returns true when this saml init found response has a 3xx status code

func (*SamlInitFound) IsServerError added in v1.13.0

func (o *SamlInitFound) IsServerError() bool

IsServerError returns true when this saml init found response has a 5xx status code

func (*SamlInitFound) IsSuccess added in v1.13.0

func (o *SamlInitFound) IsSuccess() bool

IsSuccess returns true when this saml init found response has a 2xx status code

func (*SamlInitFound) String added in v1.13.0

func (o *SamlInitFound) String() string

type SamlInitNotImplemented

type SamlInitNotImplemented struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlInitNotImplemented describes a response with status code 501, with default header values.

The administrator needs to configure the authentication cluster. (code: `authc.no_authentication_cluster`)

func NewSamlInitNotImplemented

func NewSamlInitNotImplemented() *SamlInitNotImplemented

NewSamlInitNotImplemented creates a SamlInitNotImplemented with default headers values

func (*SamlInitNotImplemented) Code added in v1.13.0

func (o *SamlInitNotImplemented) Code() int

Code gets the status code for the saml init not implemented response

func (*SamlInitNotImplemented) Error

func (o *SamlInitNotImplemented) Error() string

func (*SamlInitNotImplemented) GetPayload

func (*SamlInitNotImplemented) IsClientError added in v1.13.0

func (o *SamlInitNotImplemented) IsClientError() bool

IsClientError returns true when this saml init not implemented response has a 4xx status code

func (*SamlInitNotImplemented) IsCode added in v1.13.0

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

IsCode returns true when this saml init not implemented response a status code equal to that given

func (*SamlInitNotImplemented) IsRedirect added in v1.13.0

func (o *SamlInitNotImplemented) IsRedirect() bool

IsRedirect returns true when this saml init not implemented response has a 3xx status code

func (*SamlInitNotImplemented) IsServerError added in v1.13.0

func (o *SamlInitNotImplemented) IsServerError() bool

IsServerError returns true when this saml init not implemented response has a 5xx status code

func (*SamlInitNotImplemented) IsSuccess added in v1.13.0

func (o *SamlInitNotImplemented) IsSuccess() bool

IsSuccess returns true when this saml init not implemented response has a 2xx status code

func (*SamlInitNotImplemented) String added in v1.13.0

func (o *SamlInitNotImplemented) String() string

type SamlInitParams

type SamlInitParams struct {

	/* State.

	   An optional relay state that is sent back to the client after the user is authenticated
	*/
	State *string

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

SamlInitParams contains all the parameters to send to the API endpoint

for the saml init operation.

Typically these are written to a http.Request.

func NewSamlInitParams

func NewSamlInitParams() *SamlInitParams

NewSamlInitParams creates a new SamlInitParams 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 NewSamlInitParamsWithContext

func NewSamlInitParamsWithContext(ctx context.Context) *SamlInitParams

NewSamlInitParamsWithContext creates a new SamlInitParams object with the ability to set a context for a request.

func NewSamlInitParamsWithHTTPClient

func NewSamlInitParamsWithHTTPClient(client *http.Client) *SamlInitParams

NewSamlInitParamsWithHTTPClient creates a new SamlInitParams object with the ability to set a custom HTTPClient for a request.

func NewSamlInitParamsWithTimeout

func NewSamlInitParamsWithTimeout(timeout time.Duration) *SamlInitParams

NewSamlInitParamsWithTimeout creates a new SamlInitParams object with the ability to set a timeout on a request.

func (*SamlInitParams) SetContext

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

SetContext adds the context to the saml init params

func (*SamlInitParams) SetDefaults added in v1.3.0

func (o *SamlInitParams) SetDefaults()

SetDefaults hydrates default values in the saml init params (not the query body).

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

func (*SamlInitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the saml init params

func (*SamlInitParams) SetState

func (o *SamlInitParams) SetState(state *string)

SetState adds the state to the saml init params

func (*SamlInitParams) SetTimeout

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

SetTimeout adds the timeout to the saml init params

func (*SamlInitParams) WithContext

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

WithContext adds the context to the saml init params

func (*SamlInitParams) WithDefaults added in v1.3.0

func (o *SamlInitParams) WithDefaults() *SamlInitParams

WithDefaults hydrates default values in the saml init params (not the query body).

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

func (*SamlInitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the saml init params

func (*SamlInitParams) WithState

func (o *SamlInitParams) WithState(state *string) *SamlInitParams

WithState adds the state to the saml init params

func (*SamlInitParams) WithTimeout

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

WithTimeout adds the timeout to the saml init params

func (*SamlInitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SamlInitReader

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

SamlInitReader is a Reader for the SamlInit structure.

func (*SamlInitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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