Name | Type | Description | Notes |
---|---|---|---|
CsrfToken | Pointer to string | Sending the anti-csrf token is only required for browser login flows. | [optional] |
string | Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email | ||
Method | string | Method supports `link` only right now. |
func NewSubmitSelfServiceRecoveryFlowBody(email string, method string, ) *SubmitSelfServiceRecoveryFlowBody
NewSubmitSelfServiceRecoveryFlowBody instantiates a new SubmitSelfServiceRecoveryFlowBody 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 NewSubmitSelfServiceRecoveryFlowBodyWithDefaults() *SubmitSelfServiceRecoveryFlowBody
NewSubmitSelfServiceRecoveryFlowBodyWithDefaults instantiates a new SubmitSelfServiceRecoveryFlowBody 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 *SubmitSelfServiceRecoveryFlowBody) GetCsrfToken() string
GetCsrfToken returns the CsrfToken field if non-nil, zero value otherwise.
func (o *SubmitSelfServiceRecoveryFlowBody) 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 *SubmitSelfServiceRecoveryFlowBody) SetCsrfToken(v string)
SetCsrfToken sets CsrfToken field to given value.
func (o *SubmitSelfServiceRecoveryFlowBody) HasCsrfToken() bool
HasCsrfToken returns a boolean if a field has been set.
func (o *SubmitSelfServiceRecoveryFlowBody) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *SubmitSelfServiceRecoveryFlowBody) 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 *SubmitSelfServiceRecoveryFlowBody) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *SubmitSelfServiceRecoveryFlowBody) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
func (o *SubmitSelfServiceRecoveryFlowBody) 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 *SubmitSelfServiceRecoveryFlowBody) SetMethod(v string)
SetMethod sets Method field to given value.