Package sh.ory.model

Class SubmitSelfServiceRecoveryFlowBody

java.lang.Object
sh.ory.model.SubmitSelfServiceRecoveryFlowBody

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-04-19T11:31:27.587817519Z[Etc/UTC]")
public class SubmitSelfServiceRecoveryFlowBody
extends Object
SubmitSelfServiceRecoveryFlowBody
  • Field Details

  • Constructor Details

    • SubmitSelfServiceRecoveryFlowBody

      public SubmitSelfServiceRecoveryFlowBody()
  • Method Details

    • csrfToken

      public SubmitSelfServiceRecoveryFlowBody csrfToken​(String csrfToken)
    • getCsrfToken

      @Nullable public String getCsrfToken()
      Sending the anti-csrf token is only required for browser login flows.
      Returns:
      csrfToken
    • setCsrfToken

      public void setCsrfToken​(String csrfToken)
    • email

      public SubmitSelfServiceRecoveryFlowBody email​(String email)
    • getEmail

      @Nonnull public String getEmail()
      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
      Returns:
      email
    • setEmail

      public void setEmail​(String email)
    • method

      public SubmitSelfServiceRecoveryFlowBody method​(String method)
    • getMethod

      @Nonnull public String getMethod()
      Method supports `link` only right now.
      Returns:
      method
    • setMethod

      public void setMethod​(String method)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object