VectorStoreFileBatchObject class
A batch of files attached to a vector store.
- Annotations
-
- @freezed
Constructors
- VectorStoreFileBatchObject.new({required String id, required String object, @JsonKey(name: 'created_at') required int createdAt, @JsonKey(name: 'vector_store_id') required String vectorStoreId, required VectorStoreFileBatchObjectStatus status, @JsonKey(name: 'file_counts') required VectorStoreFileBatchObjectFileCounts fileCounts})
-
Factory constructor for VectorStoreFileBatchObject
constfactory
-
VectorStoreFileBatchObject.fromJson(Map<
String, dynamic> json) -
Object construction from a JSON representation
factory
Properties
-
copyWith
→ $VectorStoreFileBatchObjectCopyWith<
VectorStoreFileBatchObject> -
Create a copy of VectorStoreFileBatchObject
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → int
-
The Unix timestamp (in seconds) for when the vector store files batch was created.
no setterinherited
- fileCounts → VectorStoreFileBatchObjectFileCounts
-
The number of files per status.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The identifier, which can be referenced in API endpoints.
no setterinherited
- object → String
-
The object type, which is always
vector_store.files_batch
no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → VectorStoreFileBatchObjectStatus
-
The status of the vector store files batch, which can be either
in_progress
,completed
,cancelled
orfailed
.no setterinherited - vectorStoreId → String
-
The ID of the vector store that the File is attached to.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this VectorStoreFileBatchObject to a JSON map.
inherited
-
toMap(
) → Map< String, dynamic> - Map representation of object (not serialized)
-
toString(
) → String -
A string representation of this object.
inherited
-
validateSchema(
) → String? - Perform validations on the schema property values
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
propertyNames
→ const List<
String> - List of all property names of schema