IntelligenceX

API Reference

Class

ChatGptNamedRateLimit

Namespace IntelligenceX.OpenAI.Usage
Assembly IntelligenceX
Modifiers sealed

Represents an additional named rate limit returned alongside the primary usage status.

Inheritance

  • Object
  • ChatGptNamedRateLimit

Usage

Explore 3 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.

Accepted by parameters 1

Constructors

public ChatGptNamedRateLimit(String? limitName, String? meteredFeature, ChatGptRateLimitStatus? rateLimit, JsonObject raw, JsonObject? additional) #

Initializes a new named rate limit payload.

Parameters

limitName System.String? requiredposition: 0
meteredFeature System.String? requiredposition: 1
rateLimit IntelligenceX.OpenAI.Usage.ChatGptRateLimitStatus? requiredposition: 2
raw IntelligenceX.Json.JsonObject requiredposition: 3
additional IntelligenceX.Json.JsonObject? requiredposition: 4

Methods

public static ChatGptNamedRateLimit? FromJson(JsonObject? obj) #
Returns: ChatGptNamedRateLimit?

Parses a named rate limit from JSON.

Parameters

obj IntelligenceX.Json.JsonObject? requiredposition: 0
public JsonObject ToJson() #
Returns: JsonObject

Serializes the named rate limit to JSON.

Properties

public String? LimitName { get; } #

Gets the provider-facing limit name.

public String? MeteredFeature { get; } #

Gets the metered feature identifier when present.

public ChatGptRateLimitStatus? RateLimit { get; } #

Gets the underlying rate limit status.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject? Additional { get; } #

Gets unrecognized fields from the payload.