authentication

package
v1.0.0-bc5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 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 New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new authentication API client.

func (*Client) CreateAPIKey

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

CreateAPIKey creates API key

Creates a new API key.

func (*Client) DeleteAPIKey

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

DeleteAPIKey deletes API key

Delete or invalidate the API key.

func (*Client) DeleteAPIKeys

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

DeleteAPIKeys deletes API keys

Delete or invalidate API keys.

func (*Client) DeleteUserAPIKey

func (a *Client) DeleteUserAPIKey(params *DeleteUserAPIKeyParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*DeleteUsersAPIKeysOK, error)

DeleteUsersAPIKeys deletes API keys of multiple users

Delete or invalidate the API keys for multiple users.

func (*Client) DisableElevatedPermissions

func (a *Client) DisableElevatedPermissions(params *DisableElevatedPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*DisableElevatedPermissionsOK, error)

DisableElevatedPermissions disables elevated permissions

Disables elevated permissions for the user.

func (*Client) EnableElevatedPermissions

func (a *Client) EnableElevatedPermissions(params *EnableElevatedPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*EnableElevatedPermissionsOK, error)

EnableElevatedPermissions enables elevated permissions

Enables the elevated permissions for the current user. Elevated permissions allow the user to complete potentially destructive operations on clusters. Elevated permissions are available for a limited period of time and automatically expire if you do not renew them.

func (*Client) GetAPIKey

func (a *Client) GetAPIKey(params *GetAPIKeyParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*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) (*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) (*GetUserAPIKeysOK, error)

GetUserAPIKeys gets all API keys for a user

Retrieves all of the API key metadata for a user.

func (*Client) GetUsersAPIKeys

func (a *Client) GetUsersAPIKeys(params *GetUsersAPIKeysParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*LoginOK, error)

Login logins to e c e

Authenticates against available users.

func (*Client) Methods

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

Methods availables authentication methods

Provides information about available authentication methods.

func (*Client) ReAuthenticate

func (a *Client) ReAuthenticate(params *ReAuthenticateParams, authInfo runtime.ClientAuthInfoWriter) (*ReAuthenticateOK, error)

ReAuthenticate res authenticate to generate a token

Re-authenticate.

func (*Client) RefreshToken

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

RefreshToken refreshes authentication token

Issues a new authentication token.

func (*Client) SamlCallback

func (a *Client) SamlCallback(params *SamlCallbackParams, authInfo runtime.ClientAuthInfoWriter) 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) 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 CreateAPIKeyBadRequest

type CreateAPIKeyBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateAPIKeyBadRequest handles this case 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) Error

func (o *CreateAPIKeyBadRequest) Error() string

type CreateAPIKeyCreated

type CreateAPIKeyCreated struct {
	Payload *models.APIKeyResponse
}

CreateAPIKeyCreated handles this case 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) Error

func (o *CreateAPIKeyCreated) Error() 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 values initialized.

func NewCreateAPIKeyParamsWithContext

func NewCreateAPIKeyParamsWithContext(ctx context.Context) *CreateAPIKeyParams

NewCreateAPIKeyParamsWithContext creates a new CreateAPIKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateAPIKeyRetryWith

type CreateAPIKeyRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateAPIKeyRetryWith handles this case with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewCreateAPIKeyRetryWith

func NewCreateAPIKeyRetryWith() *CreateAPIKeyRetryWith

NewCreateAPIKeyRetryWith creates a CreateAPIKeyRetryWith with default headers values

func (*CreateAPIKeyRetryWith) Error

func (o *CreateAPIKeyRetryWith) Error() string

type DeleteAPIKeyNotFound

type DeleteAPIKeyNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteAPIKeyNotFound handles this case 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) Error

func (o *DeleteAPIKeyNotFound) Error() string

type DeleteAPIKeyOK

type DeleteAPIKeyOK struct {
	Payload models.EmptyResponse
}

DeleteAPIKeyOK handles this case with default header values.

The API key is deleted.

func NewDeleteAPIKeyOK

func NewDeleteAPIKeyOK() *DeleteAPIKeyOK

NewDeleteAPIKeyOK creates a DeleteAPIKeyOK with default headers values

func (*DeleteAPIKeyOK) Error

func (o *DeleteAPIKeyOK) Error() 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 values initialized.

func NewDeleteAPIKeyParamsWithContext

func NewDeleteAPIKeyParamsWithContext(ctx context.Context) *DeleteAPIKeyParams

NewDeleteAPIKeyParamsWithContext creates a new DeleteAPIKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteAPIKeyRetryWith

type DeleteAPIKeyRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteAPIKeyRetryWith handles this case with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewDeleteAPIKeyRetryWith

func NewDeleteAPIKeyRetryWith() *DeleteAPIKeyRetryWith

NewDeleteAPIKeyRetryWith creates a DeleteAPIKeyRetryWith with default headers values

func (*DeleteAPIKeyRetryWith) Error

func (o *DeleteAPIKeyRetryWith) Error() string

type DeleteAPIKeysOK

type DeleteAPIKeysOK struct {
	Payload models.EmptyResponse
}

DeleteAPIKeysOK handles this case with default header values.

The API keys are deleted.

func NewDeleteAPIKeysOK

func NewDeleteAPIKeysOK() *DeleteAPIKeysOK

NewDeleteAPIKeysOK creates a DeleteAPIKeysOK with default headers values

func (*DeleteAPIKeysOK) Error

func (o *DeleteAPIKeysOK) Error() 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 values initialized.

func NewDeleteAPIKeysParamsWithContext

func NewDeleteAPIKeysParamsWithContext(ctx context.Context) *DeleteAPIKeysParams

NewDeleteAPIKeysParamsWithContext creates a new DeleteAPIKeysParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteAPIKeysRetryWith

type DeleteAPIKeysRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteAPIKeysRetryWith handles this case with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewDeleteAPIKeysRetryWith

func NewDeleteAPIKeysRetryWith() *DeleteAPIKeysRetryWith

NewDeleteAPIKeysRetryWith creates a DeleteAPIKeysRetryWith with default headers values

func (*DeleteAPIKeysRetryWith) Error

func (o *DeleteAPIKeysRetryWith) Error() string

type DeleteUserAPIKeyNotFound

type DeleteUserAPIKeyNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteUserAPIKeyNotFound handles this case 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) Error

func (o *DeleteUserAPIKeyNotFound) Error() string

type DeleteUserAPIKeyOK

type DeleteUserAPIKeyOK struct {
	Payload models.EmptyResponse
}

DeleteUserAPIKeyOK handles this case with default header values.

The API key is deleted.

func NewDeleteUserAPIKeyOK

func NewDeleteUserAPIKeyOK() *DeleteUserAPIKeyOK

NewDeleteUserAPIKeyOK creates a DeleteUserAPIKeyOK with default headers values

func (*DeleteUserAPIKeyOK) Error

func (o *DeleteUserAPIKeyOK) Error() 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 values initialized.

func NewDeleteUserAPIKeyParamsWithContext

func NewDeleteUserAPIKeyParamsWithContext(ctx context.Context) *DeleteUserAPIKeyParams

NewDeleteUserAPIKeyParamsWithContext creates a new DeleteUserAPIKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteUserAPIKeyRetryWith

type DeleteUserAPIKeyRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteUserAPIKeyRetryWith handles this case with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewDeleteUserAPIKeyRetryWith

func NewDeleteUserAPIKeyRetryWith() *DeleteUserAPIKeyRetryWith

NewDeleteUserAPIKeyRetryWith creates a DeleteUserAPIKeyRetryWith with default headers values

func (*DeleteUserAPIKeyRetryWith) Error

func (o *DeleteUserAPIKeyRetryWith) Error() string

type DeleteUserAPIKeysNotFound

type DeleteUserAPIKeysNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteUserAPIKeysNotFound handles this case 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) Error

func (o *DeleteUserAPIKeysNotFound) Error() string

type DeleteUserAPIKeysOK

type DeleteUserAPIKeysOK struct {
	Payload models.EmptyResponse
}

DeleteUserAPIKeysOK handles this case with default header values.

The API key is deleted.

func NewDeleteUserAPIKeysOK

func NewDeleteUserAPIKeysOK() *DeleteUserAPIKeysOK

NewDeleteUserAPIKeysOK creates a DeleteUserAPIKeysOK with default headers values

func (*DeleteUserAPIKeysOK) Error

func (o *DeleteUserAPIKeysOK) Error() 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 values initialized.

func NewDeleteUserAPIKeysParamsWithContext

func NewDeleteUserAPIKeysParamsWithContext(ctx context.Context) *DeleteUserAPIKeysParams

NewDeleteUserAPIKeysParamsWithContext creates a new DeleteUserAPIKeysParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteUserAPIKeysRetryWith

type DeleteUserAPIKeysRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteUserAPIKeysRetryWith handles this case with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewDeleteUserAPIKeysRetryWith

func NewDeleteUserAPIKeysRetryWith() *DeleteUserAPIKeysRetryWith

NewDeleteUserAPIKeysRetryWith creates a DeleteUserAPIKeysRetryWith with default headers values

func (*DeleteUserAPIKeysRetryWith) Error

type DeleteUsersAPIKeysOK

type DeleteUsersAPIKeysOK struct {
	Payload models.EmptyResponse
}

DeleteUsersAPIKeysOK handles this case with default header values.

The API keys are deleted.

func NewDeleteUsersAPIKeysOK

func NewDeleteUsersAPIKeysOK() *DeleteUsersAPIKeysOK

NewDeleteUsersAPIKeysOK creates a DeleteUsersAPIKeysOK with default headers values

func (*DeleteUsersAPIKeysOK) Error

func (o *DeleteUsersAPIKeysOK) Error() 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 values initialized.

func NewDeleteUsersAPIKeysParamsWithContext

func NewDeleteUsersAPIKeysParamsWithContext(ctx context.Context) *DeleteUsersAPIKeysParams

NewDeleteUsersAPIKeysParamsWithContext creates a new DeleteUsersAPIKeysParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteUsersAPIKeysRetryWith

type DeleteUsersAPIKeysRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteUsersAPIKeysRetryWith handles this case with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewDeleteUsersAPIKeysRetryWith

func NewDeleteUsersAPIKeysRetryWith() *DeleteUsersAPIKeysRetryWith

NewDeleteUsersAPIKeysRetryWith creates a DeleteUsersAPIKeysRetryWith with default headers values

func (*DeleteUsersAPIKeysRetryWith) Error

type DisableElevatedPermissionsBadGateway

type DisableElevatedPermissionsBadGateway struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DisableElevatedPermissionsBadGateway handles this case 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 NewDisableElevatedPermissionsBadGateway

func NewDisableElevatedPermissionsBadGateway() *DisableElevatedPermissionsBadGateway

NewDisableElevatedPermissionsBadGateway creates a DisableElevatedPermissionsBadGateway with default headers values

func (*DisableElevatedPermissionsBadGateway) Error

type DisableElevatedPermissionsNotImplemented

type DisableElevatedPermissionsNotImplemented struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DisableElevatedPermissionsNotImplemented handles this case with default header values.

You need to configure the authentication cluster. (code: `authc.no_authentication_cluster`)

func NewDisableElevatedPermissionsNotImplemented

func NewDisableElevatedPermissionsNotImplemented() *DisableElevatedPermissionsNotImplemented

NewDisableElevatedPermissionsNotImplemented creates a DisableElevatedPermissionsNotImplemented with default headers values

func (*DisableElevatedPermissionsNotImplemented) Error

type DisableElevatedPermissionsOK

type DisableElevatedPermissionsOK struct {
	Payload *models.TokenResponse
}

DisableElevatedPermissionsOK handles this case with default header values.

The elevated permissions are disabled and the authorization token was generated

func NewDisableElevatedPermissionsOK

func NewDisableElevatedPermissionsOK() *DisableElevatedPermissionsOK

NewDisableElevatedPermissionsOK creates a DisableElevatedPermissionsOK with default headers values

func (*DisableElevatedPermissionsOK) Error

type DisableElevatedPermissionsParams

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

DisableElevatedPermissionsParams contains all the parameters to send to the API endpoint for the disable elevated permissions operation typically these are written to a http.Request

func NewDisableElevatedPermissionsParams

func NewDisableElevatedPermissionsParams() *DisableElevatedPermissionsParams

NewDisableElevatedPermissionsParams creates a new DisableElevatedPermissionsParams object with the default values initialized.

func NewDisableElevatedPermissionsParamsWithContext

func NewDisableElevatedPermissionsParamsWithContext(ctx context.Context) *DisableElevatedPermissionsParams

NewDisableElevatedPermissionsParamsWithContext creates a new DisableElevatedPermissionsParams object with the default values initialized, and the ability to set a context for a request

func NewDisableElevatedPermissionsParamsWithHTTPClient

func NewDisableElevatedPermissionsParamsWithHTTPClient(client *http.Client) *DisableElevatedPermissionsParams

NewDisableElevatedPermissionsParamsWithHTTPClient creates a new DisableElevatedPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDisableElevatedPermissionsParamsWithTimeout

func NewDisableElevatedPermissionsParamsWithTimeout(timeout time.Duration) *DisableElevatedPermissionsParams

NewDisableElevatedPermissionsParamsWithTimeout creates a new DisableElevatedPermissionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DisableElevatedPermissionsParams) SetContext

SetContext adds the context to the disable elevated permissions params

func (*DisableElevatedPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable elevated permissions params

func (*DisableElevatedPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the disable elevated permissions params

func (*DisableElevatedPermissionsParams) WithContext

WithContext adds the context to the disable elevated permissions params

func (*DisableElevatedPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the disable elevated permissions params

func (*DisableElevatedPermissionsParams) WithTimeout

WithTimeout adds the timeout to the disable elevated permissions params

func (*DisableElevatedPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisableElevatedPermissionsReader

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

DisableElevatedPermissionsReader is a Reader for the DisableElevatedPermissions structure.

func (*DisableElevatedPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableElevatedPermissionsUnauthorized

type DisableElevatedPermissionsUnauthorized struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DisableElevatedPermissionsUnauthorized handles this case with default header values.

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

func NewDisableElevatedPermissionsUnauthorized

func NewDisableElevatedPermissionsUnauthorized() *DisableElevatedPermissionsUnauthorized

NewDisableElevatedPermissionsUnauthorized creates a DisableElevatedPermissionsUnauthorized with default headers values

func (*DisableElevatedPermissionsUnauthorized) Error

type EnableElevatedPermissionsBadGateway

type EnableElevatedPermissionsBadGateway struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

EnableElevatedPermissionsBadGateway handles this case 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 NewEnableElevatedPermissionsBadGateway

func NewEnableElevatedPermissionsBadGateway() *EnableElevatedPermissionsBadGateway

NewEnableElevatedPermissionsBadGateway creates a EnableElevatedPermissionsBadGateway with default headers values

func (*EnableElevatedPermissionsBadGateway) Error

type EnableElevatedPermissionsBadRequest

type EnableElevatedPermissionsBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

EnableElevatedPermissionsBadRequest handles this case with default header values.

Missed or invalid MFA token. (code: `authc.invalid_token`)

func NewEnableElevatedPermissionsBadRequest

func NewEnableElevatedPermissionsBadRequest() *EnableElevatedPermissionsBadRequest

NewEnableElevatedPermissionsBadRequest creates a EnableElevatedPermissionsBadRequest with default headers values

func (*EnableElevatedPermissionsBadRequest) Error

type EnableElevatedPermissionsNotImplemented

type EnableElevatedPermissionsNotImplemented struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

EnableElevatedPermissionsNotImplemented handles this case with default header values.

You need to configure the authentication cluster. (code: `authc.no_authentication_cluster`)

func NewEnableElevatedPermissionsNotImplemented

func NewEnableElevatedPermissionsNotImplemented() *EnableElevatedPermissionsNotImplemented

NewEnableElevatedPermissionsNotImplemented creates a EnableElevatedPermissionsNotImplemented with default headers values

func (*EnableElevatedPermissionsNotImplemented) Error

type EnableElevatedPermissionsOK

type EnableElevatedPermissionsOK struct {
	Payload *models.TokenResponse
}

EnableElevatedPermissionsOK handles this case with default header values.

Elevated permissions are enabled and the authorization token was generated.

func NewEnableElevatedPermissionsOK

func NewEnableElevatedPermissionsOK() *EnableElevatedPermissionsOK

NewEnableElevatedPermissionsOK creates a EnableElevatedPermissionsOK with default headers values

func (*EnableElevatedPermissionsOK) Error

type EnableElevatedPermissionsParams

type EnableElevatedPermissionsParams struct {

	/*Body
	  The request for elevated permissions

	*/
	Body *models.ElevatePermissionsRequest

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

EnableElevatedPermissionsParams contains all the parameters to send to the API endpoint for the enable elevated permissions operation typically these are written to a http.Request

func NewEnableElevatedPermissionsParams

func NewEnableElevatedPermissionsParams() *EnableElevatedPermissionsParams

NewEnableElevatedPermissionsParams creates a new EnableElevatedPermissionsParams object with the default values initialized.

func NewEnableElevatedPermissionsParamsWithContext

func NewEnableElevatedPermissionsParamsWithContext(ctx context.Context) *EnableElevatedPermissionsParams

NewEnableElevatedPermissionsParamsWithContext creates a new EnableElevatedPermissionsParams object with the default values initialized, and the ability to set a context for a request

func NewEnableElevatedPermissionsParamsWithHTTPClient

func NewEnableElevatedPermissionsParamsWithHTTPClient(client *http.Client) *EnableElevatedPermissionsParams

NewEnableElevatedPermissionsParamsWithHTTPClient creates a new EnableElevatedPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEnableElevatedPermissionsParamsWithTimeout

func NewEnableElevatedPermissionsParamsWithTimeout(timeout time.Duration) *EnableElevatedPermissionsParams

NewEnableElevatedPermissionsParamsWithTimeout creates a new EnableElevatedPermissionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*EnableElevatedPermissionsParams) SetBody

SetBody adds the body to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) SetContext

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

SetContext adds the context to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) SetTimeout

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

SetTimeout adds the timeout to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) WithBody

WithBody adds the body to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) WithContext

WithContext adds the context to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) WithTimeout

WithTimeout adds the timeout to the enable elevated permissions params

func (*EnableElevatedPermissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableElevatedPermissionsReader

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

EnableElevatedPermissionsReader is a Reader for the EnableElevatedPermissions structure.

func (*EnableElevatedPermissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableElevatedPermissionsUnauthorized

type EnableElevatedPermissionsUnauthorized struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

EnableElevatedPermissionsUnauthorized handles this case with default header values.

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

func NewEnableElevatedPermissionsUnauthorized

func NewEnableElevatedPermissionsUnauthorized() *EnableElevatedPermissionsUnauthorized

NewEnableElevatedPermissionsUnauthorized creates a EnableElevatedPermissionsUnauthorized with default headers values

func (*EnableElevatedPermissionsUnauthorized) Error

type GetAPIKeyNotFound

type GetAPIKeyNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetAPIKeyNotFound handles this case 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) Error

func (o *GetAPIKeyNotFound) Error() string

type GetAPIKeyOK

type GetAPIKeyOK struct {
	Payload *models.APIKeyResponse
}

GetAPIKeyOK handles this case 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) Error

func (o *GetAPIKeyOK) Error() 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 values initialized.

func NewGetAPIKeyParamsWithContext

func NewGetAPIKeyParamsWithContext(ctx context.Context) *GetAPIKeyParams

NewGetAPIKeyParamsWithContext creates a new GetAPIKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetAPIKeysOK) Error() 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 values initialized.

func NewGetAPIKeysParamsWithContext

func NewGetAPIKeysParamsWithContext(ctx context.Context) *GetAPIKeysParams

NewGetAPIKeysParamsWithContext creates a new GetAPIKeysParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

User authentication information response

func NewGetAuthenticationInfoOK

func NewGetAuthenticationInfoOK() *GetAuthenticationInfoOK

NewGetAuthenticationInfoOK creates a GetAuthenticationInfoOK with default headers values

func (*GetAuthenticationInfoOK) Error

func (o *GetAuthenticationInfoOK) Error() 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 values initialized.

func NewGetAuthenticationInfoParamsWithContext

func NewGetAuthenticationInfoParamsWithContext(ctx context.Context) *GetAuthenticationInfoParams

NewGetAuthenticationInfoParamsWithContext creates a new GetAuthenticationInfoParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetUserAPIKeyNotFound) Error() string

type GetUserAPIKeyOK

type GetUserAPIKeyOK struct {
	Payload *models.APIKeyResponse
}

GetUserAPIKeyOK handles this case 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) Error

func (o *GetUserAPIKeyOK) Error() 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 values initialized.

func NewGetUserAPIKeyParamsWithContext

func NewGetUserAPIKeyParamsWithContext(ctx context.Context) *GetUserAPIKeyParams

NewGetUserAPIKeyParamsWithContext creates a new GetUserAPIKeyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetUserAPIKeysNotFound) Error() string

type GetUserAPIKeysOK

type GetUserAPIKeysOK struct {
	Payload *models.APIKeysResponse
}

GetUserAPIKeysOK handles this case 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) Error

func (o *GetUserAPIKeysOK) Error() 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 values initialized.

func NewGetUserAPIKeysParamsWithContext

func NewGetUserAPIKeysParamsWithContext(ctx context.Context) *GetUserAPIKeysParams

NewGetUserAPIKeysParamsWithContext creates a new GetUserAPIKeysParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetUsersAPIKeysOK) Error() 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 values initialized.

func NewGetUsersAPIKeysParamsWithContext

func NewGetUsersAPIKeysParamsWithContext(ctx context.Context) *GetUsersAPIKeysParams

NewGetUsersAPIKeysParamsWithContext creates a new GetUsersAPIKeysParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *LoginBadGateway) Error() string

type LoginFound

type LoginFound struct {
	Payload models.EmptyResponse
}

LoginFound handles this case 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) Error

func (o *LoginFound) Error() string

type LoginNotImplemented

type LoginNotImplemented struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

LoginNotImplemented handles this case with default header values.

You need 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) Error

func (o *LoginNotImplemented) Error() string

type LoginOK

type LoginOK struct {
	Payload *models.TokenResponse
}

LoginOK handles this case 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) Error

func (o *LoginOK) Error() 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 values initialized.

func NewLoginParamsWithContext

func NewLoginParamsWithContext(ctx context.Context) *LoginParams

NewLoginParamsWithContext creates a new LoginParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *LoginUnauthorized) Error() string

type MethodsOK

type MethodsOK struct {
	Payload *models.AvailableAuthenticationMethods
}

MethodsOK handles this case with default header values.

Available authentication methods response

func NewMethodsOK

func NewMethodsOK() *MethodsOK

NewMethodsOK creates a MethodsOK with default headers values

func (*MethodsOK) Error

func (o *MethodsOK) Error() 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 values initialized.

func NewMethodsParamsWithContext

func NewMethodsParamsWithContext(ctx context.Context) *MethodsParams

NewMethodsParamsWithContext creates a new MethodsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ReAuthenticateBadRequest

type ReAuthenticateBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

ReAuthenticateBadRequest handles this case with default header values.

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

func NewReAuthenticateBadRequest

func NewReAuthenticateBadRequest() *ReAuthenticateBadRequest

NewReAuthenticateBadRequest creates a ReAuthenticateBadRequest with default headers values

func (*ReAuthenticateBadRequest) Error

func (o *ReAuthenticateBadRequest) Error() string

type ReAuthenticateOK

type ReAuthenticateOK struct {
	Payload *models.ReAuthenticationResponse
}

ReAuthenticateOK handles this case with default header values.

The authentication is successful and token is returned in the body of the response.

func NewReAuthenticateOK

func NewReAuthenticateOK() *ReAuthenticateOK

NewReAuthenticateOK creates a ReAuthenticateOK with default headers values

func (*ReAuthenticateOK) Error

func (o *ReAuthenticateOK) Error() string

type ReAuthenticateParams

type ReAuthenticateParams struct {

	/*Body
	  The request to reauthenticate

	*/
	Body *models.ReAuthenticationRequest

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

ReAuthenticateParams contains all the parameters to send to the API endpoint for the re authenticate operation typically these are written to a http.Request

func NewReAuthenticateParams

func NewReAuthenticateParams() *ReAuthenticateParams

NewReAuthenticateParams creates a new ReAuthenticateParams object with the default values initialized.

func NewReAuthenticateParamsWithContext

func NewReAuthenticateParamsWithContext(ctx context.Context) *ReAuthenticateParams

NewReAuthenticateParamsWithContext creates a new ReAuthenticateParams object with the default values initialized, and the ability to set a context for a request

func NewReAuthenticateParamsWithHTTPClient

func NewReAuthenticateParamsWithHTTPClient(client *http.Client) *ReAuthenticateParams

NewReAuthenticateParamsWithHTTPClient creates a new ReAuthenticateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReAuthenticateParamsWithTimeout

func NewReAuthenticateParamsWithTimeout(timeout time.Duration) *ReAuthenticateParams

NewReAuthenticateParamsWithTimeout creates a new ReAuthenticateParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReAuthenticateParams) SetBody

SetBody adds the body to the re authenticate params

func (*ReAuthenticateParams) SetContext

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

SetContext adds the context to the re authenticate params

func (*ReAuthenticateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the re authenticate params

func (*ReAuthenticateParams) SetTimeout

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

SetTimeout adds the timeout to the re authenticate params

func (*ReAuthenticateParams) WithBody

WithBody adds the body to the re authenticate params

func (*ReAuthenticateParams) WithContext

WithContext adds the context to the re authenticate params

func (*ReAuthenticateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the re authenticate params

func (*ReAuthenticateParams) WithTimeout

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

WithTimeout adds the timeout to the re authenticate params

func (*ReAuthenticateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReAuthenticateReader

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

ReAuthenticateReader is a Reader for the ReAuthenticate structure.

func (*ReAuthenticateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReAuthenticateRetryWith

type ReAuthenticateRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

ReAuthenticateRetryWith handles this case with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewReAuthenticateRetryWith

func NewReAuthenticateRetryWith() *ReAuthenticateRetryWith

NewReAuthenticateRetryWith creates a ReAuthenticateRetryWith with default headers values

func (*ReAuthenticateRetryWith) Error

func (o *ReAuthenticateRetryWith) Error() string

type RefreshTokenBadGateway

type RefreshTokenBadGateway struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

RefreshTokenBadGateway handles this case 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) Error

func (o *RefreshTokenBadGateway) Error() string

type RefreshTokenNotImplemented

type RefreshTokenNotImplemented struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

RefreshTokenNotImplemented handles this case with default header values.

You need 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) Error

type RefreshTokenOK

type RefreshTokenOK struct {
	Payload *models.TokenResponse
}

RefreshTokenOK handles this case 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) Error

func (o *RefreshTokenOK) Error() 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 values initialized.

func NewRefreshTokenParamsWithContext

func NewRefreshTokenParamsWithContext(ctx context.Context) *RefreshTokenParams

NewRefreshTokenParamsWithContext creates a new RefreshTokenParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *RefreshTokenUnauthorized) Error() string

type SamlCallbackBadGateway

type SamlCallbackBadGateway struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlCallbackBadGateway handles this case 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) Error

func (o *SamlCallbackBadGateway) Error() string

type SamlCallbackFound

type SamlCallbackFound struct {
	Payload models.EmptyResponse
}

SamlCallbackFound handles this case 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) Error

func (o *SamlCallbackFound) Error() string

type SamlCallbackNotImplemented

type SamlCallbackNotImplemented struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlCallbackNotImplemented handles this case with default header values.

You need 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) Error

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 values initialized.

func NewSamlCallbackParamsWithContext

func NewSamlCallbackParamsWithContext(ctx context.Context) *SamlCallbackParams

NewSamlCallbackParamsWithContext creates a new SamlCallbackParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *SamlCallbackUnauthorized) Error() string

type SamlInitBadGateway

type SamlInitBadGateway struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlInitBadGateway handles this case 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) Error

func (o *SamlInitBadGateway) Error() string

type SamlInitFound

type SamlInitFound struct {
	Payload models.EmptyResponse
}

SamlInitFound handles this case 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) Error

func (o *SamlInitFound) Error() string

type SamlInitNotImplemented

type SamlInitNotImplemented struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

SamlInitNotImplemented handles this case with default header values.

You need 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) Error

func (o *SamlInitNotImplemented) Error() 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 values initialized.

func NewSamlInitParamsWithContext

func NewSamlInitParamsWithContext(ctx context.Context) *SamlInitParams

NewSamlInitParamsWithContext creates a new SamlInitParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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