Class AsyncEditTemplatesClient
- java.lang.Object
-
- ai.extend.resources.edittemplates.AsyncEditTemplatesClient
-
public class AsyncEditTemplatesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncEditTemplatesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<EditTemplate>retrieve(java.lang.String id)Retrieve a saved edit template by ID.java.util.concurrent.CompletableFuture<EditTemplate>retrieve(java.lang.String id, RequestOptions requestOptions)Retrieve a saved edit template by ID.java.util.concurrent.CompletableFuture<EditTemplate>retrieve(java.lang.String id, EditTemplatesRetrieveRequest request)Retrieve a saved edit template by ID.java.util.concurrent.CompletableFuture<EditTemplate>retrieve(java.lang.String id, EditTemplatesRetrieveRequest request, RequestOptions requestOptions)Retrieve a saved edit template by ID.AsyncRawEditTemplatesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncEditTemplatesClient
public AsyncEditTemplatesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawEditTemplatesClient withRawResponse()
Get responses with HTTP metadata like headers
-
retrieve
public java.util.concurrent.CompletableFuture<EditTemplate> retrieve(java.lang.String id)
Retrieve a saved edit template by ID.Use this endpoint to inspect the source file, default edit configuration, and optional schema generation configuration saved on an edit template. You can reuse the returned
configwithPOST /editorPOST /edit_runs, and reuseschemaConfigwithPOST /detect_formorPOST /form_detection_runs.
-
retrieve
public java.util.concurrent.CompletableFuture<EditTemplate> retrieve(java.lang.String id, RequestOptions requestOptions)
Retrieve a saved edit template by ID.Use this endpoint to inspect the source file, default edit configuration, and optional schema generation configuration saved on an edit template. You can reuse the returned
configwithPOST /editorPOST /edit_runs, and reuseschemaConfigwithPOST /detect_formorPOST /form_detection_runs.
-
retrieve
public java.util.concurrent.CompletableFuture<EditTemplate> retrieve(java.lang.String id, EditTemplatesRetrieveRequest request)
Retrieve a saved edit template by ID.Use this endpoint to inspect the source file, default edit configuration, and optional schema generation configuration saved on an edit template. You can reuse the returned
configwithPOST /editorPOST /edit_runs, and reuseschemaConfigwithPOST /detect_formorPOST /form_detection_runs.
-
retrieve
public java.util.concurrent.CompletableFuture<EditTemplate> retrieve(java.lang.String id, EditTemplatesRetrieveRequest request, RequestOptions requestOptions)
Retrieve a saved edit template by ID.Use this endpoint to inspect the source file, default edit configuration, and optional schema generation configuration saved on an edit template. You can reuse the returned
configwithPOST /editorPOST /edit_runs, and reuseschemaConfigwithPOST /detect_formorPOST /form_detection_runs.
-
-