ClassifierCopyAuthorization Class

Definition

Authorization to copy a document classifier to the specified target resource and classifierId.

public class ClassifierCopyAuthorization : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.ClassifierCopyAuthorization>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.ClassifierCopyAuthorization>
type ClassifierCopyAuthorization = class
    interface IJsonModel<ClassifierCopyAuthorization>
    interface IPersistableModel<ClassifierCopyAuthorization>
Public Class ClassifierCopyAuthorization
Implements IJsonModel(Of ClassifierCopyAuthorization), IPersistableModel(Of ClassifierCopyAuthorization)
Inheritance
ClassifierCopyAuthorization
Implements

Constructors

ClassifierCopyAuthorization(String, String, String, Uri, String, DateTimeOffset)

Initializes a new instance of ClassifierCopyAuthorization.

Properties

AccessToken

Token used to authorize the request.

ExpirationDateTime

Date/time when the access token expires.

TargetClassifierId

Identifier of the target document classifier.

TargetClassifierLocation

URL of the copied document classifier in the target account.

TargetResourceId

ID of the target Azure resource where the document classifier should be copied to.

TargetResourceRegion

Location of the target Azure resource where the document classifier should be copied to.

Explicit Interface Implementations

IJsonModel<ClassifierCopyAuthorization>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClassifierCopyAuthorization>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClassifierCopyAuthorization>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClassifierCopyAuthorization>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClassifierCopyAuthorization>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to