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 Summary
ConstructorDescriptionAuthorizeClassifierCopyOptions
(String classifierId) Creates an instance of AuthorizeClassifierCopyOptions class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AuthorizeClassifierCopyOptions from the JsonReader.Get the classifierId property: Unique document classifier name.Get the description property: Document classifier description.getTags()
Get the tags property: List of key-value tag attributes associated with the document classifier.setDescription
(String description) Set the description property: Document classifier description.Set the tags property: List of key-value tag attributes associated with the document classifier.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AuthorizeClassifierCopyOptions
Creates an instance of AuthorizeClassifierCopyOptions class.- Parameters:
classifierId
- the classifierId value to set.
-
-
Method Details
-
getClassifierId
Get the classifierId property: Unique document classifier name.- Returns:
- the classifierId value.
-
getDescription
Get the description property: Document classifier description.- Returns:
- the description value.
-
setDescription
Set the description property: Document classifier description.- Parameters:
description
- the description value to set.- Returns:
- the AuthorizeClassifierCopyOptions object itself.
-
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
- Specified by:
toJson
in interfacecom.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.
-