Share via


DocumentAnalysisModelFactory.DocumentClassifierDetails Method

Definition

Initializes a new instance of DocumentClassifierDetails.

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

Parameters

classifierId
String

Unique document classifier name.

description
String

Document classifier description.

createdOn
DateTimeOffset

Date and time (UTC) when the document classifier was created.

expiresOn
Nullable<DateTimeOffset>

Date and time (UTC) when the document classifier will expire.

serviceVersion
String

Service version used to create this document classifier.

documentTypes
IReadOnlyDictionary<String,ClassifierDocumentTypeDetails>

List of document types to classify against.

Returns

A new DocumentClassifierDetails instance for mocking.

Applies to