Class User

java.lang.Object
com.veeroute.lss.account.model.User

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:28.176551651+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class User extends Object
User.
  • Field Details

  • Constructor Details

  • Method Details

    • username

      public User username(@Nonnull String username)
    • getUsername

      @Nonnull public String getUsername()
      Unique username for login.
      Returns:
      username
    • setUsername

      public void setUsername(@Nonnull String username)
    • password

      public User password(@Nullable String password)
    • getPassword

      @Nullable public String getPassword()
      Password.
      Returns:
      password
    • setPassword

      public void setPassword(@Nullable String password)
    • specification

      public User specification(@Nullable String specification)
    • getSpecification

      @Nullable public String getSpecification()
      User specification.
      Returns:
      specification
    • setSpecification

      public void setSpecification(@Nullable String specification)
    • email

      public User email(@Nullable String email)
    • getEmail

      @Nullable public String getEmail()
      User e-mail address.
      Returns:
      email
    • setEmail

      public void setEmail(@Nullable String email)
    • phone

      public User phone(@Nullable String phone)
    • getPhone

      @Nullable public String getPhone()
      User phone.
      Returns:
      phone
    • setPhone

      public void setPhone(@Nullable String phone)
    • companyKey

      public User companyKey(@Nonnull String companyKey)
    • getCompanyKey

      @Nonnull public String getCompanyKey()
      Unique company key.
      Returns:
      companyKey
    • setCompanyKey

      public void setCompanyKey(@Nonnull String companyKey)
    • enabled

      public User enabled(@Nullable Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      User status.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(@Nullable Boolean enabled)
    • roles

      public User roles(@Nonnull Set<UserRole> roles)
    • addRolesItem

      public User addRolesItem(UserRole rolesItem)
    • getRoles

      @Nonnull public Set<UserRole> getRoles()
      List of user roles.
      Returns:
      roles
    • setRoles

      public void setRoles(@Nonnull Set<UserRole> roles)
    • timezone

      public User timezone(@Nullable Integer timezone)
    • getTimezone

      @Nullable public Integer getTimezone()
      Timezone. minimum: -12 maximum: 12
      Returns:
      timezone
    • setTimezone

      public void setTimezone(@Nullable Integer timezone)
    • getEditDate

      @Nullable public OffsetDateTime getEditDate()
      Last edit date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
      Returns:
      editDate
    • getCreationDate

      @Nullable public OffsetDateTime getCreationDate()
      Creation date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
      Returns:
      creationDate
    • attributes

      public User attributes(@Nullable Set<Attribute> attributes)
    • addAttributesItem

      public User addAttributesItem(Attribute attributesItem)
    • getAttributes

      @Nullable public Set<Attribute> getAttributes()
      Attributes. Used to add service information.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable Set<Attribute> attributes)
    • putAdditionalProperty

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

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

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