current_api_session

package
v0.17.15 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 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) (*DeleteCurrentAPISessionOK, error)

DeleteCurrentAPISession logouts

Terminates the current API session

func (*Client) DetailCurrentIdentityAuthenticator

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) (*GetCurrentAPISessionOK, error)

GetCurrentAPISession returns the current API session

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

func (*Client) GetCurrentIdentity

func (a *Client) GetCurrentIdentity(params *GetCurrentIdentityParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentIdentityOK, error)

GetCurrentIdentity returns the current identity

Returns the identity associated with the API sessions used to issue the current request

func (*Client) ListCurrentIdentityAuthenticators

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

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

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 ClientService

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 handles this case 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 values initialized.

func NewDeleteCurrentAPISessionParamsWithContext

func NewDeleteCurrentAPISessionParamsWithContext(ctx context.Context) *DeleteCurrentAPISessionParams

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

func NewDetailCurrentIdentityAuthenticatorParamsWithContext

func NewDetailCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams

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

func NewGetCurrentAPISessionParamsWithContext

func NewGetCurrentAPISessionParamsWithContext(ctx context.Context) *GetCurrentAPISessionParams

NewGetCurrentAPISessionParamsWithContext creates a new GetCurrentAPISessionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 GetCurrentIdentityOK

type GetCurrentIdentityOK struct {
	Payload *rest_model.CurrentIdentityDetailEnvelope
}

GetCurrentIdentityOK handles this case with default header values.

The identity associated with the API Session used to issue the request

func NewGetCurrentIdentityOK

func NewGetCurrentIdentityOK() *GetCurrentIdentityOK

NewGetCurrentIdentityOK creates a GetCurrentIdentityOK with default headers values

func (*GetCurrentIdentityOK) Error

func (o *GetCurrentIdentityOK) Error() string

func (*GetCurrentIdentityOK) GetPayload

type GetCurrentIdentityParams

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

GetCurrentIdentityParams contains all the parameters to send to the API endpoint for the get current identity operation typically these are written to a http.Request

func NewGetCurrentIdentityParams

func NewGetCurrentIdentityParams() *GetCurrentIdentityParams

NewGetCurrentIdentityParams creates a new GetCurrentIdentityParams object with the default values initialized.

func NewGetCurrentIdentityParamsWithContext

func NewGetCurrentIdentityParamsWithContext(ctx context.Context) *GetCurrentIdentityParams

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

func NewGetCurrentIdentityParamsWithHTTPClient

func NewGetCurrentIdentityParamsWithHTTPClient(client *http.Client) *GetCurrentIdentityParams

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

func NewGetCurrentIdentityParamsWithTimeout

func NewGetCurrentIdentityParamsWithTimeout(timeout time.Duration) *GetCurrentIdentityParams

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

func (*GetCurrentIdentityParams) SetContext

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

SetContext adds the context to the get current identity params

func (*GetCurrentIdentityParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get current identity params

func (*GetCurrentIdentityParams) SetTimeout

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

SetTimeout adds the timeout to the get current identity params

func (*GetCurrentIdentityParams) WithContext

WithContext adds the context to the get current identity params

func (*GetCurrentIdentityParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get current identity params

func (*GetCurrentIdentityParams) WithTimeout

WithTimeout adds the timeout to the get current identity params

func (*GetCurrentIdentityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrentIdentityReader

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

GetCurrentIdentityReader is a Reader for the GetCurrentIdentity structure.

func (*GetCurrentIdentityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrentIdentityUnauthorized

type GetCurrentIdentityUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}

GetCurrentIdentityUnauthorized handles this case with default header values.

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

func NewGetCurrentIdentityUnauthorized

func NewGetCurrentIdentityUnauthorized() *GetCurrentIdentityUnauthorized

NewGetCurrentIdentityUnauthorized creates a GetCurrentIdentityUnauthorized with default headers values

func (*GetCurrentIdentityUnauthorized) Error

func (*GetCurrentIdentityUnauthorized) GetPayload

type ListCurrentIdentityAuthenticatorsOK

type ListCurrentIdentityAuthenticatorsOK struct {
	Payload *rest_model.ListAuthenticatorsEnvelope
}

ListCurrentIdentityAuthenticatorsOK handles this case 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 values initialized.

func NewListCurrentIdentityAuthenticatorsParamsWithContext

func NewListCurrentIdentityAuthenticatorsParamsWithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams

NewListCurrentIdentityAuthenticatorsParamsWithContext creates a new ListCurrentIdentityAuthenticatorsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  An authenticator patch object

	*/
	Body *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 values initialized.

func NewPatchCurrentIdentityAuthenticatorParamsWithContext

func NewPatchCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams

NewPatchCurrentIdentityAuthenticatorParamsWithContext creates a new PatchCurrentIdentityAuthenticatorParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*PatchCurrentIdentityAuthenticatorParams) SetBody

SetBody adds the body to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the patch current identity authenticator params

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

WithBody adds the body to the patch current identity authenticator params

func (*PatchCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the patch current identity authenticator params

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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 {

	/*Body
	  An authenticator put object

	*/
	Body *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 values initialized.

func NewUpdateCurrentIdentityAuthenticatorParamsWithContext

func NewUpdateCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams

NewUpdateCurrentIdentityAuthenticatorParamsWithContext creates a new UpdateCurrentIdentityAuthenticatorParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdateCurrentIdentityAuthenticatorParams) SetBody

SetBody adds the body to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) SetContext

SetContext adds the context to the update current identity authenticator params

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

WithBody adds the body to the update current identity authenticator params

func (*UpdateCurrentIdentityAuthenticatorParams) WithContext

WithContext adds the context to the update current identity authenticator params

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