Package com.openai.models.batches
Class BatchRequestCounts
-
- All Implemented Interfaces:
public final class BatchRequestCountsThe request counts for different statuses within the batch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchRequestCounts.BuilderA builder for BatchRequestCounts.
-
Method Summary
Modifier and Type Method Description final Longcompleted()Number of requests that have been completed successfully. final Longfailed()Number of requests that have failed. final Longtotal()Total number of requests in the batch. final JsonField<Long>_completed()Returns the raw JSON value of completed. final JsonField<Long>_failed()Returns the raw JSON value of failed. final JsonField<Long>_total()Returns the raw JSON value of total. final Map<String, JsonValue>_additionalProperties()final BatchRequestCounts.BuildertoBuilder()final BatchRequestCountsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchRequestCounts.Builderbuilder()Returns a mutable builder for constructing an instance of BatchRequestCounts. -
-
Method Detail
-
_completed
final JsonField<Long> _completed()
Returns the raw JSON value of completed.
Unlike completed, this method doesn't throw if the JSON field has an unexpected type.
-
_failed
final JsonField<Long> _failed()
Returns the raw JSON value of failed.
Unlike failed, this method doesn't throw if the JSON field has an unexpected type.
-
_total
final JsonField<Long> _total()
Returns the raw JSON value of total.
Unlike total, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BatchRequestCounts.Builder toBuilder()
-
validate
final BatchRequestCounts validate()
-
builder
final static BatchRequestCounts.Builder builder()
Returns a mutable builder for constructing an instance of BatchRequestCounts.
The following fields are required:
.completed() .failed() .total()
-
-
-
-