DocumentAnalysisModelFactory.DocumentModelDetails Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET