Package ai.vectros.types
Class RoleResponse.Builder
java.lang.Object
ai.vectros.types.RoleResponse.Builder
- Enclosing class:
RoleResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The ID of the app context this role belongs to.When the role was created, as an ISO-8601 UTC timestamp.description(String description) description(Optional<String> description) An optional free-text description of what the role grants.from(RoleResponse other) The role's globally unique identifier, composed from your account, the app context, and the role ID.lastModified(String lastModified) lastModified(Optional<String> lastModified) When the role was last modified, as an ISO-8601 UTC timestamp.A human-readable display name for the role.Your own identifier for this role within the app context.scopes(List<ScopeClause> scopes) scopes(Optional<List<ScopeClause>> scopes) The role's permissions, expressed as one or more scope clauses.
-
Method Details
-
from
-
id
The role's globally unique identifier, composed from your account, the app context, and the role ID. Pass this value as the pagination cursor to fetch the next page.
-
id
-
contextId
The ID of the app context this role belongs to.
-
contextId
-
roleId
Your own identifier for this role within the app context.
-
roleId
-
name
A human-readable display name for the role.
-
name
-
description
An optional free-text description of what the role grants.
-
description
-
scopes
The role's permissions, expressed as one or more scope clauses. An action is permitted if any clause allows it and that clause's data scope matches the target.
-
scopes
-
createdAt
When the role was created, as an ISO-8601 UTC timestamp.
-
createdAt
-
lastModified
When the role was last modified, as an ISO-8601 UTC timestamp.
-
lastModified
-
build
-
additionalProperty
-
additionalProperties
-