Package sh.ory.model

Class SubmitSelfServiceSettingsFlowBody

java.lang.Object
sh.ory.model.SubmitSelfServiceSettingsFlowBody

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

  • Constructor Details

    • SubmitSelfServiceSettingsFlowBody

      public SubmitSelfServiceSettingsFlowBody()
  • Method Details

    • csrfToken

      public SubmitSelfServiceSettingsFlowBody csrfToken​(String csrfToken)
    • getCsrfToken

      @Nullable public String getCsrfToken()
      CSRFToken is the anti-CSRF token
      Returns:
      csrfToken
    • setCsrfToken

      public void setCsrfToken​(String csrfToken)
    • method

      public SubmitSelfServiceSettingsFlowBody method​(String method)
    • getMethod

      @Nonnull public String getMethod()
      Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing.
      Returns:
      method
    • setMethod

      public void setMethod​(String method)
    • password

      public SubmitSelfServiceSettingsFlowBody password​(String password)
    • getPassword

      @Nonnull public String getPassword()
      Password is the updated password
      Returns:
      password
    • setPassword

      public void setPassword​(String password)
    • traits

      public SubmitSelfServiceSettingsFlowBody traits​(Object traits)
    • getTraits

      @Nonnull public Object getTraits()
      The identity's traits in: body
      Returns:
      traits
    • setTraits

      public void setTraits​(Object traits)
    • flow

    • getFlow

      @Nullable public String getFlow()
      Flow ID is the flow's ID. in: query
      Returns:
      flow
    • setFlow

      public void setFlow​(String flow)
    • link

    • getLink

      @Nullable public String getLink()
      Link this provider Either this or `unlink` must be set. type: string in: body
      Returns:
      link
    • setLink

      public void setLink​(String link)
    • unlink

      public SubmitSelfServiceSettingsFlowBody unlink​(String unlink)
    • getUnlink

      @Nullable public String getUnlink()
      Unlink this provider Either this or `link` must be set. type: string in: body
      Returns:
      unlink
    • setUnlink

      public void setUnlink​(String unlink)
    • totpCode

      public SubmitSelfServiceSettingsFlowBody totpCode​(String totpCode)
    • getTotpCode

      @Nullable public String getTotpCode()
      ValidationTOTP must contain a valid TOTP based on the
      Returns:
      totpCode
    • setTotpCode

      public void setTotpCode​(String totpCode)
    • totpUnlink

      public SubmitSelfServiceSettingsFlowBody totpUnlink​(Boolean totpUnlink)
    • getTotpUnlink

      @Nullable public Boolean getTotpUnlink()
      UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device.
      Returns:
      totpUnlink
    • setTotpUnlink

      public void setTotpUnlink​(Boolean totpUnlink)
    • webauthnRegister

      public SubmitSelfServiceSettingsFlowBody webauthnRegister​(String webauthnRegister)
    • getWebauthnRegister

      @Nullable public String getWebauthnRegister()
      Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.
      Returns:
      webauthnRegister
    • setWebauthnRegister

      public void setWebauthnRegister​(String webauthnRegister)
    • webauthnRegisterDisplayname

      public SubmitSelfServiceSettingsFlowBody webauthnRegisterDisplayname​(String webauthnRegisterDisplayname)
    • getWebauthnRegisterDisplayname

      @Nullable public String getWebauthnRegisterDisplayname()
      Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added.
      Returns:
      webauthnRegisterDisplayname
    • setWebauthnRegisterDisplayname

      public void setWebauthnRegisterDisplayname​(String webauthnRegisterDisplayname)
    • webauthnRemove

      public SubmitSelfServiceSettingsFlowBody webauthnRemove​(String webauthnRemove)
    • getWebauthnRemove

      @Nullable public String getWebauthnRemove()
      Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection.
      Returns:
      webauthnRemove
    • setWebauthnRemove

      public void setWebauthnRemove​(String webauthnRemove)
    • lookupSecretConfirm

      public SubmitSelfServiceSettingsFlowBody lookupSecretConfirm​(Boolean lookupSecretConfirm)
    • getLookupSecretConfirm

      @Nullable public Boolean getLookupSecretConfirm()
      If set to true will save the regenerated lookup secrets
      Returns:
      lookupSecretConfirm
    • setLookupSecretConfirm

      public void setLookupSecretConfirm​(Boolean lookupSecretConfirm)
    • lookupSecretDisable

      public SubmitSelfServiceSettingsFlowBody lookupSecretDisable​(Boolean lookupSecretDisable)
    • getLookupSecretDisable

      @Nullable public Boolean getLookupSecretDisable()
      Disables this method if true.
      Returns:
      lookupSecretDisable
    • setLookupSecretDisable

      public void setLookupSecretDisable​(Boolean lookupSecretDisable)
    • lookupSecretRegenerate

      public SubmitSelfServiceSettingsFlowBody lookupSecretRegenerate​(Boolean lookupSecretRegenerate)
    • getLookupSecretRegenerate

      @Nullable public Boolean getLookupSecretRegenerate()
      If set to true will regenerate the lookup secrets
      Returns:
      lookupSecretRegenerate
    • setLookupSecretRegenerate

      public void setLookupSecretRegenerate​(Boolean lookupSecretRegenerate)
    • lookupSecretReveal

      public SubmitSelfServiceSettingsFlowBody lookupSecretReveal​(Boolean lookupSecretReveal)
    • getLookupSecretReveal

      @Nullable public Boolean getLookupSecretReveal()
      If set to true will reveal the lookup secrets
      Returns:
      lookupSecretReveal
    • setLookupSecretReveal

      public void setLookupSecretReveal​(Boolean lookupSecretReveal)
    • 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