Table of Contents

Class SessionRecord

Namespace
JD.AI.Core.Sessions
Assembly
JD.AI.Core.dll

Normalized session record for cross-backend portability.

public sealed class SessionRecord
Inheritance
SessionRecord
Inherited Members

Properties

CreatedAt

public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

Id

public required string Id { get; init; }

Property Value

string

IsActive

public bool IsActive { get; set; }

Property Value

bool

MessageCount

public int MessageCount { get; set; }

Property Value

int

ModelId

public string? ModelId { get; set; }

Property Value

string

Name

public string? Name { get; set; }

Property Value

string

ProjectHash

public string? ProjectHash { get; init; }

Property Value

string

ProjectPath

public required string ProjectPath { get; init; }

Property Value

string

ProviderName

public string? ProviderName { get; set; }

Property Value

string

TenantId

public string? TenantId { get; init; }

Property Value

string

TotalTokens

public long TotalTokens { get; set; }

Property Value

long

UpdatedAt

public DateTimeOffset UpdatedAt { get; set; }

Property Value

DateTimeOffset