Class AsyncRawFormDetectionRunsClient
- java.lang.Object
-
- ai.extend.resources.formdetectionruns.AsyncRawFormDetectionRunsClient
-
public class AsyncRawFormDetectionRunsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawFormDetectionRunsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>>create(FormDetectionRunsCreateRequest request)Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>>create(FormDetectionRunsCreateRequest request, RequestOptions requestOptions)Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>>retrieve(java.lang.String id)Retrieve the status and results of a form detection run.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>>retrieve(java.lang.String id, RequestOptions requestOptions)Retrieve the status and results of a form detection run.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>>retrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request)Retrieve the status and results of a form detection run.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>>retrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request, RequestOptions requestOptions)Retrieve the status and results of a form detection run.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawFormDetectionRunsClient
public AsyncRawFormDetectionRunsClient(ClientOptions clientOptions)
-
-
Method Detail
-
create
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>> create(FormDetectionRunsCreateRequest request)
Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.Poll
GET /form_detection_runs/{id}until the status isPROCESSEDorFAILED. When processing succeeds,output.schemacontains an edit schema you can pass directly toPOST /editorPOST /edit_runs.
-
create
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>> create(FormDetectionRunsCreateRequest request, RequestOptions requestOptions)
Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.Poll
GET /form_detection_runs/{id}until the status isPROCESSEDorFAILED. When processing succeeds,output.schemacontains an edit schema you can pass directly toPOST /editorPOST /edit_runs.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>> retrieve(java.lang.String id)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>> retrieve(java.lang.String id, RequestOptions requestOptions)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>> retrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<FormDetectionRun>> retrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request, RequestOptions requestOptions)
Retrieve the status and results of a form detection run.Use this endpoint to poll a run created with
POST /form_detection_runs. WhenstatusisPROCESSED,output.schemacontains the generated edit schema.
-
-