Package ai.reveng.model
Class UpdateUserInputBody
java.lang.Object
ai.reveng.model.UpdateUserInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class UpdateUserInputBody
extends Object
UpdateUserInputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumUser role (SUPERADMIN only)static enumUser tier (SUPERADMIN only) -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UpdateUserInputBodyCreate an instance of UpdateUserInputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEmail()Email addressFirst nameLast namegetRole()User role (SUPERADMIN only)getTier()User tier (SUPERADMIN only)IANA time zoneUsernameinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetFirstName(String firstName) voidsetLastName(String lastName) voidvoidvoidsetTimeZone(String timeZone) voidsetUsername(String username) toJson()Convert an instance of UpdateUserInputBody 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_EMAIL
- See Also:
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_ROLE
- See Also:
-
SERIALIZED_NAME_TIER
- See Also:
-
SERIALIZED_NAME_TIME_ZONE
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateUserInputBody
public UpdateUserInputBody()
-
-
Method Details
-
email
-
getEmail
Email address- Returns:
-
setEmail
-
firstName
-
getFirstName
First name- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Last name- Returns:
- lastName
-
setLastName
-
role
-
getRole
User role (SUPERADMIN only)- Returns:
- role
-
setRole
-
tier
-
getTier
User tier (SUPERADMIN only)- Returns:
- tier
-
setTier
-
timeZone
-
getTimeZone
IANA time zone- Returns:
- timeZone
-
setTimeZone
-
username
-
getUsername
Username- Returns:
- username
-
setUsername
-
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 UpdateUserInputBody 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 UpdateUserInputBody
-
fromJson
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
Convert an instance of UpdateUserInputBody to an JSON string- Returns:
- JSON string
-