current_api_session

package
v0.19.168 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 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) DeleteCurrentAPISession

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

DeleteCurrentAPISession logouts

Terminates the current API session

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) 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) 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) 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)

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

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

	ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCurrentIdentityAuthenticatorsOK, 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 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 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 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 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 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