Documentation ¶
Index ¶
- type Client
- func (a *Client) ProfileServiceConfirmMFAEnrollment(params *ProfileServiceConfirmMFAEnrollmentParams, ...) (*ProfileServiceConfirmMFAEnrollmentOK, error)
- func (a *Client) ProfileServiceDisableMFA(params *ProfileServiceDisableMFAParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProfileServiceDisableMFAOK, error)
- func (a *Client) ProfileServiceEnableMFA(params *ProfileServiceEnableMFAParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProfileServiceEnableMFAOK, error)
- func (a *Client) ProfileServiceGetMFAStatus(params *ProfileServiceGetMFAStatusParams, ...) (*ProfileServiceGetMFAStatusOK, error)
- func (a *Client) ProfileServiceResetPassword(params *ProfileServiceResetPasswordParams, ...) (*ProfileServiceResetPasswordOK, error)
- func (a *Client) ProfileServiceSendVerificationEmail(params *ProfileServiceSendVerificationEmailParams, ...) (*ProfileServiceSendVerificationEmailOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ProfileServiceConfirmMFAEnrollmentDefault
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) Code() int
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) Error() string
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsClientError() bool
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsCode(code int) bool
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsRedirect() bool
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsServerError() bool
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsSuccess() bool
- func (o *ProfileServiceConfirmMFAEnrollmentDefault) String() string
- type ProfileServiceConfirmMFAEnrollmentOK
- func (o *ProfileServiceConfirmMFAEnrollmentOK) Error() string
- func (o *ProfileServiceConfirmMFAEnrollmentOK) GetPayload() models.HashicorpCloudIamConfirmMFAEnrollmentResponse
- func (o *ProfileServiceConfirmMFAEnrollmentOK) IsClientError() bool
- func (o *ProfileServiceConfirmMFAEnrollmentOK) IsCode(code int) bool
- func (o *ProfileServiceConfirmMFAEnrollmentOK) IsRedirect() bool
- func (o *ProfileServiceConfirmMFAEnrollmentOK) IsServerError() bool
- func (o *ProfileServiceConfirmMFAEnrollmentOK) IsSuccess() bool
- func (o *ProfileServiceConfirmMFAEnrollmentOK) String() string
- type ProfileServiceConfirmMFAEnrollmentParams
- func NewProfileServiceConfirmMFAEnrollmentParams() *ProfileServiceConfirmMFAEnrollmentParams
- func NewProfileServiceConfirmMFAEnrollmentParamsWithContext(ctx context.Context) *ProfileServiceConfirmMFAEnrollmentParams
- func NewProfileServiceConfirmMFAEnrollmentParamsWithHTTPClient(client *http.Client) *ProfileServiceConfirmMFAEnrollmentParams
- func NewProfileServiceConfirmMFAEnrollmentParamsWithTimeout(timeout time.Duration) *ProfileServiceConfirmMFAEnrollmentParams
- func (o *ProfileServiceConfirmMFAEnrollmentParams) SetBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest)
- func (o *ProfileServiceConfirmMFAEnrollmentParams) SetContext(ctx context.Context)
- func (o *ProfileServiceConfirmMFAEnrollmentParams) SetDefaults()
- func (o *ProfileServiceConfirmMFAEnrollmentParams) SetHTTPClient(client *http.Client)
- func (o *ProfileServiceConfirmMFAEnrollmentParams) SetTimeout(timeout time.Duration)
- func (o *ProfileServiceConfirmMFAEnrollmentParams) WithBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest) *ProfileServiceConfirmMFAEnrollmentParams
- func (o *ProfileServiceConfirmMFAEnrollmentParams) WithContext(ctx context.Context) *ProfileServiceConfirmMFAEnrollmentParams
- func (o *ProfileServiceConfirmMFAEnrollmentParams) WithDefaults() *ProfileServiceConfirmMFAEnrollmentParams
- func (o *ProfileServiceConfirmMFAEnrollmentParams) WithHTTPClient(client *http.Client) *ProfileServiceConfirmMFAEnrollmentParams
- func (o *ProfileServiceConfirmMFAEnrollmentParams) WithTimeout(timeout time.Duration) *ProfileServiceConfirmMFAEnrollmentParams
- func (o *ProfileServiceConfirmMFAEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProfileServiceConfirmMFAEnrollmentReader
- type ProfileServiceDisableMFADefault
- func (o *ProfileServiceDisableMFADefault) Code() int
- func (o *ProfileServiceDisableMFADefault) Error() string
- func (o *ProfileServiceDisableMFADefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProfileServiceDisableMFADefault) IsClientError() bool
- func (o *ProfileServiceDisableMFADefault) IsCode(code int) bool
- func (o *ProfileServiceDisableMFADefault) IsRedirect() bool
- func (o *ProfileServiceDisableMFADefault) IsServerError() bool
- func (o *ProfileServiceDisableMFADefault) IsSuccess() bool
- func (o *ProfileServiceDisableMFADefault) String() string
- type ProfileServiceDisableMFAOK
- func (o *ProfileServiceDisableMFAOK) Error() string
- func (o *ProfileServiceDisableMFAOK) GetPayload() models.HashicorpCloudIamDisableMFAResponse
- func (o *ProfileServiceDisableMFAOK) IsClientError() bool
- func (o *ProfileServiceDisableMFAOK) IsCode(code int) bool
- func (o *ProfileServiceDisableMFAOK) IsRedirect() bool
- func (o *ProfileServiceDisableMFAOK) IsServerError() bool
- func (o *ProfileServiceDisableMFAOK) IsSuccess() bool
- func (o *ProfileServiceDisableMFAOK) String() string
- type ProfileServiceDisableMFAParams
- func NewProfileServiceDisableMFAParams() *ProfileServiceDisableMFAParams
- func NewProfileServiceDisableMFAParamsWithContext(ctx context.Context) *ProfileServiceDisableMFAParams
- func NewProfileServiceDisableMFAParamsWithHTTPClient(client *http.Client) *ProfileServiceDisableMFAParams
- func NewProfileServiceDisableMFAParamsWithTimeout(timeout time.Duration) *ProfileServiceDisableMFAParams
- func (o *ProfileServiceDisableMFAParams) SetBody(body *models.HashicorpCloudIamDisableMFARequest)
- func (o *ProfileServiceDisableMFAParams) SetContext(ctx context.Context)
- func (o *ProfileServiceDisableMFAParams) SetDefaults()
- func (o *ProfileServiceDisableMFAParams) SetHTTPClient(client *http.Client)
- func (o *ProfileServiceDisableMFAParams) SetTimeout(timeout time.Duration)
- func (o *ProfileServiceDisableMFAParams) WithBody(body *models.HashicorpCloudIamDisableMFARequest) *ProfileServiceDisableMFAParams
- func (o *ProfileServiceDisableMFAParams) WithContext(ctx context.Context) *ProfileServiceDisableMFAParams
- func (o *ProfileServiceDisableMFAParams) WithDefaults() *ProfileServiceDisableMFAParams
- func (o *ProfileServiceDisableMFAParams) WithHTTPClient(client *http.Client) *ProfileServiceDisableMFAParams
- func (o *ProfileServiceDisableMFAParams) WithTimeout(timeout time.Duration) *ProfileServiceDisableMFAParams
- func (o *ProfileServiceDisableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProfileServiceDisableMFAReader
- type ProfileServiceEnableMFADefault
- func (o *ProfileServiceEnableMFADefault) Code() int
- func (o *ProfileServiceEnableMFADefault) Error() string
- func (o *ProfileServiceEnableMFADefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProfileServiceEnableMFADefault) IsClientError() bool
- func (o *ProfileServiceEnableMFADefault) IsCode(code int) bool
- func (o *ProfileServiceEnableMFADefault) IsRedirect() bool
- func (o *ProfileServiceEnableMFADefault) IsServerError() bool
- func (o *ProfileServiceEnableMFADefault) IsSuccess() bool
- func (o *ProfileServiceEnableMFADefault) String() string
- type ProfileServiceEnableMFAOK
- func (o *ProfileServiceEnableMFAOK) Error() string
- func (o *ProfileServiceEnableMFAOK) GetPayload() *models.HashicorpCloudIamEnableMFAResponse
- func (o *ProfileServiceEnableMFAOK) IsClientError() bool
- func (o *ProfileServiceEnableMFAOK) IsCode(code int) bool
- func (o *ProfileServiceEnableMFAOK) IsRedirect() bool
- func (o *ProfileServiceEnableMFAOK) IsServerError() bool
- func (o *ProfileServiceEnableMFAOK) IsSuccess() bool
- func (o *ProfileServiceEnableMFAOK) String() string
- type ProfileServiceEnableMFAParams
- func NewProfileServiceEnableMFAParams() *ProfileServiceEnableMFAParams
- func NewProfileServiceEnableMFAParamsWithContext(ctx context.Context) *ProfileServiceEnableMFAParams
- func NewProfileServiceEnableMFAParamsWithHTTPClient(client *http.Client) *ProfileServiceEnableMFAParams
- func NewProfileServiceEnableMFAParamsWithTimeout(timeout time.Duration) *ProfileServiceEnableMFAParams
- func (o *ProfileServiceEnableMFAParams) SetBody(body *models.HashicorpCloudIamEnableMFARequest)
- func (o *ProfileServiceEnableMFAParams) SetContext(ctx context.Context)
- func (o *ProfileServiceEnableMFAParams) SetDefaults()
- func (o *ProfileServiceEnableMFAParams) SetHTTPClient(client *http.Client)
- func (o *ProfileServiceEnableMFAParams) SetTimeout(timeout time.Duration)
- func (o *ProfileServiceEnableMFAParams) WithBody(body *models.HashicorpCloudIamEnableMFARequest) *ProfileServiceEnableMFAParams
- func (o *ProfileServiceEnableMFAParams) WithContext(ctx context.Context) *ProfileServiceEnableMFAParams
- func (o *ProfileServiceEnableMFAParams) WithDefaults() *ProfileServiceEnableMFAParams
- func (o *ProfileServiceEnableMFAParams) WithHTTPClient(client *http.Client) *ProfileServiceEnableMFAParams
- func (o *ProfileServiceEnableMFAParams) WithTimeout(timeout time.Duration) *ProfileServiceEnableMFAParams
- func (o *ProfileServiceEnableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProfileServiceEnableMFAReader
- type ProfileServiceGetMFAStatusDefault
- func (o *ProfileServiceGetMFAStatusDefault) Code() int
- func (o *ProfileServiceGetMFAStatusDefault) Error() string
- func (o *ProfileServiceGetMFAStatusDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProfileServiceGetMFAStatusDefault) IsClientError() bool
- func (o *ProfileServiceGetMFAStatusDefault) IsCode(code int) bool
- func (o *ProfileServiceGetMFAStatusDefault) IsRedirect() bool
- func (o *ProfileServiceGetMFAStatusDefault) IsServerError() bool
- func (o *ProfileServiceGetMFAStatusDefault) IsSuccess() bool
- func (o *ProfileServiceGetMFAStatusDefault) String() string
- type ProfileServiceGetMFAStatusOK
- func (o *ProfileServiceGetMFAStatusOK) Error() string
- func (o *ProfileServiceGetMFAStatusOK) GetPayload() *models.HashicorpCloudIamGetMFAStatusResponse
- func (o *ProfileServiceGetMFAStatusOK) IsClientError() bool
- func (o *ProfileServiceGetMFAStatusOK) IsCode(code int) bool
- func (o *ProfileServiceGetMFAStatusOK) IsRedirect() bool
- func (o *ProfileServiceGetMFAStatusOK) IsServerError() bool
- func (o *ProfileServiceGetMFAStatusOK) IsSuccess() bool
- func (o *ProfileServiceGetMFAStatusOK) String() string
- type ProfileServiceGetMFAStatusParams
- func NewProfileServiceGetMFAStatusParams() *ProfileServiceGetMFAStatusParams
- func NewProfileServiceGetMFAStatusParamsWithContext(ctx context.Context) *ProfileServiceGetMFAStatusParams
- func NewProfileServiceGetMFAStatusParamsWithHTTPClient(client *http.Client) *ProfileServiceGetMFAStatusParams
- func NewProfileServiceGetMFAStatusParamsWithTimeout(timeout time.Duration) *ProfileServiceGetMFAStatusParams
- func (o *ProfileServiceGetMFAStatusParams) SetContext(ctx context.Context)
- func (o *ProfileServiceGetMFAStatusParams) SetDefaults()
- func (o *ProfileServiceGetMFAStatusParams) SetHTTPClient(client *http.Client)
- func (o *ProfileServiceGetMFAStatusParams) SetTimeout(timeout time.Duration)
- func (o *ProfileServiceGetMFAStatusParams) WithContext(ctx context.Context) *ProfileServiceGetMFAStatusParams
- func (o *ProfileServiceGetMFAStatusParams) WithDefaults() *ProfileServiceGetMFAStatusParams
- func (o *ProfileServiceGetMFAStatusParams) WithHTTPClient(client *http.Client) *ProfileServiceGetMFAStatusParams
- func (o *ProfileServiceGetMFAStatusParams) WithTimeout(timeout time.Duration) *ProfileServiceGetMFAStatusParams
- func (o *ProfileServiceGetMFAStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProfileServiceGetMFAStatusReader
- type ProfileServiceResetPasswordDefault
- func (o *ProfileServiceResetPasswordDefault) Code() int
- func (o *ProfileServiceResetPasswordDefault) Error() string
- func (o *ProfileServiceResetPasswordDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProfileServiceResetPasswordDefault) IsClientError() bool
- func (o *ProfileServiceResetPasswordDefault) IsCode(code int) bool
- func (o *ProfileServiceResetPasswordDefault) IsRedirect() bool
- func (o *ProfileServiceResetPasswordDefault) IsServerError() bool
- func (o *ProfileServiceResetPasswordDefault) IsSuccess() bool
- func (o *ProfileServiceResetPasswordDefault) String() string
- type ProfileServiceResetPasswordOK
- func (o *ProfileServiceResetPasswordOK) Error() string
- func (o *ProfileServiceResetPasswordOK) GetPayload() models.HashicorpCloudIamResetPasswordResponse
- func (o *ProfileServiceResetPasswordOK) IsClientError() bool
- func (o *ProfileServiceResetPasswordOK) IsCode(code int) bool
- func (o *ProfileServiceResetPasswordOK) IsRedirect() bool
- func (o *ProfileServiceResetPasswordOK) IsServerError() bool
- func (o *ProfileServiceResetPasswordOK) IsSuccess() bool
- func (o *ProfileServiceResetPasswordOK) String() string
- type ProfileServiceResetPasswordParams
- func NewProfileServiceResetPasswordParams() *ProfileServiceResetPasswordParams
- func NewProfileServiceResetPasswordParamsWithContext(ctx context.Context) *ProfileServiceResetPasswordParams
- func NewProfileServiceResetPasswordParamsWithHTTPClient(client *http.Client) *ProfileServiceResetPasswordParams
- func NewProfileServiceResetPasswordParamsWithTimeout(timeout time.Duration) *ProfileServiceResetPasswordParams
- func (o *ProfileServiceResetPasswordParams) SetContext(ctx context.Context)
- func (o *ProfileServiceResetPasswordParams) SetDefaults()
- func (o *ProfileServiceResetPasswordParams) SetHTTPClient(client *http.Client)
- func (o *ProfileServiceResetPasswordParams) SetTimeout(timeout time.Duration)
- func (o *ProfileServiceResetPasswordParams) WithContext(ctx context.Context) *ProfileServiceResetPasswordParams
- func (o *ProfileServiceResetPasswordParams) WithDefaults() *ProfileServiceResetPasswordParams
- func (o *ProfileServiceResetPasswordParams) WithHTTPClient(client *http.Client) *ProfileServiceResetPasswordParams
- func (o *ProfileServiceResetPasswordParams) WithTimeout(timeout time.Duration) *ProfileServiceResetPasswordParams
- func (o *ProfileServiceResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProfileServiceResetPasswordReader
- type ProfileServiceSendVerificationEmailDefault
- func (o *ProfileServiceSendVerificationEmailDefault) Code() int
- func (o *ProfileServiceSendVerificationEmailDefault) Error() string
- func (o *ProfileServiceSendVerificationEmailDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProfileServiceSendVerificationEmailDefault) IsClientError() bool
- func (o *ProfileServiceSendVerificationEmailDefault) IsCode(code int) bool
- func (o *ProfileServiceSendVerificationEmailDefault) IsRedirect() bool
- func (o *ProfileServiceSendVerificationEmailDefault) IsServerError() bool
- func (o *ProfileServiceSendVerificationEmailDefault) IsSuccess() bool
- func (o *ProfileServiceSendVerificationEmailDefault) String() string
- type ProfileServiceSendVerificationEmailOK
- func (o *ProfileServiceSendVerificationEmailOK) Error() string
- func (o *ProfileServiceSendVerificationEmailOK) GetPayload() models.HashicorpCloudIamSendVerificationEmailResponse
- func (o *ProfileServiceSendVerificationEmailOK) IsClientError() bool
- func (o *ProfileServiceSendVerificationEmailOK) IsCode(code int) bool
- func (o *ProfileServiceSendVerificationEmailOK) IsRedirect() bool
- func (o *ProfileServiceSendVerificationEmailOK) IsServerError() bool
- func (o *ProfileServiceSendVerificationEmailOK) IsSuccess() bool
- func (o *ProfileServiceSendVerificationEmailOK) String() string
- type ProfileServiceSendVerificationEmailParams
- func NewProfileServiceSendVerificationEmailParams() *ProfileServiceSendVerificationEmailParams
- func NewProfileServiceSendVerificationEmailParamsWithContext(ctx context.Context) *ProfileServiceSendVerificationEmailParams
- func NewProfileServiceSendVerificationEmailParamsWithHTTPClient(client *http.Client) *ProfileServiceSendVerificationEmailParams
- func NewProfileServiceSendVerificationEmailParamsWithTimeout(timeout time.Duration) *ProfileServiceSendVerificationEmailParams
- func (o *ProfileServiceSendVerificationEmailParams) SetContext(ctx context.Context)
- func (o *ProfileServiceSendVerificationEmailParams) SetDefaults()
- func (o *ProfileServiceSendVerificationEmailParams) SetHTTPClient(client *http.Client)
- func (o *ProfileServiceSendVerificationEmailParams) SetTimeout(timeout time.Duration)
- func (o *ProfileServiceSendVerificationEmailParams) WithContext(ctx context.Context) *ProfileServiceSendVerificationEmailParams
- func (o *ProfileServiceSendVerificationEmailParams) WithDefaults() *ProfileServiceSendVerificationEmailParams
- func (o *ProfileServiceSendVerificationEmailParams) WithHTTPClient(client *http.Client) *ProfileServiceSendVerificationEmailParams
- func (o *ProfileServiceSendVerificationEmailParams) WithTimeout(timeout time.Duration) *ProfileServiceSendVerificationEmailParams
- func (o *ProfileServiceSendVerificationEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProfileServiceSendVerificationEmailReader
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) ProfileServiceConfirmMFAEnrollment ¶ added in v0.64.0
func (a *Client) ProfileServiceConfirmMFAEnrollment(params *ProfileServiceConfirmMFAEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceConfirmMFAEnrollmentOK, error)
ProfileServiceConfirmMFAEnrollment 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) ProfileServiceDisableMFA ¶ added in v0.64.0
func (a *Client) ProfileServiceDisableMFA(params *ProfileServiceDisableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceDisableMFAOK, error)
ProfileServiceDisableMFA profile service disable m f a API
func (*Client) ProfileServiceEnableMFA ¶ added in v0.64.0
func (a *Client) ProfileServiceEnableMFA(params *ProfileServiceEnableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceEnableMFAOK, error)
ProfileServiceEnableMFA enables m f a triggers the process of enabling m f a for a given user
func (*Client) ProfileServiceGetMFAStatus ¶ added in v0.64.0
func (a *Client) ProfileServiceGetMFAStatus(params *ProfileServiceGetMFAStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceGetMFAStatusOK, error)
ProfileServiceGetMFAStatus gets m f a status returns the m f a status of the current user
func (*Client) ProfileServiceResetPassword ¶ added in v0.64.0
func (a *Client) ProfileServiceResetPassword(params *ProfileServiceResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceResetPasswordOK, error)
ProfileServiceResetPassword resets password resets a password for an email password user
func (*Client) ProfileServiceSendVerificationEmail ¶ added in v0.64.0
func (a *Client) ProfileServiceSendVerificationEmail(params *ProfileServiceSendVerificationEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceSendVerificationEmailOK, error)
ProfileServiceSendVerificationEmail 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 { ProfileServiceConfirmMFAEnrollment(params *ProfileServiceConfirmMFAEnrollmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceConfirmMFAEnrollmentOK, error) ProfileServiceDisableMFA(params *ProfileServiceDisableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceDisableMFAOK, error) ProfileServiceEnableMFA(params *ProfileServiceEnableMFAParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceEnableMFAOK, error) ProfileServiceGetMFAStatus(params *ProfileServiceGetMFAStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceGetMFAStatusOK, error) ProfileServiceResetPassword(params *ProfileServiceResetPasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceResetPasswordOK, error) ProfileServiceSendVerificationEmail(params *ProfileServiceSendVerificationEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProfileServiceSendVerificationEmailOK, 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 ProfileServiceConfirmMFAEnrollmentDefault ¶ added in v0.64.0
type ProfileServiceConfirmMFAEnrollmentDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProfileServiceConfirmMFAEnrollmentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProfileServiceConfirmMFAEnrollmentDefault ¶ added in v0.64.0
func NewProfileServiceConfirmMFAEnrollmentDefault(code int) *ProfileServiceConfirmMFAEnrollmentDefault
NewProfileServiceConfirmMFAEnrollmentDefault creates a ProfileServiceConfirmMFAEnrollmentDefault with default headers values
func (*ProfileServiceConfirmMFAEnrollmentDefault) Code ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) Code() int
Code gets the status code for the profile service confirm m f a enrollment default response
func (*ProfileServiceConfirmMFAEnrollmentDefault) Error ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) Error() string
func (*ProfileServiceConfirmMFAEnrollmentDefault) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProfileServiceConfirmMFAEnrollmentDefault) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsClientError() bool
IsClientError returns true when this profile service confirm m f a enrollment default response has a 4xx status code
func (*ProfileServiceConfirmMFAEnrollmentDefault) IsCode ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsCode(code int) bool
IsCode returns true when this profile service confirm m f a enrollment default response a status code equal to that given
func (*ProfileServiceConfirmMFAEnrollmentDefault) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsRedirect() bool
IsRedirect returns true when this profile service confirm m f a enrollment default response has a 3xx status code
func (*ProfileServiceConfirmMFAEnrollmentDefault) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsServerError() bool
IsServerError returns true when this profile service confirm m f a enrollment default response has a 5xx status code
func (*ProfileServiceConfirmMFAEnrollmentDefault) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) IsSuccess() bool
IsSuccess returns true when this profile service confirm m f a enrollment default response has a 2xx status code
func (*ProfileServiceConfirmMFAEnrollmentDefault) String ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentDefault) String() string
type ProfileServiceConfirmMFAEnrollmentOK ¶ added in v0.64.0
type ProfileServiceConfirmMFAEnrollmentOK struct {
Payload models.HashicorpCloudIamConfirmMFAEnrollmentResponse
}
ProfileServiceConfirmMFAEnrollmentOK describes a response with status code 200, with default header values.
A successful response.
func NewProfileServiceConfirmMFAEnrollmentOK ¶ added in v0.64.0
func NewProfileServiceConfirmMFAEnrollmentOK() *ProfileServiceConfirmMFAEnrollmentOK
NewProfileServiceConfirmMFAEnrollmentOK creates a ProfileServiceConfirmMFAEnrollmentOK with default headers values
func (*ProfileServiceConfirmMFAEnrollmentOK) Error ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) Error() string
func (*ProfileServiceConfirmMFAEnrollmentOK) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) GetPayload() models.HashicorpCloudIamConfirmMFAEnrollmentResponse
func (*ProfileServiceConfirmMFAEnrollmentOK) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) IsClientError() bool
IsClientError returns true when this profile service confirm m f a enrollment o k response has a 4xx status code
func (*ProfileServiceConfirmMFAEnrollmentOK) IsCode ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) IsCode(code int) bool
IsCode returns true when this profile service confirm m f a enrollment o k response a status code equal to that given
func (*ProfileServiceConfirmMFAEnrollmentOK) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) IsRedirect() bool
IsRedirect returns true when this profile service confirm m f a enrollment o k response has a 3xx status code
func (*ProfileServiceConfirmMFAEnrollmentOK) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) IsServerError() bool
IsServerError returns true when this profile service confirm m f a enrollment o k response has a 5xx status code
func (*ProfileServiceConfirmMFAEnrollmentOK) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) IsSuccess() bool
IsSuccess returns true when this profile service confirm m f a enrollment o k response has a 2xx status code
func (*ProfileServiceConfirmMFAEnrollmentOK) String ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentOK) String() string
type ProfileServiceConfirmMFAEnrollmentParams ¶ added in v0.64.0
type ProfileServiceConfirmMFAEnrollmentParams struct { // Body. Body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProfileServiceConfirmMFAEnrollmentParams contains all the parameters to send to the API endpoint
for the profile service confirm m f a enrollment operation. Typically these are written to a http.Request.
func NewProfileServiceConfirmMFAEnrollmentParams ¶ added in v0.64.0
func NewProfileServiceConfirmMFAEnrollmentParams() *ProfileServiceConfirmMFAEnrollmentParams
NewProfileServiceConfirmMFAEnrollmentParams creates a new ProfileServiceConfirmMFAEnrollmentParams 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 NewProfileServiceConfirmMFAEnrollmentParamsWithContext ¶ added in v0.64.0
func NewProfileServiceConfirmMFAEnrollmentParamsWithContext(ctx context.Context) *ProfileServiceConfirmMFAEnrollmentParams
NewProfileServiceConfirmMFAEnrollmentParamsWithContext creates a new ProfileServiceConfirmMFAEnrollmentParams object with the ability to set a context for a request.
func NewProfileServiceConfirmMFAEnrollmentParamsWithHTTPClient ¶ added in v0.64.0
func NewProfileServiceConfirmMFAEnrollmentParamsWithHTTPClient(client *http.Client) *ProfileServiceConfirmMFAEnrollmentParams
NewProfileServiceConfirmMFAEnrollmentParamsWithHTTPClient creates a new ProfileServiceConfirmMFAEnrollmentParams object with the ability to set a custom HTTPClient for a request.
func NewProfileServiceConfirmMFAEnrollmentParamsWithTimeout ¶ added in v0.64.0
func NewProfileServiceConfirmMFAEnrollmentParamsWithTimeout(timeout time.Duration) *ProfileServiceConfirmMFAEnrollmentParams
NewProfileServiceConfirmMFAEnrollmentParamsWithTimeout creates a new ProfileServiceConfirmMFAEnrollmentParams object with the ability to set a timeout on a request.
func (*ProfileServiceConfirmMFAEnrollmentParams) SetBody ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) SetBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest)
SetBody adds the body to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) SetContext ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) SetContext(ctx context.Context)
SetContext adds the context to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) SetDefaults ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) SetDefaults()
SetDefaults hydrates default values in the profile service confirm m f a enrollment params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceConfirmMFAEnrollmentParams) SetHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) SetTimeout ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) WithBody ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) WithBody(body *models.HashicorpCloudIamConfirmMFAEnrollmentRequest) *ProfileServiceConfirmMFAEnrollmentParams
WithBody adds the body to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) WithContext ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) WithContext(ctx context.Context) *ProfileServiceConfirmMFAEnrollmentParams
WithContext adds the context to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) WithDefaults ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) WithDefaults() *ProfileServiceConfirmMFAEnrollmentParams
WithDefaults hydrates default values in the profile service confirm m f a enrollment params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceConfirmMFAEnrollmentParams) WithHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) WithHTTPClient(client *http.Client) *ProfileServiceConfirmMFAEnrollmentParams
WithHTTPClient adds the HTTPClient to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) WithTimeout ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) WithTimeout(timeout time.Duration) *ProfileServiceConfirmMFAEnrollmentParams
WithTimeout adds the timeout to the profile service confirm m f a enrollment params
func (*ProfileServiceConfirmMFAEnrollmentParams) WriteToRequest ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProfileServiceConfirmMFAEnrollmentReader ¶ added in v0.64.0
type ProfileServiceConfirmMFAEnrollmentReader struct {
// contains filtered or unexported fields
}
ProfileServiceConfirmMFAEnrollmentReader is a Reader for the ProfileServiceConfirmMFAEnrollment structure.
func (*ProfileServiceConfirmMFAEnrollmentReader) ReadResponse ¶ added in v0.64.0
func (o *ProfileServiceConfirmMFAEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProfileServiceDisableMFADefault ¶ added in v0.64.0
type ProfileServiceDisableMFADefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProfileServiceDisableMFADefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProfileServiceDisableMFADefault ¶ added in v0.64.0
func NewProfileServiceDisableMFADefault(code int) *ProfileServiceDisableMFADefault
NewProfileServiceDisableMFADefault creates a ProfileServiceDisableMFADefault with default headers values
func (*ProfileServiceDisableMFADefault) Code ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) Code() int
Code gets the status code for the profile service disable m f a default response
func (*ProfileServiceDisableMFADefault) Error ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) Error() string
func (*ProfileServiceDisableMFADefault) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProfileServiceDisableMFADefault) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) IsClientError() bool
IsClientError returns true when this profile service disable m f a default response has a 4xx status code
func (*ProfileServiceDisableMFADefault) IsCode ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) IsCode(code int) bool
IsCode returns true when this profile service disable m f a default response a status code equal to that given
func (*ProfileServiceDisableMFADefault) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) IsRedirect() bool
IsRedirect returns true when this profile service disable m f a default response has a 3xx status code
func (*ProfileServiceDisableMFADefault) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) IsServerError() bool
IsServerError returns true when this profile service disable m f a default response has a 5xx status code
func (*ProfileServiceDisableMFADefault) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) IsSuccess() bool
IsSuccess returns true when this profile service disable m f a default response has a 2xx status code
func (*ProfileServiceDisableMFADefault) String ¶ added in v0.64.0
func (o *ProfileServiceDisableMFADefault) String() string
type ProfileServiceDisableMFAOK ¶ added in v0.64.0
type ProfileServiceDisableMFAOK struct {
Payload models.HashicorpCloudIamDisableMFAResponse
}
ProfileServiceDisableMFAOK describes a response with status code 200, with default header values.
A successful response.
func NewProfileServiceDisableMFAOK ¶ added in v0.64.0
func NewProfileServiceDisableMFAOK() *ProfileServiceDisableMFAOK
NewProfileServiceDisableMFAOK creates a ProfileServiceDisableMFAOK with default headers values
func (*ProfileServiceDisableMFAOK) Error ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) Error() string
func (*ProfileServiceDisableMFAOK) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) GetPayload() models.HashicorpCloudIamDisableMFAResponse
func (*ProfileServiceDisableMFAOK) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) IsClientError() bool
IsClientError returns true when this profile service disable m f a o k response has a 4xx status code
func (*ProfileServiceDisableMFAOK) IsCode ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) IsCode(code int) bool
IsCode returns true when this profile service disable m f a o k response a status code equal to that given
func (*ProfileServiceDisableMFAOK) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) IsRedirect() bool
IsRedirect returns true when this profile service disable m f a o k response has a 3xx status code
func (*ProfileServiceDisableMFAOK) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) IsServerError() bool
IsServerError returns true when this profile service disable m f a o k response has a 5xx status code
func (*ProfileServiceDisableMFAOK) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) IsSuccess() bool
IsSuccess returns true when this profile service disable m f a o k response has a 2xx status code
func (*ProfileServiceDisableMFAOK) String ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAOK) String() string
type ProfileServiceDisableMFAParams ¶ added in v0.64.0
type ProfileServiceDisableMFAParams struct { // Body. Body *models.HashicorpCloudIamDisableMFARequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProfileServiceDisableMFAParams contains all the parameters to send to the API endpoint
for the profile service disable m f a operation. Typically these are written to a http.Request.
func NewProfileServiceDisableMFAParams ¶ added in v0.64.0
func NewProfileServiceDisableMFAParams() *ProfileServiceDisableMFAParams
NewProfileServiceDisableMFAParams creates a new ProfileServiceDisableMFAParams 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 NewProfileServiceDisableMFAParamsWithContext ¶ added in v0.64.0
func NewProfileServiceDisableMFAParamsWithContext(ctx context.Context) *ProfileServiceDisableMFAParams
NewProfileServiceDisableMFAParamsWithContext creates a new ProfileServiceDisableMFAParams object with the ability to set a context for a request.
func NewProfileServiceDisableMFAParamsWithHTTPClient ¶ added in v0.64.0
func NewProfileServiceDisableMFAParamsWithHTTPClient(client *http.Client) *ProfileServiceDisableMFAParams
NewProfileServiceDisableMFAParamsWithHTTPClient creates a new ProfileServiceDisableMFAParams object with the ability to set a custom HTTPClient for a request.
func NewProfileServiceDisableMFAParamsWithTimeout ¶ added in v0.64.0
func NewProfileServiceDisableMFAParamsWithTimeout(timeout time.Duration) *ProfileServiceDisableMFAParams
NewProfileServiceDisableMFAParamsWithTimeout creates a new ProfileServiceDisableMFAParams object with the ability to set a timeout on a request.
func (*ProfileServiceDisableMFAParams) SetBody ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) SetBody(body *models.HashicorpCloudIamDisableMFARequest)
SetBody adds the body to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) SetContext ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) SetContext(ctx context.Context)
SetContext adds the context to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) SetDefaults ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) SetDefaults()
SetDefaults hydrates default values in the profile service disable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceDisableMFAParams) SetHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) SetTimeout ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) WithBody ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) WithBody(body *models.HashicorpCloudIamDisableMFARequest) *ProfileServiceDisableMFAParams
WithBody adds the body to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) WithContext ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) WithContext(ctx context.Context) *ProfileServiceDisableMFAParams
WithContext adds the context to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) WithDefaults ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) WithDefaults() *ProfileServiceDisableMFAParams
WithDefaults hydrates default values in the profile service disable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceDisableMFAParams) WithHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) WithHTTPClient(client *http.Client) *ProfileServiceDisableMFAParams
WithHTTPClient adds the HTTPClient to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) WithTimeout ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) WithTimeout(timeout time.Duration) *ProfileServiceDisableMFAParams
WithTimeout adds the timeout to the profile service disable m f a params
func (*ProfileServiceDisableMFAParams) WriteToRequest ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProfileServiceDisableMFAReader ¶ added in v0.64.0
type ProfileServiceDisableMFAReader struct {
// contains filtered or unexported fields
}
ProfileServiceDisableMFAReader is a Reader for the ProfileServiceDisableMFA structure.
func (*ProfileServiceDisableMFAReader) ReadResponse ¶ added in v0.64.0
func (o *ProfileServiceDisableMFAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProfileServiceEnableMFADefault ¶ added in v0.64.0
type ProfileServiceEnableMFADefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProfileServiceEnableMFADefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProfileServiceEnableMFADefault ¶ added in v0.64.0
func NewProfileServiceEnableMFADefault(code int) *ProfileServiceEnableMFADefault
NewProfileServiceEnableMFADefault creates a ProfileServiceEnableMFADefault with default headers values
func (*ProfileServiceEnableMFADefault) Code ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) Code() int
Code gets the status code for the profile service enable m f a default response
func (*ProfileServiceEnableMFADefault) Error ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) Error() string
func (*ProfileServiceEnableMFADefault) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProfileServiceEnableMFADefault) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) IsClientError() bool
IsClientError returns true when this profile service enable m f a default response has a 4xx status code
func (*ProfileServiceEnableMFADefault) IsCode ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) IsCode(code int) bool
IsCode returns true when this profile service enable m f a default response a status code equal to that given
func (*ProfileServiceEnableMFADefault) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) IsRedirect() bool
IsRedirect returns true when this profile service enable m f a default response has a 3xx status code
func (*ProfileServiceEnableMFADefault) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) IsServerError() bool
IsServerError returns true when this profile service enable m f a default response has a 5xx status code
func (*ProfileServiceEnableMFADefault) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) IsSuccess() bool
IsSuccess returns true when this profile service enable m f a default response has a 2xx status code
func (*ProfileServiceEnableMFADefault) String ¶ added in v0.64.0
func (o *ProfileServiceEnableMFADefault) String() string
type ProfileServiceEnableMFAOK ¶ added in v0.64.0
type ProfileServiceEnableMFAOK struct {
Payload *models.HashicorpCloudIamEnableMFAResponse
}
ProfileServiceEnableMFAOK describes a response with status code 200, with default header values.
A successful response.
func NewProfileServiceEnableMFAOK ¶ added in v0.64.0
func NewProfileServiceEnableMFAOK() *ProfileServiceEnableMFAOK
NewProfileServiceEnableMFAOK creates a ProfileServiceEnableMFAOK with default headers values
func (*ProfileServiceEnableMFAOK) Error ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) Error() string
func (*ProfileServiceEnableMFAOK) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) GetPayload() *models.HashicorpCloudIamEnableMFAResponse
func (*ProfileServiceEnableMFAOK) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) IsClientError() bool
IsClientError returns true when this profile service enable m f a o k response has a 4xx status code
func (*ProfileServiceEnableMFAOK) IsCode ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) IsCode(code int) bool
IsCode returns true when this profile service enable m f a o k response a status code equal to that given
func (*ProfileServiceEnableMFAOK) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) IsRedirect() bool
IsRedirect returns true when this profile service enable m f a o k response has a 3xx status code
func (*ProfileServiceEnableMFAOK) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) IsServerError() bool
IsServerError returns true when this profile service enable m f a o k response has a 5xx status code
func (*ProfileServiceEnableMFAOK) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) IsSuccess() bool
IsSuccess returns true when this profile service enable m f a o k response has a 2xx status code
func (*ProfileServiceEnableMFAOK) String ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAOK) String() string
type ProfileServiceEnableMFAParams ¶ added in v0.64.0
type ProfileServiceEnableMFAParams struct { // Body. Body *models.HashicorpCloudIamEnableMFARequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProfileServiceEnableMFAParams contains all the parameters to send to the API endpoint
for the profile service enable m f a operation. Typically these are written to a http.Request.
func NewProfileServiceEnableMFAParams ¶ added in v0.64.0
func NewProfileServiceEnableMFAParams() *ProfileServiceEnableMFAParams
NewProfileServiceEnableMFAParams creates a new ProfileServiceEnableMFAParams 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 NewProfileServiceEnableMFAParamsWithContext ¶ added in v0.64.0
func NewProfileServiceEnableMFAParamsWithContext(ctx context.Context) *ProfileServiceEnableMFAParams
NewProfileServiceEnableMFAParamsWithContext creates a new ProfileServiceEnableMFAParams object with the ability to set a context for a request.
func NewProfileServiceEnableMFAParamsWithHTTPClient ¶ added in v0.64.0
func NewProfileServiceEnableMFAParamsWithHTTPClient(client *http.Client) *ProfileServiceEnableMFAParams
NewProfileServiceEnableMFAParamsWithHTTPClient creates a new ProfileServiceEnableMFAParams object with the ability to set a custom HTTPClient for a request.
func NewProfileServiceEnableMFAParamsWithTimeout ¶ added in v0.64.0
func NewProfileServiceEnableMFAParamsWithTimeout(timeout time.Duration) *ProfileServiceEnableMFAParams
NewProfileServiceEnableMFAParamsWithTimeout creates a new ProfileServiceEnableMFAParams object with the ability to set a timeout on a request.
func (*ProfileServiceEnableMFAParams) SetBody ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) SetBody(body *models.HashicorpCloudIamEnableMFARequest)
SetBody adds the body to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) SetContext ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) SetContext(ctx context.Context)
SetContext adds the context to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) SetDefaults ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) SetDefaults()
SetDefaults hydrates default values in the profile service enable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceEnableMFAParams) SetHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) SetTimeout ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) WithBody ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) WithBody(body *models.HashicorpCloudIamEnableMFARequest) *ProfileServiceEnableMFAParams
WithBody adds the body to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) WithContext ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) WithContext(ctx context.Context) *ProfileServiceEnableMFAParams
WithContext adds the context to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) WithDefaults ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) WithDefaults() *ProfileServiceEnableMFAParams
WithDefaults hydrates default values in the profile service enable m f a params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceEnableMFAParams) WithHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) WithHTTPClient(client *http.Client) *ProfileServiceEnableMFAParams
WithHTTPClient adds the HTTPClient to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) WithTimeout ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) WithTimeout(timeout time.Duration) *ProfileServiceEnableMFAParams
WithTimeout adds the timeout to the profile service enable m f a params
func (*ProfileServiceEnableMFAParams) WriteToRequest ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProfileServiceEnableMFAReader ¶ added in v0.64.0
type ProfileServiceEnableMFAReader struct {
// contains filtered or unexported fields
}
ProfileServiceEnableMFAReader is a Reader for the ProfileServiceEnableMFA structure.
func (*ProfileServiceEnableMFAReader) ReadResponse ¶ added in v0.64.0
func (o *ProfileServiceEnableMFAReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProfileServiceGetMFAStatusDefault ¶ added in v0.64.0
type ProfileServiceGetMFAStatusDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProfileServiceGetMFAStatusDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProfileServiceGetMFAStatusDefault ¶ added in v0.64.0
func NewProfileServiceGetMFAStatusDefault(code int) *ProfileServiceGetMFAStatusDefault
NewProfileServiceGetMFAStatusDefault creates a ProfileServiceGetMFAStatusDefault with default headers values
func (*ProfileServiceGetMFAStatusDefault) Code ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) Code() int
Code gets the status code for the profile service get m f a status default response
func (*ProfileServiceGetMFAStatusDefault) Error ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) Error() string
func (*ProfileServiceGetMFAStatusDefault) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProfileServiceGetMFAStatusDefault) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) IsClientError() bool
IsClientError returns true when this profile service get m f a status default response has a 4xx status code
func (*ProfileServiceGetMFAStatusDefault) IsCode ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) IsCode(code int) bool
IsCode returns true when this profile service get m f a status default response a status code equal to that given
func (*ProfileServiceGetMFAStatusDefault) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) IsRedirect() bool
IsRedirect returns true when this profile service get m f a status default response has a 3xx status code
func (*ProfileServiceGetMFAStatusDefault) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) IsServerError() bool
IsServerError returns true when this profile service get m f a status default response has a 5xx status code
func (*ProfileServiceGetMFAStatusDefault) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) IsSuccess() bool
IsSuccess returns true when this profile service get m f a status default response has a 2xx status code
func (*ProfileServiceGetMFAStatusDefault) String ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusDefault) String() string
type ProfileServiceGetMFAStatusOK ¶ added in v0.64.0
type ProfileServiceGetMFAStatusOK struct {
Payload *models.HashicorpCloudIamGetMFAStatusResponse
}
ProfileServiceGetMFAStatusOK describes a response with status code 200, with default header values.
A successful response.
func NewProfileServiceGetMFAStatusOK ¶ added in v0.64.0
func NewProfileServiceGetMFAStatusOK() *ProfileServiceGetMFAStatusOK
NewProfileServiceGetMFAStatusOK creates a ProfileServiceGetMFAStatusOK with default headers values
func (*ProfileServiceGetMFAStatusOK) Error ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) Error() string
func (*ProfileServiceGetMFAStatusOK) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) GetPayload() *models.HashicorpCloudIamGetMFAStatusResponse
func (*ProfileServiceGetMFAStatusOK) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) IsClientError() bool
IsClientError returns true when this profile service get m f a status o k response has a 4xx status code
func (*ProfileServiceGetMFAStatusOK) IsCode ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) IsCode(code int) bool
IsCode returns true when this profile service get m f a status o k response a status code equal to that given
func (*ProfileServiceGetMFAStatusOK) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) IsRedirect() bool
IsRedirect returns true when this profile service get m f a status o k response has a 3xx status code
func (*ProfileServiceGetMFAStatusOK) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) IsServerError() bool
IsServerError returns true when this profile service get m f a status o k response has a 5xx status code
func (*ProfileServiceGetMFAStatusOK) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) IsSuccess() bool
IsSuccess returns true when this profile service get m f a status o k response has a 2xx status code
func (*ProfileServiceGetMFAStatusOK) String ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusOK) String() string
type ProfileServiceGetMFAStatusParams ¶ added in v0.64.0
type ProfileServiceGetMFAStatusParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProfileServiceGetMFAStatusParams contains all the parameters to send to the API endpoint
for the profile service get m f a status operation. Typically these are written to a http.Request.
func NewProfileServiceGetMFAStatusParams ¶ added in v0.64.0
func NewProfileServiceGetMFAStatusParams() *ProfileServiceGetMFAStatusParams
NewProfileServiceGetMFAStatusParams creates a new ProfileServiceGetMFAStatusParams 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 NewProfileServiceGetMFAStatusParamsWithContext ¶ added in v0.64.0
func NewProfileServiceGetMFAStatusParamsWithContext(ctx context.Context) *ProfileServiceGetMFAStatusParams
NewProfileServiceGetMFAStatusParamsWithContext creates a new ProfileServiceGetMFAStatusParams object with the ability to set a context for a request.
func NewProfileServiceGetMFAStatusParamsWithHTTPClient ¶ added in v0.64.0
func NewProfileServiceGetMFAStatusParamsWithHTTPClient(client *http.Client) *ProfileServiceGetMFAStatusParams
NewProfileServiceGetMFAStatusParamsWithHTTPClient creates a new ProfileServiceGetMFAStatusParams object with the ability to set a custom HTTPClient for a request.
func NewProfileServiceGetMFAStatusParamsWithTimeout ¶ added in v0.64.0
func NewProfileServiceGetMFAStatusParamsWithTimeout(timeout time.Duration) *ProfileServiceGetMFAStatusParams
NewProfileServiceGetMFAStatusParamsWithTimeout creates a new ProfileServiceGetMFAStatusParams object with the ability to set a timeout on a request.
func (*ProfileServiceGetMFAStatusParams) SetContext ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the profile service get m f a status params
func (*ProfileServiceGetMFAStatusParams) SetDefaults ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) SetDefaults()
SetDefaults hydrates default values in the profile service get m f a status params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceGetMFAStatusParams) SetHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the profile service get m f a status params
func (*ProfileServiceGetMFAStatusParams) SetTimeout ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the profile service get m f a status params
func (*ProfileServiceGetMFAStatusParams) WithContext ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) WithContext(ctx context.Context) *ProfileServiceGetMFAStatusParams
WithContext adds the context to the profile service get m f a status params
func (*ProfileServiceGetMFAStatusParams) WithDefaults ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) WithDefaults() *ProfileServiceGetMFAStatusParams
WithDefaults hydrates default values in the profile service get m f a status params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceGetMFAStatusParams) WithHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) WithHTTPClient(client *http.Client) *ProfileServiceGetMFAStatusParams
WithHTTPClient adds the HTTPClient to the profile service get m f a status params
func (*ProfileServiceGetMFAStatusParams) WithTimeout ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) WithTimeout(timeout time.Duration) *ProfileServiceGetMFAStatusParams
WithTimeout adds the timeout to the profile service get m f a status params
func (*ProfileServiceGetMFAStatusParams) WriteToRequest ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProfileServiceGetMFAStatusReader ¶ added in v0.64.0
type ProfileServiceGetMFAStatusReader struct {
// contains filtered or unexported fields
}
ProfileServiceGetMFAStatusReader is a Reader for the ProfileServiceGetMFAStatus structure.
func (*ProfileServiceGetMFAStatusReader) ReadResponse ¶ added in v0.64.0
func (o *ProfileServiceGetMFAStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProfileServiceResetPasswordDefault ¶ added in v0.64.0
type ProfileServiceResetPasswordDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProfileServiceResetPasswordDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProfileServiceResetPasswordDefault ¶ added in v0.64.0
func NewProfileServiceResetPasswordDefault(code int) *ProfileServiceResetPasswordDefault
NewProfileServiceResetPasswordDefault creates a ProfileServiceResetPasswordDefault with default headers values
func (*ProfileServiceResetPasswordDefault) Code ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) Code() int
Code gets the status code for the profile service reset password default response
func (*ProfileServiceResetPasswordDefault) Error ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) Error() string
func (*ProfileServiceResetPasswordDefault) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProfileServiceResetPasswordDefault) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) IsClientError() bool
IsClientError returns true when this profile service reset password default response has a 4xx status code
func (*ProfileServiceResetPasswordDefault) IsCode ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) IsCode(code int) bool
IsCode returns true when this profile service reset password default response a status code equal to that given
func (*ProfileServiceResetPasswordDefault) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) IsRedirect() bool
IsRedirect returns true when this profile service reset password default response has a 3xx status code
func (*ProfileServiceResetPasswordDefault) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) IsServerError() bool
IsServerError returns true when this profile service reset password default response has a 5xx status code
func (*ProfileServiceResetPasswordDefault) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) IsSuccess() bool
IsSuccess returns true when this profile service reset password default response has a 2xx status code
func (*ProfileServiceResetPasswordDefault) String ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordDefault) String() string
type ProfileServiceResetPasswordOK ¶ added in v0.64.0
type ProfileServiceResetPasswordOK struct {
Payload models.HashicorpCloudIamResetPasswordResponse
}
ProfileServiceResetPasswordOK describes a response with status code 200, with default header values.
A successful response.
func NewProfileServiceResetPasswordOK ¶ added in v0.64.0
func NewProfileServiceResetPasswordOK() *ProfileServiceResetPasswordOK
NewProfileServiceResetPasswordOK creates a ProfileServiceResetPasswordOK with default headers values
func (*ProfileServiceResetPasswordOK) Error ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) Error() string
func (*ProfileServiceResetPasswordOK) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) GetPayload() models.HashicorpCloudIamResetPasswordResponse
func (*ProfileServiceResetPasswordOK) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) IsClientError() bool
IsClientError returns true when this profile service reset password o k response has a 4xx status code
func (*ProfileServiceResetPasswordOK) IsCode ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) IsCode(code int) bool
IsCode returns true when this profile service reset password o k response a status code equal to that given
func (*ProfileServiceResetPasswordOK) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) IsRedirect() bool
IsRedirect returns true when this profile service reset password o k response has a 3xx status code
func (*ProfileServiceResetPasswordOK) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) IsServerError() bool
IsServerError returns true when this profile service reset password o k response has a 5xx status code
func (*ProfileServiceResetPasswordOK) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) IsSuccess() bool
IsSuccess returns true when this profile service reset password o k response has a 2xx status code
func (*ProfileServiceResetPasswordOK) String ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordOK) String() string
type ProfileServiceResetPasswordParams ¶ added in v0.64.0
type ProfileServiceResetPasswordParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProfileServiceResetPasswordParams contains all the parameters to send to the API endpoint
for the profile service reset password operation. Typically these are written to a http.Request.
func NewProfileServiceResetPasswordParams ¶ added in v0.64.0
func NewProfileServiceResetPasswordParams() *ProfileServiceResetPasswordParams
NewProfileServiceResetPasswordParams creates a new ProfileServiceResetPasswordParams 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 NewProfileServiceResetPasswordParamsWithContext ¶ added in v0.64.0
func NewProfileServiceResetPasswordParamsWithContext(ctx context.Context) *ProfileServiceResetPasswordParams
NewProfileServiceResetPasswordParamsWithContext creates a new ProfileServiceResetPasswordParams object with the ability to set a context for a request.
func NewProfileServiceResetPasswordParamsWithHTTPClient ¶ added in v0.64.0
func NewProfileServiceResetPasswordParamsWithHTTPClient(client *http.Client) *ProfileServiceResetPasswordParams
NewProfileServiceResetPasswordParamsWithHTTPClient creates a new ProfileServiceResetPasswordParams object with the ability to set a custom HTTPClient for a request.
func NewProfileServiceResetPasswordParamsWithTimeout ¶ added in v0.64.0
func NewProfileServiceResetPasswordParamsWithTimeout(timeout time.Duration) *ProfileServiceResetPasswordParams
NewProfileServiceResetPasswordParamsWithTimeout creates a new ProfileServiceResetPasswordParams object with the ability to set a timeout on a request.
func (*ProfileServiceResetPasswordParams) SetContext ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the profile service reset password params
func (*ProfileServiceResetPasswordParams) SetDefaults ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) SetDefaults()
SetDefaults hydrates default values in the profile service reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceResetPasswordParams) SetHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the profile service reset password params
func (*ProfileServiceResetPasswordParams) SetTimeout ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the profile service reset password params
func (*ProfileServiceResetPasswordParams) WithContext ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) WithContext(ctx context.Context) *ProfileServiceResetPasswordParams
WithContext adds the context to the profile service reset password params
func (*ProfileServiceResetPasswordParams) WithDefaults ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) WithDefaults() *ProfileServiceResetPasswordParams
WithDefaults hydrates default values in the profile service reset password params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceResetPasswordParams) WithHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) WithHTTPClient(client *http.Client) *ProfileServiceResetPasswordParams
WithHTTPClient adds the HTTPClient to the profile service reset password params
func (*ProfileServiceResetPasswordParams) WithTimeout ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) WithTimeout(timeout time.Duration) *ProfileServiceResetPasswordParams
WithTimeout adds the timeout to the profile service reset password params
func (*ProfileServiceResetPasswordParams) WriteToRequest ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProfileServiceResetPasswordReader ¶ added in v0.64.0
type ProfileServiceResetPasswordReader struct {
// contains filtered or unexported fields
}
ProfileServiceResetPasswordReader is a Reader for the ProfileServiceResetPassword structure.
func (*ProfileServiceResetPasswordReader) ReadResponse ¶ added in v0.64.0
func (o *ProfileServiceResetPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProfileServiceSendVerificationEmailDefault ¶ added in v0.64.0
type ProfileServiceSendVerificationEmailDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProfileServiceSendVerificationEmailDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProfileServiceSendVerificationEmailDefault ¶ added in v0.64.0
func NewProfileServiceSendVerificationEmailDefault(code int) *ProfileServiceSendVerificationEmailDefault
NewProfileServiceSendVerificationEmailDefault creates a ProfileServiceSendVerificationEmailDefault with default headers values
func (*ProfileServiceSendVerificationEmailDefault) Code ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) Code() int
Code gets the status code for the profile service send verification email default response
func (*ProfileServiceSendVerificationEmailDefault) Error ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) Error() string
func (*ProfileServiceSendVerificationEmailDefault) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProfileServiceSendVerificationEmailDefault) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) IsClientError() bool
IsClientError returns true when this profile service send verification email default response has a 4xx status code
func (*ProfileServiceSendVerificationEmailDefault) IsCode ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) IsCode(code int) bool
IsCode returns true when this profile service send verification email default response a status code equal to that given
func (*ProfileServiceSendVerificationEmailDefault) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) IsRedirect() bool
IsRedirect returns true when this profile service send verification email default response has a 3xx status code
func (*ProfileServiceSendVerificationEmailDefault) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) IsServerError() bool
IsServerError returns true when this profile service send verification email default response has a 5xx status code
func (*ProfileServiceSendVerificationEmailDefault) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) IsSuccess() bool
IsSuccess returns true when this profile service send verification email default response has a 2xx status code
func (*ProfileServiceSendVerificationEmailDefault) String ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailDefault) String() string
type ProfileServiceSendVerificationEmailOK ¶ added in v0.64.0
type ProfileServiceSendVerificationEmailOK struct {
Payload models.HashicorpCloudIamSendVerificationEmailResponse
}
ProfileServiceSendVerificationEmailOK describes a response with status code 200, with default header values.
A successful response.
func NewProfileServiceSendVerificationEmailOK ¶ added in v0.64.0
func NewProfileServiceSendVerificationEmailOK() *ProfileServiceSendVerificationEmailOK
NewProfileServiceSendVerificationEmailOK creates a ProfileServiceSendVerificationEmailOK with default headers values
func (*ProfileServiceSendVerificationEmailOK) Error ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) Error() string
func (*ProfileServiceSendVerificationEmailOK) GetPayload ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) GetPayload() models.HashicorpCloudIamSendVerificationEmailResponse
func (*ProfileServiceSendVerificationEmailOK) IsClientError ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) IsClientError() bool
IsClientError returns true when this profile service send verification email o k response has a 4xx status code
func (*ProfileServiceSendVerificationEmailOK) IsCode ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) IsCode(code int) bool
IsCode returns true when this profile service send verification email o k response a status code equal to that given
func (*ProfileServiceSendVerificationEmailOK) IsRedirect ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) IsRedirect() bool
IsRedirect returns true when this profile service send verification email o k response has a 3xx status code
func (*ProfileServiceSendVerificationEmailOK) IsServerError ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) IsServerError() bool
IsServerError returns true when this profile service send verification email o k response has a 5xx status code
func (*ProfileServiceSendVerificationEmailOK) IsSuccess ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) IsSuccess() bool
IsSuccess returns true when this profile service send verification email o k response has a 2xx status code
func (*ProfileServiceSendVerificationEmailOK) String ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailOK) String() string
type ProfileServiceSendVerificationEmailParams ¶ added in v0.64.0
type ProfileServiceSendVerificationEmailParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProfileServiceSendVerificationEmailParams contains all the parameters to send to the API endpoint
for the profile service send verification email operation. Typically these are written to a http.Request.
func NewProfileServiceSendVerificationEmailParams ¶ added in v0.64.0
func NewProfileServiceSendVerificationEmailParams() *ProfileServiceSendVerificationEmailParams
NewProfileServiceSendVerificationEmailParams creates a new ProfileServiceSendVerificationEmailParams 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 NewProfileServiceSendVerificationEmailParamsWithContext ¶ added in v0.64.0
func NewProfileServiceSendVerificationEmailParamsWithContext(ctx context.Context) *ProfileServiceSendVerificationEmailParams
NewProfileServiceSendVerificationEmailParamsWithContext creates a new ProfileServiceSendVerificationEmailParams object with the ability to set a context for a request.
func NewProfileServiceSendVerificationEmailParamsWithHTTPClient ¶ added in v0.64.0
func NewProfileServiceSendVerificationEmailParamsWithHTTPClient(client *http.Client) *ProfileServiceSendVerificationEmailParams
NewProfileServiceSendVerificationEmailParamsWithHTTPClient creates a new ProfileServiceSendVerificationEmailParams object with the ability to set a custom HTTPClient for a request.
func NewProfileServiceSendVerificationEmailParamsWithTimeout ¶ added in v0.64.0
func NewProfileServiceSendVerificationEmailParamsWithTimeout(timeout time.Duration) *ProfileServiceSendVerificationEmailParams
NewProfileServiceSendVerificationEmailParamsWithTimeout creates a new ProfileServiceSendVerificationEmailParams object with the ability to set a timeout on a request.
func (*ProfileServiceSendVerificationEmailParams) SetContext ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the profile service send verification email params
func (*ProfileServiceSendVerificationEmailParams) SetDefaults ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) SetDefaults()
SetDefaults hydrates default values in the profile service send verification email params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceSendVerificationEmailParams) SetHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the profile service send verification email params
func (*ProfileServiceSendVerificationEmailParams) SetTimeout ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the profile service send verification email params
func (*ProfileServiceSendVerificationEmailParams) WithContext ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) WithContext(ctx context.Context) *ProfileServiceSendVerificationEmailParams
WithContext adds the context to the profile service send verification email params
func (*ProfileServiceSendVerificationEmailParams) WithDefaults ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) WithDefaults() *ProfileServiceSendVerificationEmailParams
WithDefaults hydrates default values in the profile service send verification email params (not the query body).
All values with no default are reset to their zero value.
func (*ProfileServiceSendVerificationEmailParams) WithHTTPClient ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) WithHTTPClient(client *http.Client) *ProfileServiceSendVerificationEmailParams
WithHTTPClient adds the HTTPClient to the profile service send verification email params
func (*ProfileServiceSendVerificationEmailParams) WithTimeout ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) WithTimeout(timeout time.Duration) *ProfileServiceSendVerificationEmailParams
WithTimeout adds the timeout to the profile service send verification email params
func (*ProfileServiceSendVerificationEmailParams) WriteToRequest ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProfileServiceSendVerificationEmailReader ¶ added in v0.64.0
type ProfileServiceSendVerificationEmailReader struct {
// contains filtered or unexported fields
}
ProfileServiceSendVerificationEmailReader is a Reader for the ProfileServiceSendVerificationEmail structure.
func (*ProfileServiceSendVerificationEmailReader) ReadResponse ¶ added in v0.64.0
func (o *ProfileServiceSendVerificationEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- profile_service_client.go
- profile_service_confirm_m_f_a_enrollment_parameters.go
- profile_service_confirm_m_f_a_enrollment_responses.go
- profile_service_disable_m_f_a_parameters.go
- profile_service_disable_m_f_a_responses.go
- profile_service_enable_m_f_a_parameters.go
- profile_service_enable_m_f_a_responses.go
- profile_service_get_m_f_a_status_parameters.go
- profile_service_get_m_f_a_status_responses.go
- profile_service_reset_password_parameters.go
- profile_service_reset_password_responses.go
- profile_service_send_verification_email_parameters.go
- profile_service_send_verification_email_responses.go