Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteCurrentAPISession(params *DeleteCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCurrentAPISessionOK, error)
- func (a *Client) DetailCurrentIdentityAuthenticator(params *DetailCurrentIdentityAuthenticatorParams, ...) (*DetailCurrentIdentityAuthenticatorOK, error)
- func (a *Client) GetCurrentAPISession(params *GetCurrentAPISessionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCurrentAPISessionOK, error)
- func (a *Client) ListCurrentIdentityAuthenticators(params *ListCurrentIdentityAuthenticatorsParams, ...) (*ListCurrentIdentityAuthenticatorsOK, error)
- func (a *Client) PatchCurrentIdentityAuthenticator(params *PatchCurrentIdentityAuthenticatorParams, ...) (*PatchCurrentIdentityAuthenticatorOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCurrentIdentityAuthenticator(params *UpdateCurrentIdentityAuthenticatorParams, ...) (*UpdateCurrentIdentityAuthenticatorOK, error)
- type ClientOption
- type ClientService
- type DeleteCurrentAPISessionOK
- type DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParams() *DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParamsWithContext(ctx context.Context) *DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParamsWithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams
- func NewDeleteCurrentAPISessionParamsWithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) SetContext(ctx context.Context)
- func (o *DeleteCurrentAPISessionParams) SetDefaults()
- func (o *DeleteCurrentAPISessionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCurrentAPISessionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCurrentAPISessionParams) WithContext(ctx context.Context) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WithDefaults() *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams
- func (o *DeleteCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCurrentAPISessionReader
- type DeleteCurrentAPISessionUnauthorized
- type DetailCurrentIdentityAuthenticatorNotFound
- type DetailCurrentIdentityAuthenticatorOK
- type DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParams() *DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams
- func NewDetailCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *DetailCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *DetailCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *DetailCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *DetailCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *DetailCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithDefaults() *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithID(id string) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams
- func (o *DetailCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailCurrentIdentityAuthenticatorReader
- type DetailCurrentIdentityAuthenticatorUnauthorized
- type GetCurrentAPISessionOK
- type GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParams() *GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParamsWithContext(ctx context.Context) *GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParamsWithHTTPClient(client *http.Client) *GetCurrentAPISessionParams
- func NewGetCurrentAPISessionParamsWithTimeout(timeout time.Duration) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) SetContext(ctx context.Context)
- func (o *GetCurrentAPISessionParams) SetDefaults()
- func (o *GetCurrentAPISessionParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentAPISessionParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentAPISessionParams) WithContext(ctx context.Context) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WithDefaults() *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WithHTTPClient(client *http.Client) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WithTimeout(timeout time.Duration) *GetCurrentAPISessionParams
- func (o *GetCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentAPISessionReader
- type GetCurrentAPISessionUnauthorized
- type ListCurrentIdentityAuthenticatorsBadRequest
- type ListCurrentIdentityAuthenticatorsOK
- type ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParams() *ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParamsWithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams
- func NewListCurrentIdentityAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) SetContext(ctx context.Context)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetDefaults()
- func (o *ListCurrentIdentityAuthenticatorsParams) SetFilter(filter *string)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetHTTPClient(client *http.Client)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetLimit(limit *int64)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetOffset(offset *int64)
- func (o *ListCurrentIdentityAuthenticatorsParams) SetTimeout(timeout time.Duration)
- func (o *ListCurrentIdentityAuthenticatorsParams) WithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithDefaults() *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithFilter(filter *string) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithLimit(limit *int64) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithOffset(offset *int64) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams
- func (o *ListCurrentIdentityAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCurrentIdentityAuthenticatorsReader
- type ListCurrentIdentityAuthenticatorsUnauthorized
- type PatchCurrentIdentityAuthenticatorBadRequest
- type PatchCurrentIdentityAuthenticatorNotFound
- type PatchCurrentIdentityAuthenticatorOK
- type PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParams() *PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams
- func NewPatchCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *PatchCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *PatchCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *PatchCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithDefaults() *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithID(id string) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams
- func (o *PatchCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchCurrentIdentityAuthenticatorReader
- type PatchCurrentIdentityAuthenticatorUnauthorized
- type UpdateCurrentIdentityAuthenticatorBadRequest
- type UpdateCurrentIdentityAuthenticatorNotFound
- type UpdateCurrentIdentityAuthenticatorOK
- type UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParams() *UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParamsWithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams
- func NewUpdateCurrentIdentityAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetDefaults()
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetID(id string)
- func (o *UpdateCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithDefaults() *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithID(id string) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams
- func (o *UpdateCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCurrentIdentityAuthenticatorReader
- type UpdateCurrentIdentityAuthenticatorUnauthorized
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 ¶
func (o *DeleteCurrentAPISessionParams) WithContext(ctx context.Context) *DeleteCurrentAPISessionParams
WithContext adds the context to the delete current API session params
func (*DeleteCurrentAPISessionParams) WithDefaults ¶
func (o *DeleteCurrentAPISessionParams) WithDefaults() *DeleteCurrentAPISessionParams
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 ¶
func (o *DeleteCurrentAPISessionParams) WithHTTPClient(client *http.Client) *DeleteCurrentAPISessionParams
WithHTTPClient adds the HTTPClient to the delete current API session params
func (*DeleteCurrentAPISessionParams) WithTimeout ¶
func (o *DeleteCurrentAPISessionParams) WithTimeout(timeout time.Duration) *DeleteCurrentAPISessionParams
WithTimeout adds the timeout to the delete current API session params
func (*DeleteCurrentAPISessionParams) WriteToRequest ¶
func (o *DeleteCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteCurrentAPISessionUnauthorized) Error() string
func (*DeleteCurrentAPISessionUnauthorized) GetPayload ¶
func (o *DeleteCurrentAPISessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *DetailCurrentIdentityAuthenticatorNotFound) Error() string
func (*DetailCurrentIdentityAuthenticatorNotFound) GetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *DetailCurrentIdentityAuthenticatorOK) Error() string
func (*DetailCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.DetailAuthenticatorEnvelope
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 ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) SetDefaults ¶
func (o *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 ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetID(id string)
SetID adds the id to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) SetTimeout ¶
func (o *DetailCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *DetailCurrentIdentityAuthenticatorParams
WithContext adds the context to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithDefaults() *DetailCurrentIdentityAuthenticatorParams
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 ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *DetailCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithID ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithID(id string) *DetailCurrentIdentityAuthenticatorParams
WithID adds the id to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *DetailCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the detail current identity authenticator params
func (*DetailCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *DetailCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DetailCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*DetailCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *DetailCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 ¶
func (o *GetCurrentAPISessionOK) GetPayload() *rest_model.CurrentAPISessionDetailEnvelope
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 ¶
func (o *GetCurrentAPISessionParams) WithContext(ctx context.Context) *GetCurrentAPISessionParams
WithContext adds the context to the get current API session params
func (*GetCurrentAPISessionParams) WithDefaults ¶
func (o *GetCurrentAPISessionParams) WithDefaults() *GetCurrentAPISessionParams
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 ¶
func (o *GetCurrentAPISessionParams) WithHTTPClient(client *http.Client) *GetCurrentAPISessionParams
WithHTTPClient adds the HTTPClient to the get current API session params
func (*GetCurrentAPISessionParams) WithTimeout ¶
func (o *GetCurrentAPISessionParams) WithTimeout(timeout time.Duration) *GetCurrentAPISessionParams
WithTimeout adds the timeout to the get current API session params
func (*GetCurrentAPISessionParams) WriteToRequest ¶
func (o *GetCurrentAPISessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetCurrentAPISessionUnauthorized) Error() string
func (*GetCurrentAPISessionUnauthorized) GetPayload ¶
func (o *GetCurrentAPISessionUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *ListCurrentIdentityAuthenticatorsBadRequest) Error() string
func (*ListCurrentIdentityAuthenticatorsBadRequest) GetPayload ¶ added in v0.19.176
func (o *ListCurrentIdentityAuthenticatorsBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *ListCurrentIdentityAuthenticatorsOK) Error() string
func (*ListCurrentIdentityAuthenticatorsOK) GetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsOK) GetPayload() *rest_model.ListAuthenticatorsEnvelope
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 ¶
func (o *ListCurrentIdentityAuthenticatorsParams) SetContext(ctx context.Context)
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 ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithContext(ctx context.Context) *ListCurrentIdentityAuthenticatorsParams
WithContext adds the context to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithDefaults ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithDefaults() *ListCurrentIdentityAuthenticatorsParams
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 ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithFilter(filter *string) *ListCurrentIdentityAuthenticatorsParams
WithFilter adds the filter to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithHTTPClient ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithHTTPClient(client *http.Client) *ListCurrentIdentityAuthenticatorsParams
WithHTTPClient adds the HTTPClient to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithLimit ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithLimit(limit *int64) *ListCurrentIdentityAuthenticatorsParams
WithLimit adds the limit to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithOffset ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithOffset(offset *int64) *ListCurrentIdentityAuthenticatorsParams
WithOffset adds the offset to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WithTimeout ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WithTimeout(timeout time.Duration) *ListCurrentIdentityAuthenticatorsParams
WithTimeout adds the timeout to the list current identity authenticators params
func (*ListCurrentIdentityAuthenticatorsParams) WriteToRequest ¶
func (o *ListCurrentIdentityAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListCurrentIdentityAuthenticatorsUnauthorized) Error() string
func (*ListCurrentIdentityAuthenticatorsUnauthorized) GetPayload ¶
func (o *ListCurrentIdentityAuthenticatorsUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *PatchCurrentIdentityAuthenticatorBadRequest) Error() string
func (*PatchCurrentIdentityAuthenticatorBadRequest) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *PatchCurrentIdentityAuthenticatorNotFound) Error() string
func (*PatchCurrentIdentityAuthenticatorNotFound) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *PatchCurrentIdentityAuthenticatorOK) Error() string
func (*PatchCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
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 ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent)
SetAuthenticator adds the authenticator to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) SetContext ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
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 ¶
func (o *PatchCurrentIdentityAuthenticatorParams) SetID(id string)
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 ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorPatchWithCurrent) *PatchCurrentIdentityAuthenticatorParams
WithAuthenticator adds the authenticator to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *PatchCurrentIdentityAuthenticatorParams
WithContext adds the context to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithDefaults() *PatchCurrentIdentityAuthenticatorParams
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 ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *PatchCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithID ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithID(id string) *PatchCurrentIdentityAuthenticatorParams
WithID adds the id to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *PatchCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the patch current identity authenticator params
func (*PatchCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *PatchCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PatchCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*PatchCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *PatchCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
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 (o *UpdateCurrentIdentityAuthenticatorBadRequest) Error() string
func (*UpdateCurrentIdentityAuthenticatorBadRequest) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
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 (o *UpdateCurrentIdentityAuthenticatorNotFound) Error() string
func (*UpdateCurrentIdentityAuthenticatorNotFound) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
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 (o *UpdateCurrentIdentityAuthenticatorOK) Error() string
func (*UpdateCurrentIdentityAuthenticatorOK) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorOK) GetPayload() *rest_model.Empty
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 ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent)
SetAuthenticator adds the authenticator to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) SetContext ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetID(id string)
SetID adds the id to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) SetTimeout ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorUpdateWithCurrent) *UpdateCurrentIdentityAuthenticatorParams
WithAuthenticator adds the authenticator to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithContext ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithContext(ctx context.Context) *UpdateCurrentIdentityAuthenticatorParams
WithContext adds the context to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithDefaults ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithDefaults() *UpdateCurrentIdentityAuthenticatorParams
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 ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithHTTPClient(client *http.Client) *UpdateCurrentIdentityAuthenticatorParams
WithHTTPClient adds the HTTPClient to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithID ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithID(id string) *UpdateCurrentIdentityAuthenticatorParams
WithID adds the id to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WithTimeout ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WithTimeout(timeout time.Duration) *UpdateCurrentIdentityAuthenticatorParams
WithTimeout adds the timeout to the update current identity authenticator params
func (*UpdateCurrentIdentityAuthenticatorParams) WriteToRequest ¶
func (o *UpdateCurrentIdentityAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *UpdateCurrentIdentityAuthenticatorUnauthorized) Error() string
func (*UpdateCurrentIdentityAuthenticatorUnauthorized) GetPayload ¶
func (o *UpdateCurrentIdentityAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- current_api_session_client.go
- delete_current_api_session_parameters.go
- delete_current_api_session_responses.go
- detail_current_identity_authenticator_parameters.go
- detail_current_identity_authenticator_responses.go
- get_current_api_session_parameters.go
- get_current_api_session_responses.go
- list_current_identity_authenticators_parameters.go
- list_current_identity_authenticators_responses.go
- patch_current_identity_authenticator_parameters.go
- patch_current_identity_authenticator_responses.go
- update_current_identity_authenticator_parameters.go
- update_current_identity_authenticator_responses.go