ModelCopyAuthorization Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Authorization to copy a document model to the specified target resource and modelId.
public class ModelCopyAuthorization : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.ModelCopyAuthorization>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.ModelCopyAuthorization>
type ModelCopyAuthorization = class
interface IJsonModel<ModelCopyAuthorization>
interface IPersistableModel<ModelCopyAuthorization>
Public Class ModelCopyAuthorization
Implements IJsonModel(Of ModelCopyAuthorization), IPersistableModel(Of ModelCopyAuthorization)
- Inheritance
-
ModelCopyAuthorization
- Implements
Constructors
ModelCopyAuthorization(String, String, String, Uri, String, DateTimeOffset) |
Initializes a new instance of ModelCopyAuthorization. |
Properties
AccessToken |
Token used to authorize the request. |
ExpiresOn |
Date/time when the access token expires. |
TargetModelId |
Identifier of the target document model. |
TargetModelLocation |
URL of the copied document model in the target account. |
TargetResourceId |
ID of the target Azure resource where the document model should be copied to. |
TargetResourceRegion |
Location of the target Azure resource where the document model should be copied to. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ModelCopyAuthorization>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ModelCopyAuthorization>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ModelCopyAuthorization>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ModelCopyAuthorization>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ModelCopyAuthorization>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET