Class BetaRbacGroup
-
- All Implemented Interfaces:
public final class BetaRbacGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRbacGroup.BuilderA builder for BetaRbacGroup.
public final classBetaRbacGroup.SourceTypeHow the RBAC Group was created:
"direct"for groups created directly (for example, in the organization's admin settings),"scim"for groups provisioned by the identity provider.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the RBAC Group. final OffsetDateTimecreatedAt()RFC 3339 timestamp of when the RBAC Group was created. final Stringname()Name of the RBAC Group. final Optional<List<String>>roleIds()RBAC Role IDs attached to this RBAC Group. final BetaRbacGroup.SourceTypesourceType()How the RBAC Group was created: "direct"for groups created directly (for example, in the organization's admin settings),"scim"for groups provisioned by the identity provider.final OffsetDateTimeupdatedAt()RFC 3339 timestamp of when the RBAC Group was last updated. final JsonValue_type()Object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<List<String>>_roleIds()Returns the raw JSON value of roleIds. final JsonField<BetaRbacGroup.SourceType>_sourceType()Returns the raw JSON value of sourceType. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final Map<String, JsonValue>_additionalProperties()final BetaRbacGroup.BuildertoBuilder()final BetaRbacGroupvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRbacGroup.Builderbuilder()Returns a mutable builder for constructing an instance of BetaRbacGroup. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
RFC 3339 timestamp of when the RBAC Group was created.
-
roleIds
final Optional<List<String>> roleIds()
RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API.
nullmeans role data was temporarily unavailable — retry to distinguish from an empty list.
-
sourceType
final BetaRbacGroup.SourceType sourceType()
How the RBAC Group was created:
"direct"for groups created directly (for example, in the organization's admin settings),"scim"for groups provisioned by the identity provider.
-
updatedAt
final OffsetDateTime updatedAt()
RFC 3339 timestamp of when the RBAC Group was last updated.
-
_type
final JsonValue _type()
Object type.
For RBAC Groups, this is always
"rbac_group".Expected to always return the following:
JsonValue.from("rbac_group")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, 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.
-
_roleIds
final JsonField<List<String>> _roleIds()
Returns the raw JSON value of roleIds.
Unlike roleIds, this method doesn't throw if the JSON field has an unexpected type.
-
_sourceType
final JsonField<BetaRbacGroup.SourceType> _sourceType()
Returns the raw JSON value of sourceType.
Unlike sourceType, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaRbacGroup.Builder toBuilder()
-
validate
final BetaRbacGroup validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaRbacGroup.Builder builder()
Returns a mutable builder for constructing an instance of BetaRbacGroup.
The following fields are required:
.id() .createdAt() .name() .roleIds() .sourceType() .updatedAt()
-
-
-
-