Class OrganizationAdminModel
- java.lang.Object
-
- com.configcat.publicapi.java.client.model.OrganizationAdminModel
-
@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.ObjectDescribes an Organization Admin.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrganizationAdminModel.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_EMAILstatic java.lang.StringSERIALIZED_NAME_FULL_NAMEstatic java.lang.StringSERIALIZED_NAME_TWO_FACTOR_ENABLEDstatic java.lang.StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description OrganizationAdminModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationAdminModelemail(java.lang.String email)booleanequals(java.lang.Object o)static OrganizationAdminModelfromJson(java.lang.String jsonString)Create an instance of OrganizationAdminModel given an JSON stringOrganizationAdminModelfullName(java.lang.String fullName)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.java.lang.StringgetEmail()Email of the OrganizationAdmin.java.lang.StringgetFullName()Name of the Organization Admin.java.lang.BooleangetTwoFactorEnabled()Determines whether 2FA is enabled for the Organization Admin.java.lang.StringgetUserId()Identifier of the Organization Admin.inthashCode()OrganizationAdminModelputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetEmail(java.lang.String email)voidsetFullName(java.lang.String fullName)voidsetTwoFactorEnabled(java.lang.Boolean twoFactorEnabled)voidsetUserId(java.lang.String userId)java.lang.StringtoJson()Convert an instance of OrganizationAdminModel to an JSON stringjava.lang.StringtoString()OrganizationAdminModeltwoFactorEnabled(java.lang.Boolean twoFactorEnabled)OrganizationAdminModeluserId(java.lang.String userId)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_USER_ID
public static final java.lang.String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FULL_NAME
public static final java.lang.String SERIALIZED_NAME_FULL_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final java.lang.String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TWO_FACTOR_ENABLED
public static final java.lang.String SERIALIZED_NAME_TWO_FACTOR_ENABLED
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
userId
public OrganizationAdminModel userId(java.lang.String userId)
-
getUserId
@Nullable public java.lang.String getUserId()
Identifier of the Organization Admin.- Returns:
- userId
-
setUserId
public void setUserId(java.lang.String userId)
-
fullName
public OrganizationAdminModel fullName(java.lang.String fullName)
-
getFullName
@Nullable public java.lang.String getFullName()
Name of the Organization Admin.- Returns:
- fullName
-
setFullName
public void setFullName(java.lang.String fullName)
-
email
public OrganizationAdminModel email(java.lang.String email)
-
getEmail
@Nullable public java.lang.String getEmail()
Email of the OrganizationAdmin.- Returns:
-
setEmail
public void setEmail(java.lang.String email)
-
twoFactorEnabled
public OrganizationAdminModel twoFactorEnabled(java.lang.Boolean twoFactorEnabled)
-
getTwoFactorEnabled
@Nullable public java.lang.Boolean getTwoFactorEnabled()
Determines whether 2FA is enabled for the Organization Admin.- Returns:
- twoFactorEnabled
-
setTwoFactorEnabled
public void setTwoFactorEnabled(java.lang.Boolean twoFactorEnabled)
-
putAdditionalProperty
public OrganizationAdminModel putAdditionalProperty(java.lang.String key, java.lang.Object value)
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 OrganizationAdminModel instance itself
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
java.io.IOException- if the JSON Element is invalid with respect to OrganizationAdminModel
-
fromJson
public static OrganizationAdminModel fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of OrganizationAdminModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OrganizationAdminModel
- Throws:
java.io.IOException- if the JSON string is invalid with respect to OrganizationAdminModel
-
toJson
public java.lang.String toJson()
Convert an instance of OrganizationAdminModel to an JSON string- Returns:
- JSON string
-
-