-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
CreateComposedModelOperation.cs
32 lines (28 loc) · 1.54 KB
/
CreateComposedModelOperation.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.Pipeline;
namespace Azure.AI.FormRecognizer.Training
{
/// <summary>
/// Tracks the status of a long-running operation for creating a composed model from a
/// collection of existing models trained with labels.
/// </summary>
public class CreateComposedModelOperation : CreateCustomFormModelOperation
{
internal CreateComposedModelOperation(string location, FormRecognizerRestClient allOperations, ClientDiagnostics diagnostics, FormRecognizerClientOptions.ServiceVersion serviceVersion)
: base(location, allOperations, diagnostics, serviceVersion) { }
/// <summary>
/// Initializes a new instance of the <see cref="CreateComposedModelOperation"/> class which
/// tracks the status of a long-running operation for creating a composed model from a
/// collection of existing models trained with labels.
/// </summary>
/// <param name="operationId">The ID of this operation.</param>
/// <param name="client">The client used to check for completion.</param>
public CreateComposedModelOperation(string operationId, FormTrainingClient client) : base(operationId, client) { }
/// <summary>
/// Initializes a new instance of the <see cref="CreateComposedModelOperation"/> class. This constructor
/// is intended to be used for mocking only.
/// </summary>
protected CreateComposedModelOperation() : base() { }
}
}