Class UpdateUserInputBody

java.lang.Object
ai.reveng.model.UpdateUserInputBody

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

  • Constructor Details

    • UpdateUserInputBody

      public UpdateUserInputBody()
  • Method Details

    • email

      public UpdateUserInputBody email(@Nullable String email)
    • getEmail

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

      public void setEmail(@Nullable String email)
    • firstName

      public UpdateUserInputBody firstName(@Nullable String firstName)
    • getFirstName

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

      public void setFirstName(@Nullable String firstName)
    • lastName

      public UpdateUserInputBody lastName(@Nullable String lastName)
    • getLastName

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

      public void setLastName(@Nullable String lastName)
    • role

      public UpdateUserInputBody role(@Nullable UpdateUserInputBody.RoleEnum role)
    • getRole

      @Nullable public UpdateUserInputBody.RoleEnum getRole()
      User role (SUPERADMIN only)
      Returns:
      role
    • setRole

      public void setRole(@Nullable UpdateUserInputBody.RoleEnum role)
    • tier

      public UpdateUserInputBody tier(@Nullable UpdateUserInputBody.TierEnum tier)
    • getTier

      @Nullable public UpdateUserInputBody.TierEnum getTier()
      User tier (SUPERADMIN only)
      Returns:
      tier
    • setTier

      public void setTier(@Nullable UpdateUserInputBody.TierEnum tier)
    • timeZone

      public UpdateUserInputBody timeZone(@Nullable String timeZone)
    • getTimeZone

      @Nullable public String getTimeZone()
      IANA time zone
      Returns:
      timeZone
    • setTimeZone

      public void setTimeZone(@Nullable String timeZone)
    • username

      public UpdateUserInputBody username(@Nullable String username)
    • getUsername

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

      public void setUsername(@Nullable String username)
    • putAdditionalProperty

      public UpdateUserInputBody 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 UpdateUserInputBody 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 UpdateUserInputBody
    • fromJson

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

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