Class AuthorizeClassifierCopyRequest

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

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

    • AuthorizeClassifierCopyRequest

      public AuthorizeClassifierCopyRequest(String classifierId)
      Creates an instance of AuthorizeClassifierCopyRequest 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 AuthorizeClassifierCopyRequest setDescription(String description)
      Set the description property: Document classifier description.
      Parameters:
      description - the description value to set.
      Returns:
      the AuthorizeClassifierCopyRequest 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 AuthorizeClassifierCopyRequest 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<AuthorizeClassifierCopyRequest>
      Throws:
      IOException
    • fromJson

      public static AuthorizeClassifierCopyRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AuthorizeClassifierCopyRequest from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AuthorizeClassifierCopyRequest 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 AuthorizeClassifierCopyRequest.