API Reference
Class
ChatGptDailyTokenUsageBreakdown
Represents daily token usage breakdown grouped by product surface.
Inheritance
- Object
- ChatGptDailyTokenUsageBreakdown
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Accepted by parameters 1
- Constructor ChatGptUsageReport.ChatGptUsageReport
Constructors
public ChatGptDailyTokenUsageBreakdown(IReadOnlyList<ChatGptDailyTokenUsageDay> data, String? units, JsonObject raw, JsonObject? additional) #Initializes a new daily token usage breakdown payload.
Parameters
- data System.Collections.Generic.IReadOnlyList<IntelligenceX.OpenAI.Usage.ChatGptDailyTokenUsageDay>
- units System.String?
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject?
Methods
public static ChatGptDailyTokenUsageBreakdown FromJson(JsonObject obj) #Returns:
ChatGptDailyTokenUsageBreakdownParses a daily token usage breakdown payload from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IReadOnlyList<ChatGptDailyTokenUsageDay> Data { get; } #Gets the daily data points.
public String? Units { get; } #Gets the unit label reported by the API.
public DateTimeOffset? DataFreshness { get; } #Provider freshness timestamp, when supplied.
public JsonObject? Additional { get; } #Gets unrecognized fields from the payload.