Class UpdateMemberPermissionsRequest
- java.lang.Object
-
- com.configcat.publicapi.java.client.model.UpdateMemberPermissionsRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-11-14T09:20:16.892643418Z[Etc/UTC]", comments="Generator version: 7.7.0") public class UpdateMemberPermissionsRequest extends java.lang.ObjectUpdateMemberPermissionsRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateMemberPermissionsRequest.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_IS_ADMINstatic java.lang.StringSERIALIZED_NAME_IS_BILLING_MANAGERstatic java.lang.StringSERIALIZED_NAME_PERMISSION_GROUP_IDSstatic java.lang.StringSERIALIZED_NAME_REMOVE_FROM_PERMISSION_GROUPS_WHERE_ID_NOT_SET
-
Constructor Summary
Constructors Constructor Description UpdateMemberPermissionsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMemberPermissionsRequestaddPermissionGroupIdsItem(java.lang.Long permissionGroupIdsItem)booleanequals(java.lang.Object o)static UpdateMemberPermissionsRequestfromJson(java.lang.String jsonString)Create an instance of UpdateMemberPermissionsRequest given an JSON stringjava.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.BooleangetIsAdmin()Indicates that the member must be Organization Admin.java.lang.BooleangetIsBillingManager()Indicates that the member must be Billing Manager.java.util.List<java.lang.Long>getPermissionGroupIds()List of Permission Group identifiers to where the Member should be added.java.lang.BooleangetRemoveFromPermissionGroupsWhereIdNotSet()When `true`, the member will be removed from those Permission Groups that are not listed in the `permissionGroupIds` field.inthashCode()UpdateMemberPermissionsRequestisAdmin(java.lang.Boolean isAdmin)UpdateMemberPermissionsRequestisBillingManager(java.lang.Boolean isBillingManager)UpdateMemberPermissionsRequestpermissionGroupIds(java.util.List<java.lang.Long> permissionGroupIds)UpdateMemberPermissionsRequestputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.UpdateMemberPermissionsRequestremoveFromPermissionGroupsWhereIdNotSet(java.lang.Boolean removeFromPermissionGroupsWhereIdNotSet)voidsetIsAdmin(java.lang.Boolean isAdmin)voidsetIsBillingManager(java.lang.Boolean isBillingManager)voidsetPermissionGroupIds(java.util.List<java.lang.Long> permissionGroupIds)voidsetRemoveFromPermissionGroupsWhereIdNotSet(java.lang.Boolean removeFromPermissionGroupsWhereIdNotSet)java.lang.StringtoJson()Convert an instance of UpdateMemberPermissionsRequest to an JSON stringjava.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PERMISSION_GROUP_IDS
public static final java.lang.String SERIALIZED_NAME_PERMISSION_GROUP_IDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_ADMIN
public static final java.lang.String SERIALIZED_NAME_IS_ADMIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_BILLING_MANAGER
public static final java.lang.String SERIALIZED_NAME_IS_BILLING_MANAGER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REMOVE_FROM_PERMISSION_GROUPS_WHERE_ID_NOT_SET
public static final java.lang.String SERIALIZED_NAME_REMOVE_FROM_PERMISSION_GROUPS_WHERE_ID_NOT_SET
- 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
-
permissionGroupIds
public UpdateMemberPermissionsRequest permissionGroupIds(java.util.List<java.lang.Long> permissionGroupIds)
-
addPermissionGroupIdsItem
public UpdateMemberPermissionsRequest addPermissionGroupIdsItem(java.lang.Long permissionGroupIdsItem)
-
getPermissionGroupIds
@Nullable public java.util.List<java.lang.Long> getPermissionGroupIds()
List of Permission Group identifiers to where the Member should be added.- Returns:
- permissionGroupIds
-
setPermissionGroupIds
public void setPermissionGroupIds(java.util.List<java.lang.Long> permissionGroupIds)
-
isAdmin
public UpdateMemberPermissionsRequest isAdmin(java.lang.Boolean isAdmin)
-
getIsAdmin
@Nullable public java.lang.Boolean getIsAdmin()
Indicates that the member must be Organization Admin.- Returns:
- isAdmin
-
setIsAdmin
public void setIsAdmin(java.lang.Boolean isAdmin)
-
isBillingManager
public UpdateMemberPermissionsRequest isBillingManager(java.lang.Boolean isBillingManager)
-
getIsBillingManager
@Nullable public java.lang.Boolean getIsBillingManager()
Indicates that the member must be Billing Manager.- Returns:
- isBillingManager
-
setIsBillingManager
public void setIsBillingManager(java.lang.Boolean isBillingManager)
-
removeFromPermissionGroupsWhereIdNotSet
public UpdateMemberPermissionsRequest removeFromPermissionGroupsWhereIdNotSet(java.lang.Boolean removeFromPermissionGroupsWhereIdNotSet)
-
getRemoveFromPermissionGroupsWhereIdNotSet
@Nullable public java.lang.Boolean getRemoveFromPermissionGroupsWhereIdNotSet()
When `true`, the member will be removed from those Permission Groups that are not listed in the `permissionGroupIds` field.- Returns:
- removeFromPermissionGroupsWhereIdNotSet
-
setRemoveFromPermissionGroupsWhereIdNotSet
public void setRemoveFromPermissionGroupsWhereIdNotSet(java.lang.Boolean removeFromPermissionGroupsWhereIdNotSet)
-
putAdditionalProperty
public UpdateMemberPermissionsRequest 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 UpdateMemberPermissionsRequest 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 UpdateMemberPermissionsRequest
-
fromJson
public static UpdateMemberPermissionsRequest fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of UpdateMemberPermissionsRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateMemberPermissionsRequest
- Throws:
java.io.IOException- if the JSON string is invalid with respect to UpdateMemberPermissionsRequest
-
toJson
public java.lang.String toJson()
Convert an instance of UpdateMemberPermissionsRequest to an JSON string- Returns:
- JSON string
-
-