Package com.openai.models
Class VectorStoreFileBatch
-
- All Implemented Interfaces:
public final class VectorStoreFileBatch
A batch of files attached to a vector store.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VectorStoreFileBatch.Builder
A builder for VectorStoreFileBatch.
public final class
VectorStoreFileBatch.FileCounts
public final class
VectorStoreFileBatch.Status
The status of the vector store files batch, which can be either
in_progress
,completed
,cancelled
orfailed
.
-
Method Summary
Modifier and Type Method Description final String
id()
The identifier, which can be referenced in API endpoints. final Long
createdAt()
The Unix timestamp (in seconds) for when the vector store files batch was created. final VectorStoreFileBatch.FileCounts
fileCounts()
final JsonValue
_object_()
The object type, which is always vector_store.file_batch
.final VectorStoreFileBatch.Status
status()
The status of the vector store files batch, which can be either in_progress
,completed
,cancelled
orfailed
.final String
vectorStoreId()
The ID of the vector store that the File is attached to. final JsonField<String>
_id()
The identifier, which can be referenced in API endpoints. final JsonField<Long>
_createdAt()
The Unix timestamp (in seconds) for when the vector store files batch was created. final JsonField<VectorStoreFileBatch.FileCounts>
_fileCounts()
final JsonField<VectorStoreFileBatch.Status>
_status()
The status of the vector store files batch, which can be either in_progress
,completed
,cancelled
orfailed
.final JsonField<String>
_vectorStoreId()
The ID of the vector store that the File is attached to. final Map<String, JsonValue>
_additionalProperties()
final VectorStoreFileBatch
validate()
final VectorStoreFileBatch.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VectorStoreFileBatch.Builder
builder()
-
-
Method Detail
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) for when the vector store files batch was created.
-
fileCounts
final VectorStoreFileBatch.FileCounts fileCounts()
-
status
final VectorStoreFileBatch.Status status()
The status of the vector store files batch, which can be either
in_progress
,completed
,cancelled
orfailed
.
-
vectorStoreId
final String vectorStoreId()
The ID of the vector store that the File is attached to.
-
_createdAt
final JsonField<Long> _createdAt()
The Unix timestamp (in seconds) for when the vector store files batch was created.
-
_fileCounts
final JsonField<VectorStoreFileBatch.FileCounts> _fileCounts()
-
_status
final JsonField<VectorStoreFileBatch.Status> _status()
The status of the vector store files batch, which can be either
in_progress
,completed
,cancelled
orfailed
.
-
_vectorStoreId
final JsonField<String> _vectorStoreId()
The ID of the vector store that the File is attached to.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final VectorStoreFileBatch validate()
-
toBuilder
final VectorStoreFileBatch.Builder toBuilder()
-
builder
final static VectorStoreFileBatch.Builder builder()
-
-
-
-