Class AsyncProcessorVersionClient
- java.lang.Object
-
- ai.extend.resources.processorversion.AsyncProcessorVersionClient
-
public class AsyncProcessorVersionClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncProcessorVersionClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ProcessorVersionCreateResponse>create(java.lang.String id, ProcessorVersionCreateRequest request)This endpoint allows you to publish a new version of an existing processor.java.util.concurrent.CompletableFuture<ProcessorVersionCreateResponse>create(java.lang.String id, ProcessorVersionCreateRequest request, RequestOptions requestOptions)This endpoint allows you to publish a new version of an existing processor.java.util.concurrent.CompletableFuture<ProcessorVersionGetResponse>get(java.lang.String processorId, java.lang.String processorVersionId)Retrieve a specific version of a processor in Extendjava.util.concurrent.CompletableFuture<ProcessorVersionGetResponse>get(java.lang.String processorId, java.lang.String processorVersionId, RequestOptions requestOptions)Retrieve a specific version of a processor in Extendjava.util.concurrent.CompletableFuture<ProcessorVersionGetResponse>get(java.lang.String processorId, java.lang.String processorVersionId, ProcessorVersionGetRequest request)Retrieve a specific version of a processor in Extendjava.util.concurrent.CompletableFuture<ProcessorVersionGetResponse>get(java.lang.String processorId, java.lang.String processorVersionId, ProcessorVersionGetRequest request, RequestOptions requestOptions)Retrieve a specific version of a processor in Extendjava.util.concurrent.CompletableFuture<ProcessorVersionListResponse>list(java.lang.String id)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.java.util.concurrent.CompletableFuture<ProcessorVersionListResponse>list(java.lang.String id, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.java.util.concurrent.CompletableFuture<ProcessorVersionListResponse>list(java.lang.String id, ProcessorVersionListRequest request)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.java.util.concurrent.CompletableFuture<ProcessorVersionListResponse>list(java.lang.String id, ProcessorVersionListRequest request, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.AsyncRawProcessorVersionClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncProcessorVersionClient
public AsyncProcessorVersionClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawProcessorVersionClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public java.util.concurrent.CompletableFuture<ProcessorVersionListResponse> list(java.lang.String id)
This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation. The
draftversion is the latest unpublished version of the processor, 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<ProcessorVersionListResponse> list(java.lang.String id, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation. The
draftversion is the latest unpublished version of the processor, 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<ProcessorVersionListResponse> list(java.lang.String id, ProcessorVersionListRequest request)
This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation. The
draftversion is the latest unpublished version of the processor, 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<ProcessorVersionListResponse> list(java.lang.String id, ProcessorVersionListRequest request, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation. The
draftversion is the latest unpublished version of the processor, 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<ProcessorVersionCreateResponse> create(java.lang.String id, ProcessorVersionCreateRequest request)
This endpoint allows you to publish a new version of an existing processor. Publishing a new version creates a snapshot of the processor's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this processor. You may need to manually update workflows to use the new version if desired.
-
create
public java.util.concurrent.CompletableFuture<ProcessorVersionCreateResponse> create(java.lang.String id, ProcessorVersionCreateRequest request, RequestOptions requestOptions)
This endpoint allows you to publish a new version of an existing processor. Publishing a new version creates a snapshot of the processor's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this processor. You may need to manually update workflows to use the new version if desired.
-
get
public java.util.concurrent.CompletableFuture<ProcessorVersionGetResponse> get(java.lang.String processorId, java.lang.String processorVersionId)
Retrieve a specific version of a processor in Extend
-
get
public java.util.concurrent.CompletableFuture<ProcessorVersionGetResponse> get(java.lang.String processorId, java.lang.String processorVersionId, RequestOptions requestOptions)
Retrieve a specific version of a processor in Extend
-
get
public java.util.concurrent.CompletableFuture<ProcessorVersionGetResponse> get(java.lang.String processorId, java.lang.String processorVersionId, ProcessorVersionGetRequest request)
Retrieve a specific version of a processor in Extend
-
get
public java.util.concurrent.CompletableFuture<ProcessorVersionGetResponse> get(java.lang.String processorId, java.lang.String processorVersionId, ProcessorVersionGetRequest request, RequestOptions requestOptions)
Retrieve a specific version of a processor in Extend
-
-