public enum TextAnalyticsServiceVersion extends Enum<TextAnalyticsServiceVersion> implements com.azure.core.util.ServiceVersion
Enum Constant and Description |
---|
V3_0 |
V3_1 |
V3_2_PREVIEW_1 |
Modifier and Type | Method and Description |
---|---|
static TextAnalyticsServiceVersion |
getLatest()
Gets the latest service version supported by this client library
|
String |
getVersion() |
static TextAnalyticsServiceVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAnalyticsServiceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAnalyticsServiceVersion V3_0
public static final TextAnalyticsServiceVersion V3_1
public static final TextAnalyticsServiceVersion V3_2_PREVIEW_1
public static TextAnalyticsServiceVersion[] values()
public static TextAnalyticsServiceVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getVersion()
getVersion
in interface com.azure.core.util.ServiceVersion
public static TextAnalyticsServiceVersion getLatest()
TextAnalyticsServiceVersion
Copyright © 2021 Microsoft Corporation. All rights reserved.