Class BetaVectorStoreFileBatchListFilesParams
-
- All Implemented Interfaces:
public final class BetaVectorStoreFileBatchListFilesParamsReturns a list of vector store files in a batch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaVectorStoreFileBatchListFilesParams.Builderpublic final classBetaVectorStoreFileBatchListFilesParams.FilterFilter by file status. One of
in_progress,completed,failed,cancelled.public final classBetaVectorStoreFileBatchListFilesParams.OrderSort order by the
created_attimestamp of the objects.ascfor ascending order anddescfor descending order.
-
Constructor Summary
Constructors Constructor Description BetaVectorStoreFileBatchListFilesParams(String vectorStoreId, String batchId, String after, String before, BetaVectorStoreFileBatchListFilesParams.Filter filter, Long limit, BetaVectorStoreFileBatchListFilesParams.Order order, Headers additionalHeaders, QueryParams additionalQueryParams)
-
Method Summary
Modifier and Type Method Description final StringvectorStoreId()final StringbatchId()final Optional<String>after()A cursor for use in pagination. final Optional<String>before()A cursor for use in pagination. final Optional<BetaVectorStoreFileBatchListFilesParams.Filter>filter()Filter by file status. final Optional<Long>limit()A limit on the number of objects to be returned. final Optional<BetaVectorStoreFileBatchListFilesParams.Order>order()Sort order by the created_attimestamp of the objects.final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final StringgetPathParam(Integer index)final BetaVectorStoreFileBatchListFilesParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaVectorStoreFileBatchListFilesParams.Builderbuilder()-
-
Constructor Detail
-
BetaVectorStoreFileBatchListFilesParams
BetaVectorStoreFileBatchListFilesParams(String vectorStoreId, String batchId, String after, String before, BetaVectorStoreFileBatchListFilesParams.Filter filter, Long limit, BetaVectorStoreFileBatchListFilesParams.Order order, Headers additionalHeaders, QueryParams additionalQueryParams)
-
-
Method Detail
-
vectorStoreId
final String vectorStoreId()
-
after
final Optional<String> after()
A cursor for use in pagination.
afteris an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
-
before
final Optional<String> before()
A cursor for use in pagination.
beforeis an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
-
filter
final Optional<BetaVectorStoreFileBatchListFilesParams.Filter> filter()
Filter by file status. One of
in_progress,completed,failed,cancelled.
-
limit
final Optional<Long> limit()
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
-
order
final Optional<BetaVectorStoreFileBatchListFilesParams.Order> order()
Sort order by the
created_attimestamp of the objects.ascfor ascending order anddescfor descending order.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final BetaVectorStoreFileBatchListFilesParams.Builder toBuilder()
-
builder
final static BetaVectorStoreFileBatchListFilesParams.Builder builder()
-
-
-
-