Dela via


DocumentAnalysisModelFactory.DocumentModelDetails Method

Definition

Initializes a new instance of DocumentModelDetails.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelDetails DocumentModelDetails (string modelId = default, string description = default, DateTimeOffset createdOn = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTypeDetails> documentTypes = default, DateTimeOffset? expiresOn = default, string serviceVersion = default);
static member DocumentModelDetails : string * string * DateTimeOffset * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTypeDetails> * Nullable<DateTimeOffset> * string -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelDetails
Public Shared Function DocumentModelDetails (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional documentTypes As IReadOnlyDictionary(Of String, DocumentTypeDetails) = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional serviceVersion As String = Nothing) As DocumentModelDetails

Parameters

modelId
String

Unique model name.

description
String

Model description.

createdOn
DateTimeOffset

Date and time (UTC) when the model was created.

tags
IReadOnlyDictionary<String,String>

List of key-value tag attributes associated with the model.

documentTypes
IReadOnlyDictionary<String,DocumentTypeDetails>

Supported document types.

expiresOn
Nullable<DateTimeOffset>

Date and time (UTC) when the model expires.

serviceVersion
String

Service version used to create this document model.

Returns

A new DocumentModelDetails instance for mocking.

Applies to