Package com.braintrustdata.api.models
Class RoleUpdateParams.AddMemberPermission
-
- All Implemented Interfaces:
public final class RoleUpdateParams.AddMemberPermission
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleUpdateParams.AddMemberPermission.BuilderA builder for AddMemberPermission.
-
Method Summary
Modifier and Type Method Description final Permissionpermission()Each permission permits a certain type of operation on an object in the systemPermissions can be assigned to to objects on an individual basis, or grouped into roles final Optional<AclObjectType>restrictObjectType()The object type that the ACL applies to final JsonField<Permission>_permission()Returns the raw JSON value of permission. final JsonField<AclObjectType>_restrictObjectType()Returns the raw JSON value of restrictObjectType. final Map<String, JsonValue>_additionalProperties()final RoleUpdateParams.AddMemberPermissionvalidate()final RoleUpdateParams.AddMemberPermission.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RoleUpdateParams.AddMemberPermission.Builderbuilder()Returns a mutable builder for constructing an instance of AddMemberPermission. -
-
Method Detail
-
permission
final Permission permission()
Each permission permits a certain type of operation on an object in the system
Permissions can be assigned to to objects on an individual basis, or grouped into roles
-
restrictObjectType
final Optional<AclObjectType> restrictObjectType()
The object type that the ACL applies to
-
_permission
final JsonField<Permission> _permission()
Returns the raw JSON value of permission.
Unlike permission, this method doesn't throw if the JSON field has an unexpected type.
-
_restrictObjectType
final JsonField<AclObjectType> _restrictObjectType()
Returns the raw JSON value of restrictObjectType.
Unlike restrictObjectType, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final RoleUpdateParams.AddMemberPermission validate()
-
toBuilder
final RoleUpdateParams.AddMemberPermission.Builder toBuilder()
-
builder
final static RoleUpdateParams.AddMemberPermission.Builder builder()
Returns a mutable builder for constructing an instance of AddMemberPermission.
The following fields are required:
.permission()
-
-
-
-