Class ComposeDocumentModelRequest
java.lang.Object
com.azure.ai.documentintelligence.models.ComposeDocumentModelRequest
Request body to create a composed document model from component document models.
-
Constructor Summary
ConstructorDescriptionComposeDocumentModelRequest
(String modelId, List<ComponentDocumentModelDetails> componentModels) Creates an instance of ComposeDocumentModelRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the componentModels property: List of component document models to compose.Get the description property: Document model description.Get the modelId property: Unique document model name.getTags()
Get the tags property: List of key-value tag attributes associated with the document model.setDescription
(String description) Set the description property: Document model description.Set the tags property: List of key-value tag attributes associated with the document model.
-
Constructor Details
-
ComposeDocumentModelRequest
public ComposeDocumentModelRequest(String modelId, List<ComponentDocumentModelDetails> componentModels) Creates an instance of ComposeDocumentModelRequest class.- Parameters:
modelId
- the modelId value to set.componentModels
- the componentModels value to set.
-
-
Method Details
-
getModelId
Get the modelId property: Unique document model name.- Returns:
- the modelId value.
-
getDescription
Get the description property: Document model description.- Returns:
- the description value.
-
setDescription
Set the description property: Document model description.- Parameters:
description
- the description value to set.- Returns:
- the ComposeDocumentModelRequest object itself.
-
getComponentModels
Get the componentModels property: List of component document models to compose.- Returns:
- the componentModels value.
-
getTags
Get the tags property: List of key-value tag attributes associated with the document model.- Returns:
- the tags value.
-
setTags
Set the tags property: List of key-value tag attributes associated with the document model.- Parameters:
tags
- the tags value to set.- Returns:
- the ComposeDocumentModelRequest object itself.
-