Package ai.reveng.model
Class GetUserResponse
java.lang.Object
ai.reveng.model.GetUserResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class GetUserResponse
extends Object
GetUserResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreation(OffsetDateTime creation) booleanstatic GetUserResponseCreate an instance of GetUserResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get creationgetEmail()Get emailGet firstNameGet lastNameGet tutorialSeenGet userIdGet usernameinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreation(OffsetDateTime creation) voidvoidsetFirstName(String firstName) voidsetLastName(String lastName) voidsetTutorialSeen(Boolean tutorialSeen) voidvoidsetUsername(String username) toJson()Convert an instance of GetUserResponse 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetUserResponse
public GetUserResponse()
-
-
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
-
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 GetUserResponse 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 GetUserResponse
-
fromJson
Create an instance of GetUserResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetUserResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetUserResponse
-
toJson
Convert an instance of GetUserResponse to an JSON string- Returns:
- JSON string
-