@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-09T12:38:06.739118192Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class UserModel
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserModel.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_EMAIL |
static java.lang.String |
SERIALIZED_NAME_FULL_NAME |
static java.lang.String |
SERIALIZED_NAME_TWO_FACTOR_ENABLED |
static java.lang.String |
SERIALIZED_NAME_USER_ID |
| Constructor and Description |
|---|
UserModel() |
| Modifier and Type | Method and Description |
|---|---|
UserModel |
email(java.lang.String email) |
boolean |
equals(java.lang.Object o) |
static UserModel |
fromJson(java.lang.String jsonString)
Create an instance of UserModel given an JSON string
|
UserModel |
fullName(java.lang.String fullName) |
java.lang.String |
getEmail()
Email of the Member.
|
java.lang.String |
getFullName()
Name of the Member.
|
java.lang.Boolean |
getTwoFactorEnabled()
Determines whether 2FA is enabled for the Member.
|
java.lang.String |
getUserId()
Identifier of the Member.
|
int |
hashCode() |
void |
setEmail(java.lang.String email) |
void |
setFullName(java.lang.String fullName) |
void |
setTwoFactorEnabled(java.lang.Boolean twoFactorEnabled) |
void |
setUserId(java.lang.String userId) |
java.lang.String |
toJson()
Convert an instance of UserModel to an JSON string
|
java.lang.String |
toString() |
UserModel |
twoFactorEnabled(java.lang.Boolean twoFactorEnabled) |
UserModel |
userId(java.lang.String userId) |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_USER_ID
public static final java.lang.String SERIALIZED_NAME_FULL_NAME
public static final java.lang.String SERIALIZED_NAME_EMAIL
public static final java.lang.String SERIALIZED_NAME_TWO_FACTOR_ENABLED
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public UserModel userId(java.lang.String userId)
@Nullable public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
public UserModel fullName(java.lang.String fullName)
@Nullable public java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
public UserModel email(java.lang.String email)
@Nullable public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public UserModel twoFactorEnabled(java.lang.Boolean twoFactorEnabled)
@Nullable public java.lang.Boolean getTwoFactorEnabled()
public void setTwoFactorEnabled(java.lang.Boolean twoFactorEnabled)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to UserModelpublic static UserModel fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to UserModelpublic java.lang.String toJson()