Class AnalyzeDocumentDetails
The details of how to analyze a document.
Inherited Members
Namespace: Oci.AivisionService.Models
Assembly: OCI.DotNetSDK.Aivision.dll
Syntax
public class AnalyzeDocumentDetails
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that calls the API. |
Document
Declaration
[Required(ErrorMessage = "Document is required.")]
[JsonProperty(PropertyName = "document")]
public DocumentDetails Document { get; set; }
Property Value
Type | Description |
---|---|
DocumentDetails |
Remarks
Required
DocumentType
Declaration
[JsonProperty(PropertyName = "documentType")]
[JsonConverter(typeof(StringEnumConverter))]
public DocumentType? DocumentType { get; set; }
Property Value
Type | Description |
---|---|
DocumentType? | The document type. |
Features
Declaration
[Required(ErrorMessage = "Features is required.")]
[JsonProperty(PropertyName = "features")]
public List<DocumentFeature> Features { get; set; }
Property Value
Type | Description |
---|---|
List<DocumentFeature> | The types of document analysis requested. |
Remarks
Required
Language
Declaration
[JsonProperty(PropertyName = "language")]
[JsonConverter(typeof(StringEnumConverter))]
public DocumentLanguage? Language { get; set; }
Property Value
Type | Description |
---|---|
DocumentLanguage? | The document language, abbreviated according to ISO 639-2. |
OutputLocation
Declaration
[JsonProperty(PropertyName = "outputLocation")]
public OutputLocation OutputLocation { get; set; }
Property Value
Type | Description |
---|---|
OutputLocation |