Class RawFormDetectionRunsClient
- java.lang.Object
-
- ai.extend.resources.formdetectionruns.RawFormDetectionRunsClient
-
public class RawFormDetectionRunsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawFormDetectionRunsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendClientBaseHttpResponse<FormDetectionRun>create(FormDetectionRunsCreateRequest request)Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.ExtendClientBaseHttpResponse<FormDetectionRun>create(FormDetectionRunsCreateRequest request, RequestOptions requestOptions)Start detecting fields in a PDF form and return immediately with aform_detection_runresource, typically in thePROCESSINGstate.ExtendClientBaseHttpResponse<FormDetectionRun>retrieve(java.lang.String id)Retrieve the status and results of a form detection run.ExtendClientBaseHttpResponse<FormDetectionRun>retrieve(java.lang.String id, RequestOptions requestOptions)Retrieve the status and results of a form detection run.ExtendClientBaseHttpResponse<FormDetectionRun>retrieve(java.lang.String id, FormDetectionRunsRetrieveRequest request)Retrieve the status and results of a form detection run.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
-
RawFormDetectionRunsClient
public RawFormDetectionRunsClient(ClientOptions clientOptions)
-
-
Method Detail
-
create
public 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 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 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 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 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 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.
-
-