ComponentDocumentModelDetails Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. ComponentDocumentModelDetails
- com.
Implements
public final class ComponentDocumentModelDetails
implements JsonSerializable<ComponentDocumentModelDetails>
A component of a composed document model.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentDocumentModelDetails(String modelId) |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
| String |
getDocType()
Get the doc |
| Integer |
getMaxDocumentsToAnalyze()
Get the max |
| String |
getModelId()
Get the model |
|
Component |
setDocType(String docType)
Set the doc |
|
Component |
setMaxDocumentsToAnalyze(Integer maxDocumentsToAnalyze)
Set the max |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ComponentDocumentModelDetails
public ComponentDocumentModelDetails(String modelId)
Creates an instance of ComponentDocumentModelDetails class.
Parameters:
Method Details
fromJson
public static ComponentDocumentModelDetails fromJson(JsonReader jsonReader)
Reads an instance of ComponentDocumentModelDetails from the JsonReader.
Parameters:
Returns:
Throws:
getDocType
public String getDocType()
Get the docType property: Document type.
Returns:
getMaxDocumentsToAnalyze
public Integer getMaxDocumentsToAnalyze()
Get the maxDocumentsToAnalyze property: Maximum number of documents of specified type to analyze. Default=all.
Returns:
getModelId
public String getModelId()
Get the modelId property: Document model to use for analyzing documents with specified type.
Returns:
setDocType
public ComponentDocumentModelDetails setDocType(String docType)
Set the docType property: Document type.
Parameters:
Returns:
setMaxDocumentsToAnalyze
public ComponentDocumentModelDetails setMaxDocumentsToAnalyze(Integer maxDocumentsToAnalyze)
Set the maxDocumentsToAnalyze property: Maximum number of documents of specified type to analyze. Default=all.
Parameters:
Returns: