Class ComposeDocumentModelRequest

java.lang.Object
com.azure.ai.documentintelligence.models.ComposeDocumentModelRequest

public final class ComposeDocumentModelRequest extends Object
Request body to create a composed document model from component document models.
  • 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

      public String getModelId()
      Get the modelId property: Unique document model name.
      Returns:
      the modelId value.
    • getDescription

      public String getDescription()
      Get the description property: Document model description.
      Returns:
      the description value.
    • setDescription

      public ComposeDocumentModelRequest setDescription(String description)
      Set the description property: Document model description.
      Parameters:
      description - the description value to set.
      Returns:
      the ComposeDocumentModelRequest object itself.
    • getComponentModels

      public List<ComponentDocumentModelDetails> getComponentModels()
      Get the componentModels property: List of component document models to compose.
      Returns:
      the componentModels value.
    • getTags

      public Map<String,String> getTags()
      Get the tags property: List of key-value tag attributes associated with the document model.
      Returns:
      the tags value.
    • setTags

      public ComposeDocumentModelRequest setTags(Map<String,String> tags)
      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.