Table of Contents

Class ApiKeyResponse

Namespace
JD.AI.Gateway.Endpoints
Assembly
JD.AI.Gateway.dll
public sealed record ApiKeyResponse : IEquatable<ApiKeyResponse>
Inheritance
ApiKeyResponse
Implements
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