Table of Contents

Class RoleResponse

Namespace
Honua.Sdk.Admin.Models
Assembly
Honua.Sdk.Admin.dll

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

DateTimeOffset

Description

Optional role description.

[JsonPropertyName("description")]
public string? Description { get; init; }

Property Value

string

IsBuiltIn

Whether the role is built in and cannot be deleted.

[JsonPropertyName("isBuiltIn")]
public bool IsBuiltIn { get; init; }

Property Value

bool

Name

Role name.

[JsonPropertyName("name")]
public string Name { get; init; }

Property Value

string

Permissions

Permission grants assigned to the role.

[JsonPropertyName("permissions")]
public IReadOnlyList<PermissionGrantResponse> Permissions { get; init; }

Property Value

IReadOnlyList<PermissionGrantResponse>

RoleId

Role identifier.

[JsonPropertyName("roleId")]
public Guid RoleId { get; init; }

Property Value

Guid

UpdatedAt

Last update timestamp.

[JsonPropertyName("updatedAt")]
public DateTimeOffset UpdatedAt { get; init; }

Property Value

DateTimeOffset