Class RoleUpdateParams.Body
-
- All Implemented Interfaces:
public final class RoleUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
-
-
Method Detail
-
addMemberPermissions
final Optional<List<RoleUpdateParams.AddMemberPermission>> addMemberPermissions()
A list of permissions to add to the role
-
addMemberRoles
final Optional<List<String>> addMemberRoles()
A list of role IDs to add to the role's inheriting-from set
-
description
final Optional<String> description()
Textual description of the role
-
removeMemberPermissions
final Optional<List<RoleUpdateParams.RemoveMemberPermission>> removeMemberPermissions()
A list of permissions to remove from the role
-
removeMemberRoles
final Optional<List<String>> removeMemberRoles()
A list of role IDs to remove from the role's inheriting-from set
-
_addMemberPermissions
final JsonField<List<RoleUpdateParams.AddMemberPermission>> _addMemberPermissions()
Returns the raw JSON value of addMemberPermissions.
Unlike addMemberPermissions, this method doesn't throw if the JSON field has an unexpected type.
-
_addMemberRoles
final JsonField<List<String>> _addMemberRoles()
Returns the raw JSON value of addMemberRoles.
Unlike addMemberRoles, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_removeMemberPermissions
final JsonField<List<RoleUpdateParams.RemoveMemberPermission>> _removeMemberPermissions()
Returns the raw JSON value of removeMemberPermissions.
Unlike removeMemberPermissions, this method doesn't throw if the JSON field has an unexpected type.
-
_removeMemberRoles
final JsonField<List<String>> _removeMemberRoles()
Returns the raw JSON value of removeMemberRoles.
Unlike removeMemberRoles, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RoleUpdateParams.Body.Builder toBuilder()
-
validate
final RoleUpdateParams.Body validate()
-
builder
final static RoleUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-