public enum AuthleteApiVersion extends Enum<AuthleteApiVersion>
| Modifier and Type | Method and Description |
|---|---|
static AuthleteApiVersion |
parse(String version)
Parse the given string as
AuthleteApiVersion. |
static AuthleteApiVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthleteApiVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthleteApiVersion V2
public static final AuthleteApiVersion V3
public static AuthleteApiVersion[] values()
for (AuthleteApiVersion c : AuthleteApiVersion.values()) System.out.println(c);
public static AuthleteApiVersion 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 AuthleteApiVersion parse(String version)
AuthleteApiVersion.
When the given string is null or does not match any known version,
this method returns null without throwing any exception.
version - A string representing a version. For example, "V2".AuthleteApiVersion, or null
if the given string does not match any known version.Copyright © 2022. All rights reserved.