Class AsyncExtractorVersionsClient
- java.lang.Object
-
- ai.extend.resources.extractorversions.AsyncExtractorVersionsClient
-
public class AsyncExtractorVersionsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncExtractorVersionsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExtractorVersion>create(java.lang.String extractorId, ExtractorVersionsCreateRequest request)This endpoint allows you to publish a new version of an existing extractor.java.util.concurrent.CompletableFuture<ExtractorVersion>create(java.lang.String extractorId, ExtractorVersionsCreateRequest request, RequestOptions requestOptions)This endpoint allows you to publish a new version of an existing extractor.java.util.concurrent.CompletableFuture<ExtractorVersionsListResponse>list(java.lang.String extractorId)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtractorVersionsListResponse>list(java.lang.String extractorId, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtractorVersionsListResponse>list(java.lang.String extractorId, ExtractorVersionsListRequest request)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtractorVersionsListResponse>list(java.lang.String extractorId, ExtractorVersionsListRequest request, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.java.util.concurrent.CompletableFuture<ExtractorVersion>retrieve(java.lang.String extractorId, java.lang.String versionId)Retrieve a specific version of an extractor in Extendjava.util.concurrent.CompletableFuture<ExtractorVersion>retrieve(java.lang.String extractorId, java.lang.String versionId, RequestOptions requestOptions)Retrieve a specific version of an extractor in Extendjava.util.concurrent.CompletableFuture<ExtractorVersion>retrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request)Retrieve a specific version of an extractor in Extendjava.util.concurrent.CompletableFuture<ExtractorVersion>retrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request, RequestOptions requestOptions)Retrieve a specific version of an extractor in ExtendAsyncRawExtractorVersionsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncExtractorVersionsClient
public AsyncExtractorVersionsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawExtractorVersionsClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public java.util.concurrent.CompletableFuture<ExtractorVersionsListResponse> list(java.lang.String extractorId)
This endpoint allows you to fetch all versions of a given extractor, 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 extractor, 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<ExtractorVersionsListResponse> list(java.lang.String extractorId, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given extractor, 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 extractor, 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<ExtractorVersionsListResponse> list(java.lang.String extractorId, ExtractorVersionsListRequest request)
This endpoint allows you to fetch all versions of a given extractor, 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 extractor, 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<ExtractorVersionsListResponse> list(java.lang.String extractorId, ExtractorVersionsListRequest request, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given extractor, 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 extractor, 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<ExtractorVersion> create(java.lang.String extractorId, ExtractorVersionsCreateRequest request)
This endpoint allows you to publish a new version of an existing extractor. Publishing a new version creates a snapshot of the extractor's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this extractor. You may need to manually update workflows to use the new version if desired.
-
create
public java.util.concurrent.CompletableFuture<ExtractorVersion> create(java.lang.String extractorId, ExtractorVersionsCreateRequest request, RequestOptions requestOptions)
This endpoint allows you to publish a new version of an existing extractor. Publishing a new version creates a snapshot of the extractor's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this extractor. You may need to manually update workflows to use the new version if desired.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtractorVersion> retrieve(java.lang.String extractorId, java.lang.String versionId)
Retrieve a specific version of an extractor in Extend
-
retrieve
public java.util.concurrent.CompletableFuture<ExtractorVersion> retrieve(java.lang.String extractorId, java.lang.String versionId, RequestOptions requestOptions)
Retrieve a specific version of an extractor in Extend
-
retrieve
public java.util.concurrent.CompletableFuture<ExtractorVersion> retrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request)
Retrieve a specific version of an extractor in Extend
-
retrieve
public java.util.concurrent.CompletableFuture<ExtractorVersion> retrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request, RequestOptions requestOptions)
Retrieve a specific version of an extractor in Extend
-
-