Table of Contents

Class ApiKeyDisplayModel

Namespace
JD.AI.Dashboard.Wasm.Models
Assembly
JD.AI.Dashboard.Wasm.dll

Represents an API key for display in the dashboard (values are masked).

public sealed class ApiKeyDisplayModel
Inheritance
ApiKeyDisplayModel
Inherited Members

Properties

CreatedAt

public required DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

ExpiresAt

public DateTimeOffset? ExpiresAt { get; init; }

Property Value

DateTimeOffset?

IsRevoked

public required bool IsRevoked { get; init; }

Property Value

bool

Key

public required string Key { get; init; }

Property Value

string

LastUsedAt

public DateTimeOffset? LastUsedAt { get; init; }

Property Value

DateTimeOffset?

Name

public required string Name { get; init; }

Property Value

string

PreviousKey

public string? PreviousKey { get; init; }

Property Value

string

RevokedAt

public DateTimeOffset? RevokedAt { get; init; }

Property Value

DateTimeOffset?

Role

public required string Role { get; init; }

Property Value

string

UsageCount

public long UsageCount { get; init; }

Property Value

long