public enum FormRecognizerServiceVersion extends Enum<FormRecognizerServiceVersion> implements ServiceVersion
Modifier and Type | Method and Description |
---|---|
static FormRecognizerServiceVersion |
getLatest()
Gets the latest service version supported by this client library
|
String |
getVersion()
Gets the string representation of the
ServiceVersion |
static FormRecognizerServiceVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormRecognizerServiceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormRecognizerServiceVersion V2_0
public static final FormRecognizerServiceVersion V2_1
public static FormRecognizerServiceVersion[] values()
public static FormRecognizerServiceVersion 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()
ServiceVersion
getVersion
in interface ServiceVersion
ServiceVersion
public static FormRecognizerServiceVersion getLatest()
FormRecognizerServiceVersion
Copyright © 2021. All rights reserved.