Class AuthorizeClassifierCopyOptions

java.lang.Object
com.azure.ai.documentintelligence.models.AuthorizeClassifierCopyOptions
All Implemented Interfaces:
com.azure.json.JsonSerializable<AuthorizeClassifierCopyOptions>

public final class AuthorizeClassifierCopyOptions extends Object implements com.azure.json.JsonSerializable<AuthorizeClassifierCopyOptions>
Request body to authorize document classifier copy.
  • Constructor Details

    • AuthorizeClassifierCopyOptions

      public AuthorizeClassifierCopyOptions(String classifierId)
      Creates an instance of AuthorizeClassifierCopyOptions class.
      Parameters:
      classifierId - the classifierId value to set.
  • Method Details

    • getClassifierId

      public String getClassifierId()
      Get the classifierId property: Unique document classifier name.
      Returns:
      the classifierId value.
    • getDescription

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

      public AuthorizeClassifierCopyOptions setDescription(String description)
      Set the description property: Document classifier description.
      Parameters:
      description - the description value to set.
      Returns:
      the AuthorizeClassifierCopyOptions object itself.
    • getTags

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

      Set the tags property: List of key-value tag attributes associated with the document classifier.
      Parameters:
      tags - the tags value to set.
      Returns:
      the AuthorizeClassifierCopyOptions object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AuthorizeClassifierCopyOptions>
      Throws:
      IOException
    • fromJson

      public static AuthorizeClassifierCopyOptions fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AuthorizeClassifierCopyOptions from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AuthorizeClassifierCopyOptions if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the AuthorizeClassifierCopyOptions.