Package com.openai.models.uploads
Class UploadCompleteParams.Body.Builder
-
- All Implemented Interfaces:
public final class UploadCompleteParams.Body.Builder
A builder for Body.
-
-
Method Summary
-
-
Method Detail
-
partIds
final UploadCompleteParams.Body.Builder partIds(List<String> partIds)
The ordered list of Part IDs.
-
partIds
final UploadCompleteParams.Body.Builder partIds(JsonField<List<String>> partIds)
Sets Builder.partIds to an arbitrary JSON value.
You should usually call Builder.partIds with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addPartId
final UploadCompleteParams.Body.Builder addPartId(String partId)
-
md5
final UploadCompleteParams.Body.Builder md5(String md5)
The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.
-
md5
final UploadCompleteParams.Body.Builder md5(JsonField<String> md5)
Sets Builder.md5 to an arbitrary JSON value.
You should usually call Builder.md5 with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UploadCompleteParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UploadCompleteParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UploadCompleteParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UploadCompleteParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UploadCompleteParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UploadCompleteParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.partIds()
-
-
-
-