AuthorizeClassifierCopyOptions Class

  • java.lang.Object
    • com.azure.ai.documentintelligence.models.AuthorizeClassifierCopyOptions

Implements

public final class AuthorizeClassifierCopyOptions
implements JsonSerializable<AuthorizeClassifierCopyOptions>

Request body to authorize document classifier copy.

Constructor Summary

Constructor Description
AuthorizeClassifierCopyOptions(String classifierId)

Creates an instance of AuthorizeClassifierCopyOptions class.

Method Summary

Modifier and Type Method and Description
static AuthorizeClassifierCopyOptions fromJson(JsonReader jsonReader)

Reads an instance of AuthorizeClassifierCopyOptions from the JsonReader.

String getClassifierId()

Get the classifierId property: Unique document classifier name.

String getDescription()

Get the description property: Document classifier description.

Map<String,String> getTags()

Get the tags property: List of key-value tag attributes associated with the document classifier.

AuthorizeClassifierCopyOptions setDescription(String description)

Set the description property: Document classifier description.

AuthorizeClassifierCopyOptions setTags(Map<String,String> tags)

Set the tags property: List of key-value tag attributes associated with the document classifier.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AuthorizeClassifierCopyOptions

public AuthorizeClassifierCopyOptions(String classifierId)

Creates an instance of AuthorizeClassifierCopyOptions class.

Parameters:

classifierId - the classifierId value to set.

Method Details

fromJson

public static AuthorizeClassifierCopyOptions fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

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.

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.

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.

setTags

public AuthorizeClassifierCopyOptions setTags(Map<String,String> tags)

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 JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to