Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 4.53 KB

UpdateRecoveryFlowWithCodeMethod.md

File metadata and controls

129 lines (70 loc) · 4.53 KB

UpdateRecoveryFlowWithCodeMethod

Properties

Name Type Description Notes
Code Pointer to string Code from the recovery email If you want to submit a code, use this field, but make sure to not include the email field, as well. [optional]
CsrfToken Pointer to string Sending the anti-csrf token is only required for browser login flows. [optional]
Email Pointer to string The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the notify_unknown_recipients flag If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email [optional]
Method string Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode

Methods

NewUpdateRecoveryFlowWithCodeMethod

func NewUpdateRecoveryFlowWithCodeMethod(method string, ) *UpdateRecoveryFlowWithCodeMethod

NewUpdateRecoveryFlowWithCodeMethod instantiates a new UpdateRecoveryFlowWithCodeMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewUpdateRecoveryFlowWithCodeMethodWithDefaults

func NewUpdateRecoveryFlowWithCodeMethodWithDefaults() *UpdateRecoveryFlowWithCodeMethod

NewUpdateRecoveryFlowWithCodeMethodWithDefaults instantiates a new UpdateRecoveryFlowWithCodeMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetCode

func (o *UpdateRecoveryFlowWithCodeMethod) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

func (o *UpdateRecoveryFlowWithCodeMethod) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCode

func (o *UpdateRecoveryFlowWithCodeMethod) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *UpdateRecoveryFlowWithCodeMethod) HasCode() bool

HasCode returns a boolean if a field has been set.

GetCsrfToken

func (o *UpdateRecoveryFlowWithCodeMethod) GetCsrfToken() string

GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise.

GetCsrfTokenOk

func (o *UpdateRecoveryFlowWithCodeMethod) GetCsrfTokenOk() (*string, bool)

GetCsrfTokenOk returns a tuple with the CsrfToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCsrfToken

func (o *UpdateRecoveryFlowWithCodeMethod) SetCsrfToken(v string)

SetCsrfToken sets CsrfToken field to given value.

HasCsrfToken

func (o *UpdateRecoveryFlowWithCodeMethod) HasCsrfToken() bool

HasCsrfToken returns a boolean if a field has been set.

GetEmail

func (o *UpdateRecoveryFlowWithCodeMethod) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

func (o *UpdateRecoveryFlowWithCodeMethod) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEmail

func (o *UpdateRecoveryFlowWithCodeMethod) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *UpdateRecoveryFlowWithCodeMethod) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetMethod

func (o *UpdateRecoveryFlowWithCodeMethod) GetMethod() string

GetMethod returns the Method field if non-nil, zero value otherwise.

GetMethodOk

func (o *UpdateRecoveryFlowWithCodeMethod) GetMethodOk() (*string, bool)

GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMethod

func (o *UpdateRecoveryFlowWithCodeMethod) SetMethod(v string)

SetMethod sets Method field to given value.

[Back to Model list] [Back to API list] [Back to README]