current_api_session

package
v0.21.85 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for current api session API

func (*Client) CreateCurrentAPISessionCertificate

CreateCurrentAPISessionCertificate creates an ephemeral certificate for the current API session

Creates an ephemeral certificate for the current API Session. This endpoint expects a PEM encoded CSRs to be provided for fulfillment as a property of a JSON payload. It is up to the client to manage the private key backing the CSR request.

func (*Client) DeleteCurrentAPISession

func (a *Client) DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionOK, error)

DeleteCurrentAPISession logouts

Terminates the current API session

func (*Client) DeleteCurrentAPISessionCertificate

func (a *Client) DeleteCurrentAPISessionCertificate(params *DeleteCurrentAPISessionCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionCertificateOK, error)

DeleteCurrentAPISessionCertificate deletes an ephemeral certificate

Delete an ephemeral certificateby id

func (*Client) DetailCurrentAPISessionCertificate

func (a *Client) DetailCurrentAPISessionCertificate(params *DetailCurrentAPISessionCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentAPISessionCertificateOK, error)

DetailCurrentAPISessionCertificate retrieves an ephemeral certificate

Retrieves a single ephemeral certificate by id

func (*Client) DetailCurrentIdentityAuthenticator

func (a *Client) DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentIdentityAuthenticatorOK, error)

DetailCurrentIdentityAuthenticator retrieves an authenticator for the current identity

Retrieves a single authenticator by id. Will only show authenticators assigned to the API session's identity.

func (*Client) ExtendCurrentIdentityAuthenticator added in v0.20.117

func (a *Client) ExtendCurrentIdentityAuthenticator(params *ExtendCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendCurrentIdentityAuthenticatorOK, error)
ExtendCurrentIdentityAuthenticator allows the current identity to recieve a new certificate associated with a certificate based authenticator

Allows an identity to extend its certificate's expiration date by using its current and valid client certificate to submit a CSR. This CSR may be passed in using a new private key, thus allowing private key rotation.

After completion any new connections must be made with certificates returned from a 200 OK response. The previous client certificate is rendered invalid for use with the controller even if it has not expired. This request must be made using the existing, valid, client certificate.

func (*Client) GetCurrentAPISession

func (a *Client) GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentAPISessionOK, error)

GetCurrentAPISession returns the current API session

Retrieves the API session that was used to issue the current request

func (*Client) ListCurrentAPISessionCertificates

func (a *Client) ListCurrentAPISessionCertificates(params *ListCurrentAPISessionCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentAPISessionCertificatesOK, error)

ListCurrentAPISessionCertificates lists the ephemeral certificates available for the current API session

Retrieves a list of certificate resources for the current API session; supports filtering, sorting, and pagination

func (*Client) ListCurrentIdentityAuthenticators

func (a *Client) ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentIdentityAuthenticatorsOK, error)

ListCurrentIdentityAuthenticators lists authenticators for the current identity

Retrieves a list of authenticators assigned to the current API session's identity; supports filtering, sorting, and pagination.

func (*Client) ListServiceUpdates

func (a *Client) ListServiceUpdates(params *ListServiceUpdatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceUpdatesOK, error)
ListServiceUpdates returns data indicating whether a client should updates it service list

Retrieves data indicating the last time data relevant to this API Session was altered that would necessitate

service refreshes.

func (*Client) PatchCurrentIdentityAuthenticator

func (a *Client) PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCurrentIdentityAuthenticatorOK, error)
PatchCurrentIdentityAuthenticator updates the supplied fields on an authenticator of this identity

Update the supplied fields on an authenticator by id. Will only update authenticators assigned to the API

session's identity.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCurrentIdentityAuthenticator

func (a *Client) UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentIdentityAuthenticatorOK, error)
UpdateCurrentIdentityAuthenticator updates all fields on an authenticator of this identity

Update all fields on an authenticator by id.  Will only update authenticators assigned to the API session's

identity.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionOK, error)

	CreateCurrentAPISessionCertificate(params *CreateCurrentAPISessionCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCurrentAPISessionCertificateCreated, error)

	DeleteCurrentAPISessionCertificate(params *DeleteCurrentAPISessionCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCurrentAPISessionCertificateOK, error)

	DetailCurrentAPISessionCertificate(params *DetailCurrentAPISessionCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentAPISessionCertificateOK, error)

	DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCurrentIdentityAuthenticatorOK, error)

	ExtendCurrentIdentityAuthenticator(params *ExtendCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExtendCurrentIdentityAuthenticatorOK, error)

	GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentAPISessionOK, error)

	ListCurrentAPISessionCertificates(params *ListCurrentAPISessionCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentAPISessionCertificatesOK, error)

	ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentIdentityAuthenticatorsOK, error)

	ListServiceUpdates(params *ListServiceUpdatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceUpdatesOK, error)

	PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCurrentIdentityAuthenticatorOK, error)

	UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCurrentIdentityAuthenticatorOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new current api session API client.

type CreateCurrentAPISessionCertificateBadRequest

type CreateCurrentAPISessionCertificateBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateCurrentAPISessionCertificateBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateCurrentAPISessionCertificateBadRequest

func NewCreateCurrentAPISessionCertificateBadRequest() *CreateCurrentAPISessionCertificateBadRequest

NewCreateCurrentAPISessionCertificateBadRequest creates a CreateCurrentAPISessionCertificateBadRequest with default headers values

func (*CreateCurrentAPISessionCertificateBadRequest) Error

func (*CreateCurrentAPISessionCertificateBadRequest) GetPayload

type CreateCurrentAPISessionCertificateCreated

type CreateCurrentAPISessionCertificateCreated struct {
	Payload *rest_model.CreateCurrentAPISessionCertificateEnvelope
}
CreateCurrentAPISessionCertificateCreated describes a response with status code 201, with default header values.

A response of a create API Session certificate

func NewCreateCurrentAPISessionCertificateCreated

func NewCreateCurrentAPISessionCertificateCreated() *CreateCurrentAPISessionCertificateCreated

NewCreateCurrentAPISessionCertificateCreated creates a CreateCurrentAPISessionCertificateCreated with default headers values

func (*CreateCurrentAPISessionCertificateCreated) Error

func (*CreateCurrentAPISessionCertificateCreated) GetPayload

type CreateCurrentAPISessionCertificateParams

type CreateCurrentAPISessionCertificateParams struct {

	/* SessionCertificate.

	   The payload describing the CSR used to create a session certificate
	*/
	SessionCertificate *rest_model.CurrentAPISessionCertificateCreate

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

CreateCurrentAPISessionCertificateParams contains all the parameters to send to the API endpoint

for the create current Api session certificate operation.

Typically these are written to a http.Request.

func NewCreateCurrentAPISessionCertificateParams

func NewCreateCurrentAPISessionCertificateParams() *CreateCurrentAPISessionCertificateParams

NewCreateCurrentAPISessionCertificateParams creates a new CreateCurrentAPISessionCertificateParams object, with the default timeout for this client.

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

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

func NewCreateCurrentAPISessionCertificateParamsWithContext

func NewCreateCurrentAPISessionCertificateParamsWithContext(ctx context.Context) *CreateCurrentAPISessionCertificateParams

NewCreateCurrentAPISessionCertificateParamsWithContext creates a new CreateCurrentAPISessionCertificateParams object with the ability to set a context for a request.

func NewCreateCurrentAPISessionCertificateParamsWithHTTPClient

func NewCreateCurrentAPISessionCertificateParamsWithHTTPClient(client *http.Client) *CreateCurrentAPISessionCertificateParams

NewCreateCurrentAPISessionCertificateParamsWithHTTPClient creates a new CreateCurrentAPISessionCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCurrentAPISessionCertificateParamsWithTimeout

func NewCreateCurrentAPISessionCertificateParamsWithTimeout(timeout time.Duration) *CreateCurrentAPISessionCertificateParams

NewCreateCurrentAPISessionCertificateParamsWithTimeout creates a new CreateCurrentAPISessionCertificateParams object with the ability to set a timeout on a request.

func (*CreateCurrentAPISessionCertificateParams) SetContext

SetContext adds the context to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) SetDefaults

SetDefaults hydrates default values in the create current Api session certificate params (not the query body).

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

func (*CreateCurrentAPISessionCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) SetSessionCertificate

func (o *CreateCurrentAPISessionCertificateParams) SetSessionCertificate(sessionCertificate *rest_model.CurrentAPISessionCertificateCreate)

SetSessionCertificate adds the sessionCertificate to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) SetTimeout

SetTimeout adds the timeout to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) WithContext

WithContext adds the context to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) WithDefaults

WithDefaults hydrates default values in the create current Api session certificate params (not the query body).

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

func (*CreateCurrentAPISessionCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) WithSessionCertificate

WithSessionCertificate adds the sessionCertificate to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) WithTimeout

WithTimeout adds the timeout to the create current Api session certificate params

func (*CreateCurrentAPISessionCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCurrentAPISessionCertificateReader

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

CreateCurrentAPISessionCertificateReader is a Reader for the CreateCurrentAPISessionCertificate structure.

func (*CreateCurrentAPISessionCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCurrentAPISessionCertificateUnauthorized

type CreateCurrentAPISessionCertificateUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateCurrentAPISessionCertificateUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewCreateCurrentAPISessionCertificateUnauthorized

func NewCreateCurrentAPISessionCertificateUnauthorized() *CreateCurrentAPISessionCertificateUnauthorized

NewCreateCurrentAPISessionCertificateUnauthorized creates a CreateCurrentAPISessionCertificateUnauthorized with default headers values

func (*CreateCurrentAPISessionCertificateUnauthorized) Error

func (*CreateCurrentAPISessionCertificateUnauthorized) GetPayload

type DeleteCurrentAPISessionCertificateBadRequest

type DeleteCurrentAPISessionCertificateBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteCurrentAPISessionCertificateBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewDeleteCurrentAPISessionCertificateBadRequest

func NewDeleteCurrentAPISessionCertificateBadRequest() *DeleteCurrentAPISessionCertificateBadRequest

NewDeleteCurrentAPISessionCertificateBadRequest creates a DeleteCurrentAPISessionCertificateBadRequest with default headers values

func (*DeleteCurrentAPISessionCertificateBadRequest) Error

func (*DeleteCurrentAPISessionCertificateBadRequest) GetPayload

type DeleteCurrentAPISessionCertificateOK

type DeleteCurrentAPISessionCertificateOK struct {
	Payload *rest_model.Empty
}
DeleteCurrentAPISessionCertificateOK describes a response with status code 200, with default header values.

The delete request was successful and the resource has been removed

func NewDeleteCurrentAPISessionCertificateOK

func NewDeleteCurrentAPISessionCertificateOK() *DeleteCurrentAPISessionCertificateOK

NewDeleteCurrentAPISessionCertificateOK creates a DeleteCurrentAPISessionCertificateOK with default headers values

func (*DeleteCurrentAPISessionCertificateOK) Error

func (*DeleteCurrentAPISessionCertificateOK) GetPayload

type DeleteCurrentAPISessionCertificateParams

type DeleteCurrentAPISessionCertificateParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DeleteCurrentAPISessionCertificateParams contains all the parameters to send to the API endpoint

for the delete current Api session certificate operation.

Typically these are written to a http.Request.

func NewDeleteCurrentAPISessionCertificateParams

func NewDeleteCurrentAPISessionCertificateParams() *DeleteCurrentAPISessionCertificateParams

NewDeleteCurrentAPISessionCertificateParams creates a new DeleteCurrentAPISessionCertificateParams object, with the default timeout for this client.

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

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

func NewDeleteCurrentAPISessionCertificateParamsWithContext

func NewDeleteCurrentAPISessionCertificateParamsWithContext(ctx context.Context) *DeleteCurrentAPISessionCertificateParams

NewDeleteCurrentAPISessionCertificateParamsWithContext creates a new DeleteCurrentAPISessionCertificateParams object with the ability to set a context for a request.

func NewDeleteCurrentAPISessionCertificateParamsWithHTTPClient

func NewDeleteCurrentAPISessionCertificateParamsWithHTTPClient(client *http.Client) *DeleteCurrentAPISessionCertificateParams

NewDeleteCurrentAPISessionCertificateParamsWithHTTPClient creates a new DeleteCurrentAPISessionCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCurrentAPISessionCertificateParamsWithTimeout

func NewDeleteCurrentAPISessionCertificateParamsWithTimeout(timeout time.Duration) *DeleteCurrentAPISessionCertificateParams

NewDeleteCurrentAPISessionCertificateParamsWithTimeout creates a new DeleteCurrentAPISessionCertificateParams object with the ability to set a timeout on a request.

func (*DeleteCurrentAPISessionCertificateParams) SetContext

SetContext adds the context to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) SetDefaults

SetDefaults hydrates default values in the delete current Api session certificate params (not the query body).

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

func (*DeleteCurrentAPISessionCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) SetID

SetID adds the id to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) SetTimeout

SetTimeout adds the timeout to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) WithContext

WithContext adds the context to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) WithDefaults

WithDefaults hydrates default values in the delete current Api session certificate params (not the query body).

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

func (*DeleteCurrentAPISessionCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) WithID

WithID adds the id to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) WithTimeout

WithTimeout adds the timeout to the delete current Api session certificate params

func (*DeleteCurrentAPISessionCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCurrentAPISessionCertificateReader

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

DeleteCurrentAPISessionCertificateReader is a Reader for the DeleteCurrentAPISessionCertificate structure.

func (*DeleteCurrentAPISessionCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCurrentAPISessionCertificateUnauthorized

type DeleteCurrentAPISessionCertificateUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteCurrentAPISessionCertificateUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDeleteCurrentAPISessionCertificateUnauthorized

func NewDeleteCurrentAPISessionCertificateUnauthorized() *DeleteCurrentAPISessionCertificateUnauthorized

NewDeleteCurrentAPISessionCertificateUnauthorized creates a DeleteCurrentAPISessionCertificateUnauthorized with default headers values

func (*DeleteCurrentAPISessionCertificateUnauthorized) Error

func (*DeleteCurrentAPISessionCertificateUnauthorized) GetPayload

type DeleteCurrentAPISessionOK

type DeleteCurrentAPISessionOK struct {
	Payload *rest_model.Empty
}
DeleteCurrentAPISessionOK describes a response with status code 200, with default header values.

Base empty response

func NewDeleteCurrentAPISessionOK

func NewDeleteCurrentAPISessionOK() *DeleteCurrentAPISessionOK

NewDeleteCurrentAPISessionOK creates a DeleteCurrentAPISessionOK with default headers values

func (*DeleteCurrentAPISessionOK) Error

func (o *DeleteCurrentAPISessionOK) Error() string

func (*DeleteCurrentAPISessionOK) GetPayload

func (o *DeleteCurrentAPISessionOK) GetPayload() *rest_model.Empty

type DeleteCurrentAPISessionParams

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

DeleteCurrentAPISessionParams contains all the parameters to send to the API endpoint

for the delete current API session operation.

Typically these are written to a http.Request.

func NewDeleteCurrentAPISessionParams

func NewDeleteCurrentAPISessionParams() *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParams creates a new DeleteCurrentAPISessionParams object, with the default timeout for this client.

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

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

func NewDeleteCurrentAPISessionParamsWithContext

func NewDeleteCurrentAPISessionParamsWithContext(ctx context.Context) *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParamsWithContext creates a new DeleteCurrentAPISessionParams object with the ability to set a context for a request.

func NewDeleteCurrentAPISessionParamsWithHTTPClient

func NewDeleteCurrentAPISessionParamsWithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParamsWithHTTPClient creates a new DeleteCurrentAPISessionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCurrentAPISessionParamsWithTimeout

func NewDeleteCurrentAPISessionParamsWithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams

NewDeleteCurrentAPISessionParamsWithTimeout creates a new DeleteCurrentAPISessionParams object with the ability to set a timeout on a request.

func (*DeleteCurrentAPISessionParams) SetContext

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

SetContext adds the context to the delete current API session params

func (*DeleteCurrentAPISessionParams) SetDefaults

func (o *DeleteCurrentAPISessionParams) SetDefaults()

SetDefaults hydrates default values in the delete current API session params (not the query body).

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

func (*DeleteCurrentAPISessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete current API session params

func (*DeleteCurrentAPISessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete current API session params

func (*DeleteCurrentAPISessionParams) WithContext

WithContext adds the context to the delete current API session params

func (*DeleteCurrentAPISessionParams) WithDefaults

WithDefaults hydrates default values in the delete current API session params (not the query body).

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

func (*DeleteCurrentAPISessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete current API session params

func (*DeleteCurrentAPISessionParams) WithTimeout

WithTimeout adds the timeout to the delete current API session params

func (*DeleteCurrentAPISessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCurrentAPISessionReader

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

DeleteCurrentAPISessionReader is a Reader for the DeleteCurrentAPISession structure.

func (*DeleteCurrentAPISessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCurrentAPISessionUnauthorized

type DeleteCurrentAPISessionUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteCurrentAPISessionUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDeleteCurrentAPISessionUnauthorized

func NewDeleteCurrentAPISessionUnauthorized() *DeleteCurrentAPISessionUnauthorized

NewDeleteCurrentAPISessionUnauthorized creates a DeleteCurrentAPISessionUnauthorized with default headers values

func (*DeleteCurrentAPISessionUnauthorized) Error

func (*DeleteCurrentAPISessionUnauthorized) GetPayload

type DetailCurrentAPISessionCertificateNotFound

type DetailCurrentAPISessionCertificateNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCurrentAPISessionCertificateNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewDetailCurrentAPISessionCertificateNotFound

func NewDetailCurrentAPISessionCertificateNotFound() *DetailCurrentAPISessionCertificateNotFound

NewDetailCurrentAPISessionCertificateNotFound creates a DetailCurrentAPISessionCertificateNotFound with default headers values

func (*DetailCurrentAPISessionCertificateNotFound) Error

func (*DetailCurrentAPISessionCertificateNotFound) GetPayload

type DetailCurrentAPISessionCertificateOK

type DetailCurrentAPISessionCertificateOK struct {
	Payload *rest_model.DetailCurrentAPISessionCertificateEnvelope
}
DetailCurrentAPISessionCertificateOK describes a response with status code 200, with default header values.

A response containing a single API Session certificate

func NewDetailCurrentAPISessionCertificateOK

func NewDetailCurrentAPISessionCertificateOK() *DetailCurrentAPISessionCertificateOK

NewDetailCurrentAPISessionCertificateOK creates a DetailCurrentAPISessionCertificateOK with default headers values

func (*DetailCurrentAPISessionCertificateOK) Error

func (*DetailCurrentAPISessionCertificateOK) GetPayload

type DetailCurrentAPISessionCertificateParams

type DetailCurrentAPISessionCertificateParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailCurrentAPISessionCertificateParams contains all the parameters to send to the API endpoint

for the detail current Api session certificate operation.

Typically these are written to a http.Request.

func NewDetailCurrentAPISessionCertificateParams

func NewDetailCurrentAPISessionCertificateParams() *DetailCurrentAPISessionCertificateParams

NewDetailCurrentAPISessionCertificateParams creates a new DetailCurrentAPISessionCertificateParams object, with the default timeout for this client.

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

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

func NewDetailCurrentAPISessionCertificateParamsWithContext

func NewDetailCurrentAPISessionCertificateParamsWithContext(ctx context.Context) *DetailCurrentAPISessionCertificateParams

NewDetailCurrentAPISessionCertificateParamsWithContext creates a new DetailCurrentAPISessionCertificateParams object with the ability to set a context for a request.

func NewDetailCurrentAPISessionCertificateParamsWithHTTPClient

func NewDetailCurrentAPISessionCertificateParamsWithHTTPClient(client *http.Client) *DetailCurrentAPISessionCertificateParams

NewDetailCurrentAPISessionCertificateParamsWithHTTPClient creates a new DetailCurrentAPISessionCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewDetailCurrentAPISessionCertificateParamsWithTimeout

func NewDetailCurrentAPISessionCertificateParamsWithTimeout(timeout time.Duration) *DetailCurrentAPISessionCertificateParams

NewDetailCurrentAPISessionCertificateParamsWithTimeout creates a new DetailCurrentAPISessionCertificateParams object with the ability to set a timeout on a request.

func (*DetailCurrentAPISessionCertificateParams) SetContext

SetContext adds the context to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) SetDefaults

SetDefaults hydrates default values in the detail current Api session certificate params (not the query body).

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

func (*DetailCurrentAPISessionCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) SetID

SetID adds the id to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) SetTimeout

SetTimeout adds the timeout to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) WithContext

WithContext adds the context to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) WithDefaults

WithDefaults hydrates default values in the detail current Api session certificate params (not the query body).

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

func (*DetailCurrentAPISessionCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) WithID

WithID adds the id to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) WithTimeout

WithTimeout adds the timeout to the detail current Api session certificate params

func (*DetailCurrentAPISessionCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailCurrentAPISessionCertificateReader

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

DetailCurrentAPISessionCertificateReader is a Reader for the DetailCurrentAPISessionCertificate structure.

func (*DetailCurrentAPISessionCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailCurrentAPISessionCertificateUnauthorized

type DetailCurrentAPISessionCertificateUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCurrentAPISessionCertificateUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDetailCurrentAPISessionCertificateUnauthorized

func NewDetailCurrentAPISessionCertificateUnauthorized() *DetailCurrentAPISessionCertificateUnauthorized

NewDetailCurrentAPISessionCertificateUnauthorized creates a DetailCurrentAPISessionCertificateUnauthorized with default headers values

func (*DetailCurrentAPISessionCertificateUnauthorized) Error

func (*DetailCurrentAPISessionCertificateUnauthorized) GetPayload

type DetailCurrentIdentityAuthenticatorNotFound

type DetailCurrentIdentityAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewDetailCurrentIdentityAuthenticatorNotFound

func NewDetailCurrentIdentityAuthenticatorNotFound() *DetailCurrentIdentityAuthenticatorNotFound

NewDetailCurrentIdentityAuthenticatorNotFound creates a DetailCurrentIdentityAuthenticatorNotFound with default headers values

func (*DetailCurrentIdentityAuthenticatorNotFound) Error

func (*DetailCurrentIdentityAuthenticatorNotFound) GetPayload

type DetailCurrentIdentityAuthenticatorOK

type DetailCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.DetailAuthenticatorEnvelope
}
DetailCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

A singular authenticator resource

func NewDetailCurrentIdentityAuthenticatorOK

func NewDetailCurrentIdentityAuthenticatorOK() *DetailCurrentIdentityAuthenticatorOK

NewDetailCurrentIdentityAuthenticatorOK creates a DetailCurrentIdentityAuthenticatorOK with default headers values

func (*DetailCurrentIdentityAuthenticatorOK) Error

func (*DetailCurrentIdentityAuthenticatorOK) GetPayload

type DetailCurrentIdentityAuthenticatorParams

type DetailCurrentIdentityAuthenticatorParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the detail current identity authenticator operation.

Typically these are written to a http.Request.

func NewDetailCurrentIdentityAuthenticatorParams

func NewDetailCurrentIdentityAuthenticatorParams() *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParams creates a new DetailCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

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

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

func NewDetailCurrentIdentityAuthenticatorParamsWithContext

func NewDetailCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParamsWithContext creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout

func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams

NewDetailCurrentIdentityAuthenticatorParamsWithTimeout creates a new DetailCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*DetailCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) SetDefaults

SetDefaults hydrates default values in the detail current identity authenticator params (not the query body).

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

func (*DetailCurrentIdentityAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) SetTimeout

SetTimeout adds the timeout to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the detail current identity authenticator params (not the query body).

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

func (*DetailCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the detail current identity authenticator params

func (*DetailCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DetailCurrentIdentityAuthenticatorReader

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

DetailCurrentIdentityAuthenticatorReader is a Reader for the DetailCurrentIdentityAuthenticator structure.

func (*DetailCurrentIdentityAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailCurrentIdentityAuthenticatorUnauthorized

type DetailCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDetailCurrentIdentityAuthenticatorUnauthorized

func NewDetailCurrentIdentityAuthenticatorUnauthorized() *DetailCurrentIdentityAuthenticatorUnauthorized

NewDetailCurrentIdentityAuthenticatorUnauthorized creates a DetailCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*DetailCurrentIdentityAuthenticatorUnauthorized) Error

func (*DetailCurrentIdentityAuthenticatorUnauthorized) GetPayload

type ExtendCurrentIdentityAuthenticatorOK added in v0.20.117

type ExtendCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.IdentityExtendEnrollmentEnvelope
}
ExtendCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

A response containg the identity's new certificate

func NewExtendCurrentIdentityAuthenticatorOK added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorOK() *ExtendCurrentIdentityAuthenticatorOK

NewExtendCurrentIdentityAuthenticatorOK creates a ExtendCurrentIdentityAuthenticatorOK with default headers values

func (*ExtendCurrentIdentityAuthenticatorOK) Error added in v0.20.117

func (*ExtendCurrentIdentityAuthenticatorOK) GetPayload added in v0.20.117

type ExtendCurrentIdentityAuthenticatorParams added in v0.20.117

type ExtendCurrentIdentityAuthenticatorParams struct {

	// Extend.
	Extend *rest_model.IdentityExtendEnrollmentRequest

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

ExtendCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the extend current identity authenticator operation.

Typically these are written to a http.Request.

func NewExtendCurrentIdentityAuthenticatorParams added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorParams() *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParams creates a new ExtendCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

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

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

func NewExtendCurrentIdentityAuthenticatorParamsWithContext added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParamsWithContext creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewExtendCurrentIdentityAuthenticatorParamsWithTimeout added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *ExtendCurrentIdentityAuthenticatorParams

NewExtendCurrentIdentityAuthenticatorParamsWithTimeout creates a new ExtendCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*ExtendCurrentIdentityAuthenticatorParams) SetContext added in v0.20.117

SetContext adds the context to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetDefaults added in v0.20.117

SetDefaults hydrates default values in the extend current identity authenticator params (not the query body).

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

func (*ExtendCurrentIdentityAuthenticatorParams) SetExtend added in v0.20.117

SetExtend adds the extend to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetHTTPClient added in v0.20.117

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

SetHTTPClient adds the HTTPClient to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetID added in v0.20.117

SetID adds the id to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) SetTimeout added in v0.20.117

SetTimeout adds the timeout to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithContext added in v0.20.117

WithContext adds the context to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithDefaults added in v0.20.117

WithDefaults hydrates default values in the extend current identity authenticator params (not the query body).

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

func (*ExtendCurrentIdentityAuthenticatorParams) WithExtend added in v0.20.117

WithExtend adds the extend to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithHTTPClient added in v0.20.117

WithHTTPClient adds the HTTPClient to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithID added in v0.20.117

WithID adds the id to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WithTimeout added in v0.20.117

WithTimeout adds the timeout to the extend current identity authenticator params

func (*ExtendCurrentIdentityAuthenticatorParams) WriteToRequest added in v0.20.117

WriteToRequest writes these params to a swagger request

type ExtendCurrentIdentityAuthenticatorReader added in v0.20.117

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

ExtendCurrentIdentityAuthenticatorReader is a Reader for the ExtendCurrentIdentityAuthenticator structure.

func (*ExtendCurrentIdentityAuthenticatorReader) ReadResponse added in v0.20.117

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

ReadResponse reads a server response into the received o.

type ExtendCurrentIdentityAuthenticatorUnauthorized added in v0.20.117

type ExtendCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ExtendCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewExtendCurrentIdentityAuthenticatorUnauthorized added in v0.20.117

func NewExtendCurrentIdentityAuthenticatorUnauthorized() *ExtendCurrentIdentityAuthenticatorUnauthorized

NewExtendCurrentIdentityAuthenticatorUnauthorized creates a ExtendCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*ExtendCurrentIdentityAuthenticatorUnauthorized) Error added in v0.20.117

func (*ExtendCurrentIdentityAuthenticatorUnauthorized) GetPayload added in v0.20.117

type GetCurrentAPISessionOK

type GetCurrentAPISessionOK struct {
	Payload *rest_model.CurrentAPISessionDetailEnvelope
}
GetCurrentAPISessionOK describes a response with status code 200, with default header values.

The API session associated with the session used to issue the request

func NewGetCurrentAPISessionOK

func NewGetCurrentAPISessionOK() *GetCurrentAPISessionOK

NewGetCurrentAPISessionOK creates a GetCurrentAPISessionOK with default headers values

func (*GetCurrentAPISessionOK) Error

func (o *GetCurrentAPISessionOK) Error() string

func (*GetCurrentAPISessionOK) GetPayload

type GetCurrentAPISessionParams

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

GetCurrentAPISessionParams contains all the parameters to send to the API endpoint

for the get current API session operation.

Typically these are written to a http.Request.

func NewGetCurrentAPISessionParams

func NewGetCurrentAPISessionParams() *GetCurrentAPISessionParams

NewGetCurrentAPISessionParams creates a new GetCurrentAPISessionParams object, with the default timeout for this client.

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

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

func NewGetCurrentAPISessionParamsWithContext

func NewGetCurrentAPISessionParamsWithContext(ctx context.Context) *GetCurrentAPISessionParams

NewGetCurrentAPISessionParamsWithContext creates a new GetCurrentAPISessionParams object with the ability to set a context for a request.

func NewGetCurrentAPISessionParamsWithHTTPClient

func NewGetCurrentAPISessionParamsWithHTTPClient(client *http.Client) *GetCurrentAPISessionParams

NewGetCurrentAPISessionParamsWithHTTPClient creates a new GetCurrentAPISessionParams object with the ability to set a custom HTTPClient for a request.

func NewGetCurrentAPISessionParamsWithTimeout

func NewGetCurrentAPISessionParamsWithTimeout(timeout time.Duration) *GetCurrentAPISessionParams

NewGetCurrentAPISessionParamsWithTimeout creates a new GetCurrentAPISessionParams object with the ability to set a timeout on a request.

func (*GetCurrentAPISessionParams) SetContext

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

SetContext adds the context to the get current API session params

func (*GetCurrentAPISessionParams) SetDefaults

func (o *GetCurrentAPISessionParams) SetDefaults()

SetDefaults hydrates default values in the get current API session params (not the query body).

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

func (*GetCurrentAPISessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get current API session params

func (*GetCurrentAPISessionParams) SetTimeout

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

SetTimeout adds the timeout to the get current API session params

func (*GetCurrentAPISessionParams) WithContext

WithContext adds the context to the get current API session params

func (*GetCurrentAPISessionParams) WithDefaults

WithDefaults hydrates default values in the get current API session params (not the query body).

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

func (*GetCurrentAPISessionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get current API session params

func (*GetCurrentAPISessionParams) WithTimeout

WithTimeout adds the timeout to the get current API session params

func (*GetCurrentAPISessionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentAPISessionReader

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

GetCurrentAPISessionReader is a Reader for the GetCurrentAPISession structure.

func (*GetCurrentAPISessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentAPISessionUnauthorized

type GetCurrentAPISessionUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
GetCurrentAPISessionUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewGetCurrentAPISessionUnauthorized

func NewGetCurrentAPISessionUnauthorized() *GetCurrentAPISessionUnauthorized

NewGetCurrentAPISessionUnauthorized creates a GetCurrentAPISessionUnauthorized with default headers values

func (*GetCurrentAPISessionUnauthorized) Error

func (*GetCurrentAPISessionUnauthorized) GetPayload

type ListCurrentAPISessionCertificatesBadRequest added in v0.19.176

type ListCurrentAPISessionCertificatesBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCurrentAPISessionCertificatesBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListCurrentAPISessionCertificatesBadRequest added in v0.19.176

func NewListCurrentAPISessionCertificatesBadRequest() *ListCurrentAPISessionCertificatesBadRequest

NewListCurrentAPISessionCertificatesBadRequest creates a ListCurrentAPISessionCertificatesBadRequest with default headers values

func (*ListCurrentAPISessionCertificatesBadRequest) Error added in v0.19.176

func (*ListCurrentAPISessionCertificatesBadRequest) GetPayload added in v0.19.176

type ListCurrentAPISessionCertificatesOK

type ListCurrentAPISessionCertificatesOK struct {
	Payload *rest_model.ListCurrentAPISessionCertificatesEnvelope
}
ListCurrentAPISessionCertificatesOK describes a response with status code 200, with default header values.

A list of the current API Session's certificate

func NewListCurrentAPISessionCertificatesOK

func NewListCurrentAPISessionCertificatesOK() *ListCurrentAPISessionCertificatesOK

NewListCurrentAPISessionCertificatesOK creates a ListCurrentAPISessionCertificatesOK with default headers values

func (*ListCurrentAPISessionCertificatesOK) Error

func (*ListCurrentAPISessionCertificatesOK) GetPayload

type ListCurrentAPISessionCertificatesParams

type ListCurrentAPISessionCertificatesParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListCurrentAPISessionCertificatesParams contains all the parameters to send to the API endpoint

for the list current Api session certificates operation.

Typically these are written to a http.Request.

func NewListCurrentAPISessionCertificatesParams

func NewListCurrentAPISessionCertificatesParams() *ListCurrentAPISessionCertificatesParams

NewListCurrentAPISessionCertificatesParams creates a new ListCurrentAPISessionCertificatesParams object, with the default timeout for this client.

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

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

func NewListCurrentAPISessionCertificatesParamsWithContext

func NewListCurrentAPISessionCertificatesParamsWithContext(ctx context.Context) *ListCurrentAPISessionCertificatesParams

NewListCurrentAPISessionCertificatesParamsWithContext creates a new ListCurrentAPISessionCertificatesParams object with the ability to set a context for a request.

func NewListCurrentAPISessionCertificatesParamsWithHTTPClient

func NewListCurrentAPISessionCertificatesParamsWithHTTPClient(client *http.Client) *ListCurrentAPISessionCertificatesParams

NewListCurrentAPISessionCertificatesParamsWithHTTPClient creates a new ListCurrentAPISessionCertificatesParams object with the ability to set a custom HTTPClient for a request.

func NewListCurrentAPISessionCertificatesParamsWithTimeout

func NewListCurrentAPISessionCertificatesParamsWithTimeout(timeout time.Duration) *ListCurrentAPISessionCertificatesParams

NewListCurrentAPISessionCertificatesParamsWithTimeout creates a new ListCurrentAPISessionCertificatesParams object with the ability to set a timeout on a request.

func (*ListCurrentAPISessionCertificatesParams) SetContext

SetContext adds the context to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) SetDefaults

func (o *ListCurrentAPISessionCertificatesParams) SetDefaults()

SetDefaults hydrates default values in the list current Api session certificates params (not the query body).

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

func (*ListCurrentAPISessionCertificatesParams) SetFilter

func (o *ListCurrentAPISessionCertificatesParams) SetFilter(filter *string)

SetFilter adds the filter to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) SetLimit

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

SetLimit adds the limit to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) SetOffset

func (o *ListCurrentAPISessionCertificatesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) WithContext

WithContext adds the context to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) WithDefaults

WithDefaults hydrates default values in the list current Api session certificates params (not the query body).

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

func (*ListCurrentAPISessionCertificatesParams) WithFilter

WithFilter adds the filter to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) WithLimit

WithLimit adds the limit to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) WithOffset

WithOffset adds the offset to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) WithTimeout

WithTimeout adds the timeout to the list current Api session certificates params

func (*ListCurrentAPISessionCertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCurrentAPISessionCertificatesReader

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

ListCurrentAPISessionCertificatesReader is a Reader for the ListCurrentAPISessionCertificates structure.

func (*ListCurrentAPISessionCertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCurrentAPISessionCertificatesUnauthorized added in v0.19.173

type ListCurrentAPISessionCertificatesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCurrentAPISessionCertificatesUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListCurrentAPISessionCertificatesUnauthorized added in v0.19.173

func NewListCurrentAPISessionCertificatesUnauthorized() *ListCurrentAPISessionCertificatesUnauthorized

NewListCurrentAPISessionCertificatesUnauthorized creates a ListCurrentAPISessionCertificatesUnauthorized with default headers values

func (*ListCurrentAPISessionCertificatesUnauthorized) Error added in v0.19.173

func (*ListCurrentAPISessionCertificatesUnauthorized) GetPayload added in v0.19.173

type ListCurrentIdentityAuthenticatorsBadRequest added in v0.19.176

type ListCurrentIdentityAuthenticatorsBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCurrentIdentityAuthenticatorsBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListCurrentIdentityAuthenticatorsBadRequest added in v0.19.176

func NewListCurrentIdentityAuthenticatorsBadRequest() *ListCurrentIdentityAuthenticatorsBadRequest

NewListCurrentIdentityAuthenticatorsBadRequest creates a ListCurrentIdentityAuthenticatorsBadRequest with default headers values

func (*ListCurrentIdentityAuthenticatorsBadRequest) Error added in v0.19.176

func (*ListCurrentIdentityAuthenticatorsBadRequest) GetPayload added in v0.19.176

type ListCurrentIdentityAuthenticatorsOK

type ListCurrentIdentityAuthenticatorsOK struct {
	Payload *rest_model.ListAuthenticatorsEnvelope
}
ListCurrentIdentityAuthenticatorsOK describes a response with status code 200, with default header values.

A list of authenticators

func NewListCurrentIdentityAuthenticatorsOK

func NewListCurrentIdentityAuthenticatorsOK() *ListCurrentIdentityAuthenticatorsOK

NewListCurrentIdentityAuthenticatorsOK creates a ListCurrentIdentityAuthenticatorsOK with default headers values

func (*ListCurrentIdentityAuthenticatorsOK) Error

func (*ListCurrentIdentityAuthenticatorsOK) GetPayload

type ListCurrentIdentityAuthenticatorsParams

type ListCurrentIdentityAuthenticatorsParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

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

ListCurrentIdentityAuthenticatorsParams contains all the parameters to send to the API endpoint

for the list current identity authenticators operation.

Typically these are written to a http.Request.

func NewListCurrentIdentityAuthenticatorsParams

func NewListCurrentIdentityAuthenticatorsParams() *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParams creates a new ListCurrentIdentityAuthenticatorsParams object, with the default timeout for this client.

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

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

func NewListCurrentIdentityAuthenticatorsParamsWithContext

func NewListCurrentIdentityAuthenticatorsParamsWithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParamsWithContext creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a context for a request.

func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient

func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a custom HTTPClient for a request.

func NewListCurrentIdentityAuthenticatorsParamsWithTimeout

func NewListCurrentIdentityAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParamsWithTimeout creates a new ListCurrentIdentityAuthenticatorsParams object with the ability to set a timeout on a request.

func (*ListCurrentIdentityAuthenticatorsParams) SetContext

SetContext adds the context to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetDefaults

func (o *ListCurrentIdentityAuthenticatorsParams) SetDefaults()

SetDefaults hydrates default values in the list current identity authenticators params (not the query body).

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

func (*ListCurrentIdentityAuthenticatorsParams) SetFilter

func (o *ListCurrentIdentityAuthenticatorsParams) SetFilter(filter *string)

SetFilter adds the filter to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetLimit

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

SetLimit adds the limit to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetOffset

func (o *ListCurrentIdentityAuthenticatorsParams) SetOffset(offset *int64)

SetOffset adds the offset to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) SetTimeout

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

SetTimeout adds the timeout to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithContext

WithContext adds the context to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithDefaults

WithDefaults hydrates default values in the list current identity authenticators params (not the query body).

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

func (*ListCurrentIdentityAuthenticatorsParams) WithFilter

WithFilter adds the filter to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithLimit

WithLimit adds the limit to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithOffset

WithOffset adds the offset to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WithTimeout

WithTimeout adds the timeout to the list current identity authenticators params

func (*ListCurrentIdentityAuthenticatorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCurrentIdentityAuthenticatorsReader

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

ListCurrentIdentityAuthenticatorsReader is a Reader for the ListCurrentIdentityAuthenticators structure.

func (*ListCurrentIdentityAuthenticatorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCurrentIdentityAuthenticatorsUnauthorized

type ListCurrentIdentityAuthenticatorsUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCurrentIdentityAuthenticatorsUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListCurrentIdentityAuthenticatorsUnauthorized

func NewListCurrentIdentityAuthenticatorsUnauthorized() *ListCurrentIdentityAuthenticatorsUnauthorized

NewListCurrentIdentityAuthenticatorsUnauthorized creates a ListCurrentIdentityAuthenticatorsUnauthorized with default headers values

func (*ListCurrentIdentityAuthenticatorsUnauthorized) Error

func (*ListCurrentIdentityAuthenticatorsUnauthorized) GetPayload

type ListServiceUpdatesOK

type ListServiceUpdatesOK struct {
	Payload *rest_model.ListCurrentAPISessionServiceUpdatesEnvelope
}
ListServiceUpdatesOK describes a response with status code 200, with default header values.

Data indicating necessary service updates

func NewListServiceUpdatesOK

func NewListServiceUpdatesOK() *ListServiceUpdatesOK

NewListServiceUpdatesOK creates a ListServiceUpdatesOK with default headers values

func (*ListServiceUpdatesOK) Error

func (o *ListServiceUpdatesOK) Error() string

func (*ListServiceUpdatesOK) GetPayload

type ListServiceUpdatesParams

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

ListServiceUpdatesParams contains all the parameters to send to the API endpoint

for the list service updates operation.

Typically these are written to a http.Request.

func NewListServiceUpdatesParams

func NewListServiceUpdatesParams() *ListServiceUpdatesParams

NewListServiceUpdatesParams creates a new ListServiceUpdatesParams object, with the default timeout for this client.

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

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

func NewListServiceUpdatesParamsWithContext

func NewListServiceUpdatesParamsWithContext(ctx context.Context) *ListServiceUpdatesParams

NewListServiceUpdatesParamsWithContext creates a new ListServiceUpdatesParams object with the ability to set a context for a request.

func NewListServiceUpdatesParamsWithHTTPClient

func NewListServiceUpdatesParamsWithHTTPClient(client *http.Client) *ListServiceUpdatesParams

NewListServiceUpdatesParamsWithHTTPClient creates a new ListServiceUpdatesParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceUpdatesParamsWithTimeout

func NewListServiceUpdatesParamsWithTimeout(timeout time.Duration) *ListServiceUpdatesParams

NewListServiceUpdatesParamsWithTimeout creates a new ListServiceUpdatesParams object with the ability to set a timeout on a request.

func (*ListServiceUpdatesParams) SetContext

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

SetContext adds the context to the list service updates params

func (*ListServiceUpdatesParams) SetDefaults

func (o *ListServiceUpdatesParams) SetDefaults()

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

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

func (*ListServiceUpdatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service updates params

func (*ListServiceUpdatesParams) SetTimeout

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

SetTimeout adds the timeout to the list service updates params

func (*ListServiceUpdatesParams) WithContext

WithContext adds the context to the list service updates params

func (*ListServiceUpdatesParams) WithDefaults

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

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

func (*ListServiceUpdatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list service updates params

func (*ListServiceUpdatesParams) WithTimeout

WithTimeout adds the timeout to the list service updates params

func (*ListServiceUpdatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceUpdatesReader

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

ListServiceUpdatesReader is a Reader for the ListServiceUpdates structure.

func (*ListServiceUpdatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceUpdatesUnauthorized

type ListServiceUpdatesUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListServiceUpdatesUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListServiceUpdatesUnauthorized

func NewListServiceUpdatesUnauthorized() *ListServiceUpdatesUnauthorized

NewListServiceUpdatesUnauthorized creates a ListServiceUpdatesUnauthorized with default headers values

func (*ListServiceUpdatesUnauthorized) Error

func (*ListServiceUpdatesUnauthorized) GetPayload

type PatchCurrentIdentityAuthenticatorBadRequest

type PatchCurrentIdentityAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewPatchCurrentIdentityAuthenticatorBadRequest

func NewPatchCurrentIdentityAuthenticatorBadRequest() *PatchCurrentIdentityAuthenticatorBadRequest

NewPatchCurrentIdentityAuthenticatorBadRequest creates a PatchCurrentIdentityAuthenticatorBadRequest with default headers values

func (*PatchCurrentIdentityAuthenticatorBadRequest) Error

func (*PatchCurrentIdentityAuthenticatorBadRequest) GetPayload

type PatchCurrentIdentityAuthenticatorNotFound

type PatchCurrentIdentityAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewPatchCurrentIdentityAuthenticatorNotFound

func NewPatchCurrentIdentityAuthenticatorNotFound() *PatchCurrentIdentityAuthenticatorNotFound

NewPatchCurrentIdentityAuthenticatorNotFound creates a PatchCurrentIdentityAuthenticatorNotFound with default headers values

func (*PatchCurrentIdentityAuthenticatorNotFound) Error

func (*PatchCurrentIdentityAuthenticatorNotFound) GetPayload

type PatchCurrentIdentityAuthenticatorOK

type PatchCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.Empty
}
PatchCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

The patch request was successful and the resource has been altered

func NewPatchCurrentIdentityAuthenticatorOK

func NewPatchCurrentIdentityAuthenticatorOK() *PatchCurrentIdentityAuthenticatorOK

NewPatchCurrentIdentityAuthenticatorOK creates a PatchCurrentIdentityAuthenticatorOK with default headers values

func (*PatchCurrentIdentityAuthenticatorOK) Error

func (*PatchCurrentIdentityAuthenticatorOK) GetPayload

type PatchCurrentIdentityAuthenticatorParams

type PatchCurrentIdentityAuthenticatorParams struct {

	/* Authenticator.

	   An authenticator patch object
	*/
	Authenticator *rest_model.AuthenticatorPatchWithCurrent

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

PatchCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the patch current identity authenticator operation.

Typically these are written to a http.Request.

func NewPatchCurrentIdentityAuthenticatorParams

func NewPatchCurrentIdentityAuthenticatorParams() *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParams creates a new PatchCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

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

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

func NewPatchCurrentIdentityAuthenticatorParamsWithContext

func NewPatchCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParamsWithContext creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout

func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParamsWithTimeout creates a new PatchCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*PatchCurrentIdentityAuthenticatorParams) SetAuthenticator

SetAuthenticator adds the authenticator to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetDefaults

func (o *PatchCurrentIdentityAuthenticatorParams) SetDefaults()

SetDefaults hydrates default values in the patch current identity authenticator params (not the query body).

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

func (*PatchCurrentIdentityAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetTimeout

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

SetTimeout adds the timeout to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithAuthenticator

WithAuthenticator adds the authenticator to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the patch current identity authenticator params (not the query body).

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

func (*PatchCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchCurrentIdentityAuthenticatorReader

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

PatchCurrentIdentityAuthenticatorReader is a Reader for the PatchCurrentIdentityAuthenticator structure.

func (*PatchCurrentIdentityAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchCurrentIdentityAuthenticatorUnauthorized

type PatchCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewPatchCurrentIdentityAuthenticatorUnauthorized

func NewPatchCurrentIdentityAuthenticatorUnauthorized() *PatchCurrentIdentityAuthenticatorUnauthorized

NewPatchCurrentIdentityAuthenticatorUnauthorized creates a PatchCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*PatchCurrentIdentityAuthenticatorUnauthorized) Error

func (*PatchCurrentIdentityAuthenticatorUnauthorized) GetPayload

type UpdateCurrentIdentityAuthenticatorBadRequest

type UpdateCurrentIdentityAuthenticatorBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewUpdateCurrentIdentityAuthenticatorBadRequest

func NewUpdateCurrentIdentityAuthenticatorBadRequest() *UpdateCurrentIdentityAuthenticatorBadRequest

NewUpdateCurrentIdentityAuthenticatorBadRequest creates a UpdateCurrentIdentityAuthenticatorBadRequest with default headers values

func (*UpdateCurrentIdentityAuthenticatorBadRequest) Error

func (*UpdateCurrentIdentityAuthenticatorBadRequest) GetPayload

type UpdateCurrentIdentityAuthenticatorNotFound

type UpdateCurrentIdentityAuthenticatorNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewUpdateCurrentIdentityAuthenticatorNotFound

func NewUpdateCurrentIdentityAuthenticatorNotFound() *UpdateCurrentIdentityAuthenticatorNotFound

NewUpdateCurrentIdentityAuthenticatorNotFound creates a UpdateCurrentIdentityAuthenticatorNotFound with default headers values

func (*UpdateCurrentIdentityAuthenticatorNotFound) Error

func (*UpdateCurrentIdentityAuthenticatorNotFound) GetPayload

type UpdateCurrentIdentityAuthenticatorOK

type UpdateCurrentIdentityAuthenticatorOK struct {
	Payload *rest_model.Empty
}
UpdateCurrentIdentityAuthenticatorOK describes a response with status code 200, with default header values.

The update request was successful and the resource has been altered

func NewUpdateCurrentIdentityAuthenticatorOK

func NewUpdateCurrentIdentityAuthenticatorOK() *UpdateCurrentIdentityAuthenticatorOK

NewUpdateCurrentIdentityAuthenticatorOK creates a UpdateCurrentIdentityAuthenticatorOK with default headers values

func (*UpdateCurrentIdentityAuthenticatorOK) Error

func (*UpdateCurrentIdentityAuthenticatorOK) GetPayload

type UpdateCurrentIdentityAuthenticatorParams

type UpdateCurrentIdentityAuthenticatorParams struct {

	/* Authenticator.

	   An authenticator put object
	*/
	Authenticator *rest_model.AuthenticatorUpdateWithCurrent

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

UpdateCurrentIdentityAuthenticatorParams contains all the parameters to send to the API endpoint

for the update current identity authenticator operation.

Typically these are written to a http.Request.

func NewUpdateCurrentIdentityAuthenticatorParams

func NewUpdateCurrentIdentityAuthenticatorParams() *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParams creates a new UpdateCurrentIdentityAuthenticatorParams object, with the default timeout for this client.

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

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

func NewUpdateCurrentIdentityAuthenticatorParamsWithContext

func NewUpdateCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParamsWithContext creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a context for a request.

func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient

func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout

func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout creates a new UpdateCurrentIdentityAuthenticatorParams object with the ability to set a timeout on a request.

func (*UpdateCurrentIdentityAuthenticatorParams) SetAuthenticator

SetAuthenticator adds the authenticator to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetDefaults

SetDefaults hydrates default values in the update current identity authenticator params (not the query body).

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

func (*UpdateCurrentIdentityAuthenticatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetID

SetID adds the id to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetTimeout

SetTimeout adds the timeout to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator

WithAuthenticator adds the authenticator to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithDefaults

WithDefaults hydrates default values in the update current identity authenticator params (not the query body).

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

func (*UpdateCurrentIdentityAuthenticatorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithID

WithID adds the id to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithTimeout

WithTimeout adds the timeout to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCurrentIdentityAuthenticatorReader

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

UpdateCurrentIdentityAuthenticatorReader is a Reader for the UpdateCurrentIdentityAuthenticator structure.

func (*UpdateCurrentIdentityAuthenticatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCurrentIdentityAuthenticatorUnauthorized

type UpdateCurrentIdentityAuthenticatorUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCurrentIdentityAuthenticatorUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewUpdateCurrentIdentityAuthenticatorUnauthorized

func NewUpdateCurrentIdentityAuthenticatorUnauthorized() *UpdateCurrentIdentityAuthenticatorUnauthorized

NewUpdateCurrentIdentityAuthenticatorUnauthorized creates a UpdateCurrentIdentityAuthenticatorUnauthorized with default headers values

func (*UpdateCurrentIdentityAuthenticatorUnauthorized) Error

func (*UpdateCurrentIdentityAuthenticatorUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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