profile_service

package
v0.64.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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 (*ProfileServiceConfirmMFAEnrollmentDefault) GetPayload added in v0.64.0

func (*ProfileServiceConfirmMFAEnrollmentDefault) IsClientError added in v0.64.0

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

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

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

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

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

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 (*ProfileServiceConfirmMFAEnrollmentOK) GetPayload added in v0.64.0

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

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

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

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

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

SetBody adds the body to the profile service confirm m f a enrollment params

func (*ProfileServiceConfirmMFAEnrollmentParams) SetContext added in v0.64.0

SetContext adds the context to the profile service confirm m f a enrollment params

func (*ProfileServiceConfirmMFAEnrollmentParams) SetDefaults added in v0.64.0

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

SetTimeout adds the timeout to the profile service confirm m f a enrollment params

func (*ProfileServiceConfirmMFAEnrollmentParams) WithBody added in v0.64.0

WithBody adds the body to the profile service confirm m f a enrollment params

func (*ProfileServiceConfirmMFAEnrollmentParams) WithContext added in v0.64.0

WithContext adds the context to the profile service confirm m f a enrollment params

func (*ProfileServiceConfirmMFAEnrollmentParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the profile service confirm m f a enrollment params

func (*ProfileServiceConfirmMFAEnrollmentParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the profile service confirm m f a enrollment params

func (*ProfileServiceConfirmMFAEnrollmentParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the profile service disable m f a default response

func (*ProfileServiceDisableMFADefault) Error added in v0.64.0

func (*ProfileServiceDisableMFADefault) GetPayload added in v0.64.0

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

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 (*ProfileServiceDisableMFAOK) GetPayload added in v0.64.0

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

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

WithBody adds the body to the profile service disable m f a params

func (*ProfileServiceDisableMFAParams) WithContext added in v0.64.0

WithContext adds the context to the profile service disable m f a params

func (*ProfileServiceDisableMFAParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the profile service disable m f a params

func (*ProfileServiceDisableMFAParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the profile service disable m f a params

func (*ProfileServiceDisableMFAParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the profile service enable m f a default response

func (*ProfileServiceEnableMFADefault) Error added in v0.64.0

func (*ProfileServiceEnableMFADefault) GetPayload added in v0.64.0

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

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 (*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

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

WithBody adds the body to the profile service enable m f a params

func (*ProfileServiceEnableMFAParams) WithContext added in v0.64.0

WithContext adds the context to the profile service enable m f a params

func (*ProfileServiceEnableMFAParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the profile service enable m f a params

func (*ProfileServiceEnableMFAParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the profile service enable m f a params

func (*ProfileServiceEnableMFAParams) WriteToRequest added in v0.64.0

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

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 (*ProfileServiceGetMFAStatusDefault) GetPayload added in v0.64.0

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

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 (*ProfileServiceGetMFAStatusOK) GetPayload added in v0.64.0

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

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

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

WithContext adds the context to the profile service get m f a status params

func (*ProfileServiceGetMFAStatusParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the profile service get m f a status params

func (*ProfileServiceGetMFAStatusParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the profile service get m f a status params

func (*ProfileServiceGetMFAStatusParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the profile service reset password default response

func (*ProfileServiceResetPasswordDefault) Error added in v0.64.0

func (*ProfileServiceResetPasswordDefault) GetPayload added in v0.64.0

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

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

IsSuccess returns true when this profile service reset password default response has a 2xx status code

func (*ProfileServiceResetPasswordDefault) String added in v0.64.0

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 (*ProfileServiceResetPasswordOK) GetPayload added in v0.64.0

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

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

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

WithContext adds the context to the profile service reset password params

func (*ProfileServiceResetPasswordParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the profile service reset password params

func (*ProfileServiceResetPasswordParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the profile service reset password params

func (*ProfileServiceResetPasswordParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the profile service send verification email default response

func (*ProfileServiceSendVerificationEmailDefault) Error added in v0.64.0

func (*ProfileServiceSendVerificationEmailDefault) GetPayload added in v0.64.0

func (*ProfileServiceSendVerificationEmailDefault) IsClientError added in v0.64.0

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

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

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

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

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

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 (*ProfileServiceSendVerificationEmailOK) GetPayload added in v0.64.0

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

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

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

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

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

SetContext adds the context to the profile service send verification email params

func (*ProfileServiceSendVerificationEmailParams) SetDefaults added in v0.64.0

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

SetTimeout adds the timeout to the profile service send verification email params

func (*ProfileServiceSendVerificationEmailParams) WithContext added in v0.64.0

WithContext adds the context to the profile service send verification email params

func (*ProfileServiceSendVerificationEmailParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the profile service send verification email params

func (*ProfileServiceSendVerificationEmailParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the profile service send verification email params

func (*ProfileServiceSendVerificationEmailParams) WriteToRequest added in v0.64.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL