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] |
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 |
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
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
func (o *UpdateRecoveryFlowWithCodeMethod) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
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.
func (o *UpdateRecoveryFlowWithCodeMethod) SetCode(v string)
SetCode sets Code field to given value.
func (o *UpdateRecoveryFlowWithCodeMethod) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *UpdateRecoveryFlowWithCodeMethod) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise.
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.
func (o *UpdateRecoveryFlowWithCodeMethod) SetCsrfToken(v string)
SetCsrfToken sets CsrfToken field to given value.
func (o *UpdateRecoveryFlowWithCodeMethod) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (o *UpdateRecoveryFlowWithCodeMethod) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
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.
func (o *UpdateRecoveryFlowWithCodeMethod) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *UpdateRecoveryFlowWithCodeMethod) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (o *UpdateRecoveryFlowWithCodeMethod) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
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.
func (o *UpdateRecoveryFlowWithCodeMethod) SetMethod(v string)
SetMethod sets Method field to given value.