Package ai.extend.resources.editschemas
Class AsyncEditSchemasClient
- java.lang.Object
-
- ai.extend.resources.editschemas.AsyncEditSchemasClient
-
public class AsyncEditSchemasClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncEditSchemasClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<EditSchemaGenerationResponse>generate(EditSchemasGenerateRequest request)Detect fields in a PDF form and synchronously return an edit schema payload.java.util.concurrent.CompletableFuture<EditSchemaGenerationResponse>generate(EditSchemasGenerateRequest request, RequestOptions requestOptions)Detect fields in a PDF form and synchronously return an edit schema payload.AsyncRawEditSchemasClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncEditSchemasClient
public AsyncEditSchemasClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawEditSchemasClient withRawResponse()
Get responses with HTTP metadata like headers
-
generate
public java.util.concurrent.CompletableFuture<EditSchemaGenerationResponse> generate(EditSchemasGenerateRequest request)
Detect fields in a PDF form and synchronously return an edit schema payload.Use this endpoint when you want Extend to bootstrap an
EditRootJSONschema from an existing form, optionally mapping an existing schema onto the detected fields.This endpoint returns the generated schema directly. There are no schema generation run resources to poll or delete.
For more details, see the Generate Edit Schema guide and the Edit File guide.
-
generate
public java.util.concurrent.CompletableFuture<EditSchemaGenerationResponse> generate(EditSchemasGenerateRequest request, RequestOptions requestOptions)
Detect fields in a PDF form and synchronously return an edit schema payload.Use this endpoint when you want Extend to bootstrap an
EditRootJSONschema from an existing form, optionally mapping an existing schema onto the detected fields.This endpoint returns the generated schema directly. There are no schema generation run resources to poll or delete.
For more details, see the Generate Edit Schema guide and the Edit File guide.
-
-