Class AsyncRawClassifierVersionsClient
- java.lang.Object
-
- ai.extend.resources.classifierversions.AsyncRawClassifierVersionsClient
-
public class AsyncRawClassifierVersionsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawClassifierVersionsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>>create(java.lang.String classifierId, ClassifierVersionsCreateRequest request)This endpoint allows you to publish a new version of an existing classifier.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>>create(java.lang.String classifierId, ClassifierVersionsCreateRequest request, RequestOptions requestOptions)This endpoint allows you to publish a new version of an existing classifier.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>>list(java.lang.String classifierId)This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>>list(java.lang.String classifierId, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>>list(java.lang.String classifierId, ClassifierVersionsListRequest request)This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>>list(java.lang.String classifierId, ClassifierVersionsListRequest request, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>>retrieve(java.lang.String classifierId, java.lang.String versionId)Retrieve a specific version of a classifier in Extendjava.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>>retrieve(java.lang.String classifierId, java.lang.String versionId, RequestOptions requestOptions)Retrieve a specific version of a classifier in Extendjava.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>>retrieve(java.lang.String classifierId, java.lang.String versionId, ClassifierVersionsRetrieveRequest request)Retrieve a specific version of a classifier in Extendjava.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>>retrieve(java.lang.String classifierId, java.lang.String versionId, ClassifierVersionsRetrieveRequest request, RequestOptions requestOptions)Retrieve a specific version of a classifier in Extend
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawClassifierVersionsClient
public AsyncRawClassifierVersionsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>> list(java.lang.String classifierId)
This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the classifier, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>> list(java.lang.String classifierId, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the classifier, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>> list(java.lang.String classifierId, ClassifierVersionsListRequest request)
This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the classifier, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersionsListResponse>> list(java.lang.String classifierId, ClassifierVersionsListRequest request, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given classifier, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the classifier, which can be published to create a new version. It might not have any changes from the last published version.
-
create
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>> create(java.lang.String classifierId, ClassifierVersionsCreateRequest request)
This endpoint allows you to publish a new version of an existing classifier. Publishing a new version creates a snapshot of the classifier's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this classifier. You may need to manually update workflows to use the new version if desired.
-
create
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>> create(java.lang.String classifierId, ClassifierVersionsCreateRequest request, RequestOptions requestOptions)
This endpoint allows you to publish a new version of an existing classifier. Publishing a new version creates a snapshot of the classifier's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this classifier. You may need to manually update workflows to use the new version if desired.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>> retrieve(java.lang.String classifierId, java.lang.String versionId)
Retrieve a specific version of a classifier in Extend
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>> retrieve(java.lang.String classifierId, java.lang.String versionId, RequestOptions requestOptions)
Retrieve a specific version of a classifier in Extend
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>> retrieve(java.lang.String classifierId, java.lang.String versionId, ClassifierVersionsRetrieveRequest request)
Retrieve a specific version of a classifier in Extend
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<ClassifierVersion>> retrieve(java.lang.String classifierId, java.lang.String versionId, ClassifierVersionsRetrieveRequest request, RequestOptions requestOptions)
Retrieve a specific version of a classifier in Extend
-
-