class

OpenAI::RealtimeBetaServerEventRateLimitsUpdatedRateLimitsItem

Inherits JSON::Serializable < Reference < Object

Constructors

new(name : RealtimeBetaServerEventRateLimitsUpdatedRateLimitsItemName | Nil = nil, limit : Int64 | Nil = nil, remaining : Int64 | Nil = nil, reset_seconds : Float64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

limit

The maximum allowed value for the rate limit.

Source
limit=(limit : Int64 | Nil)

The maximum allowed value for the rate limit.

Source
name

The name of the rate limit (requests, tokens).

Source
name=(name : RealtimeBetaServerEventRateLimitsUpdatedRateLimitsItemName | Nil)

The name of the rate limit (requests, tokens).

Source
remaining

The remaining value before the limit is reached.

Source
remaining=(remaining : Int64 | Nil)

The remaining value before the limit is reached.

Source
reset_seconds

Seconds until the rate limit resets.

Source
reset_seconds=(reset_seconds : Float64 | Nil)

Seconds until the rate limit resets.

Source