@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-20T16:55:24.304297906Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class OrganizationAdminModel
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrganizationAdminModel.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 |
|---|
OrganizationAdminModel() |
| Modifier and Type | Method and Description |
|---|---|
OrganizationAdminModel |
email(java.lang.String email) |
boolean |
equals(java.lang.Object o) |
static OrganizationAdminModel |
fromJson(java.lang.String jsonString)
Create an instance of OrganizationAdminModel given an JSON string
|
OrganizationAdminModel |
fullName(java.lang.String fullName) |
java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
java.lang.Object |
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
|
java.lang.String |
getEmail()
Email of the OrganizationAdmin.
|
java.lang.String |
getFullName()
Name of the Organization Admin.
|
java.lang.Boolean |
getTwoFactorEnabled()
Determines whether 2FA is enabled for the Organization Admin.
|
java.lang.String |
getUserId()
Identifier of the Organization Admin.
|
int |
hashCode() |
OrganizationAdminModel |
putAdditionalProperty(java.lang.String key,
java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.
|
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 OrganizationAdminModel to an JSON string
|
java.lang.String |
toString() |
OrganizationAdminModel |
twoFactorEnabled(java.lang.Boolean twoFactorEnabled) |
OrganizationAdminModel |
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 OrganizationAdminModel userId(java.lang.String userId)
@Nullable public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
public OrganizationAdminModel fullName(java.lang.String fullName)
@Nullable public java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
public OrganizationAdminModel email(java.lang.String email)
@Nullable public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public OrganizationAdminModel twoFactorEnabled(java.lang.Boolean twoFactorEnabled)
@Nullable public java.lang.Boolean getTwoFactorEnabled()
public void setTwoFactorEnabled(java.lang.Boolean twoFactorEnabled)
public OrganizationAdminModel putAdditionalProperty(java.lang.String key, java.lang.Object value)
key - name of the propertyvalue - value of the propertypublic java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
public java.lang.Object getAdditionalProperty(java.lang.String key)
key - name of the propertypublic 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 OrganizationAdminModelpublic static OrganizationAdminModel fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to OrganizationAdminModelpublic java.lang.String toJson()