Class RegisterUserInputBody

java.lang.Object
ai.reveng.model.RegisterUserInputBody

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RegisterUserInputBody extends Object
RegisterUserInputBody
  • Field Details

  • Constructor Details

    • RegisterUserInputBody

      public RegisterUserInputBody()
  • Method Details

    • email

      public RegisterUserInputBody email(@Nonnull String email)
    • getEmail

      @Nonnull public String getEmail()
      Email address
      Returns:
      email
    • setEmail

      public void setEmail(@Nonnull String email)
    • firstName

      public RegisterUserInputBody firstName(@Nonnull String firstName)
    • getFirstName

      @Nonnull public String getFirstName()
      First name
      Returns:
      firstName
    • setFirstName

      public void setFirstName(@Nonnull String firstName)
    • inviteCode

      public RegisterUserInputBody inviteCode(@Nullable String inviteCode)
    • getInviteCode

      @Nullable public String getInviteCode()
      Invite code from the registration email
      Returns:
      inviteCode
    • setInviteCode

      public void setInviteCode(@Nullable String inviteCode)
    • lastName

      public RegisterUserInputBody lastName(@Nonnull String lastName)
    • getLastName

      @Nonnull public String getLastName()
      Last name
      Returns:
      lastName
    • setLastName

      public void setLastName(@Nonnull String lastName)
    • password

      public RegisterUserInputBody password(@Nonnull String password)
    • getPassword

      @Nonnull public String getPassword()
      Password (minimum 10 characters)
      Returns:
      password
    • setPassword

      public void setPassword(@Nonnull String password)
    • username

      public RegisterUserInputBody username(@Nonnull String username)
    • getUsername

      @Nonnull public String getUsername()
      Username
      Returns:
      username
    • setUsername

      public void setUsername(@Nonnull String username)
    • putAdditionalProperty

      public RegisterUserInputBody putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the RegisterUserInputBody instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to RegisterUserInputBody
    • fromJson

      public static RegisterUserInputBody fromJson(String jsonString) throws IOException
      Create an instance of RegisterUserInputBody given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of RegisterUserInputBody
      Throws:
      IOException - if the JSON string is invalid with respect to RegisterUserInputBody
    • toJson

      public String toJson()
      Convert an instance of RegisterUserInputBody to an JSON string
      Returns:
      JSON string