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()Number of requests that have been completed successfully. final JsonField<Long>_failed()Number of requests that have failed. final JsonField<Long>_total()Total number of requests in the batch. final Map<String, JsonValue>_additionalProperties()final BatchRequestCountsvalidate()final BatchRequestCounts.BuildertoBuilder()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()
Number of requests that have been completed successfully.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BatchRequestCounts validate()
-
toBuilder
final BatchRequestCounts.Builder toBuilder()
-
builder
final static BatchRequestCounts.Builder builder()
Returns a mutable builder for constructing an instance of BatchRequestCounts.
The following fields are required:
.completed() .failed() .total()
-
-
-
-