Package com.openai.models
Class UploadPart
-
- All Implemented Interfaces:
public final class UploadPartThe upload Part represents a chunk of bytes we can add to an Upload object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUploadPart.Builderpublic final classUploadPart.ObjectThe object type, which is always
upload.part.
-
Method Summary
Modifier and Type Method Description final Stringid()The upload Part unique identifier, which can be referenced in API endpoints. final LongcreatedAt()The Unix timestamp (in seconds) for when the Part was created. final UploadPart.Objectobject_()The object type, which is always upload.part.final StringuploadId()The ID of the Upload object that this Part was added to. final JsonField<String>_id()The upload Part unique identifier, which can be referenced in API endpoints. final JsonField<Long>_createdAt()The Unix timestamp (in seconds) for when the Part was created. final JsonField<UploadPart.Object>_object_()The object type, which is always upload.part.final JsonField<String>_uploadId()The ID of the Upload object that this Part was added to. final Map<String, JsonValue>_additionalProperties()final UploadPartvalidate()final UploadPart.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UploadPart.Builderbuilder()-
-
Method Detail
-
object_
final UploadPart.Object object_()
The object type, which is always
upload.part.
-
_id
final JsonField<String> _id()
The upload Part unique identifier, which can be referenced in API endpoints.
-
_createdAt
final JsonField<Long> _createdAt()
The Unix timestamp (in seconds) for when the Part was created.
-
_object_
final JsonField<UploadPart.Object> _object_()
The object type, which is always
upload.part.
-
_uploadId
final JsonField<String> _uploadId()
The ID of the Upload object that this Part was added to.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final UploadPart validate()
-
toBuilder
final UploadPart.Builder toBuilder()
-
builder
final static UploadPart.Builder builder()
-
-
-
-