Package com.openai.models.uploads
Class UploadCompleteParams.Body
-
- All Implemented Interfaces:
public final class UploadCompleteParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUploadCompleteParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final List<String>partIds()The ordered list of Part IDs. final Optional<String>md5()The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect. final JsonField<List<String>>_partIds()Returns the raw JSON value of partIds. final JsonField<String>_md5()Returns the raw JSON value of md5. final Map<String, JsonValue>_additionalProperties()final UploadCompleteParams.Body.BuildertoBuilder()final UploadCompleteParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UploadCompleteParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
md5
final Optional<String> md5()
The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.
-
_partIds
final JsonField<List<String>> _partIds()
Returns the raw JSON value of partIds.
Unlike partIds, this method doesn't throw if the JSON field has an unexpected type.
-
_md5
final JsonField<String> _md5()
Returns the raw JSON value of md5.
Unlike md5, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UploadCompleteParams.Body.Builder toBuilder()
-
validate
final UploadCompleteParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static UploadCompleteParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.partIds()
-
-
-
-