Class RateLimitUpdateRateLimitParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class RateLimitUpdateRateLimitParams implements Params
Updates a project rate limit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRateLimitUpdateRateLimitParams.BuilderA builder for RateLimitUpdateRateLimitParams.
public final classRateLimitUpdateRateLimitParams.Body
-
Method Summary
Modifier and Type Method Description final StringprojectId()final Optional<String>rateLimitId()final Optional<Long>batch1DayMaxInputTokens()The maximum batch input tokens per day. final Optional<Long>maxAudioMegabytesPer1Minute()The maximum audio megabytes per minute. final Optional<Long>maxImagesPer1Minute()The maximum images per minute. final Optional<Long>maxRequestsPer1Day()The maximum requests per day. final Optional<Long>maxRequestsPer1Minute()The maximum requests per minute. final Optional<Long>maxTokensPer1Minute()The maximum tokens per minute. final JsonField<Long>_batch1DayMaxInputTokens()Returns the raw JSON value of batch1DayMaxInputTokens. final JsonField<Long>_maxAudioMegabytesPer1Minute()Returns the raw JSON value of maxAudioMegabytesPer1Minute. final JsonField<Long>_maxImagesPer1Minute()Returns the raw JSON value of maxImagesPer1Minute. final JsonField<Long>_maxRequestsPer1Day()Returns the raw JSON value of maxRequestsPer1Day. final JsonField<Long>_maxRequestsPer1Minute()Returns the raw JSON value of maxRequestsPer1Minute. final JsonField<Long>_maxTokensPer1Minute()Returns the raw JSON value of maxTokensPer1Minute. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final RateLimitUpdateRateLimitParams.BuildertoBuilder()final RateLimitUpdateRateLimitParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static RateLimitUpdateRateLimitParams.Builderbuilder()Returns a mutable builder for constructing an instance of RateLimitUpdateRateLimitParams. -
-
Method Detail
-
rateLimitId
final Optional<String> rateLimitId()
-
batch1DayMaxInputTokens
final Optional<Long> batch1DayMaxInputTokens()
The maximum batch input tokens per day. Only relevant for certain models.
-
maxAudioMegabytesPer1Minute
final Optional<Long> maxAudioMegabytesPer1Minute()
The maximum audio megabytes per minute. Only relevant for certain models.
-
maxImagesPer1Minute
final Optional<Long> maxImagesPer1Minute()
The maximum images per minute. Only relevant for certain models.
-
maxRequestsPer1Day
final Optional<Long> maxRequestsPer1Day()
The maximum requests per day. Only relevant for certain models.
-
maxRequestsPer1Minute
final Optional<Long> maxRequestsPer1Minute()
The maximum requests per minute.
-
maxTokensPer1Minute
final Optional<Long> maxTokensPer1Minute()
The maximum tokens per minute.
-
_batch1DayMaxInputTokens
final JsonField<Long> _batch1DayMaxInputTokens()
Returns the raw JSON value of batch1DayMaxInputTokens.
Unlike batch1DayMaxInputTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_maxAudioMegabytesPer1Minute
final JsonField<Long> _maxAudioMegabytesPer1Minute()
Returns the raw JSON value of maxAudioMegabytesPer1Minute.
Unlike maxAudioMegabytesPer1Minute, this method doesn't throw if the JSON field has an unexpected type.
-
_maxImagesPer1Minute
final JsonField<Long> _maxImagesPer1Minute()
Returns the raw JSON value of maxImagesPer1Minute.
Unlike maxImagesPer1Minute, this method doesn't throw if the JSON field has an unexpected type.
-
_maxRequestsPer1Day
final JsonField<Long> _maxRequestsPer1Day()
Returns the raw JSON value of maxRequestsPer1Day.
Unlike maxRequestsPer1Day, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_maxTokensPer1Minute
final JsonField<Long> _maxTokensPer1Minute()
Returns the raw JSON value of maxTokensPer1Minute.
Unlike maxTokensPer1Minute, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final RateLimitUpdateRateLimitParams.Builder toBuilder()
-
_body
final RateLimitUpdateRateLimitParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static RateLimitUpdateRateLimitParams.Builder builder()
Returns a mutable builder for constructing an instance of RateLimitUpdateRateLimitParams.
The following fields are required:
.projectId()
-
-
-
-