Package com.openai.models.batches
Class BatchCancelParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class BatchCancelParams implements Params
Cancels an in-progress batch. The batch will be in status
cancelling
for up to 10 minutes, before changing tocancelled
, where it will have partial results (if any) available in the output file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BatchCancelParams.Builder
A builder for BatchCancelParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>
batchId()
final Map<String, JsonValue>
_additionalBodyProperties()
final Headers
_additionalHeaders()
final QueryParams
_additionalQueryParams()
final BatchCancelParams.Builder
toBuilder()
final Optional<Map<String, JsonValue>>
_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. Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static BatchCancelParams
none()
final static BatchCancelParams.Builder
builder()
Returns a mutable builder for constructing an instance of BatchCancelParams. -
-
Method Detail
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final BatchCancelParams.Builder toBuilder()
-
_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.
-
none
final static BatchCancelParams none()
-
builder
final static BatchCancelParams.Builder builder()
Returns a mutable builder for constructing an instance of BatchCancelParams.
-
-
-
-