API Reference
ChatGptResetCredits
Provider-reported reset grants and retained history, separate from spendable usage credits.
Inheritance
- Object
- ChatGptResetCredits
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
Methods
public static ChatGptResetCredits FromJson(JsonObject usage) #ChatGptResetCreditsParses reset counts and separately retrieved details/history from a usage snapshot.
Parameters
- usage IntelligenceX.Json.JsonObject
Inherited Methods
Properties
public Nullable<Int64> AvailableCount { get; } #Available grant count, or null when unreported.
public Nullable<Int64> ApplicableAvailableCount { get; } #Currently applicable grants; zero does not mean no banked grants.
public Boolean DetailsAvailable { get; } #Whether an individual grant list was returned, including an empty list.
public IReadOnlyList<ChatGptResetCredit> Credits { get; } #Individual grants with their original provider status.
public Boolean HistoryAvailable { get; } #Whether a history event list was returned.
public IReadOnlyList<ChatGptResetCreditEvent> History { get; } #Events in the returned page, not a lifetime history.
public Nullable<DateTimeOffset> HistoryWindowStart { get; } #Beginning of the provider's history retention window.
public Nullable<DateTimeOffset> HistoryAsOf { get; } #Time through which the history page is current.
public String HistoryNextCursor { get; } #Cursor for another history page, when reported.