API Reference
Class
ChatGptRateLimitWindow
Represents a rate limit window.
Inheritance
- Object
- ChatGptRateLimitWindow
Usage
Explore 5 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 2
- Constructor ChatGptRateLimitStatus.ChatGptRateLimitStatus
- Constructor ChatGptRateLimitStatus.ChatGptRateLimitStatus
Constructors
public ChatGptRateLimitWindow(Double? usedPercent, Int64? limitWindowSeconds, Int64? resetAfterSeconds, Int64? resetAt, JsonObject raw, JsonObject? additional) #Initializes a new rate limit window.
Parameters
- usedPercent System.Double?
- limitWindowSeconds System.Int64?
- resetAfterSeconds System.Int64?
- resetAt System.Int64?
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject?
Methods
public static ChatGptRateLimitWindow? FromJson(JsonObject? obj) #Returns:
ChatGptRateLimitWindow?Parses a rate limit window from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject?
- Source JSON object.
Returns
The parsed window or null.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public Double? UsedPercent { get; } #Gets the percentage of usage consumed.
public Int64? LimitWindowSeconds { get; } #Gets the window length in seconds.
public Int64? ResetAfterSeconds { get; } #Gets the seconds remaining until reset.
public Int64? ResetAtUnixSeconds { get; } #Gets the reset time in Unix seconds.
public JsonObject? Additional { get; } #Gets unrecognized fields from the payload.