Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateAuthenticator(params *CreateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAuthenticatorCreated, error)
- func (a *Client) DeleteAuthenticator(params *DeleteAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAuthenticatorOK, error)
- func (a *Client) DetailAuthenticator(params *DetailAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DetailAuthenticatorOK, error)
- func (a *Client) ListAuthenticators(params *ListAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAuthenticatorsOK, error)
- func (a *Client) PatchAuthenticator(params *PatchAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAuthenticatorOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateAuthenticator(params *UpdateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateAuthenticatorOK, error)
- type ClientOption
- type ClientService
- type CreateAuthenticatorBadRequest
- type CreateAuthenticatorCreated
- type CreateAuthenticatorParams
- func NewCreateAuthenticatorParams() *CreateAuthenticatorParams
- func NewCreateAuthenticatorParamsWithContext(ctx context.Context) *CreateAuthenticatorParams
- func NewCreateAuthenticatorParamsWithHTTPClient(client *http.Client) *CreateAuthenticatorParams
- func NewCreateAuthenticatorParamsWithTimeout(timeout time.Duration) *CreateAuthenticatorParams
- func (o *CreateAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorCreate)
- func (o *CreateAuthenticatorParams) SetContext(ctx context.Context)
- func (o *CreateAuthenticatorParams) SetDefaults()
- func (o *CreateAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *CreateAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *CreateAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorCreate) *CreateAuthenticatorParams
- func (o *CreateAuthenticatorParams) WithContext(ctx context.Context) *CreateAuthenticatorParams
- func (o *CreateAuthenticatorParams) WithDefaults() *CreateAuthenticatorParams
- func (o *CreateAuthenticatorParams) WithHTTPClient(client *http.Client) *CreateAuthenticatorParams
- func (o *CreateAuthenticatorParams) WithTimeout(timeout time.Duration) *CreateAuthenticatorParams
- func (o *CreateAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAuthenticatorReader
- type CreateAuthenticatorUnauthorized
- type DeleteAuthenticatorBadRequest
- type DeleteAuthenticatorOK
- type DeleteAuthenticatorParams
- func NewDeleteAuthenticatorParams() *DeleteAuthenticatorParams
- func NewDeleteAuthenticatorParamsWithContext(ctx context.Context) *DeleteAuthenticatorParams
- func NewDeleteAuthenticatorParamsWithHTTPClient(client *http.Client) *DeleteAuthenticatorParams
- func NewDeleteAuthenticatorParamsWithTimeout(timeout time.Duration) *DeleteAuthenticatorParams
- func (o *DeleteAuthenticatorParams) SetContext(ctx context.Context)
- func (o *DeleteAuthenticatorParams) SetDefaults()
- func (o *DeleteAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAuthenticatorParams) SetID(id string)
- func (o *DeleteAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAuthenticatorParams) WithContext(ctx context.Context) *DeleteAuthenticatorParams
- func (o *DeleteAuthenticatorParams) WithDefaults() *DeleteAuthenticatorParams
- func (o *DeleteAuthenticatorParams) WithHTTPClient(client *http.Client) *DeleteAuthenticatorParams
- func (o *DeleteAuthenticatorParams) WithID(id string) *DeleteAuthenticatorParams
- func (o *DeleteAuthenticatorParams) WithTimeout(timeout time.Duration) *DeleteAuthenticatorParams
- func (o *DeleteAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAuthenticatorReader
- type DeleteAuthenticatorUnauthorized
- type DetailAuthenticatorNotFound
- type DetailAuthenticatorOK
- type DetailAuthenticatorParams
- func NewDetailAuthenticatorParams() *DetailAuthenticatorParams
- func NewDetailAuthenticatorParamsWithContext(ctx context.Context) *DetailAuthenticatorParams
- func NewDetailAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailAuthenticatorParams
- func NewDetailAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailAuthenticatorParams
- func (o *DetailAuthenticatorParams) SetContext(ctx context.Context)
- func (o *DetailAuthenticatorParams) SetDefaults()
- func (o *DetailAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *DetailAuthenticatorParams) SetID(id string)
- func (o *DetailAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *DetailAuthenticatorParams) WithContext(ctx context.Context) *DetailAuthenticatorParams
- func (o *DetailAuthenticatorParams) WithDefaults() *DetailAuthenticatorParams
- func (o *DetailAuthenticatorParams) WithHTTPClient(client *http.Client) *DetailAuthenticatorParams
- func (o *DetailAuthenticatorParams) WithID(id string) *DetailAuthenticatorParams
- func (o *DetailAuthenticatorParams) WithTimeout(timeout time.Duration) *DetailAuthenticatorParams
- func (o *DetailAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailAuthenticatorReader
- type DetailAuthenticatorUnauthorized
- type ListAuthenticatorsOK
- type ListAuthenticatorsParams
- func NewListAuthenticatorsParams() *ListAuthenticatorsParams
- func NewListAuthenticatorsParamsWithContext(ctx context.Context) *ListAuthenticatorsParams
- func NewListAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListAuthenticatorsParams
- func NewListAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListAuthenticatorsParams
- func (o *ListAuthenticatorsParams) SetContext(ctx context.Context)
- func (o *ListAuthenticatorsParams) SetDefaults()
- func (o *ListAuthenticatorsParams) SetHTTPClient(client *http.Client)
- func (o *ListAuthenticatorsParams) SetTimeout(timeout time.Duration)
- func (o *ListAuthenticatorsParams) WithContext(ctx context.Context) *ListAuthenticatorsParams
- func (o *ListAuthenticatorsParams) WithDefaults() *ListAuthenticatorsParams
- func (o *ListAuthenticatorsParams) WithHTTPClient(client *http.Client) *ListAuthenticatorsParams
- func (o *ListAuthenticatorsParams) WithTimeout(timeout time.Duration) *ListAuthenticatorsParams
- func (o *ListAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAuthenticatorsReader
- type PatchAuthenticatorBadRequest
- type PatchAuthenticatorNotFound
- type PatchAuthenticatorOK
- type PatchAuthenticatorParams
- func NewPatchAuthenticatorParams() *PatchAuthenticatorParams
- func NewPatchAuthenticatorParamsWithContext(ctx context.Context) *PatchAuthenticatorParams
- func NewPatchAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchAuthenticatorParams
- func NewPatchAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchAuthenticatorParams
- func (o *PatchAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorPatch)
- func (o *PatchAuthenticatorParams) SetContext(ctx context.Context)
- func (o *PatchAuthenticatorParams) SetDefaults()
- func (o *PatchAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *PatchAuthenticatorParams) SetID(id string)
- func (o *PatchAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *PatchAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorPatch) *PatchAuthenticatorParams
- func (o *PatchAuthenticatorParams) WithContext(ctx context.Context) *PatchAuthenticatorParams
- func (o *PatchAuthenticatorParams) WithDefaults() *PatchAuthenticatorParams
- func (o *PatchAuthenticatorParams) WithHTTPClient(client *http.Client) *PatchAuthenticatorParams
- func (o *PatchAuthenticatorParams) WithID(id string) *PatchAuthenticatorParams
- func (o *PatchAuthenticatorParams) WithTimeout(timeout time.Duration) *PatchAuthenticatorParams
- func (o *PatchAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAuthenticatorReader
- type PatchAuthenticatorUnauthorized
- type UpdateAuthenticatorBadRequest
- type UpdateAuthenticatorNotFound
- type UpdateAuthenticatorOK
- type UpdateAuthenticatorParams
- func NewUpdateAuthenticatorParams() *UpdateAuthenticatorParams
- func NewUpdateAuthenticatorParamsWithContext(ctx context.Context) *UpdateAuthenticatorParams
- func NewUpdateAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateAuthenticatorParams
- func NewUpdateAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateAuthenticatorParams
- func (o *UpdateAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorUpdate)
- func (o *UpdateAuthenticatorParams) SetContext(ctx context.Context)
- func (o *UpdateAuthenticatorParams) SetDefaults()
- func (o *UpdateAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *UpdateAuthenticatorParams) SetID(id string)
- func (o *UpdateAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *UpdateAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorUpdate) *UpdateAuthenticatorParams
- func (o *UpdateAuthenticatorParams) WithContext(ctx context.Context) *UpdateAuthenticatorParams
- func (o *UpdateAuthenticatorParams) WithDefaults() *UpdateAuthenticatorParams
- func (o *UpdateAuthenticatorParams) WithHTTPClient(client *http.Client) *UpdateAuthenticatorParams
- func (o *UpdateAuthenticatorParams) WithID(id string) *UpdateAuthenticatorParams
- func (o *UpdateAuthenticatorParams) WithTimeout(timeout time.Duration) *UpdateAuthenticatorParams
- func (o *UpdateAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateAuthenticatorReader
- type UpdateAuthenticatorUnauthorized
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 authenticator API
func (*Client) CreateAuthenticator ¶
func (a *Client) CreateAuthenticator(params *CreateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthenticatorCreated, error)
CreateAuthenticator creates an authenticator
Creates an authenticator for a specific identity. Requires admin access.
func (*Client) DeleteAuthenticator ¶
func (a *Client) DeleteAuthenticator(params *DeleteAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthenticatorOK, error)
DeleteAuthenticator deletes an authenticator Delete an authenticator by id. Deleting all authenticators for an identity will make it impossible to log in.
Requires admin access.
func (*Client) DetailAuthenticator ¶
func (a *Client) DetailAuthenticator(params *DetailAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailAuthenticatorOK, error)
DetailAuthenticator retrieves a single authenticator
Retrieves a single authenticator by id. Requires admin access.
func (*Client) ListAuthenticators ¶
func (a *Client) ListAuthenticators(params *ListAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAuthenticatorsOK, error)
ListAuthenticators lists authenticators Returns a list of authenticators associated to identities. The resources can be sorted, filtered, and paginated.
This endpoint requries admin access.
func (*Client) PatchAuthenticator ¶
func (a *Client) PatchAuthenticator(params *PatchAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAuthenticatorOK, error)
PatchAuthenticator updates the supplied fields on an authenticator
Update the supplied fields on an authenticator by id. Requires admin access.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateAuthenticator ¶
func (a *Client) UpdateAuthenticator(params *UpdateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthenticatorOK, error)
UpdateAuthenticator updates all fields on an authenticator
Update all fields on an authenticator by id. Requires admin access.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAuthenticator(params *CreateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthenticatorCreated, error) DeleteAuthenticator(params *DeleteAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthenticatorOK, error) DetailAuthenticator(params *DetailAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailAuthenticatorOK, error) ListAuthenticators(params *ListAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAuthenticatorsOK, error) PatchAuthenticator(params *PatchAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAuthenticatorOK, error) UpdateAuthenticator(params *UpdateAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateAuthenticatorOK, 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 authenticator API client.
type CreateAuthenticatorBadRequest ¶
type CreateAuthenticatorBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
CreateAuthenticatorBadRequest 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 NewCreateAuthenticatorBadRequest ¶
func NewCreateAuthenticatorBadRequest() *CreateAuthenticatorBadRequest
NewCreateAuthenticatorBadRequest creates a CreateAuthenticatorBadRequest with default headers values
func (*CreateAuthenticatorBadRequest) Error ¶
func (o *CreateAuthenticatorBadRequest) Error() string
func (*CreateAuthenticatorBadRequest) GetPayload ¶
func (o *CreateAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateAuthenticatorCreated ¶
type CreateAuthenticatorCreated struct {
Payload *rest_model.AuthenticatorCreate
}
CreateAuthenticatorCreated describes a response with status code 201, with default header values.
The create was successful
func NewCreateAuthenticatorCreated ¶
func NewCreateAuthenticatorCreated() *CreateAuthenticatorCreated
NewCreateAuthenticatorCreated creates a CreateAuthenticatorCreated with default headers values
func (*CreateAuthenticatorCreated) Error ¶
func (o *CreateAuthenticatorCreated) Error() string
func (*CreateAuthenticatorCreated) GetPayload ¶
func (o *CreateAuthenticatorCreated) GetPayload() *rest_model.AuthenticatorCreate
type CreateAuthenticatorParams ¶
type CreateAuthenticatorParams struct { /* Authenticator. A Authenticator create object */ Authenticator *rest_model.AuthenticatorCreate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAuthenticatorParams contains all the parameters to send to the API endpoint
for the create authenticator operation. Typically these are written to a http.Request.
func NewCreateAuthenticatorParams ¶
func NewCreateAuthenticatorParams() *CreateAuthenticatorParams
NewCreateAuthenticatorParams creates a new CreateAuthenticatorParams 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 NewCreateAuthenticatorParamsWithContext ¶
func NewCreateAuthenticatorParamsWithContext(ctx context.Context) *CreateAuthenticatorParams
NewCreateAuthenticatorParamsWithContext creates a new CreateAuthenticatorParams object with the ability to set a context for a request.
func NewCreateAuthenticatorParamsWithHTTPClient ¶
func NewCreateAuthenticatorParamsWithHTTPClient(client *http.Client) *CreateAuthenticatorParams
NewCreateAuthenticatorParamsWithHTTPClient creates a new CreateAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAuthenticatorParamsWithTimeout ¶
func NewCreateAuthenticatorParamsWithTimeout(timeout time.Duration) *CreateAuthenticatorParams
NewCreateAuthenticatorParamsWithTimeout creates a new CreateAuthenticatorParams object with the ability to set a timeout on a request.
func (*CreateAuthenticatorParams) SetAuthenticator ¶
func (o *CreateAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorCreate)
SetAuthenticator adds the authenticator to the create authenticator params
func (*CreateAuthenticatorParams) SetContext ¶
func (o *CreateAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the create authenticator params
func (*CreateAuthenticatorParams) SetDefaults ¶
func (o *CreateAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the create authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAuthenticatorParams) SetHTTPClient ¶
func (o *CreateAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create authenticator params
func (*CreateAuthenticatorParams) SetTimeout ¶
func (o *CreateAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create authenticator params
func (*CreateAuthenticatorParams) WithAuthenticator ¶
func (o *CreateAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorCreate) *CreateAuthenticatorParams
WithAuthenticator adds the authenticator to the create authenticator params
func (*CreateAuthenticatorParams) WithContext ¶
func (o *CreateAuthenticatorParams) WithContext(ctx context.Context) *CreateAuthenticatorParams
WithContext adds the context to the create authenticator params
func (*CreateAuthenticatorParams) WithDefaults ¶
func (o *CreateAuthenticatorParams) WithDefaults() *CreateAuthenticatorParams
WithDefaults hydrates default values in the create authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAuthenticatorParams) WithHTTPClient ¶
func (o *CreateAuthenticatorParams) WithHTTPClient(client *http.Client) *CreateAuthenticatorParams
WithHTTPClient adds the HTTPClient to the create authenticator params
func (*CreateAuthenticatorParams) WithTimeout ¶
func (o *CreateAuthenticatorParams) WithTimeout(timeout time.Duration) *CreateAuthenticatorParams
WithTimeout adds the timeout to the create authenticator params
func (*CreateAuthenticatorParams) WriteToRequest ¶
func (o *CreateAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAuthenticatorReader ¶
type CreateAuthenticatorReader struct {
// contains filtered or unexported fields
}
CreateAuthenticatorReader is a Reader for the CreateAuthenticator structure.
func (*CreateAuthenticatorReader) ReadResponse ¶
func (o *CreateAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateAuthenticatorUnauthorized ¶
type CreateAuthenticatorUnauthorized struct {
}CreateAuthenticatorUnauthorized 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 NewCreateAuthenticatorUnauthorized ¶
func NewCreateAuthenticatorUnauthorized() *CreateAuthenticatorUnauthorized
NewCreateAuthenticatorUnauthorized creates a CreateAuthenticatorUnauthorized with default headers values
func (*CreateAuthenticatorUnauthorized) Error ¶
func (o *CreateAuthenticatorUnauthorized) Error() string
func (*CreateAuthenticatorUnauthorized) GetPayload ¶
func (o *CreateAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteAuthenticatorBadRequest ¶
type DeleteAuthenticatorBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteAuthenticatorBadRequest 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 NewDeleteAuthenticatorBadRequest ¶
func NewDeleteAuthenticatorBadRequest() *DeleteAuthenticatorBadRequest
NewDeleteAuthenticatorBadRequest creates a DeleteAuthenticatorBadRequest with default headers values
func (*DeleteAuthenticatorBadRequest) Error ¶
func (o *DeleteAuthenticatorBadRequest) Error() string
func (*DeleteAuthenticatorBadRequest) GetPayload ¶
func (o *DeleteAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteAuthenticatorOK ¶
type DeleteAuthenticatorOK struct {
Payload *rest_model.Empty
}
DeleteAuthenticatorOK describes a response with status code 200, with default header values.
The delete request was successful and the resource has been removed
func NewDeleteAuthenticatorOK ¶
func NewDeleteAuthenticatorOK() *DeleteAuthenticatorOK
NewDeleteAuthenticatorOK creates a DeleteAuthenticatorOK with default headers values
func (*DeleteAuthenticatorOK) Error ¶
func (o *DeleteAuthenticatorOK) Error() string
func (*DeleteAuthenticatorOK) GetPayload ¶
func (o *DeleteAuthenticatorOK) GetPayload() *rest_model.Empty
type DeleteAuthenticatorParams ¶
type DeleteAuthenticatorParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAuthenticatorParams contains all the parameters to send to the API endpoint
for the delete authenticator operation. Typically these are written to a http.Request.
func NewDeleteAuthenticatorParams ¶
func NewDeleteAuthenticatorParams() *DeleteAuthenticatorParams
NewDeleteAuthenticatorParams creates a new DeleteAuthenticatorParams 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 NewDeleteAuthenticatorParamsWithContext ¶
func NewDeleteAuthenticatorParamsWithContext(ctx context.Context) *DeleteAuthenticatorParams
NewDeleteAuthenticatorParamsWithContext creates a new DeleteAuthenticatorParams object with the ability to set a context for a request.
func NewDeleteAuthenticatorParamsWithHTTPClient ¶
func NewDeleteAuthenticatorParamsWithHTTPClient(client *http.Client) *DeleteAuthenticatorParams
NewDeleteAuthenticatorParamsWithHTTPClient creates a new DeleteAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAuthenticatorParamsWithTimeout ¶
func NewDeleteAuthenticatorParamsWithTimeout(timeout time.Duration) *DeleteAuthenticatorParams
NewDeleteAuthenticatorParamsWithTimeout creates a new DeleteAuthenticatorParams object with the ability to set a timeout on a request.
func (*DeleteAuthenticatorParams) SetContext ¶
func (o *DeleteAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the delete authenticator params
func (*DeleteAuthenticatorParams) SetDefaults ¶
func (o *DeleteAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the delete authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAuthenticatorParams) SetHTTPClient ¶
func (o *DeleteAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete authenticator params
func (*DeleteAuthenticatorParams) SetID ¶
func (o *DeleteAuthenticatorParams) SetID(id string)
SetID adds the id to the delete authenticator params
func (*DeleteAuthenticatorParams) SetTimeout ¶
func (o *DeleteAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete authenticator params
func (*DeleteAuthenticatorParams) WithContext ¶
func (o *DeleteAuthenticatorParams) WithContext(ctx context.Context) *DeleteAuthenticatorParams
WithContext adds the context to the delete authenticator params
func (*DeleteAuthenticatorParams) WithDefaults ¶
func (o *DeleteAuthenticatorParams) WithDefaults() *DeleteAuthenticatorParams
WithDefaults hydrates default values in the delete authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAuthenticatorParams) WithHTTPClient ¶
func (o *DeleteAuthenticatorParams) WithHTTPClient(client *http.Client) *DeleteAuthenticatorParams
WithHTTPClient adds the HTTPClient to the delete authenticator params
func (*DeleteAuthenticatorParams) WithID ¶
func (o *DeleteAuthenticatorParams) WithID(id string) *DeleteAuthenticatorParams
WithID adds the id to the delete authenticator params
func (*DeleteAuthenticatorParams) WithTimeout ¶
func (o *DeleteAuthenticatorParams) WithTimeout(timeout time.Duration) *DeleteAuthenticatorParams
WithTimeout adds the timeout to the delete authenticator params
func (*DeleteAuthenticatorParams) WriteToRequest ¶
func (o *DeleteAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAuthenticatorReader ¶
type DeleteAuthenticatorReader struct {
// contains filtered or unexported fields
}
DeleteAuthenticatorReader is a Reader for the DeleteAuthenticator structure.
func (*DeleteAuthenticatorReader) ReadResponse ¶
func (o *DeleteAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAuthenticatorUnauthorized ¶
type DeleteAuthenticatorUnauthorized struct {
}DeleteAuthenticatorUnauthorized 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 NewDeleteAuthenticatorUnauthorized ¶
func NewDeleteAuthenticatorUnauthorized() *DeleteAuthenticatorUnauthorized
NewDeleteAuthenticatorUnauthorized creates a DeleteAuthenticatorUnauthorized with default headers values
func (*DeleteAuthenticatorUnauthorized) Error ¶
func (o *DeleteAuthenticatorUnauthorized) Error() string
func (*DeleteAuthenticatorUnauthorized) GetPayload ¶
func (o *DeleteAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailAuthenticatorNotFound ¶
type DetailAuthenticatorNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailAuthenticatorNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewDetailAuthenticatorNotFound ¶
func NewDetailAuthenticatorNotFound() *DetailAuthenticatorNotFound
NewDetailAuthenticatorNotFound creates a DetailAuthenticatorNotFound with default headers values
func (*DetailAuthenticatorNotFound) Error ¶
func (o *DetailAuthenticatorNotFound) Error() string
func (*DetailAuthenticatorNotFound) GetPayload ¶
func (o *DetailAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
type DetailAuthenticatorOK ¶
type DetailAuthenticatorOK struct {
Payload *rest_model.DetailAuthenticatorEnvelope
}
DetailAuthenticatorOK describes a response with status code 200, with default header values.
A singular authenticator resource
func NewDetailAuthenticatorOK ¶
func NewDetailAuthenticatorOK() *DetailAuthenticatorOK
NewDetailAuthenticatorOK creates a DetailAuthenticatorOK with default headers values
func (*DetailAuthenticatorOK) Error ¶
func (o *DetailAuthenticatorOK) Error() string
func (*DetailAuthenticatorOK) GetPayload ¶
func (o *DetailAuthenticatorOK) GetPayload() *rest_model.DetailAuthenticatorEnvelope
type DetailAuthenticatorParams ¶
type DetailAuthenticatorParams struct { /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DetailAuthenticatorParams contains all the parameters to send to the API endpoint
for the detail authenticator operation. Typically these are written to a http.Request.
func NewDetailAuthenticatorParams ¶
func NewDetailAuthenticatorParams() *DetailAuthenticatorParams
NewDetailAuthenticatorParams creates a new DetailAuthenticatorParams 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 NewDetailAuthenticatorParamsWithContext ¶
func NewDetailAuthenticatorParamsWithContext(ctx context.Context) *DetailAuthenticatorParams
NewDetailAuthenticatorParamsWithContext creates a new DetailAuthenticatorParams object with the ability to set a context for a request.
func NewDetailAuthenticatorParamsWithHTTPClient ¶
func NewDetailAuthenticatorParamsWithHTTPClient(client *http.Client) *DetailAuthenticatorParams
NewDetailAuthenticatorParamsWithHTTPClient creates a new DetailAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewDetailAuthenticatorParamsWithTimeout ¶
func NewDetailAuthenticatorParamsWithTimeout(timeout time.Duration) *DetailAuthenticatorParams
NewDetailAuthenticatorParamsWithTimeout creates a new DetailAuthenticatorParams object with the ability to set a timeout on a request.
func (*DetailAuthenticatorParams) SetContext ¶
func (o *DetailAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the detail authenticator params
func (*DetailAuthenticatorParams) SetDefaults ¶
func (o *DetailAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the detail authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*DetailAuthenticatorParams) SetHTTPClient ¶
func (o *DetailAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the detail authenticator params
func (*DetailAuthenticatorParams) SetID ¶
func (o *DetailAuthenticatorParams) SetID(id string)
SetID adds the id to the detail authenticator params
func (*DetailAuthenticatorParams) SetTimeout ¶
func (o *DetailAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the detail authenticator params
func (*DetailAuthenticatorParams) WithContext ¶
func (o *DetailAuthenticatorParams) WithContext(ctx context.Context) *DetailAuthenticatorParams
WithContext adds the context to the detail authenticator params
func (*DetailAuthenticatorParams) WithDefaults ¶
func (o *DetailAuthenticatorParams) WithDefaults() *DetailAuthenticatorParams
WithDefaults hydrates default values in the detail authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*DetailAuthenticatorParams) WithHTTPClient ¶
func (o *DetailAuthenticatorParams) WithHTTPClient(client *http.Client) *DetailAuthenticatorParams
WithHTTPClient adds the HTTPClient to the detail authenticator params
func (*DetailAuthenticatorParams) WithID ¶
func (o *DetailAuthenticatorParams) WithID(id string) *DetailAuthenticatorParams
WithID adds the id to the detail authenticator params
func (*DetailAuthenticatorParams) WithTimeout ¶
func (o *DetailAuthenticatorParams) WithTimeout(timeout time.Duration) *DetailAuthenticatorParams
WithTimeout adds the timeout to the detail authenticator params
func (*DetailAuthenticatorParams) WriteToRequest ¶
func (o *DetailAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DetailAuthenticatorReader ¶
type DetailAuthenticatorReader struct {
// contains filtered or unexported fields
}
DetailAuthenticatorReader is a Reader for the DetailAuthenticator structure.
func (*DetailAuthenticatorReader) ReadResponse ¶
func (o *DetailAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DetailAuthenticatorUnauthorized ¶
type DetailAuthenticatorUnauthorized struct {
}DetailAuthenticatorUnauthorized 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 NewDetailAuthenticatorUnauthorized ¶
func NewDetailAuthenticatorUnauthorized() *DetailAuthenticatorUnauthorized
NewDetailAuthenticatorUnauthorized creates a DetailAuthenticatorUnauthorized with default headers values
func (*DetailAuthenticatorUnauthorized) Error ¶
func (o *DetailAuthenticatorUnauthorized) Error() string
func (*DetailAuthenticatorUnauthorized) GetPayload ¶
func (o *DetailAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListAuthenticatorsOK ¶
type ListAuthenticatorsOK struct {
Payload *rest_model.ListAuthenticatorsEnvelope
}
ListAuthenticatorsOK describes a response with status code 200, with default header values.
A list of authenticators
func NewListAuthenticatorsOK ¶
func NewListAuthenticatorsOK() *ListAuthenticatorsOK
NewListAuthenticatorsOK creates a ListAuthenticatorsOK with default headers values
func (*ListAuthenticatorsOK) Error ¶
func (o *ListAuthenticatorsOK) Error() string
func (*ListAuthenticatorsOK) GetPayload ¶
func (o *ListAuthenticatorsOK) GetPayload() *rest_model.ListAuthenticatorsEnvelope
type ListAuthenticatorsParams ¶
type ListAuthenticatorsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAuthenticatorsParams contains all the parameters to send to the API endpoint
for the list authenticators operation. Typically these are written to a http.Request.
func NewListAuthenticatorsParams ¶
func NewListAuthenticatorsParams() *ListAuthenticatorsParams
NewListAuthenticatorsParams creates a new ListAuthenticatorsParams 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 NewListAuthenticatorsParamsWithContext ¶
func NewListAuthenticatorsParamsWithContext(ctx context.Context) *ListAuthenticatorsParams
NewListAuthenticatorsParamsWithContext creates a new ListAuthenticatorsParams object with the ability to set a context for a request.
func NewListAuthenticatorsParamsWithHTTPClient ¶
func NewListAuthenticatorsParamsWithHTTPClient(client *http.Client) *ListAuthenticatorsParams
NewListAuthenticatorsParamsWithHTTPClient creates a new ListAuthenticatorsParams object with the ability to set a custom HTTPClient for a request.
func NewListAuthenticatorsParamsWithTimeout ¶
func NewListAuthenticatorsParamsWithTimeout(timeout time.Duration) *ListAuthenticatorsParams
NewListAuthenticatorsParamsWithTimeout creates a new ListAuthenticatorsParams object with the ability to set a timeout on a request.
func (*ListAuthenticatorsParams) SetContext ¶
func (o *ListAuthenticatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the list authenticators params
func (*ListAuthenticatorsParams) SetDefaults ¶
func (o *ListAuthenticatorsParams) SetDefaults()
SetDefaults hydrates default values in the list authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*ListAuthenticatorsParams) SetHTTPClient ¶
func (o *ListAuthenticatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list authenticators params
func (*ListAuthenticatorsParams) SetTimeout ¶
func (o *ListAuthenticatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list authenticators params
func (*ListAuthenticatorsParams) WithContext ¶
func (o *ListAuthenticatorsParams) WithContext(ctx context.Context) *ListAuthenticatorsParams
WithContext adds the context to the list authenticators params
func (*ListAuthenticatorsParams) WithDefaults ¶
func (o *ListAuthenticatorsParams) WithDefaults() *ListAuthenticatorsParams
WithDefaults hydrates default values in the list authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*ListAuthenticatorsParams) WithHTTPClient ¶
func (o *ListAuthenticatorsParams) WithHTTPClient(client *http.Client) *ListAuthenticatorsParams
WithHTTPClient adds the HTTPClient to the list authenticators params
func (*ListAuthenticatorsParams) WithTimeout ¶
func (o *ListAuthenticatorsParams) WithTimeout(timeout time.Duration) *ListAuthenticatorsParams
WithTimeout adds the timeout to the list authenticators params
func (*ListAuthenticatorsParams) WriteToRequest ¶
func (o *ListAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAuthenticatorsReader ¶
type ListAuthenticatorsReader struct {
// contains filtered or unexported fields
}
ListAuthenticatorsReader is a Reader for the ListAuthenticators structure.
func (*ListAuthenticatorsReader) ReadResponse ¶
func (o *ListAuthenticatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAuthenticatorBadRequest ¶
type PatchAuthenticatorBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchAuthenticatorBadRequest 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 NewPatchAuthenticatorBadRequest ¶
func NewPatchAuthenticatorBadRequest() *PatchAuthenticatorBadRequest
NewPatchAuthenticatorBadRequest creates a PatchAuthenticatorBadRequest with default headers values
func (*PatchAuthenticatorBadRequest) Error ¶
func (o *PatchAuthenticatorBadRequest) Error() string
func (*PatchAuthenticatorBadRequest) GetPayload ¶
func (o *PatchAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchAuthenticatorNotFound ¶
type PatchAuthenticatorNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchAuthenticatorNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewPatchAuthenticatorNotFound ¶
func NewPatchAuthenticatorNotFound() *PatchAuthenticatorNotFound
NewPatchAuthenticatorNotFound creates a PatchAuthenticatorNotFound with default headers values
func (*PatchAuthenticatorNotFound) Error ¶
func (o *PatchAuthenticatorNotFound) Error() string
func (*PatchAuthenticatorNotFound) GetPayload ¶
func (o *PatchAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
type PatchAuthenticatorOK ¶
type PatchAuthenticatorOK struct {
Payload *rest_model.Empty
}
PatchAuthenticatorOK describes a response with status code 200, with default header values.
The patch request was successful and the resource has been altered
func NewPatchAuthenticatorOK ¶
func NewPatchAuthenticatorOK() *PatchAuthenticatorOK
NewPatchAuthenticatorOK creates a PatchAuthenticatorOK with default headers values
func (*PatchAuthenticatorOK) Error ¶
func (o *PatchAuthenticatorOK) Error() string
func (*PatchAuthenticatorOK) GetPayload ¶
func (o *PatchAuthenticatorOK) GetPayload() *rest_model.Empty
type PatchAuthenticatorParams ¶
type PatchAuthenticatorParams struct { /* Authenticator. An authenticator patch object */ Authenticator *rest_model.AuthenticatorPatch /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAuthenticatorParams contains all the parameters to send to the API endpoint
for the patch authenticator operation. Typically these are written to a http.Request.
func NewPatchAuthenticatorParams ¶
func NewPatchAuthenticatorParams() *PatchAuthenticatorParams
NewPatchAuthenticatorParams creates a new PatchAuthenticatorParams 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 NewPatchAuthenticatorParamsWithContext ¶
func NewPatchAuthenticatorParamsWithContext(ctx context.Context) *PatchAuthenticatorParams
NewPatchAuthenticatorParamsWithContext creates a new PatchAuthenticatorParams object with the ability to set a context for a request.
func NewPatchAuthenticatorParamsWithHTTPClient ¶
func NewPatchAuthenticatorParamsWithHTTPClient(client *http.Client) *PatchAuthenticatorParams
NewPatchAuthenticatorParamsWithHTTPClient creates a new PatchAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAuthenticatorParamsWithTimeout ¶
func NewPatchAuthenticatorParamsWithTimeout(timeout time.Duration) *PatchAuthenticatorParams
NewPatchAuthenticatorParamsWithTimeout creates a new PatchAuthenticatorParams object with the ability to set a timeout on a request.
func (*PatchAuthenticatorParams) SetAuthenticator ¶
func (o *PatchAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorPatch)
SetAuthenticator adds the authenticator to the patch authenticator params
func (*PatchAuthenticatorParams) SetContext ¶
func (o *PatchAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the patch authenticator params
func (*PatchAuthenticatorParams) SetDefaults ¶
func (o *PatchAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the patch authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAuthenticatorParams) SetHTTPClient ¶
func (o *PatchAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch authenticator params
func (*PatchAuthenticatorParams) SetID ¶
func (o *PatchAuthenticatorParams) SetID(id string)
SetID adds the id to the patch authenticator params
func (*PatchAuthenticatorParams) SetTimeout ¶
func (o *PatchAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch authenticator params
func (*PatchAuthenticatorParams) WithAuthenticator ¶
func (o *PatchAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorPatch) *PatchAuthenticatorParams
WithAuthenticator adds the authenticator to the patch authenticator params
func (*PatchAuthenticatorParams) WithContext ¶
func (o *PatchAuthenticatorParams) WithContext(ctx context.Context) *PatchAuthenticatorParams
WithContext adds the context to the patch authenticator params
func (*PatchAuthenticatorParams) WithDefaults ¶
func (o *PatchAuthenticatorParams) WithDefaults() *PatchAuthenticatorParams
WithDefaults hydrates default values in the patch authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAuthenticatorParams) WithHTTPClient ¶
func (o *PatchAuthenticatorParams) WithHTTPClient(client *http.Client) *PatchAuthenticatorParams
WithHTTPClient adds the HTTPClient to the patch authenticator params
func (*PatchAuthenticatorParams) WithID ¶
func (o *PatchAuthenticatorParams) WithID(id string) *PatchAuthenticatorParams
WithID adds the id to the patch authenticator params
func (*PatchAuthenticatorParams) WithTimeout ¶
func (o *PatchAuthenticatorParams) WithTimeout(timeout time.Duration) *PatchAuthenticatorParams
WithTimeout adds the timeout to the patch authenticator params
func (*PatchAuthenticatorParams) WriteToRequest ¶
func (o *PatchAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAuthenticatorReader ¶
type PatchAuthenticatorReader struct {
// contains filtered or unexported fields
}
PatchAuthenticatorReader is a Reader for the PatchAuthenticator structure.
func (*PatchAuthenticatorReader) ReadResponse ¶
func (o *PatchAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAuthenticatorUnauthorized ¶
type PatchAuthenticatorUnauthorized struct {
}PatchAuthenticatorUnauthorized 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 NewPatchAuthenticatorUnauthorized ¶
func NewPatchAuthenticatorUnauthorized() *PatchAuthenticatorUnauthorized
NewPatchAuthenticatorUnauthorized creates a PatchAuthenticatorUnauthorized with default headers values
func (*PatchAuthenticatorUnauthorized) Error ¶
func (o *PatchAuthenticatorUnauthorized) Error() string
func (*PatchAuthenticatorUnauthorized) GetPayload ¶
func (o *PatchAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateAuthenticatorBadRequest ¶
type UpdateAuthenticatorBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateAuthenticatorBadRequest 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 NewUpdateAuthenticatorBadRequest ¶
func NewUpdateAuthenticatorBadRequest() *UpdateAuthenticatorBadRequest
NewUpdateAuthenticatorBadRequest creates a UpdateAuthenticatorBadRequest with default headers values
func (*UpdateAuthenticatorBadRequest) Error ¶
func (o *UpdateAuthenticatorBadRequest) Error() string
func (*UpdateAuthenticatorBadRequest) GetPayload ¶
func (o *UpdateAuthenticatorBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateAuthenticatorNotFound ¶
type UpdateAuthenticatorNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateAuthenticatorNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewUpdateAuthenticatorNotFound ¶
func NewUpdateAuthenticatorNotFound() *UpdateAuthenticatorNotFound
NewUpdateAuthenticatorNotFound creates a UpdateAuthenticatorNotFound with default headers values
func (*UpdateAuthenticatorNotFound) Error ¶
func (o *UpdateAuthenticatorNotFound) Error() string
func (*UpdateAuthenticatorNotFound) GetPayload ¶
func (o *UpdateAuthenticatorNotFound) GetPayload() *rest_model.APIErrorEnvelope
type UpdateAuthenticatorOK ¶
type UpdateAuthenticatorOK struct {
Payload *rest_model.Empty
}
UpdateAuthenticatorOK describes a response with status code 200, with default header values.
The update request was successful and the resource has been altered
func NewUpdateAuthenticatorOK ¶
func NewUpdateAuthenticatorOK() *UpdateAuthenticatorOK
NewUpdateAuthenticatorOK creates a UpdateAuthenticatorOK with default headers values
func (*UpdateAuthenticatorOK) Error ¶
func (o *UpdateAuthenticatorOK) Error() string
func (*UpdateAuthenticatorOK) GetPayload ¶
func (o *UpdateAuthenticatorOK) GetPayload() *rest_model.Empty
type UpdateAuthenticatorParams ¶
type UpdateAuthenticatorParams struct { /* Authenticator. An authenticator put object */ Authenticator *rest_model.AuthenticatorUpdate /* ID. The id of the requested resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateAuthenticatorParams contains all the parameters to send to the API endpoint
for the update authenticator operation. Typically these are written to a http.Request.
func NewUpdateAuthenticatorParams ¶
func NewUpdateAuthenticatorParams() *UpdateAuthenticatorParams
NewUpdateAuthenticatorParams creates a new UpdateAuthenticatorParams 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 NewUpdateAuthenticatorParamsWithContext ¶
func NewUpdateAuthenticatorParamsWithContext(ctx context.Context) *UpdateAuthenticatorParams
NewUpdateAuthenticatorParamsWithContext creates a new UpdateAuthenticatorParams object with the ability to set a context for a request.
func NewUpdateAuthenticatorParamsWithHTTPClient ¶
func NewUpdateAuthenticatorParamsWithHTTPClient(client *http.Client) *UpdateAuthenticatorParams
NewUpdateAuthenticatorParamsWithHTTPClient creates a new UpdateAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateAuthenticatorParamsWithTimeout ¶
func NewUpdateAuthenticatorParamsWithTimeout(timeout time.Duration) *UpdateAuthenticatorParams
NewUpdateAuthenticatorParamsWithTimeout creates a new UpdateAuthenticatorParams object with the ability to set a timeout on a request.
func (*UpdateAuthenticatorParams) SetAuthenticator ¶
func (o *UpdateAuthenticatorParams) SetAuthenticator(authenticator *rest_model.AuthenticatorUpdate)
SetAuthenticator adds the authenticator to the update authenticator params
func (*UpdateAuthenticatorParams) SetContext ¶
func (o *UpdateAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the update authenticator params
func (*UpdateAuthenticatorParams) SetDefaults ¶
func (o *UpdateAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the update authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAuthenticatorParams) SetHTTPClient ¶
func (o *UpdateAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update authenticator params
func (*UpdateAuthenticatorParams) SetID ¶
func (o *UpdateAuthenticatorParams) SetID(id string)
SetID adds the id to the update authenticator params
func (*UpdateAuthenticatorParams) SetTimeout ¶
func (o *UpdateAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update authenticator params
func (*UpdateAuthenticatorParams) WithAuthenticator ¶
func (o *UpdateAuthenticatorParams) WithAuthenticator(authenticator *rest_model.AuthenticatorUpdate) *UpdateAuthenticatorParams
WithAuthenticator adds the authenticator to the update authenticator params
func (*UpdateAuthenticatorParams) WithContext ¶
func (o *UpdateAuthenticatorParams) WithContext(ctx context.Context) *UpdateAuthenticatorParams
WithContext adds the context to the update authenticator params
func (*UpdateAuthenticatorParams) WithDefaults ¶
func (o *UpdateAuthenticatorParams) WithDefaults() *UpdateAuthenticatorParams
WithDefaults hydrates default values in the update authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateAuthenticatorParams) WithHTTPClient ¶
func (o *UpdateAuthenticatorParams) WithHTTPClient(client *http.Client) *UpdateAuthenticatorParams
WithHTTPClient adds the HTTPClient to the update authenticator params
func (*UpdateAuthenticatorParams) WithID ¶
func (o *UpdateAuthenticatorParams) WithID(id string) *UpdateAuthenticatorParams
WithID adds the id to the update authenticator params
func (*UpdateAuthenticatorParams) WithTimeout ¶
func (o *UpdateAuthenticatorParams) WithTimeout(timeout time.Duration) *UpdateAuthenticatorParams
WithTimeout adds the timeout to the update authenticator params
func (*UpdateAuthenticatorParams) WriteToRequest ¶
func (o *UpdateAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAuthenticatorReader ¶
type UpdateAuthenticatorReader struct {
// contains filtered or unexported fields
}
UpdateAuthenticatorReader is a Reader for the UpdateAuthenticator structure.
func (*UpdateAuthenticatorReader) ReadResponse ¶
func (o *UpdateAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateAuthenticatorUnauthorized ¶
type UpdateAuthenticatorUnauthorized struct {
}UpdateAuthenticatorUnauthorized 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 NewUpdateAuthenticatorUnauthorized ¶
func NewUpdateAuthenticatorUnauthorized() *UpdateAuthenticatorUnauthorized
NewUpdateAuthenticatorUnauthorized creates a UpdateAuthenticatorUnauthorized with default headers values
func (*UpdateAuthenticatorUnauthorized) Error ¶
func (o *UpdateAuthenticatorUnauthorized) Error() string
func (*UpdateAuthenticatorUnauthorized) GetPayload ¶
func (o *UpdateAuthenticatorUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- authenticator_client.go
- create_authenticator_parameters.go
- create_authenticator_responses.go
- delete_authenticator_parameters.go
- delete_authenticator_responses.go
- detail_authenticator_parameters.go
- detail_authenticator_responses.go
- list_authenticators_parameters.go
- list_authenticators_responses.go
- patch_authenticator_parameters.go
- patch_authenticator_responses.go
- update_authenticator_parameters.go
- update_authenticator_responses.go