Package com.openai.models.uploads
Class UploadCancelParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class UploadCancelParams implements Params
Cancels the Upload. No Parts may be added after an Upload is cancelled.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
UploadCancelParams.Builder
A builder for UploadCancelParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>
uploadId()
final Map<String, JsonValue>
_additionalBodyProperties()
Additional body properties to send with the request. final Headers
_additionalHeaders()
Additional headers to send with the request. final QueryParams
_additionalQueryParams()
Additional query param to send with the request. final UploadCancelParams.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 UploadCancelParams
none()
final static UploadCancelParams.Builder
builder()
Returns a mutable builder for constructing an instance of UploadCancelParams. -
-
Method Detail
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
Additional body properties to send with the request.
-
_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 UploadCancelParams.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 UploadCancelParams none()
-
builder
final static UploadCancelParams.Builder builder()
Returns a mutable builder for constructing an instance of UploadCancelParams.
-
-
-
-