Class RoleResponse
Role definition returned by the Admin RBAC API.
public sealed class RoleResponse
- Inheritance
-
RoleResponse
- Inherited Members
Properties
CreatedAt
Creation timestamp.
[JsonPropertyName("createdAt")]
public DateTimeOffset CreatedAt { get; init; }
Property Value
Description
Optional role description.
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
IsBuiltIn
Whether the role is built in and cannot be deleted.
[JsonPropertyName("isBuiltIn")]
public bool IsBuiltIn { get; init; }
Property Value
Name
Role name.
[JsonPropertyName("name")]
public string Name { get; init; }
Property Value
Permissions
Permission grants assigned to the role.
[JsonPropertyName("permissions")]
public IReadOnlyList<PermissionGrantResponse> Permissions { get; init; }
Property Value
RoleId
Role identifier.
[JsonPropertyName("roleId")]
public Guid RoleId { get; init; }
Property Value
UpdatedAt
Last update timestamp.
[JsonPropertyName("updatedAt")]
public DateTimeOffset UpdatedAt { get; init; }