Package com.veeroute.lss.account.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) addRolesItem(UserRole rolesItem) attributes(Set<Attribute> attributes) companyKey(String companyKey) booleanstatic UserCreate an instance of User given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.Unique company key.Creation date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.Last edit date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.getEmail()User e-mail address.User status.Password.getPhone()User phone.getRoles()List of user roles.User specification.Timezone.Unique username for login.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidsetCompanyKey(String companyKey) voidvoidsetEnabled(Boolean enabled) voidsetPassword(String password) voidvoidvoidsetSpecification(String specification) voidsetTimezone(Integer timezone) voidsetUsername(String username) specification(String specification) toJson()Convert an instance of User to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_USERNAME
- See Also:
-
SERIALIZED_NAME_PASSWORD
- See Also:
-
SERIALIZED_NAME_SPECIFICATION
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_PHONE
- See Also:
-
SERIALIZED_NAME_COMPANY_KEY
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_ROLES
- See Also:
-
SERIALIZED_NAME_TIMEZONE
- See Also:
-
SERIALIZED_NAME_EDIT_DATE
- See Also:
-
SERIALIZED_NAME_CREATION_DATE
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
User
public User() -
User
-
-
Method Details
-
username
-
getUsername
Unique username for login.- Returns:
- username
-
setUsername
-
password
-
getPassword
Password.- Returns:
- password
-
setPassword
-
specification
-
getSpecification
User specification.- Returns:
- specification
-
setSpecification
-
email
-
getEmail
User e-mail address.- Returns:
-
setEmail
-
phone
-
getPhone
User phone.- Returns:
- phone
-
setPhone
-
companyKey
-
getCompanyKey
Unique company key.- Returns:
- companyKey
-
setCompanyKey
-
enabled
-
getEnabled
User status.- Returns:
- enabled
-
setEnabled
-
roles
-
addRolesItem
-
getRoles
List of user roles.- Returns:
- roles
-
setRoles
-
timezone
-
getTimezone
Timezone. minimum: -12 maximum: 12- Returns:
- timezone
-
setTimezone
-
getEditDate
Last edit date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.- Returns:
- editDate
-
getCreationDate
Creation date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.- Returns:
- creationDate
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the User instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of User to an JSON string- Returns:
- JSON string
-