Class ChatSessionRateLimitsParam
-
- All Implemented Interfaces:
public final class ChatSessionRateLimitsParamControls request rate limits for the session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatSessionRateLimitsParam.BuilderA builder for ChatSessionRateLimitsParam.
-
Method Summary
Modifier and Type Method Description final Optional<Long>maxRequestsPer1Minute()Maximum number of requests allowed per minute for the session. final JsonField<Long>_maxRequestsPer1Minute()Returns the raw JSON value of maxRequestsPer1Minute. final Map<String, JsonValue>_additionalProperties()final ChatSessionRateLimitsParam.BuildertoBuilder()final ChatSessionRateLimitsParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatSessionRateLimitsParam.Builderbuilder()Returns a mutable builder for constructing an instance of ChatSessionRateLimitsParam. -
-
Method Detail
-
maxRequestsPer1Minute
final Optional<Long> maxRequestsPer1Minute()
Maximum number of requests allowed per minute for the session. Defaults to 10.
-
_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 ChatSessionRateLimitsParam.Builder toBuilder()
-
validate
final ChatSessionRateLimitsParam 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 ChatSessionRateLimitsParam.Builder builder()
Returns a mutable builder for constructing an instance of ChatSessionRateLimitsParam.
-
-
-
-