-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AnalyzeHealthcareEntitiesOptions.cs
35 lines (32 loc) · 1.26 KB
/
AnalyzeHealthcareEntitiesOptions.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
33
34
35
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.AI.TextAnalytics
{
/// <summary>
/// Options that allow callers to specify details about how the operation
/// is run and what information is returned from it by the service.
/// </summary>
public class AnalyzeHealthcareEntitiesOptions : TextAnalyticsRequestOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="AnalyzeHealthcareEntitiesOptions"/>
/// class.
/// </summary>
public AnalyzeHealthcareEntitiesOptions()
{
}
/// <summary>
/// Optional display name for the operation.
/// </summary>
/// <remarks>
/// This property only applies for <see cref="TextAnalyticsClientOptions.ServiceVersion.V2022_05_01"/>, and newer.
/// </remarks>
public string DisplayName { get; set; }
/// <inheritdoc/>
internal override void CheckSupported(TextAnalyticsClientOptions.ServiceVersion current)
{
base.CheckSupported(current);
Validation.SupportsProperty(this, DisplayName, nameof(DisplayName), TextAnalyticsClientOptions.ServiceVersion.V2022_05_01, current);
}
}
}