Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateAuthenticators(params *CreateAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateAuthenticatorsOK, error)
- func (a *Client) DeleteAuthenticators(params *DeleteAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteAuthenticatorsOK, error)
- func (a *Client) GetAuthenticator(params *GetAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAuthenticatorOK, error)
- func (a *Client) GetAuthenticators(params *GetAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAuthenticatorsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateAuthenticatorsOK
- func (o *CreateAuthenticatorsOK) Code() int
- func (o *CreateAuthenticatorsOK) Error() string
- func (o *CreateAuthenticatorsOK) GetPayload() *models.ActivityResponse
- func (o *CreateAuthenticatorsOK) IsClientError() bool
- func (o *CreateAuthenticatorsOK) IsCode(code int) bool
- func (o *CreateAuthenticatorsOK) IsRedirect() bool
- func (o *CreateAuthenticatorsOK) IsServerError() bool
- func (o *CreateAuthenticatorsOK) IsSuccess() bool
- func (o *CreateAuthenticatorsOK) String() string
- type CreateAuthenticatorsParams
- func NewCreateAuthenticatorsParams() *CreateAuthenticatorsParams
- func NewCreateAuthenticatorsParamsWithContext(ctx context.Context) *CreateAuthenticatorsParams
- func NewCreateAuthenticatorsParamsWithHTTPClient(client *http.Client) *CreateAuthenticatorsParams
- func NewCreateAuthenticatorsParamsWithTimeout(timeout time.Duration) *CreateAuthenticatorsParams
- func (o *CreateAuthenticatorsParams) SetBody(body *models.CreateAuthenticatorsRequest)
- func (o *CreateAuthenticatorsParams) SetContext(ctx context.Context)
- func (o *CreateAuthenticatorsParams) SetDefaults()
- func (o *CreateAuthenticatorsParams) SetHTTPClient(client *http.Client)
- func (o *CreateAuthenticatorsParams) SetTimeout(timeout time.Duration)
- func (o *CreateAuthenticatorsParams) WithBody(body *models.CreateAuthenticatorsRequest) *CreateAuthenticatorsParams
- func (o *CreateAuthenticatorsParams) WithContext(ctx context.Context) *CreateAuthenticatorsParams
- func (o *CreateAuthenticatorsParams) WithDefaults() *CreateAuthenticatorsParams
- func (o *CreateAuthenticatorsParams) WithHTTPClient(client *http.Client) *CreateAuthenticatorsParams
- func (o *CreateAuthenticatorsParams) WithTimeout(timeout time.Duration) *CreateAuthenticatorsParams
- func (o *CreateAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAuthenticatorsReader
- type DeleteAuthenticatorsOK
- func (o *DeleteAuthenticatorsOK) Code() int
- func (o *DeleteAuthenticatorsOK) Error() string
- func (o *DeleteAuthenticatorsOK) GetPayload() *models.ActivityResponse
- func (o *DeleteAuthenticatorsOK) IsClientError() bool
- func (o *DeleteAuthenticatorsOK) IsCode(code int) bool
- func (o *DeleteAuthenticatorsOK) IsRedirect() bool
- func (o *DeleteAuthenticatorsOK) IsServerError() bool
- func (o *DeleteAuthenticatorsOK) IsSuccess() bool
- func (o *DeleteAuthenticatorsOK) String() string
- type DeleteAuthenticatorsParams
- func NewDeleteAuthenticatorsParams() *DeleteAuthenticatorsParams
- func NewDeleteAuthenticatorsParamsWithContext(ctx context.Context) *DeleteAuthenticatorsParams
- func NewDeleteAuthenticatorsParamsWithHTTPClient(client *http.Client) *DeleteAuthenticatorsParams
- func NewDeleteAuthenticatorsParamsWithTimeout(timeout time.Duration) *DeleteAuthenticatorsParams
- func (o *DeleteAuthenticatorsParams) SetBody(body *models.DeleteAuthenticatorsRequest)
- func (o *DeleteAuthenticatorsParams) SetContext(ctx context.Context)
- func (o *DeleteAuthenticatorsParams) SetDefaults()
- func (o *DeleteAuthenticatorsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAuthenticatorsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAuthenticatorsParams) WithBody(body *models.DeleteAuthenticatorsRequest) *DeleteAuthenticatorsParams
- func (o *DeleteAuthenticatorsParams) WithContext(ctx context.Context) *DeleteAuthenticatorsParams
- func (o *DeleteAuthenticatorsParams) WithDefaults() *DeleteAuthenticatorsParams
- func (o *DeleteAuthenticatorsParams) WithHTTPClient(client *http.Client) *DeleteAuthenticatorsParams
- func (o *DeleteAuthenticatorsParams) WithTimeout(timeout time.Duration) *DeleteAuthenticatorsParams
- func (o *DeleteAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAuthenticatorsReader
- type GetAuthenticatorOK
- func (o *GetAuthenticatorOK) Code() int
- func (o *GetAuthenticatorOK) Error() string
- func (o *GetAuthenticatorOK) GetPayload() *models.GetAuthenticatorResponse
- func (o *GetAuthenticatorOK) IsClientError() bool
- func (o *GetAuthenticatorOK) IsCode(code int) bool
- func (o *GetAuthenticatorOK) IsRedirect() bool
- func (o *GetAuthenticatorOK) IsServerError() bool
- func (o *GetAuthenticatorOK) IsSuccess() bool
- func (o *GetAuthenticatorOK) String() string
- type GetAuthenticatorParams
- func NewGetAuthenticatorParams() *GetAuthenticatorParams
- func NewGetAuthenticatorParamsWithContext(ctx context.Context) *GetAuthenticatorParams
- func NewGetAuthenticatorParamsWithHTTPClient(client *http.Client) *GetAuthenticatorParams
- func NewGetAuthenticatorParamsWithTimeout(timeout time.Duration) *GetAuthenticatorParams
- func (o *GetAuthenticatorParams) SetBody(body *models.GetAuthenticatorRequest)
- func (o *GetAuthenticatorParams) SetContext(ctx context.Context)
- func (o *GetAuthenticatorParams) SetDefaults()
- func (o *GetAuthenticatorParams) SetHTTPClient(client *http.Client)
- func (o *GetAuthenticatorParams) SetTimeout(timeout time.Duration)
- func (o *GetAuthenticatorParams) WithBody(body *models.GetAuthenticatorRequest) *GetAuthenticatorParams
- func (o *GetAuthenticatorParams) WithContext(ctx context.Context) *GetAuthenticatorParams
- func (o *GetAuthenticatorParams) WithDefaults() *GetAuthenticatorParams
- func (o *GetAuthenticatorParams) WithHTTPClient(client *http.Client) *GetAuthenticatorParams
- func (o *GetAuthenticatorParams) WithTimeout(timeout time.Duration) *GetAuthenticatorParams
- func (o *GetAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuthenticatorReader
- type GetAuthenticatorsOK
- func (o *GetAuthenticatorsOK) Code() int
- func (o *GetAuthenticatorsOK) Error() string
- func (o *GetAuthenticatorsOK) GetPayload() *models.GetAuthenticatorsResponse
- func (o *GetAuthenticatorsOK) IsClientError() bool
- func (o *GetAuthenticatorsOK) IsCode(code int) bool
- func (o *GetAuthenticatorsOK) IsRedirect() bool
- func (o *GetAuthenticatorsOK) IsServerError() bool
- func (o *GetAuthenticatorsOK) IsSuccess() bool
- func (o *GetAuthenticatorsOK) String() string
- type GetAuthenticatorsParams
- func NewGetAuthenticatorsParams() *GetAuthenticatorsParams
- func NewGetAuthenticatorsParamsWithContext(ctx context.Context) *GetAuthenticatorsParams
- func NewGetAuthenticatorsParamsWithHTTPClient(client *http.Client) *GetAuthenticatorsParams
- func NewGetAuthenticatorsParamsWithTimeout(timeout time.Duration) *GetAuthenticatorsParams
- func (o *GetAuthenticatorsParams) SetBody(body *models.GetAuthenticatorsRequest)
- func (o *GetAuthenticatorsParams) SetContext(ctx context.Context)
- func (o *GetAuthenticatorsParams) SetDefaults()
- func (o *GetAuthenticatorsParams) SetHTTPClient(client *http.Client)
- func (o *GetAuthenticatorsParams) SetTimeout(timeout time.Duration)
- func (o *GetAuthenticatorsParams) WithBody(body *models.GetAuthenticatorsRequest) *GetAuthenticatorsParams
- func (o *GetAuthenticatorsParams) WithContext(ctx context.Context) *GetAuthenticatorsParams
- func (o *GetAuthenticatorsParams) WithDefaults() *GetAuthenticatorsParams
- func (o *GetAuthenticatorsParams) WithHTTPClient(client *http.Client) *GetAuthenticatorsParams
- func (o *GetAuthenticatorsParams) WithTimeout(timeout time.Duration) *GetAuthenticatorsParams
- func (o *GetAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuthenticatorsReader
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 authenticators API
func (*Client) CreateAuthenticators ¶
func (a *Client) CreateAuthenticators(params *CreateAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthenticatorsOK, error)
CreateAuthenticators creates authenticators
Create Authenticators to authenticate requests to Turnkey
func (*Client) DeleteAuthenticators ¶
func (a *Client) DeleteAuthenticators(params *DeleteAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthenticatorsOK, error)
DeleteAuthenticators deletes authenticators
Remove authenticators from a User
func (*Client) GetAuthenticator ¶
func (a *Client) GetAuthenticator(params *GetAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticatorOK, error)
GetAuthenticator gets authenticator
Get details about an authenticator
func (*Client) GetAuthenticators ¶
func (a *Client) GetAuthenticators(params *GetAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticatorsOK, error)
GetAuthenticators gets authenticators
Get details about authenticators for a user
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateAuthenticators(params *CreateAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAuthenticatorsOK, error) DeleteAuthenticators(params *DeleteAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAuthenticatorsOK, error) GetAuthenticator(params *GetAuthenticatorParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticatorOK, error) GetAuthenticators(params *GetAuthenticatorsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuthenticatorsOK, 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 authenticators API client.
type CreateAuthenticatorsOK ¶
type CreateAuthenticatorsOK struct {
Payload *models.ActivityResponse
}
CreateAuthenticatorsOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateAuthenticatorsOK ¶
func NewCreateAuthenticatorsOK() *CreateAuthenticatorsOK
NewCreateAuthenticatorsOK creates a CreateAuthenticatorsOK with default headers values
func (*CreateAuthenticatorsOK) Code ¶
func (o *CreateAuthenticatorsOK) Code() int
Code gets the status code for the create authenticators o k response
func (*CreateAuthenticatorsOK) Error ¶
func (o *CreateAuthenticatorsOK) Error() string
func (*CreateAuthenticatorsOK) GetPayload ¶
func (o *CreateAuthenticatorsOK) GetPayload() *models.ActivityResponse
func (*CreateAuthenticatorsOK) IsClientError ¶
func (o *CreateAuthenticatorsOK) IsClientError() bool
IsClientError returns true when this create authenticators o k response has a 4xx status code
func (*CreateAuthenticatorsOK) IsCode ¶
func (o *CreateAuthenticatorsOK) IsCode(code int) bool
IsCode returns true when this create authenticators o k response a status code equal to that given
func (*CreateAuthenticatorsOK) IsRedirect ¶
func (o *CreateAuthenticatorsOK) IsRedirect() bool
IsRedirect returns true when this create authenticators o k response has a 3xx status code
func (*CreateAuthenticatorsOK) IsServerError ¶
func (o *CreateAuthenticatorsOK) IsServerError() bool
IsServerError returns true when this create authenticators o k response has a 5xx status code
func (*CreateAuthenticatorsOK) IsSuccess ¶
func (o *CreateAuthenticatorsOK) IsSuccess() bool
IsSuccess returns true when this create authenticators o k response has a 2xx status code
func (*CreateAuthenticatorsOK) String ¶
func (o *CreateAuthenticatorsOK) String() string
type CreateAuthenticatorsParams ¶
type CreateAuthenticatorsParams struct { // Body. Body *models.CreateAuthenticatorsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateAuthenticatorsParams contains all the parameters to send to the API endpoint
for the create authenticators operation. Typically these are written to a http.Request.
func NewCreateAuthenticatorsParams ¶
func NewCreateAuthenticatorsParams() *CreateAuthenticatorsParams
NewCreateAuthenticatorsParams creates a new CreateAuthenticatorsParams 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 NewCreateAuthenticatorsParamsWithContext ¶
func NewCreateAuthenticatorsParamsWithContext(ctx context.Context) *CreateAuthenticatorsParams
NewCreateAuthenticatorsParamsWithContext creates a new CreateAuthenticatorsParams object with the ability to set a context for a request.
func NewCreateAuthenticatorsParamsWithHTTPClient ¶
func NewCreateAuthenticatorsParamsWithHTTPClient(client *http.Client) *CreateAuthenticatorsParams
NewCreateAuthenticatorsParamsWithHTTPClient creates a new CreateAuthenticatorsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateAuthenticatorsParamsWithTimeout ¶
func NewCreateAuthenticatorsParamsWithTimeout(timeout time.Duration) *CreateAuthenticatorsParams
NewCreateAuthenticatorsParamsWithTimeout creates a new CreateAuthenticatorsParams object with the ability to set a timeout on a request.
func (*CreateAuthenticatorsParams) SetBody ¶
func (o *CreateAuthenticatorsParams) SetBody(body *models.CreateAuthenticatorsRequest)
SetBody adds the body to the create authenticators params
func (*CreateAuthenticatorsParams) SetContext ¶
func (o *CreateAuthenticatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the create authenticators params
func (*CreateAuthenticatorsParams) SetDefaults ¶
func (o *CreateAuthenticatorsParams) SetDefaults()
SetDefaults hydrates default values in the create authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAuthenticatorsParams) SetHTTPClient ¶
func (o *CreateAuthenticatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create authenticators params
func (*CreateAuthenticatorsParams) SetTimeout ¶
func (o *CreateAuthenticatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create authenticators params
func (*CreateAuthenticatorsParams) WithBody ¶
func (o *CreateAuthenticatorsParams) WithBody(body *models.CreateAuthenticatorsRequest) *CreateAuthenticatorsParams
WithBody adds the body to the create authenticators params
func (*CreateAuthenticatorsParams) WithContext ¶
func (o *CreateAuthenticatorsParams) WithContext(ctx context.Context) *CreateAuthenticatorsParams
WithContext adds the context to the create authenticators params
func (*CreateAuthenticatorsParams) WithDefaults ¶
func (o *CreateAuthenticatorsParams) WithDefaults() *CreateAuthenticatorsParams
WithDefaults hydrates default values in the create authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*CreateAuthenticatorsParams) WithHTTPClient ¶
func (o *CreateAuthenticatorsParams) WithHTTPClient(client *http.Client) *CreateAuthenticatorsParams
WithHTTPClient adds the HTTPClient to the create authenticators params
func (*CreateAuthenticatorsParams) WithTimeout ¶
func (o *CreateAuthenticatorsParams) WithTimeout(timeout time.Duration) *CreateAuthenticatorsParams
WithTimeout adds the timeout to the create authenticators params
func (*CreateAuthenticatorsParams) WriteToRequest ¶
func (o *CreateAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAuthenticatorsReader ¶
type CreateAuthenticatorsReader struct {
// contains filtered or unexported fields
}
CreateAuthenticatorsReader is a Reader for the CreateAuthenticators structure.
func (*CreateAuthenticatorsReader) ReadResponse ¶
func (o *CreateAuthenticatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAuthenticatorsOK ¶
type DeleteAuthenticatorsOK struct {
Payload *models.ActivityResponse
}
DeleteAuthenticatorsOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteAuthenticatorsOK ¶
func NewDeleteAuthenticatorsOK() *DeleteAuthenticatorsOK
NewDeleteAuthenticatorsOK creates a DeleteAuthenticatorsOK with default headers values
func (*DeleteAuthenticatorsOK) Code ¶
func (o *DeleteAuthenticatorsOK) Code() int
Code gets the status code for the delete authenticators o k response
func (*DeleteAuthenticatorsOK) Error ¶
func (o *DeleteAuthenticatorsOK) Error() string
func (*DeleteAuthenticatorsOK) GetPayload ¶
func (o *DeleteAuthenticatorsOK) GetPayload() *models.ActivityResponse
func (*DeleteAuthenticatorsOK) IsClientError ¶
func (o *DeleteAuthenticatorsOK) IsClientError() bool
IsClientError returns true when this delete authenticators o k response has a 4xx status code
func (*DeleteAuthenticatorsOK) IsCode ¶
func (o *DeleteAuthenticatorsOK) IsCode(code int) bool
IsCode returns true when this delete authenticators o k response a status code equal to that given
func (*DeleteAuthenticatorsOK) IsRedirect ¶
func (o *DeleteAuthenticatorsOK) IsRedirect() bool
IsRedirect returns true when this delete authenticators o k response has a 3xx status code
func (*DeleteAuthenticatorsOK) IsServerError ¶
func (o *DeleteAuthenticatorsOK) IsServerError() bool
IsServerError returns true when this delete authenticators o k response has a 5xx status code
func (*DeleteAuthenticatorsOK) IsSuccess ¶
func (o *DeleteAuthenticatorsOK) IsSuccess() bool
IsSuccess returns true when this delete authenticators o k response has a 2xx status code
func (*DeleteAuthenticatorsOK) String ¶
func (o *DeleteAuthenticatorsOK) String() string
type DeleteAuthenticatorsParams ¶
type DeleteAuthenticatorsParams struct { // Body. Body *models.DeleteAuthenticatorsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAuthenticatorsParams contains all the parameters to send to the API endpoint
for the delete authenticators operation. Typically these are written to a http.Request.
func NewDeleteAuthenticatorsParams ¶
func NewDeleteAuthenticatorsParams() *DeleteAuthenticatorsParams
NewDeleteAuthenticatorsParams creates a new DeleteAuthenticatorsParams 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 NewDeleteAuthenticatorsParamsWithContext ¶
func NewDeleteAuthenticatorsParamsWithContext(ctx context.Context) *DeleteAuthenticatorsParams
NewDeleteAuthenticatorsParamsWithContext creates a new DeleteAuthenticatorsParams object with the ability to set a context for a request.
func NewDeleteAuthenticatorsParamsWithHTTPClient ¶
func NewDeleteAuthenticatorsParamsWithHTTPClient(client *http.Client) *DeleteAuthenticatorsParams
NewDeleteAuthenticatorsParamsWithHTTPClient creates a new DeleteAuthenticatorsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAuthenticatorsParamsWithTimeout ¶
func NewDeleteAuthenticatorsParamsWithTimeout(timeout time.Duration) *DeleteAuthenticatorsParams
NewDeleteAuthenticatorsParamsWithTimeout creates a new DeleteAuthenticatorsParams object with the ability to set a timeout on a request.
func (*DeleteAuthenticatorsParams) SetBody ¶
func (o *DeleteAuthenticatorsParams) SetBody(body *models.DeleteAuthenticatorsRequest)
SetBody adds the body to the delete authenticators params
func (*DeleteAuthenticatorsParams) SetContext ¶
func (o *DeleteAuthenticatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete authenticators params
func (*DeleteAuthenticatorsParams) SetDefaults ¶
func (o *DeleteAuthenticatorsParams) SetDefaults()
SetDefaults hydrates default values in the delete authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAuthenticatorsParams) SetHTTPClient ¶
func (o *DeleteAuthenticatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete authenticators params
func (*DeleteAuthenticatorsParams) SetTimeout ¶
func (o *DeleteAuthenticatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete authenticators params
func (*DeleteAuthenticatorsParams) WithBody ¶
func (o *DeleteAuthenticatorsParams) WithBody(body *models.DeleteAuthenticatorsRequest) *DeleteAuthenticatorsParams
WithBody adds the body to the delete authenticators params
func (*DeleteAuthenticatorsParams) WithContext ¶
func (o *DeleteAuthenticatorsParams) WithContext(ctx context.Context) *DeleteAuthenticatorsParams
WithContext adds the context to the delete authenticators params
func (*DeleteAuthenticatorsParams) WithDefaults ¶
func (o *DeleteAuthenticatorsParams) WithDefaults() *DeleteAuthenticatorsParams
WithDefaults hydrates default values in the delete authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAuthenticatorsParams) WithHTTPClient ¶
func (o *DeleteAuthenticatorsParams) WithHTTPClient(client *http.Client) *DeleteAuthenticatorsParams
WithHTTPClient adds the HTTPClient to the delete authenticators params
func (*DeleteAuthenticatorsParams) WithTimeout ¶
func (o *DeleteAuthenticatorsParams) WithTimeout(timeout time.Duration) *DeleteAuthenticatorsParams
WithTimeout adds the timeout to the delete authenticators params
func (*DeleteAuthenticatorsParams) WriteToRequest ¶
func (o *DeleteAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAuthenticatorsReader ¶
type DeleteAuthenticatorsReader struct {
// contains filtered or unexported fields
}
DeleteAuthenticatorsReader is a Reader for the DeleteAuthenticators structure.
func (*DeleteAuthenticatorsReader) ReadResponse ¶
func (o *DeleteAuthenticatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAuthenticatorOK ¶
type GetAuthenticatorOK struct {
Payload *models.GetAuthenticatorResponse
}
GetAuthenticatorOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAuthenticatorOK ¶
func NewGetAuthenticatorOK() *GetAuthenticatorOK
NewGetAuthenticatorOK creates a GetAuthenticatorOK with default headers values
func (*GetAuthenticatorOK) Code ¶
func (o *GetAuthenticatorOK) Code() int
Code gets the status code for the get authenticator o k response
func (*GetAuthenticatorOK) Error ¶
func (o *GetAuthenticatorOK) Error() string
func (*GetAuthenticatorOK) GetPayload ¶
func (o *GetAuthenticatorOK) GetPayload() *models.GetAuthenticatorResponse
func (*GetAuthenticatorOK) IsClientError ¶
func (o *GetAuthenticatorOK) IsClientError() bool
IsClientError returns true when this get authenticator o k response has a 4xx status code
func (*GetAuthenticatorOK) IsCode ¶
func (o *GetAuthenticatorOK) IsCode(code int) bool
IsCode returns true when this get authenticator o k response a status code equal to that given
func (*GetAuthenticatorOK) IsRedirect ¶
func (o *GetAuthenticatorOK) IsRedirect() bool
IsRedirect returns true when this get authenticator o k response has a 3xx status code
func (*GetAuthenticatorOK) IsServerError ¶
func (o *GetAuthenticatorOK) IsServerError() bool
IsServerError returns true when this get authenticator o k response has a 5xx status code
func (*GetAuthenticatorOK) IsSuccess ¶
func (o *GetAuthenticatorOK) IsSuccess() bool
IsSuccess returns true when this get authenticator o k response has a 2xx status code
func (*GetAuthenticatorOK) String ¶
func (o *GetAuthenticatorOK) String() string
type GetAuthenticatorParams ¶
type GetAuthenticatorParams struct { // Body. Body *models.GetAuthenticatorRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAuthenticatorParams contains all the parameters to send to the API endpoint
for the get authenticator operation. Typically these are written to a http.Request.
func NewGetAuthenticatorParams ¶
func NewGetAuthenticatorParams() *GetAuthenticatorParams
NewGetAuthenticatorParams creates a new GetAuthenticatorParams 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 NewGetAuthenticatorParamsWithContext ¶
func NewGetAuthenticatorParamsWithContext(ctx context.Context) *GetAuthenticatorParams
NewGetAuthenticatorParamsWithContext creates a new GetAuthenticatorParams object with the ability to set a context for a request.
func NewGetAuthenticatorParamsWithHTTPClient ¶
func NewGetAuthenticatorParamsWithHTTPClient(client *http.Client) *GetAuthenticatorParams
NewGetAuthenticatorParamsWithHTTPClient creates a new GetAuthenticatorParams object with the ability to set a custom HTTPClient for a request.
func NewGetAuthenticatorParamsWithTimeout ¶
func NewGetAuthenticatorParamsWithTimeout(timeout time.Duration) *GetAuthenticatorParams
NewGetAuthenticatorParamsWithTimeout creates a new GetAuthenticatorParams object with the ability to set a timeout on a request.
func (*GetAuthenticatorParams) SetBody ¶
func (o *GetAuthenticatorParams) SetBody(body *models.GetAuthenticatorRequest)
SetBody adds the body to the get authenticator params
func (*GetAuthenticatorParams) SetContext ¶
func (o *GetAuthenticatorParams) SetContext(ctx context.Context)
SetContext adds the context to the get authenticator params
func (*GetAuthenticatorParams) SetDefaults ¶
func (o *GetAuthenticatorParams) SetDefaults()
SetDefaults hydrates default values in the get authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthenticatorParams) SetHTTPClient ¶
func (o *GetAuthenticatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get authenticator params
func (*GetAuthenticatorParams) SetTimeout ¶
func (o *GetAuthenticatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get authenticator params
func (*GetAuthenticatorParams) WithBody ¶
func (o *GetAuthenticatorParams) WithBody(body *models.GetAuthenticatorRequest) *GetAuthenticatorParams
WithBody adds the body to the get authenticator params
func (*GetAuthenticatorParams) WithContext ¶
func (o *GetAuthenticatorParams) WithContext(ctx context.Context) *GetAuthenticatorParams
WithContext adds the context to the get authenticator params
func (*GetAuthenticatorParams) WithDefaults ¶
func (o *GetAuthenticatorParams) WithDefaults() *GetAuthenticatorParams
WithDefaults hydrates default values in the get authenticator params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthenticatorParams) WithHTTPClient ¶
func (o *GetAuthenticatorParams) WithHTTPClient(client *http.Client) *GetAuthenticatorParams
WithHTTPClient adds the HTTPClient to the get authenticator params
func (*GetAuthenticatorParams) WithTimeout ¶
func (o *GetAuthenticatorParams) WithTimeout(timeout time.Duration) *GetAuthenticatorParams
WithTimeout adds the timeout to the get authenticator params
func (*GetAuthenticatorParams) WriteToRequest ¶
func (o *GetAuthenticatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAuthenticatorReader ¶
type GetAuthenticatorReader struct {
// contains filtered or unexported fields
}
GetAuthenticatorReader is a Reader for the GetAuthenticator structure.
func (*GetAuthenticatorReader) ReadResponse ¶
func (o *GetAuthenticatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAuthenticatorsOK ¶
type GetAuthenticatorsOK struct {
Payload *models.GetAuthenticatorsResponse
}
GetAuthenticatorsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAuthenticatorsOK ¶
func NewGetAuthenticatorsOK() *GetAuthenticatorsOK
NewGetAuthenticatorsOK creates a GetAuthenticatorsOK with default headers values
func (*GetAuthenticatorsOK) Code ¶
func (o *GetAuthenticatorsOK) Code() int
Code gets the status code for the get authenticators o k response
func (*GetAuthenticatorsOK) Error ¶
func (o *GetAuthenticatorsOK) Error() string
func (*GetAuthenticatorsOK) GetPayload ¶
func (o *GetAuthenticatorsOK) GetPayload() *models.GetAuthenticatorsResponse
func (*GetAuthenticatorsOK) IsClientError ¶
func (o *GetAuthenticatorsOK) IsClientError() bool
IsClientError returns true when this get authenticators o k response has a 4xx status code
func (*GetAuthenticatorsOK) IsCode ¶
func (o *GetAuthenticatorsOK) IsCode(code int) bool
IsCode returns true when this get authenticators o k response a status code equal to that given
func (*GetAuthenticatorsOK) IsRedirect ¶
func (o *GetAuthenticatorsOK) IsRedirect() bool
IsRedirect returns true when this get authenticators o k response has a 3xx status code
func (*GetAuthenticatorsOK) IsServerError ¶
func (o *GetAuthenticatorsOK) IsServerError() bool
IsServerError returns true when this get authenticators o k response has a 5xx status code
func (*GetAuthenticatorsOK) IsSuccess ¶
func (o *GetAuthenticatorsOK) IsSuccess() bool
IsSuccess returns true when this get authenticators o k response has a 2xx status code
func (*GetAuthenticatorsOK) String ¶
func (o *GetAuthenticatorsOK) String() string
type GetAuthenticatorsParams ¶
type GetAuthenticatorsParams struct { // Body. Body *models.GetAuthenticatorsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAuthenticatorsParams contains all the parameters to send to the API endpoint
for the get authenticators operation. Typically these are written to a http.Request.
func NewGetAuthenticatorsParams ¶
func NewGetAuthenticatorsParams() *GetAuthenticatorsParams
NewGetAuthenticatorsParams creates a new GetAuthenticatorsParams 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 NewGetAuthenticatorsParamsWithContext ¶
func NewGetAuthenticatorsParamsWithContext(ctx context.Context) *GetAuthenticatorsParams
NewGetAuthenticatorsParamsWithContext creates a new GetAuthenticatorsParams object with the ability to set a context for a request.
func NewGetAuthenticatorsParamsWithHTTPClient ¶
func NewGetAuthenticatorsParamsWithHTTPClient(client *http.Client) *GetAuthenticatorsParams
NewGetAuthenticatorsParamsWithHTTPClient creates a new GetAuthenticatorsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAuthenticatorsParamsWithTimeout ¶
func NewGetAuthenticatorsParamsWithTimeout(timeout time.Duration) *GetAuthenticatorsParams
NewGetAuthenticatorsParamsWithTimeout creates a new GetAuthenticatorsParams object with the ability to set a timeout on a request.
func (*GetAuthenticatorsParams) SetBody ¶
func (o *GetAuthenticatorsParams) SetBody(body *models.GetAuthenticatorsRequest)
SetBody adds the body to the get authenticators params
func (*GetAuthenticatorsParams) SetContext ¶
func (o *GetAuthenticatorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get authenticators params
func (*GetAuthenticatorsParams) SetDefaults ¶
func (o *GetAuthenticatorsParams) SetDefaults()
SetDefaults hydrates default values in the get authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthenticatorsParams) SetHTTPClient ¶
func (o *GetAuthenticatorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get authenticators params
func (*GetAuthenticatorsParams) SetTimeout ¶
func (o *GetAuthenticatorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get authenticators params
func (*GetAuthenticatorsParams) WithBody ¶
func (o *GetAuthenticatorsParams) WithBody(body *models.GetAuthenticatorsRequest) *GetAuthenticatorsParams
WithBody adds the body to the get authenticators params
func (*GetAuthenticatorsParams) WithContext ¶
func (o *GetAuthenticatorsParams) WithContext(ctx context.Context) *GetAuthenticatorsParams
WithContext adds the context to the get authenticators params
func (*GetAuthenticatorsParams) WithDefaults ¶
func (o *GetAuthenticatorsParams) WithDefaults() *GetAuthenticatorsParams
WithDefaults hydrates default values in the get authenticators params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthenticatorsParams) WithHTTPClient ¶
func (o *GetAuthenticatorsParams) WithHTTPClient(client *http.Client) *GetAuthenticatorsParams
WithHTTPClient adds the HTTPClient to the get authenticators params
func (*GetAuthenticatorsParams) WithTimeout ¶
func (o *GetAuthenticatorsParams) WithTimeout(timeout time.Duration) *GetAuthenticatorsParams
WithTimeout adds the timeout to the get authenticators params
func (*GetAuthenticatorsParams) WriteToRequest ¶
func (o *GetAuthenticatorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAuthenticatorsReader ¶
type GetAuthenticatorsReader struct {
// contains filtered or unexported fields
}
GetAuthenticatorsReader is a Reader for the GetAuthenticators structure.
func (*GetAuthenticatorsReader) ReadResponse ¶
func (o *GetAuthenticatorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.