public enum AccountRestApiVersion extends Enum<AccountRestApiVersion>
Enum Constant and Description |
---|
V1_ALPHA1 |
Modifier and Type | Field and Description |
---|---|
static AccountRestApiVersion |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static AccountRestApiVersion |
get(String strVersion) |
String |
getStrVersion() |
static AccountRestApiVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountRestApiVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountRestApiVersion V1_ALPHA1
public static final AccountRestApiVersion DEFAULT
public static AccountRestApiVersion[] values()
for (AccountRestApiVersion c : AccountRestApiVersion.values()) System.out.println(c);
public static AccountRestApiVersion 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 static AccountRestApiVersion get(String strVersion)
public String getStrVersion()
Copyright © 2021 JBoss by Red Hat. All rights reserved.