Package com.braintrustdata.api.models
Class RoleReplaceParams.MemberPermission
-
- All Implemented Interfaces:
public final class RoleReplaceParams.MemberPermission
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleReplaceParams.MemberPermission.BuilderA builder for MemberPermission.
-
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 RoleReplaceParams.MemberPermission.BuildertoBuilder()final RoleReplaceParams.MemberPermissionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RoleReplaceParams.MemberPermission.Builderbuilder()Returns a mutable builder for constructing an instance of MemberPermission. -
-
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()
-
toBuilder
final RoleReplaceParams.MemberPermission.Builder toBuilder()
-
validate
final RoleReplaceParams.MemberPermission validate()
-
builder
final static RoleReplaceParams.MemberPermission.Builder builder()
Returns a mutable builder for constructing an instance of MemberPermission.
The following fields are required:
.permission()
-
-
-
-