API Reference
Class
ChatGptResetCreditsFormatter
Readable provider reset evidence for CLI and desktop account surfaces.
Inheritance
- Object
- ChatGptResetCreditsFormatter
Methods
public static String Format(ChatGptResetCredits resets, String error = null, TimeZoneInfo timeZone = null) #Returns:
StringFormats counts, grant lifecycle times and the returned retained-history page, preserving unknown data.
Parameters
- resets IntelligenceX.OpenAI.Usage.ChatGptResetCredits
- error System.String = null
- timeZone System.TimeZoneInfo = null
public static String FormatTimestamp(Nullable<DateTimeOffset> value, TimeZoneInfo timeZone = null) #Returns:
StringFormats an exact instant in the supplied timezone and in UTC, with seconds and offsets.
Parameters
- value System.Nullable{System.DateTimeOffset}
- timeZone System.TimeZoneInfo = null