IntelligenceX

API Reference

Class

ChatGptResetCreditsFormatter

Namespace IntelligenceX.OpenAI.Usage
Assembly IntelligenceX
Modifiers static

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: String

Formats counts, grant lifecycle times and the returned retained-history page, preserving unknown data.

Parameters

resets IntelligenceX.OpenAI.Usage.ChatGptResetCredits? requiredposition: 0
error System.String? = null optionalposition: 1
timeZone System.TimeZoneInfo? = null optionalposition: 2
public static String FormatTimestamp(DateTimeOffset? value, TimeZoneInfo? timeZone = null) #
Returns: String

Formats an exact instant in the supplied timezone and in UTC, with seconds and offsets.

Parameters

value System.DateTimeOffset? requiredposition: 0
timeZone System.TimeZoneInfo? = null optionalposition: 1