| Package | Description |
|---|---|
| com.affinda.api.client |
Package containing the classes for AffindaAPI.
|
| com.affinda.api.client.models |
Package containing the data models for AffindaAPI.
|
| Modifier and Type | Method and Description |
|---|---|
Document |
AffindaAPI.createDocument(DocumentCreate body)
Uploads a document for parsing.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<Document>> |
AffindaAPI.AffindaAPIService.createDocument(Region region,
DocumentCreate body,
String accept) |
reactor.core.publisher.Mono<Document> |
AffindaAPI.createDocumentAsync(DocumentCreate body)
Uploads a document for parsing.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<Document>> |
AffindaAPI.createDocumentWithResponseAsync(DocumentCreate body)
Uploads a document for parsing.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentCreate |
DocumentCreate.setCollection(String collection)
Set the collection property: Uniquely identify a collection.
|
DocumentCreate |
DocumentCreate.setExpiryTime(java.time.OffsetDateTime expiryTime)
Set the expiryTime property: The date/time in ISO-8601 format when the document will be automatically deleted.
|
DocumentCreate |
DocumentCreate.setFile(reactor.core.publisher.Flux<ByteBuffer> file)
Set the file property: File as binary data blob.
|
DocumentCreate |
DocumentCreate.setFileName(String fileName)
Set the fileName property: Optional filename of the file.
|
DocumentCreate |
DocumentCreate.setIdentifier(String identifier)
Set the identifier property: Specify a custom identifier for the document.
|
DocumentCreate |
DocumentCreate.setLanguage(String language)
Set the language property: Language code in ISO 639-1 format.
|
DocumentCreate |
DocumentCreate.setRejectDuplicates(Boolean rejectDuplicates)
Set the rejectDuplicates property: If "true", parsing will fail when the uploaded document is duplicate of an
existing document, no credits will be consumed.
|
DocumentCreate |
DocumentCreate.setUrl(String url)
Set the url property: URL to download the document.
|
DocumentCreate |
DocumentCreate.setWait(Boolean wait)
Set the wait property: If "true" (default), will return a response only after processing has completed.
|
DocumentCreate |
DocumentCreate.setWorkspace(String workspace)
Set the workspace property: Uniquely identify a workspace.
|
Copyright © 2023. All rights reserved.