Class ChatSessionRateLimits
-
- All Implemented Interfaces:
public final class ChatSessionRateLimitsActive per-minute request limit for the session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatSessionRateLimits.BuilderA builder for ChatSessionRateLimits.
-
Method Summary
Modifier and Type Method Description final LongmaxRequestsPer1Minute()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.BuildertoBuilder()final ChatSessionRateLimitsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatSessionRateLimits.Builderbuilder()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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ChatSessionRateLimits.Builder builder()
Returns a mutable builder for constructing an instance of ChatSessionRateLimits.
The following fields are required:
.maxRequestsPer1Minute()
-
-
-
-