Class RbacGroup

  • All Implemented Interfaces:

    
    public final class RbacGroup
    
                        
    • Constructor Detail

    • Method Detail

      • id

         final String id()

        ID of the RBAC Group.

      • name

         final String name()

        Name of the RBAC Group. Not uniqueness-enforced.

      • 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. null means role data was temporarily unavailable — retry to distinguish from an empty list.

      • sourceType

         final RbacGroup.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.

      • _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.

      • _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.

      • validate

         final RbacGroup 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 RbacGroup.Builder builder()

        Returns a mutable builder for constructing an instance of RbacGroup.

        The following fields are required:

        .id()
        .createdAt()
        .name()
        .roleIds()
        .sourceType()
        .updatedAt()