Class MemberModel
- java.lang.Object
-
- com.configcat.publicapi.java.client.model.MemberModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-20T16:55:24.304297906Z[Etc/UTC]", comments="Generator version: 7.7.0") public class MemberModel extends java.lang.ObjectMemberModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMemberModel.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_PERMISSION_GROUP_IDstatic java.lang.StringSERIALIZED_NAME_PRODUCT_IDstatic java.lang.StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description MemberModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MemberModelemail(java.lang.String email)booleanequals(java.lang.Object o)static MemberModelfromJson(java.lang.String jsonString)Create an instance of MemberModel given an JSON stringMemberModelfullName(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 Member.java.lang.StringgetFullName()Name of the Member.java.lang.LonggetPermissionGroupId()Identifier of the Member's Permission Group.java.util.UUIDgetProductId()Identifier of the Product where the Member has access.java.lang.StringgetUserId()Identifier of the Member.inthashCode()MemberModelpermissionGroupId(java.lang.Long permissionGroupId)MemberModelproductId(java.util.UUID productId)MemberModelputAdditionalProperty(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)voidsetPermissionGroupId(java.lang.Long permissionGroupId)voidsetProductId(java.util.UUID productId)voidsetUserId(java.lang.String userId)java.lang.StringtoJson()Convert an instance of MemberModel to an JSON stringjava.lang.StringtoString()MemberModeluserId(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_PRODUCT_ID
public static final java.lang.String SERIALIZED_NAME_PRODUCT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PERMISSION_GROUP_ID
public static final java.lang.String SERIALIZED_NAME_PERMISSION_GROUP_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
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
userId
public MemberModel userId(java.lang.String userId)
-
getUserId
@Nullable public java.lang.String getUserId()
Identifier of the Member.- Returns:
- userId
-
setUserId
public void setUserId(java.lang.String userId)
-
productId
public MemberModel productId(java.util.UUID productId)
-
getProductId
@Nullable public java.util.UUID getProductId()
Identifier of the Product where the Member has access.- Returns:
- productId
-
setProductId
public void setProductId(java.util.UUID productId)
-
permissionGroupId
public MemberModel permissionGroupId(java.lang.Long permissionGroupId)
-
getPermissionGroupId
@Nullable public java.lang.Long getPermissionGroupId()
Identifier of the Member's Permission Group.- Returns:
- permissionGroupId
-
setPermissionGroupId
public void setPermissionGroupId(java.lang.Long permissionGroupId)
-
fullName
public MemberModel fullName(java.lang.String fullName)
-
getFullName
@Nullable public java.lang.String getFullName()
Name of the Member.- Returns:
- fullName
-
setFullName
public void setFullName(java.lang.String fullName)
-
email
public MemberModel email(java.lang.String email)
-
getEmail
@Nullable public java.lang.String getEmail()
Email of the Member.- Returns:
-
setEmail
public void setEmail(java.lang.String email)
-
putAdditionalProperty
public MemberModel 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 MemberModel 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 MemberModel
-
fromJson
public static MemberModel fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of MemberModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MemberModel
- Throws:
java.io.IOException- if the JSON string is invalid with respect to MemberModel
-
toJson
public java.lang.String toJson()
Convert an instance of MemberModel to an JSON string- Returns:
- JSON string
-
-