Package ai.reveng.model
Class RegisterUserInputBody
java.lang.Object
ai.reveng.model.RegisterUserInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RegisterUserInputBody
extends Object
RegisterUserInputBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RegisterUserInputBodyCreate an instance of RegisterUserInputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEmail()Email addressFirst nameInvite code from the registration emailLast namePassword (minimum 10 characters)UsernameinthashCode()inviteCode(String inviteCode) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetFirstName(String firstName) voidsetInviteCode(String inviteCode) voidsetLastName(String lastName) voidsetPassword(String password) voidsetUsername(String username) toJson()Convert an instance of RegisterUserInputBody 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_INVITE_CODE
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_PASSWORD
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RegisterUserInputBody
public RegisterUserInputBody()
-
-
Method Details
-
email
-
getEmail
Email address- Returns:
-
setEmail
-
firstName
-
getFirstName
First name- Returns:
- firstName
-
setFirstName
-
inviteCode
-
getInviteCode
Invite code from the registration email- Returns:
- inviteCode
-
setInviteCode
-
lastName
-
getLastName
Last name- Returns:
- lastName
-
setLastName
-
password
-
getPassword
Password (minimum 10 characters)- Returns:
- password
-
setPassword
-
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 RegisterUserInputBody 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 RegisterUserInputBody
-
fromJson
Create an instance of RegisterUserInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RegisterUserInputBody
- Throws:
IOException- if the JSON string is invalid with respect to RegisterUserInputBody
-
toJson
Convert an instance of RegisterUserInputBody to an JSON string- Returns:
- JSON string
-