FormXAPIExtractResponse

data class FormXAPIExtractResponse(val status: String = "", val metaData: ExtractMetaData, val documents: List<ExtractDocumentResult>)

FormXAPIExtractResponse contains the response from FormXAPIClient.extract API.

Constructors

Link copied to clipboard
fun FormXAPIExtractResponse(status: String = "", metaData: ExtractMetaData, documents: List<ExtractDocumentResult>)

Properties

Link copied to clipboard
@SerializedName(value = "documents")
val documents: List<ExtractDocumentResult>

the extract documents.

Link copied to clipboard
@SerializedName(value = "metadata")
val metaData: ExtractMetaData

the meta data of the extraction.

Link copied to clipboard
@SerializedName(value = "status")
val status: String

the status of the response. It is "success" if the request is successful.