32 lines
850 B
C#
32 lines
850 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace AxCopilot.Models;
|
|
|
|
public class DailyUsageStats
|
|
{
|
|
[JsonPropertyName("date")]
|
|
public string Date { get; set; } = "";
|
|
|
|
[JsonPropertyName("launcherOpens")]
|
|
public int LauncherOpens { get; set; }
|
|
|
|
[JsonPropertyName("commandUsage")]
|
|
public Dictionary<string, int> CommandUsage { get; set; } = new Dictionary<string, int>();
|
|
|
|
[JsonPropertyName("activeSeconds")]
|
|
public int ActiveSeconds { get; set; }
|
|
|
|
[JsonPropertyName("chatCounts")]
|
|
public Dictionary<string, int> ChatCounts { get; set; } = new Dictionary<string, int>();
|
|
|
|
[JsonPropertyName("totalTokens")]
|
|
public long TotalTokens { get; set; }
|
|
|
|
[JsonPropertyName("promptTokens")]
|
|
public long PromptTokens { get; set; }
|
|
|
|
[JsonPropertyName("completionTokens")]
|
|
public long CompletionTokens { get; set; }
|
|
}
|