Documentation ¶
Index ¶
- type Client
- func (a *Client) ConfirmMFAEnrollment(params *ConfirmMFAEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ConfirmMFAEnrollmentOK, error)
- func (a *Client) DisableMFA(params *DisableMFAParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DisableMFAOK, error)
- func (a *Client) EnableMFA(params *EnableMFAParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EnableMFAOK, error)
- func (a *Client) GetMFAStatus(params *GetMFAStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMFAStatusOK, error)
- func (a *Client) ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResetPasswordOK, error)
- func (a *Client) SendVerificationEmail(params *SendVerificationEmailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SendVerificationEmailOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ConfirmMFAEnrollmentDefault
- func (o *ConfirmMFAEnrollmentDefault) Code() int
- func (o *ConfirmMFAEnrollmentDefault) Error() string
- func (o *ConfirmMFAEnrollmentDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ConfirmMFAEnrollmentDefault) IsClientError() bool
- func (o *ConfirmMFAEnrollmentDefault) IsCode(code int) bool
- func (o *ConfirmMFAEnrollmentDefault) IsRedirect() bool
- func (o *ConfirmMFAEnrollmentDefault) IsServerError() bool
- func (o *ConfirmMFAEnrollmentDefault) IsSuccess() bool
- func (o *ConfirmMFAEnrollmentDefault) String() string
- type ConfirmMFAEnrollmentOK
- func (o *ConfirmMFAEnrollmentOK) Error() string
- func (o *ConfirmMFAEnrollmentOK) GetPayload() models.HashicorpCloudIamConfirmMFAEnrollmentResponse
- func (o *ConfirmMFAEnrollmentOK) IsClientError() bool
- func (o *ConfirmMFAEnrollmentOK) IsCode(code int) bool
- func (o *ConfirmMFAEnrollmentOK) IsRedirect() bool
- func (o *ConfirmMFAEnrollmentOK) IsServerError() bool
- func (o *ConfirmMFAEnrollmentOK) IsSuccess() bool
- func (o *ConfirmMFAEnrollmentOK) String() string
- type ConfirmMFAEnrollmentParams
- func NewConfirmMFAEnrollmentParams() *ConfirmMFAEnrollmentParams
- func NewConfirmMFAEnrollmentParamsWithContext(ctx context.Context) *ConfirmMFAEnrollmentParams
- func NewConfirmMFAEnrollmentParamsWithHTTPClient(client *http.Client) *ConfirmMFAEnrollmentParams
- func NewConfirmMFAEnrollmentParamsWithTimeout(timeout time.Duration) *ConfirmMFAEnrollmentParams
- func (o *ConfirmMFAEnrollmentParams) SetBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest)
- func (o *ConfirmMFAEnrollmentParams) SetContext(ctx context.Context)
- func (o *ConfirmMFAEnrollmentParams) SetDefaults()
- func (o *ConfirmMFAEnrollmentParams) SetHTTPClient(client *http.Client)
- func (o *ConfirmMFAEnrollmentParams) SetTimeout(timeout time.Duration)
- func (o *ConfirmMFAEnrollmentParams) WithBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest) *ConfirmMFAEnrollmentParams
- func (o *ConfirmMFAEnrollmentParams) WithContext(ctx context.Context) *ConfirmMFAEnrollmentParams
- func (o *ConfirmMFAEnrollmentParams) WithDefaults() *ConfirmMFAEnrollmentParams
- func (o *ConfirmMFAEnrollmentParams) WithHTTPClient(client *http.Client) *ConfirmMFAEnrollmentParams
- func (o *ConfirmMFAEnrollmentParams) WithTimeout(timeout time.Duration) *ConfirmMFAEnrollmentParams
- func (o *ConfirmMFAEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConfirmMFAEnrollmentReader
- type DisableMFADefault
- func (o *DisableMFADefault) Code() int
- func (o *DisableMFADefault) Error() string
- func (o *DisableMFADefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DisableMFADefault) IsClientError() bool
- func (o *DisableMFADefault) IsCode(code int) bool
- func (o *DisableMFADefault) IsRedirect() bool
- func (o *DisableMFADefault) IsServerError() bool
- func (o *DisableMFADefault) IsSuccess() bool
- func (o *DisableMFADefault) String() string
- type DisableMFAOK
- func (o *DisableMFAOK) Error() string
- func (o *DisableMFAOK) GetPayload() models.HashicorpCloudIamDisableMFAResponse
- func (o *DisableMFAOK) IsClientError() bool
- func (o *DisableMFAOK) IsCode(code int) bool
- func (o *DisableMFAOK) IsRedirect() bool
- func (o *DisableMFAOK) IsServerError() bool
- func (o *DisableMFAOK) IsSuccess() bool
- func (o *DisableMFAOK) String() string
- type DisableMFAParams
- func (o *DisableMFAParams) SetBody(body *models.HashicorpCloudIamDisableMFARequest)
- func (o *DisableMFAParams) SetContext(ctx context.Context)
- func (o *DisableMFAParams) SetDefaults()
- func (o *DisableMFAParams) SetHTTPClient(client *http.Client)
- func (o *DisableMFAParams) SetTimeout(timeout time.Duration)
- func (o *DisableMFAParams) WithBody(body *models.HashicorpCloudIamDisableMFARequest) *DisableMFAParams
- func (o *DisableMFAParams) WithContext(ctx context.Context) *DisableMFAParams
- func (o *DisableMFAParams) WithDefaults() *DisableMFAParams
- func (o *DisableMFAParams) WithHTTPClient(client *http.Client) *DisableMFAParams
- func (o *DisableMFAParams) WithTimeout(timeout time.Duration) *DisableMFAParams
- func (o *DisableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableMFAReader
- type EnableMFADefault
- func (o *EnableMFADefault) Code() int
- func (o *EnableMFADefault) Error() string
- func (o *EnableMFADefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *EnableMFADefault) IsClientError() bool
- func (o *EnableMFADefault) IsCode(code int) bool
- func (o *EnableMFADefault) IsRedirect() bool
- func (o *EnableMFADefault) IsServerError() bool
- func (o *EnableMFADefault) IsSuccess() bool
- func (o *EnableMFADefault) String() string
- type EnableMFAOK
- func (o *EnableMFAOK) Error() string
- func (o *EnableMFAOK) GetPayload() *models.HashicorpCloudIamEnableMFAResponse
- func (o *EnableMFAOK) IsClientError() bool
- func (o *EnableMFAOK) IsCode(code int) bool
- func (o *EnableMFAOK) IsRedirect() bool
- func (o *EnableMFAOK) IsServerError() bool
- func (o *EnableMFAOK) IsSuccess() bool
- func (o *EnableMFAOK) String() string
- type EnableMFAParams
- func (o *EnableMFAParams) SetBody(body *models.HashicorpCloudIamEnableMFARequest)
- func (o *EnableMFAParams) SetContext(ctx context.Context)
- func (o *EnableMFAParams) SetDefaults()
- func (o *EnableMFAParams) SetHTTPClient(client *http.Client)
- func (o *EnableMFAParams) SetTimeout(timeout time.Duration)
- func (o *EnableMFAParams) WithBody(body *models.HashicorpCloudIamEnableMFARequest) *EnableMFAParams
- func (o *EnableMFAParams) WithContext(ctx context.Context) *EnableMFAParams
- func (o *EnableMFAParams) WithDefaults() *EnableMFAParams
- func (o *EnableMFAParams) WithHTTPClient(client *http.Client) *EnableMFAParams
- func (o *EnableMFAParams) WithTimeout(timeout time.Duration) *EnableMFAParams
- func (o *EnableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableMFAReader
- type GetMFAStatusDefault
- func (o *GetMFAStatusDefault) Code() int
- func (o *GetMFAStatusDefault) Error() string
- func (o *GetMFAStatusDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetMFAStatusDefault) IsClientError() bool
- func (o *GetMFAStatusDefault) IsCode(code int) bool
- func (o *GetMFAStatusDefault) IsRedirect() bool
- func (o *GetMFAStatusDefault) IsServerError() bool
- func (o *GetMFAStatusDefault) IsSuccess() bool
- func (o *GetMFAStatusDefault) String() string
- type GetMFAStatusOK
- func (o *GetMFAStatusOK) Error() string
- func (o *GetMFAStatusOK) GetPayload() *models.HashicorpCloudIamGetMFAStatusResponse
- func (o *GetMFAStatusOK) IsClientError() bool
- func (o *GetMFAStatusOK) IsCode(code int) bool
- func (o *GetMFAStatusOK) IsRedirect() bool
- func (o *GetMFAStatusOK) IsServerError() bool
- func (o *GetMFAStatusOK) IsSuccess() bool
- func (o *GetMFAStatusOK) String() string
- type GetMFAStatusParams
- func (o *GetMFAStatusParams) SetContext(ctx context.Context)
- func (o *GetMFAStatusParams) SetDefaults()
- func (o *GetMFAStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetMFAStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetMFAStatusParams) WithContext(ctx context.Context) *GetMFAStatusParams
- func (o *GetMFAStatusParams) WithDefaults() *GetMFAStatusParams
- func (o *GetMFAStatusParams) WithHTTPClient(client *http.Client) *GetMFAStatusParams
- func (o *GetMFAStatusParams) WithTimeout(timeout time.Duration) *GetMFAStatusParams
- func (o *GetMFAStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMFAStatusReader
- type ResetPasswordDefault
- func (o *ResetPasswordDefault) Code() int
- func (o *ResetPasswordDefault) Error() string
- func (o *ResetPasswordDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResetPasswordDefault) IsClientError() bool
- func (o *ResetPasswordDefault) IsCode(code int) bool
- func (o *ResetPasswordDefault) IsRedirect() bool
- func (o *ResetPasswordDefault) IsServerError() bool
- func (o *ResetPasswordDefault) IsSuccess() bool
- func (o *ResetPasswordDefault) String() string
- type ResetPasswordOK
- func (o *ResetPasswordOK) Error() string
- func (o *ResetPasswordOK) GetPayload() models.HashicorpCloudIamResetPasswordResponse
- func (o *ResetPasswordOK) IsClientError() bool
- func (o *ResetPasswordOK) IsCode(code int) bool
- func (o *ResetPasswordOK) IsRedirect() bool
- func (o *ResetPasswordOK) IsServerError() bool
- func (o *ResetPasswordOK) IsSuccess() bool
- func (o *ResetPasswordOK) String() string
- type ResetPasswordParams
- func (o *ResetPasswordParams) SetContext(ctx context.Context)
- func (o *ResetPasswordParams) SetDefaults()
- func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
- func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
- func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
- func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
- func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPasswordReader
- type SendVerificationEmailDefault
- func (o *SendVerificationEmailDefault) Code() int
- func (o *SendVerificationEmailDefault) Error() string
- func (o *SendVerificationEmailDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *SendVerificationEmailDefault) IsClientError() bool
- func (o *SendVerificationEmailDefault) IsCode(code int) bool
- func (o *SendVerificationEmailDefault) IsRedirect() bool
- func (o *SendVerificationEmailDefault) IsServerError() bool
- func (o *SendVerificationEmailDefault) IsSuccess() bool
- func (o *SendVerificationEmailDefault) String() string
- type SendVerificationEmailOK
- func (o *SendVerificationEmailOK) Error() string
- func (o *SendVerificationEmailOK) GetPayload() models.HashicorpCloudIamSendVerificationEmailResponse
- func (o *SendVerificationEmailOK) IsClientError() bool
- func (o *SendVerificationEmailOK) IsCode(code int) bool
- func (o *SendVerificationEmailOK) IsRedirect() bool
- func (o *SendVerificationEmailOK) IsServerError() bool
- func (o *SendVerificationEmailOK) IsSuccess() bool
- func (o *SendVerificationEmailOK) String() string
- type SendVerificationEmailParams
- func NewSendVerificationEmailParams() *SendVerificationEmailParams
- func NewSendVerificationEmailParamsWithContext(ctx context.Context) *SendVerificationEmailParams
- func NewSendVerificationEmailParamsWithHTTPClient(client *http.Client) *SendVerificationEmailParams
- func NewSendVerificationEmailParamsWithTimeout(timeout time.Duration) *SendVerificationEmailParams
- func (o *SendVerificationEmailParams) SetContext(ctx context.Context)
- func (o *SendVerificationEmailParams) SetDefaults()
- func (o *SendVerificationEmailParams) SetHTTPClient(client *http.Client)
- func (o *SendVerificationEmailParams) SetTimeout(timeout time.Duration)
- func (o *SendVerificationEmailParams) WithContext(ctx context.Context) *SendVerificationEmailParams
- func (o *SendVerificationEmailParams) WithDefaults() *SendVerificationEmailParams
- func (o *SendVerificationEmailParams) WithHTTPClient(client *http.Client) *SendVerificationEmailParams
- func (o *SendVerificationEmailParams) WithTimeout(timeout time.Duration) *SendVerificationEmailParams
- func (o *SendVerificationEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SendVerificationEmailReader
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 profile service API
func (*Client) ConfirmMFAEnrollment ¶
func (a *Client) ConfirmMFAEnrollment(params *ConfirmMFAEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfirmMFAEnrollmentOK, error)
ConfirmMFAEnrollment confirms m f a enrollment is used to perform the first authentication with a newly setup m f a t o t p which then confirms the user s setup and activates the new m f a enrollment
func (*Client) DisableMFA ¶
func (a *Client) DisableMFA(params *DisableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableMFAOK, error)
DisableMFA disable m f a API
func (*Client) EnableMFA ¶
func (a *Client) EnableMFA(params *EnableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableMFAOK, error)
EnableMFA enables m f a triggers the process of enabling m f a for a given user
func (*Client) GetMFAStatus ¶
func (a *Client) GetMFAStatus(params *GetMFAStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMFAStatusOK, error)
GetMFAStatus gets m f a status returns the m f a status of the current user
func (*Client) ResetPassword ¶
func (a *Client) ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordOK, error)
ResetPassword resets password resets a password for an email password user
func (*Client) SendVerificationEmail ¶
func (a *Client) SendVerificationEmail(params *SendVerificationEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendVerificationEmailOK, error)
SendVerificationEmail sends verification email triggers a new verification email to be sent to calling user s email address
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 { ConfirmMFAEnrollment(params *ConfirmMFAEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ConfirmMFAEnrollmentOK, error) DisableMFA(params *DisableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DisableMFAOK, error) EnableMFA(params *EnableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EnableMFAOK, error) GetMFAStatus(params *GetMFAStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMFAStatusOK, error) ResetPassword(params *ResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetPasswordOK, error) SendVerificationEmail(params *SendVerificationEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendVerificationEmailOK, 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 profile service API client.
type ConfirmMFAEnrollmentDefault ¶
type ConfirmMFAEnrollmentDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ConfirmMFAEnrollmentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewConfirmMFAEnrollmentDefault ¶
func NewConfirmMFAEnrollmentDefault(code int) *ConfirmMFAEnrollmentDefault
NewConfirmMFAEnrollmentDefault creates a ConfirmMFAEnrollmentDefault with default headers values
func (*ConfirmMFAEnrollmentDefault) Code ¶
func (o *ConfirmMFAEnrollmentDefault) Code() int
Code gets the status code for the confirm m f a enrollment default response
func (*ConfirmMFAEnrollmentDefault) Error ¶
func (o *ConfirmMFAEnrollmentDefault) Error() string
func (*ConfirmMFAEnrollmentDefault) GetPayload ¶
func (o *ConfirmMFAEnrollmentDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ConfirmMFAEnrollmentDefault) IsClientError ¶
func (o *ConfirmMFAEnrollmentDefault) IsClientError() bool
IsClientError returns true when this confirm m f a enrollment default response has a 4xx status code
func (*ConfirmMFAEnrollmentDefault) IsCode ¶
func (o *ConfirmMFAEnrollmentDefault) IsCode(code int) bool
IsCode returns true when this confirm m f a enrollment default response a status code equal to that given
func (*ConfirmMFAEnrollmentDefault) IsRedirect ¶
func (o *ConfirmMFAEnrollmentDefault) IsRedirect() bool
IsRedirect returns true when this confirm m f a enrollment default response has a 3xx status code
func (*ConfirmMFAEnrollmentDefault) IsServerError ¶
func (o *ConfirmMFAEnrollmentDefault) IsServerError() bool
IsServerError returns true when this confirm m f a enrollment default response has a 5xx status code
func (*ConfirmMFAEnrollmentDefault) IsSuccess ¶
func (o *ConfirmMFAEnrollmentDefault) IsSuccess() bool
IsSuccess returns true when this confirm m f a enrollment default response has a 2xx status code
func (*ConfirmMFAEnrollmentDefault) String ¶
func (o *ConfirmMFAEnrollmentDefault) String() string
type ConfirmMFAEnrollmentOK ¶
type ConfirmMFAEnrollmentOK struct {
Payload models.HashicorpCloudIamConfirmMFAEnrollmentResponse
}
ConfirmMFAEnrollmentOK describes a response with status code 200, with default header values.
A successful response.
func NewConfirmMFAEnrollmentOK ¶
func NewConfirmMFAEnrollmentOK() *ConfirmMFAEnrollmentOK
NewConfirmMFAEnrollmentOK creates a ConfirmMFAEnrollmentOK with default headers values
func (*ConfirmMFAEnrollmentOK) Error ¶
func (o *ConfirmMFAEnrollmentOK) Error() string
func (*ConfirmMFAEnrollmentOK) GetPayload ¶
func (o *ConfirmMFAEnrollmentOK) GetPayload() models.HashicorpCloudIamConfirmMFAEnrollmentResponse
func (*ConfirmMFAEnrollmentOK) IsClientError ¶
func (o *ConfirmMFAEnrollmentOK) IsClientError() bool
IsClientError returns true when this confirm m f a enrollment o k response has a 4xx status code
func (*ConfirmMFAEnrollmentOK) IsCode ¶
func (o *ConfirmMFAEnrollmentOK) IsCode(code int) bool
IsCode returns true when this confirm m f a enrollment o k response a status code equal to that given
func (*ConfirmMFAEnrollmentOK) IsRedirect ¶
func (o *ConfirmMFAEnrollmentOK) IsRedirect() bool
IsRedirect returns true when this confirm m f a enrollment o k response has a 3xx status code
func (*ConfirmMFAEnrollmentOK) IsServerError ¶
func (o *ConfirmMFAEnrollmentOK) IsServerError() bool
IsServerError returns true when this confirm m f a enrollment o k response has a 5xx status code
func (*ConfirmMFAEnrollmentOK) IsSuccess ¶
func (o *ConfirmMFAEnrollmentOK) IsSuccess() bool
IsSuccess returns true when this confirm m f a enrollment o k response has a 2xx status code
func (*ConfirmMFAEnrollmentOK) String ¶
func (o *ConfirmMFAEnrollmentOK) String() string
type ConfirmMFAEnrollmentParams ¶
type ConfirmMFAEnrollmentParams struct { // Body. Body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ConfirmMFAEnrollmentParams contains all the parameters to send to the API endpoint
for the confirm m f a enrollment operation. Typically these are written to a http.Request.
func NewConfirmMFAEnrollmentParams ¶
func NewConfirmMFAEnrollmentParams() *ConfirmMFAEnrollmentParams
NewConfirmMFAEnrollmentParams creates a new ConfirmMFAEnrollmentParams 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 NewConfirmMFAEnrollmentParamsWithContext ¶
func NewConfirmMFAEnrollmentParamsWithContext(ctx context.Context) *ConfirmMFAEnrollmentParams
NewConfirmMFAEnrollmentParamsWithContext creates a new ConfirmMFAEnrollmentParams object with the ability to set a context for a request.
func NewConfirmMFAEnrollmentParamsWithHTTPClient ¶
func NewConfirmMFAEnrollmentParamsWithHTTPClient(client *http.Client) *ConfirmMFAEnrollmentParams
NewConfirmMFAEnrollmentParamsWithHTTPClient creates a new ConfirmMFAEnrollmentParams object with the ability to set a custom HTTPClient for a request.
func NewConfirmMFAEnrollmentParamsWithTimeout ¶
func NewConfirmMFAEnrollmentParamsWithTimeout(timeout time.Duration) *ConfirmMFAEnrollmentParams
NewConfirmMFAEnrollmentParamsWithTimeout creates a new ConfirmMFAEnrollmentParams object with the ability to set a timeout on a request.
func (*ConfirmMFAEnrollmentParams) SetBody ¶
func (o *ConfirmMFAEnrollmentParams) SetBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest)
SetBody adds the body to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) SetContext ¶
func (o *ConfirmMFAEnrollmentParams) SetContext(ctx context.Context)
SetContext adds the context to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) SetDefaults ¶
func (o *ConfirmMFAEnrollmentParams) SetDefaults()
SetDefaults hydrates default values in the confirm m f a enrollment params (not the query body).
All values with no default are reset to their zero value.
func (*ConfirmMFAEnrollmentParams) SetHTTPClient ¶
func (o *ConfirmMFAEnrollmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) SetTimeout ¶
func (o *ConfirmMFAEnrollmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) WithBody ¶
func (o *ConfirmMFAEnrollmentParams) WithBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest) *ConfirmMFAEnrollmentParams
WithBody adds the body to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) WithContext ¶
func (o *ConfirmMFAEnrollmentParams) WithContext(ctx context.Context) *ConfirmMFAEnrollmentParams
WithContext adds the context to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) WithDefaults ¶
func (o *ConfirmMFAEnrollmentParams) WithDefaults() *ConfirmMFAEnrollmentParams
WithDefaults hydrates default values in the confirm m f a enrollment params (not the query body).
All values with no default are reset to their zero value.
func (*ConfirmMFAEnrollmentParams) WithHTTPClient ¶
func (o *ConfirmMFAEnrollmentParams) WithHTTPClient(client *http.Client) *ConfirmMFAEnrollmentParams
WithHTTPClient adds the HTTPClient to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) WithTimeout ¶
func (o *ConfirmMFAEnrollmentParams) WithTimeout(timeout time.Duration) *ConfirmMFAEnrollmentParams
WithTimeout adds the timeout to the confirm m f a enrollment params
func (*ConfirmMFAEnrollmentParams) WriteToRequest ¶
func (o *ConfirmMFAEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ConfirmMFAEnrollmentReader ¶
type ConfirmMFAEnrollmentReader struct {
// contains filtered or unexported fields
}
ConfirmMFAEnrollmentReader is a Reader for the ConfirmMFAEnrollment structure.
func (*ConfirmMFAEnrollmentReader) ReadResponse ¶
func (o *ConfirmMFAEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DisableMFADefault ¶
type DisableMFADefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DisableMFADefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDisableMFADefault ¶
func NewDisableMFADefault(code int) *DisableMFADefault
NewDisableMFADefault creates a DisableMFADefault with default headers values
func (*DisableMFADefault) Code ¶
func (o *DisableMFADefault) Code() int
Code gets the status code for the disable m f a default response
func (*DisableMFADefault) Error ¶
func (o *DisableMFADefault) Error() string
func (*DisableMFADefault) GetPayload ¶
func (o *DisableMFADefault) GetPayload() *cloud.GoogleRPCStatus
func (*DisableMFADefault) IsClientError ¶
func (o *DisableMFADefault) IsClientError() bool
IsClientError returns true when this disable m f a default response has a 4xx status code
func (*DisableMFADefault) IsCode ¶
func (o *DisableMFADefault) IsCode(code int) bool
IsCode returns true when this disable m f a default response a status code equal to that given
func (*DisableMFADefault) IsRedirect ¶
func (o *DisableMFADefault) IsRedirect() bool
IsRedirect returns true when this disable m f a default response has a 3xx status code
func (*DisableMFADefault) IsServerError ¶
func (o *DisableMFADefault) IsServerError() bool
IsServerError returns true when this disable m f a default response has a 5xx status code
func (*DisableMFADefault) IsSuccess ¶
func (o *DisableMFADefault) IsSuccess() bool
IsSuccess returns true when this disable m f a default response has a 2xx status code
func (*DisableMFADefault) String ¶
func (o *DisableMFADefault) String() string
type DisableMFAOK ¶
type DisableMFAOK struct {
Payload models.HashicorpCloudIamDisableMFAResponse
}
DisableMFAOK describes a response with status code 200, with default header values.
A successful response.
func NewDisableMFAOK ¶
func NewDisableMFAOK() *DisableMFAOK
NewDisableMFAOK creates a DisableMFAOK with default headers values
func (*DisableMFAOK) Error ¶
func (o *DisableMFAOK) Error() string
func (*DisableMFAOK) GetPayload ¶
func (o *DisableMFAOK) GetPayload() models.HashicorpCloudIamDisableMFAResponse
func (*DisableMFAOK) IsClientError ¶
func (o *DisableMFAOK) IsClientError() bool
IsClientError returns true when this disable m f a o k response has a 4xx status code
func (*DisableMFAOK) IsCode ¶
func (o *DisableMFAOK) IsCode(code int) bool
IsCode returns true when this disable m f a o k response a status code equal to that given
func (*DisableMFAOK) IsRedirect ¶
func (o *DisableMFAOK) IsRedirect() bool
IsRedirect returns true when this disable m f a o k response has a 3xx status code
func (*DisableMFAOK) IsServerError ¶
func (o *DisableMFAOK) IsServerError() bool
IsServerError returns true when this disable m f a o k response has a 5xx status code
func (*DisableMFAOK) IsSuccess ¶
func (o *DisableMFAOK) IsSuccess() bool
IsSuccess returns true when this disable m f a o k response has a 2xx status code
func (*DisableMFAOK) String ¶
func (o *DisableMFAOK) String() string
type DisableMFAParams ¶
type DisableMFAParams struct { // Body. Body *models.HashicorpCloudIamDisableMFARequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisableMFAParams contains all the parameters to send to the API endpoint
for the disable m f a operation. Typically these are written to a http.Request.
func NewDisableMFAParams ¶
func NewDisableMFAParams() *DisableMFAParams
NewDisableMFAParams creates a new DisableMFAParams 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 NewDisableMFAParamsWithContext ¶
func NewDisableMFAParamsWithContext(ctx context.Context) *DisableMFAParams
NewDisableMFAParamsWithContext creates a new DisableMFAParams object with the ability to set a context for a request.
func NewDisableMFAParamsWithHTTPClient ¶
func NewDisableMFAParamsWithHTTPClient(client *http.Client) *DisableMFAParams
NewDisableMFAParamsWithHTTPClient creates a new DisableMFAParams object with the ability to set a custom HTTPClient for a request.
func NewDisableMFAParamsWithTimeout ¶
func NewDisableMFAParamsWithTimeout(timeout time.Duration) *DisableMFAParams
NewDisableMFAParamsWithTimeout creates a new DisableMFAParams object with the ability to set a timeout on a request.
func (*DisableMFAParams) SetBody ¶
func (o *DisableMFAParams) SetBody(body *models.HashicorpCloudIamDisableMFARequest)
SetBody adds the body to the disable m f a params
func (*DisableMFAParams) SetContext ¶
func (o *DisableMFAParams) SetContext(ctx context.Context)
SetContext adds the context to the disable m f a params
func (*DisableMFAParams) SetDefaults ¶
func (o *DisableMFAParams) SetDefaults()
SetDefaults hydrates default values in the disable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*DisableMFAParams) SetHTTPClient ¶
func (o *DisableMFAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable m f a params
func (*DisableMFAParams) SetTimeout ¶
func (o *DisableMFAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disable m f a params
func (*DisableMFAParams) WithBody ¶
func (o *DisableMFAParams) WithBody(body *models.HashicorpCloudIamDisableMFARequest) *DisableMFAParams
WithBody adds the body to the disable m f a params
func (*DisableMFAParams) WithContext ¶
func (o *DisableMFAParams) WithContext(ctx context.Context) *DisableMFAParams
WithContext adds the context to the disable m f a params
func (*DisableMFAParams) WithDefaults ¶
func (o *DisableMFAParams) WithDefaults() *DisableMFAParams
WithDefaults hydrates default values in the disable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*DisableMFAParams) WithHTTPClient ¶
func (o *DisableMFAParams) WithHTTPClient(client *http.Client) *DisableMFAParams
WithHTTPClient adds the HTTPClient to the disable m f a params
func (*DisableMFAParams) WithTimeout ¶
func (o *DisableMFAParams) WithTimeout(timeout time.Duration) *DisableMFAParams
WithTimeout adds the timeout to the disable m f a params
func (*DisableMFAParams) WriteToRequest ¶
func (o *DisableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DisableMFAReader ¶
type DisableMFAReader struct {
// contains filtered or unexported fields
}
DisableMFAReader is a Reader for the DisableMFA structure.
func (*DisableMFAReader) ReadResponse ¶
func (o *DisableMFAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EnableMFADefault ¶
type EnableMFADefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
EnableMFADefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewEnableMFADefault ¶
func NewEnableMFADefault(code int) *EnableMFADefault
NewEnableMFADefault creates a EnableMFADefault with default headers values
func (*EnableMFADefault) Code ¶
func (o *EnableMFADefault) Code() int
Code gets the status code for the enable m f a default response
func (*EnableMFADefault) Error ¶
func (o *EnableMFADefault) Error() string
func (*EnableMFADefault) GetPayload ¶
func (o *EnableMFADefault) GetPayload() *cloud.GoogleRPCStatus
func (*EnableMFADefault) IsClientError ¶
func (o *EnableMFADefault) IsClientError() bool
IsClientError returns true when this enable m f a default response has a 4xx status code
func (*EnableMFADefault) IsCode ¶
func (o *EnableMFADefault) IsCode(code int) bool
IsCode returns true when this enable m f a default response a status code equal to that given
func (*EnableMFADefault) IsRedirect ¶
func (o *EnableMFADefault) IsRedirect() bool
IsRedirect returns true when this enable m f a default response has a 3xx status code
func (*EnableMFADefault) IsServerError ¶
func (o *EnableMFADefault) IsServerError() bool
IsServerError returns true when this enable m f a default response has a 5xx status code
func (*EnableMFADefault) IsSuccess ¶
func (o *EnableMFADefault) IsSuccess() bool
IsSuccess returns true when this enable m f a default response has a 2xx status code
func (*EnableMFADefault) String ¶
func (o *EnableMFADefault) String() string
type EnableMFAOK ¶
type EnableMFAOK struct {
Payload *models.HashicorpCloudIamEnableMFAResponse
}
EnableMFAOK describes a response with status code 200, with default header values.
A successful response.
func NewEnableMFAOK ¶
func NewEnableMFAOK() *EnableMFAOK
NewEnableMFAOK creates a EnableMFAOK with default headers values
func (*EnableMFAOK) Error ¶
func (o *EnableMFAOK) Error() string
func (*EnableMFAOK) GetPayload ¶
func (o *EnableMFAOK) GetPayload() *models.HashicorpCloudIamEnableMFAResponse
func (*EnableMFAOK) IsClientError ¶
func (o *EnableMFAOK) IsClientError() bool
IsClientError returns true when this enable m f a o k response has a 4xx status code
func (*EnableMFAOK) IsCode ¶
func (o *EnableMFAOK) IsCode(code int) bool
IsCode returns true when this enable m f a o k response a status code equal to that given
func (*EnableMFAOK) IsRedirect ¶
func (o *EnableMFAOK) IsRedirect() bool
IsRedirect returns true when this enable m f a o k response has a 3xx status code
func (*EnableMFAOK) IsServerError ¶
func (o *EnableMFAOK) IsServerError() bool
IsServerError returns true when this enable m f a o k response has a 5xx status code
func (*EnableMFAOK) IsSuccess ¶
func (o *EnableMFAOK) IsSuccess() bool
IsSuccess returns true when this enable m f a o k response has a 2xx status code
func (*EnableMFAOK) String ¶
func (o *EnableMFAOK) String() string
type EnableMFAParams ¶
type EnableMFAParams struct { // Body. Body *models.HashicorpCloudIamEnableMFARequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnableMFAParams contains all the parameters to send to the API endpoint
for the enable m f a operation. Typically these are written to a http.Request.
func NewEnableMFAParams ¶
func NewEnableMFAParams() *EnableMFAParams
NewEnableMFAParams creates a new EnableMFAParams 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 NewEnableMFAParamsWithContext ¶
func NewEnableMFAParamsWithContext(ctx context.Context) *EnableMFAParams
NewEnableMFAParamsWithContext creates a new EnableMFAParams object with the ability to set a context for a request.
func NewEnableMFAParamsWithHTTPClient ¶
func NewEnableMFAParamsWithHTTPClient(client *http.Client) *EnableMFAParams
NewEnableMFAParamsWithHTTPClient creates a new EnableMFAParams object with the ability to set a custom HTTPClient for a request.
func NewEnableMFAParamsWithTimeout ¶
func NewEnableMFAParamsWithTimeout(timeout time.Duration) *EnableMFAParams
NewEnableMFAParamsWithTimeout creates a new EnableMFAParams object with the ability to set a timeout on a request.
func (*EnableMFAParams) SetBody ¶
func (o *EnableMFAParams) SetBody(body *models.HashicorpCloudIamEnableMFARequest)
SetBody adds the body to the enable m f a params
func (*EnableMFAParams) SetContext ¶
func (o *EnableMFAParams) SetContext(ctx context.Context)
SetContext adds the context to the enable m f a params
func (*EnableMFAParams) SetDefaults ¶
func (o *EnableMFAParams) SetDefaults()
SetDefaults hydrates default values in the enable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*EnableMFAParams) SetHTTPClient ¶
func (o *EnableMFAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable m f a params
func (*EnableMFAParams) SetTimeout ¶
func (o *EnableMFAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable m f a params
func (*EnableMFAParams) WithBody ¶
func (o *EnableMFAParams) WithBody(body *models.HashicorpCloudIamEnableMFARequest) *EnableMFAParams
WithBody adds the body to the enable m f a params
func (*EnableMFAParams) WithContext ¶
func (o *EnableMFAParams) WithContext(ctx context.Context) *EnableMFAParams
WithContext adds the context to the enable m f a params
func (*EnableMFAParams) WithDefaults ¶
func (o *EnableMFAParams) WithDefaults() *EnableMFAParams
WithDefaults hydrates default values in the enable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*EnableMFAParams) WithHTTPClient ¶
func (o *EnableMFAParams) WithHTTPClient(client *http.Client) *EnableMFAParams
WithHTTPClient adds the HTTPClient to the enable m f a params
func (*EnableMFAParams) WithTimeout ¶
func (o *EnableMFAParams) WithTimeout(timeout time.Duration) *EnableMFAParams
WithTimeout adds the timeout to the enable m f a params
func (*EnableMFAParams) WriteToRequest ¶
func (o *EnableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnableMFAReader ¶
type EnableMFAReader struct {
// contains filtered or unexported fields
}
EnableMFAReader is a Reader for the EnableMFA structure.
func (*EnableMFAReader) ReadResponse ¶
func (o *EnableMFAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMFAStatusDefault ¶
type GetMFAStatusDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetMFAStatusDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetMFAStatusDefault ¶
func NewGetMFAStatusDefault(code int) *GetMFAStatusDefault
NewGetMFAStatusDefault creates a GetMFAStatusDefault with default headers values
func (*GetMFAStatusDefault) Code ¶
func (o *GetMFAStatusDefault) Code() int
Code gets the status code for the get m f a status default response
func (*GetMFAStatusDefault) Error ¶
func (o *GetMFAStatusDefault) Error() string
func (*GetMFAStatusDefault) GetPayload ¶
func (o *GetMFAStatusDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetMFAStatusDefault) IsClientError ¶
func (o *GetMFAStatusDefault) IsClientError() bool
IsClientError returns true when this get m f a status default response has a 4xx status code
func (*GetMFAStatusDefault) IsCode ¶
func (o *GetMFAStatusDefault) IsCode(code int) bool
IsCode returns true when this get m f a status default response a status code equal to that given
func (*GetMFAStatusDefault) IsRedirect ¶
func (o *GetMFAStatusDefault) IsRedirect() bool
IsRedirect returns true when this get m f a status default response has a 3xx status code
func (*GetMFAStatusDefault) IsServerError ¶
func (o *GetMFAStatusDefault) IsServerError() bool
IsServerError returns true when this get m f a status default response has a 5xx status code
func (*GetMFAStatusDefault) IsSuccess ¶
func (o *GetMFAStatusDefault) IsSuccess() bool
IsSuccess returns true when this get m f a status default response has a 2xx status code
func (*GetMFAStatusDefault) String ¶
func (o *GetMFAStatusDefault) String() string
type GetMFAStatusOK ¶
type GetMFAStatusOK struct {
Payload *models.HashicorpCloudIamGetMFAStatusResponse
}
GetMFAStatusOK describes a response with status code 200, with default header values.
A successful response.
func NewGetMFAStatusOK ¶
func NewGetMFAStatusOK() *GetMFAStatusOK
NewGetMFAStatusOK creates a GetMFAStatusOK with default headers values
func (*GetMFAStatusOK) Error ¶
func (o *GetMFAStatusOK) Error() string
func (*GetMFAStatusOK) GetPayload ¶
func (o *GetMFAStatusOK) GetPayload() *models.HashicorpCloudIamGetMFAStatusResponse
func (*GetMFAStatusOK) IsClientError ¶
func (o *GetMFAStatusOK) IsClientError() bool
IsClientError returns true when this get m f a status o k response has a 4xx status code
func (*GetMFAStatusOK) IsCode ¶
func (o *GetMFAStatusOK) IsCode(code int) bool
IsCode returns true when this get m f a status o k response a status code equal to that given
func (*GetMFAStatusOK) IsRedirect ¶
func (o *GetMFAStatusOK) IsRedirect() bool
IsRedirect returns true when this get m f a status o k response has a 3xx status code
func (*GetMFAStatusOK) IsServerError ¶
func (o *GetMFAStatusOK) IsServerError() bool
IsServerError returns true when this get m f a status o k response has a 5xx status code
func (*GetMFAStatusOK) IsSuccess ¶
func (o *GetMFAStatusOK) IsSuccess() bool
IsSuccess returns true when this get m f a status o k response has a 2xx status code
func (*GetMFAStatusOK) String ¶
func (o *GetMFAStatusOK) String() string
type GetMFAStatusParams ¶
type GetMFAStatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMFAStatusParams contains all the parameters to send to the API endpoint
for the get m f a status operation. Typically these are written to a http.Request.
func NewGetMFAStatusParams ¶
func NewGetMFAStatusParams() *GetMFAStatusParams
NewGetMFAStatusParams creates a new GetMFAStatusParams 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 NewGetMFAStatusParamsWithContext ¶
func NewGetMFAStatusParamsWithContext(ctx context.Context) *GetMFAStatusParams
NewGetMFAStatusParamsWithContext creates a new GetMFAStatusParams object with the ability to set a context for a request.
func NewGetMFAStatusParamsWithHTTPClient ¶
func NewGetMFAStatusParamsWithHTTPClient(client *http.Client) *GetMFAStatusParams
NewGetMFAStatusParamsWithHTTPClient creates a new GetMFAStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetMFAStatusParamsWithTimeout ¶
func NewGetMFAStatusParamsWithTimeout(timeout time.Duration) *GetMFAStatusParams
NewGetMFAStatusParamsWithTimeout creates a new GetMFAStatusParams object with the ability to set a timeout on a request.
func (*GetMFAStatusParams) SetContext ¶
func (o *GetMFAStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get m f a status params
func (*GetMFAStatusParams) SetDefaults ¶
func (o *GetMFAStatusParams) SetDefaults()
SetDefaults hydrates default values in the get m f a status params (not the query body).
All values with no default are reset to their zero value.
func (*GetMFAStatusParams) SetHTTPClient ¶
func (o *GetMFAStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get m f a status params
func (*GetMFAStatusParams) SetTimeout ¶
func (o *GetMFAStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get m f a status params
func (*GetMFAStatusParams) WithContext ¶
func (o *GetMFAStatusParams) WithContext(ctx context.Context) *GetMFAStatusParams
WithContext adds the context to the get m f a status params
func (*GetMFAStatusParams) WithDefaults ¶
func (o *GetMFAStatusParams) WithDefaults() *GetMFAStatusParams
WithDefaults hydrates default values in the get m f a status params (not the query body).
All values with no default are reset to their zero value.
func (*GetMFAStatusParams) WithHTTPClient ¶
func (o *GetMFAStatusParams) WithHTTPClient(client *http.Client) *GetMFAStatusParams
WithHTTPClient adds the HTTPClient to the get m f a status params
func (*GetMFAStatusParams) WithTimeout ¶
func (o *GetMFAStatusParams) WithTimeout(timeout time.Duration) *GetMFAStatusParams
WithTimeout adds the timeout to the get m f a status params
func (*GetMFAStatusParams) WriteToRequest ¶
func (o *GetMFAStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMFAStatusReader ¶
type GetMFAStatusReader struct {
// contains filtered or unexported fields
}
GetMFAStatusReader is a Reader for the GetMFAStatus structure.
func (*GetMFAStatusReader) ReadResponse ¶
func (o *GetMFAStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPasswordDefault ¶
type ResetPasswordDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ResetPasswordDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewResetPasswordDefault ¶
func NewResetPasswordDefault(code int) *ResetPasswordDefault
NewResetPasswordDefault creates a ResetPasswordDefault with default headers values
func (*ResetPasswordDefault) Code ¶
func (o *ResetPasswordDefault) Code() int
Code gets the status code for the reset password default response
func (*ResetPasswordDefault) Error ¶
func (o *ResetPasswordDefault) Error() string
func (*ResetPasswordDefault) GetPayload ¶
func (o *ResetPasswordDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ResetPasswordDefault) IsClientError ¶
func (o *ResetPasswordDefault) IsClientError() bool
IsClientError returns true when this reset password default response has a 4xx status code
func (*ResetPasswordDefault) IsCode ¶
func (o *ResetPasswordDefault) IsCode(code int) bool
IsCode returns true when this reset password default response a status code equal to that given
func (*ResetPasswordDefault) IsRedirect ¶
func (o *ResetPasswordDefault) IsRedirect() bool
IsRedirect returns true when this reset password default response has a 3xx status code
func (*ResetPasswordDefault) IsServerError ¶
func (o *ResetPasswordDefault) IsServerError() bool
IsServerError returns true when this reset password default response has a 5xx status code
func (*ResetPasswordDefault) IsSuccess ¶
func (o *ResetPasswordDefault) IsSuccess() bool
IsSuccess returns true when this reset password default response has a 2xx status code
func (*ResetPasswordDefault) String ¶
func (o *ResetPasswordDefault) String() string
type ResetPasswordOK ¶
type ResetPasswordOK struct {
Payload models.HashicorpCloudIamResetPasswordResponse
}
ResetPasswordOK describes a response with status code 200, with default header values.
A successful response.
func NewResetPasswordOK ¶
func NewResetPasswordOK() *ResetPasswordOK
NewResetPasswordOK creates a ResetPasswordOK with default headers values
func (*ResetPasswordOK) Error ¶
func (o *ResetPasswordOK) Error() string
func (*ResetPasswordOK) GetPayload ¶
func (o *ResetPasswordOK) GetPayload() models.HashicorpCloudIamResetPasswordResponse
func (*ResetPasswordOK) IsClientError ¶
func (o *ResetPasswordOK) IsClientError() bool
IsClientError returns true when this reset password o k response has a 4xx status code
func (*ResetPasswordOK) IsCode ¶
func (o *ResetPasswordOK) IsCode(code int) bool
IsCode returns true when this reset password o k response a status code equal to that given
func (*ResetPasswordOK) IsRedirect ¶
func (o *ResetPasswordOK) IsRedirect() bool
IsRedirect returns true when this reset password o k response has a 3xx status code
func (*ResetPasswordOK) IsServerError ¶
func (o *ResetPasswordOK) IsServerError() bool
IsServerError returns true when this reset password o k response has a 5xx status code
func (*ResetPasswordOK) IsSuccess ¶
func (o *ResetPasswordOK) IsSuccess() bool
IsSuccess returns true when this reset password o k response has a 2xx status code
func (*ResetPasswordOK) String ¶
func (o *ResetPasswordOK) String() string
type ResetPasswordParams ¶
type ResetPasswordParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPasswordParams contains all the parameters to send to the API endpoint
for the reset password operation. Typically these are written to a http.Request.
func NewResetPasswordParams ¶
func NewResetPasswordParams() *ResetPasswordParams
NewResetPasswordParams creates a new ResetPasswordParams 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 NewResetPasswordParamsWithContext ¶
func NewResetPasswordParamsWithContext(ctx context.Context) *ResetPasswordParams
NewResetPasswordParamsWithContext creates a new ResetPasswordParams object with the ability to set a context for a request.
func NewResetPasswordParamsWithHTTPClient ¶
func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordParams
NewResetPasswordParamsWithHTTPClient creates a new ResetPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewResetPasswordParamsWithTimeout ¶
func NewResetPasswordParamsWithTimeout(timeout time.Duration) *ResetPasswordParams
NewResetPasswordParamsWithTimeout creates a new ResetPasswordParams object with the ability to set a timeout on a request.
func (*ResetPasswordParams) SetContext ¶
func (o *ResetPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the reset password params
func (*ResetPasswordParams) SetDefaults ¶
func (o *ResetPasswordParams) SetDefaults()
SetDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) SetHTTPClient ¶
func (o *ResetPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) SetTimeout ¶
func (o *ResetPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WithContext ¶
func (o *ResetPasswordParams) WithContext(ctx context.Context) *ResetPasswordParams
WithContext adds the context to the reset password params
func (*ResetPasswordParams) WithDefaults ¶
func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams
WithDefaults hydrates default values in the reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ResetPasswordParams) WithHTTPClient ¶
func (o *ResetPasswordParams) WithHTTPClient(client *http.Client) *ResetPasswordParams
WithHTTPClient adds the HTTPClient to the reset password params
func (*ResetPasswordParams) WithTimeout ¶
func (o *ResetPasswordParams) WithTimeout(timeout time.Duration) *ResetPasswordParams
WithTimeout adds the timeout to the reset password params
func (*ResetPasswordParams) WriteToRequest ¶
func (o *ResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPasswordReader ¶
type ResetPasswordReader struct {
// contains filtered or unexported fields
}
ResetPasswordReader is a Reader for the ResetPassword structure.
func (*ResetPasswordReader) ReadResponse ¶
func (o *ResetPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SendVerificationEmailDefault ¶
type SendVerificationEmailDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
SendVerificationEmailDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewSendVerificationEmailDefault ¶
func NewSendVerificationEmailDefault(code int) *SendVerificationEmailDefault
NewSendVerificationEmailDefault creates a SendVerificationEmailDefault with default headers values
func (*SendVerificationEmailDefault) Code ¶
func (o *SendVerificationEmailDefault) Code() int
Code gets the status code for the send verification email default response
func (*SendVerificationEmailDefault) Error ¶
func (o *SendVerificationEmailDefault) Error() string
func (*SendVerificationEmailDefault) GetPayload ¶
func (o *SendVerificationEmailDefault) GetPayload() *cloud.GoogleRPCStatus
func (*SendVerificationEmailDefault) IsClientError ¶
func (o *SendVerificationEmailDefault) IsClientError() bool
IsClientError returns true when this send verification email default response has a 4xx status code
func (*SendVerificationEmailDefault) IsCode ¶
func (o *SendVerificationEmailDefault) IsCode(code int) bool
IsCode returns true when this send verification email default response a status code equal to that given
func (*SendVerificationEmailDefault) IsRedirect ¶
func (o *SendVerificationEmailDefault) IsRedirect() bool
IsRedirect returns true when this send verification email default response has a 3xx status code
func (*SendVerificationEmailDefault) IsServerError ¶
func (o *SendVerificationEmailDefault) IsServerError() bool
IsServerError returns true when this send verification email default response has a 5xx status code
func (*SendVerificationEmailDefault) IsSuccess ¶
func (o *SendVerificationEmailDefault) IsSuccess() bool
IsSuccess returns true when this send verification email default response has a 2xx status code
func (*SendVerificationEmailDefault) String ¶
func (o *SendVerificationEmailDefault) String() string
type SendVerificationEmailOK ¶
type SendVerificationEmailOK struct {
Payload models.HashicorpCloudIamSendVerificationEmailResponse
}
SendVerificationEmailOK describes a response with status code 200, with default header values.
A successful response.
func NewSendVerificationEmailOK ¶
func NewSendVerificationEmailOK() *SendVerificationEmailOK
NewSendVerificationEmailOK creates a SendVerificationEmailOK with default headers values
func (*SendVerificationEmailOK) Error ¶
func (o *SendVerificationEmailOK) Error() string
func (*SendVerificationEmailOK) GetPayload ¶
func (o *SendVerificationEmailOK) GetPayload() models.HashicorpCloudIamSendVerificationEmailResponse
func (*SendVerificationEmailOK) IsClientError ¶
func (o *SendVerificationEmailOK) IsClientError() bool
IsClientError returns true when this send verification email o k response has a 4xx status code
func (*SendVerificationEmailOK) IsCode ¶
func (o *SendVerificationEmailOK) IsCode(code int) bool
IsCode returns true when this send verification email o k response a status code equal to that given
func (*SendVerificationEmailOK) IsRedirect ¶
func (o *SendVerificationEmailOK) IsRedirect() bool
IsRedirect returns true when this send verification email o k response has a 3xx status code
func (*SendVerificationEmailOK) IsServerError ¶
func (o *SendVerificationEmailOK) IsServerError() bool
IsServerError returns true when this send verification email o k response has a 5xx status code
func (*SendVerificationEmailOK) IsSuccess ¶
func (o *SendVerificationEmailOK) IsSuccess() bool
IsSuccess returns true when this send verification email o k response has a 2xx status code
func (*SendVerificationEmailOK) String ¶
func (o *SendVerificationEmailOK) String() string
type SendVerificationEmailParams ¶
type SendVerificationEmailParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SendVerificationEmailParams contains all the parameters to send to the API endpoint
for the send verification email operation. Typically these are written to a http.Request.
func NewSendVerificationEmailParams ¶
func NewSendVerificationEmailParams() *SendVerificationEmailParams
NewSendVerificationEmailParams creates a new SendVerificationEmailParams 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 NewSendVerificationEmailParamsWithContext ¶
func NewSendVerificationEmailParamsWithContext(ctx context.Context) *SendVerificationEmailParams
NewSendVerificationEmailParamsWithContext creates a new SendVerificationEmailParams object with the ability to set a context for a request.
func NewSendVerificationEmailParamsWithHTTPClient ¶
func NewSendVerificationEmailParamsWithHTTPClient(client *http.Client) *SendVerificationEmailParams
NewSendVerificationEmailParamsWithHTTPClient creates a new SendVerificationEmailParams object with the ability to set a custom HTTPClient for a request.
func NewSendVerificationEmailParamsWithTimeout ¶
func NewSendVerificationEmailParamsWithTimeout(timeout time.Duration) *SendVerificationEmailParams
NewSendVerificationEmailParamsWithTimeout creates a new SendVerificationEmailParams object with the ability to set a timeout on a request.
func (*SendVerificationEmailParams) SetContext ¶
func (o *SendVerificationEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the send verification email params
func (*SendVerificationEmailParams) SetDefaults ¶
func (o *SendVerificationEmailParams) SetDefaults()
SetDefaults hydrates default values in the send verification email params (not the query body).
All values with no default are reset to their zero value.
func (*SendVerificationEmailParams) SetHTTPClient ¶
func (o *SendVerificationEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the send verification email params
func (*SendVerificationEmailParams) SetTimeout ¶
func (o *SendVerificationEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the send verification email params
func (*SendVerificationEmailParams) WithContext ¶
func (o *SendVerificationEmailParams) WithContext(ctx context.Context) *SendVerificationEmailParams
WithContext adds the context to the send verification email params
func (*SendVerificationEmailParams) WithDefaults ¶
func (o *SendVerificationEmailParams) WithDefaults() *SendVerificationEmailParams
WithDefaults hydrates default values in the send verification email params (not the query body).
All values with no default are reset to their zero value.
func (*SendVerificationEmailParams) WithHTTPClient ¶
func (o *SendVerificationEmailParams) WithHTTPClient(client *http.Client) *SendVerificationEmailParams
WithHTTPClient adds the HTTPClient to the send verification email params
func (*SendVerificationEmailParams) WithTimeout ¶
func (o *SendVerificationEmailParams) WithTimeout(timeout time.Duration) *SendVerificationEmailParams
WithTimeout adds the timeout to the send verification email params
func (*SendVerificationEmailParams) WriteToRequest ¶
func (o *SendVerificationEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SendVerificationEmailReader ¶
type SendVerificationEmailReader struct {
// contains filtered or unexported fields
}
SendVerificationEmailReader is a Reader for the SendVerificationEmail structure.
func (*SendVerificationEmailReader) ReadResponse ¶
func (o *SendVerificationEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- confirm_m_f_a_enrollment_parameters.go
- confirm_m_f_a_enrollment_responses.go
- disable_m_f_a_parameters.go
- disable_m_f_a_responses.go
- enable_m_f_a_parameters.go
- enable_m_f_a_responses.go
- get_m_f_a_status_parameters.go
- get_m_f_a_status_responses.go
- profile_service_client.go
- reset_password_parameters.go
- reset_password_responses.go
- send_verification_email_parameters.go
- send_verification_email_responses.go