Package ai.reveng.model
Class GetMeResponse
java.lang.Object
ai.reveng.model.GetMeResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class GetMeResponse
extends Object
GetMeResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets role -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreation(OffsetDateTime creation) booleanstatic GetMeResponseCreate an instance of GetMeResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get creationgetEmail()Get emailGet firstNameGet lastNamegetRole()Get roleGet tutorialSeenGet userIdGet usernameinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.role(GetMeResponse.RoleEnum role) voidsetCreation(OffsetDateTime creation) voidvoidsetFirstName(String firstName) voidsetLastName(String lastName) voidvoidsetTutorialSeen(Boolean tutorialSeen) voidvoidsetUsername(String username) toJson()Convert an instance of GetMeResponse to an JSON stringtoString()tutorialSeen(Boolean tutorialSeen) 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_USER_ID
- See Also:
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_TUTORIAL_SEEN
- See Also:
-
SERIALIZED_NAME_ROLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetMeResponse
public GetMeResponse()
-
-
Method Details
-
username
-
getUsername
Get username- Returns:
- username
-
setUsername
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
firstName
-
getFirstName
Get firstName- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
Get lastName- Returns:
- lastName
-
setLastName
-
email
-
getEmail
Get email- Returns:
-
setEmail
-
creation
-
getCreation
Get creation- Returns:
- creation
-
setCreation
-
tutorialSeen
-
getTutorialSeen
Get tutorialSeen- Returns:
- tutorialSeen
-
setTutorialSeen
-
role
-
getRole
Get role- Returns:
- role
-
setRole
-
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 GetMeResponse 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 GetMeResponse
-
fromJson
Create an instance of GetMeResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetMeResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetMeResponse
-
toJson
Convert an instance of GetMeResponse to an JSON string- Returns:
- JSON string
-