API Reference
ChatGptResetCredits
Provider-reported reset grants and retained history, separate from spendable usage credits.
Inheritance
- Object
- ChatGptResetCredits
Usage
Explore 4 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 3
Accepted by parameters 1
Methods
public static ChatGptResetCredits? FromJson(JsonObject usage) #ChatGptResetCredits?Parses reset counts and separately retrieved details/history from a usage snapshot.
Parameters
- usage IntelligenceX.Json.JsonObject
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Int64? AvailableCount { get; } #Available grant count, or null when unreported.
public 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 DateTimeOffset? HistoryWindowStart { get; } #Beginning of the provider's history retention window.
public DateTimeOffset? HistoryAsOf { get; } #Time through which the history page is current.
public String? HistoryNextCursor { get; } #Cursor for another history page, when reported.