Class ChatSessionRateLimits
-
- All Implemented Interfaces:
public final class ChatSessionRateLimits
Active per-minute request limit for the session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatSessionRateLimits.Builder
A builder for ChatSessionRateLimits.
-
Method Summary
Modifier and Type Method Description final Long
maxRequestsPer1Minute()
Maximum allowed requests per one-minute window. final JsonField<Long>
_maxRequestsPer1Minute()
Returns the raw JSON value of maxRequestsPer1Minute. final Map<String, JsonValue>
_additionalProperties()
final ChatSessionRateLimits.Builder
toBuilder()
final ChatSessionRateLimits
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatSessionRateLimits.Builder
builder()
Returns a mutable builder for constructing an instance of ChatSessionRateLimits. -
-
Method Detail
-
maxRequestsPer1Minute
final Long maxRequestsPer1Minute()
Maximum allowed requests per one-minute window.
-
_maxRequestsPer1Minute
final JsonField<Long> _maxRequestsPer1Minute()
Returns the raw JSON value of maxRequestsPer1Minute.
Unlike maxRequestsPer1Minute, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatSessionRateLimits.Builder toBuilder()
-
validate
final ChatSessionRateLimits validate()
-
builder
final static ChatSessionRateLimits.Builder builder()
Returns a mutable builder for constructing an instance of ChatSessionRateLimits.
The following fields are required:
.maxRequestsPer1Minute()
-
-
-
-