public static enum PhoneNumberProjection.PhoneCountryEnum extends Enum<PhoneNumberProjection.PhoneCountryEnum>
Modifier and Type | Class and Description |
---|---|
static class |
PhoneNumberProjection.PhoneCountryEnum.Adapter |
Modifier and Type | Method and Description |
---|---|
static PhoneNumberProjection.PhoneCountryEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static PhoneNumberProjection.PhoneCountryEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhoneNumberProjection.PhoneCountryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneNumberProjection.PhoneCountryEnum US
public static final PhoneNumberProjection.PhoneCountryEnum GB
public static final PhoneNumberProjection.PhoneCountryEnum AU
public static PhoneNumberProjection.PhoneCountryEnum[] values()
for (PhoneNumberProjection.PhoneCountryEnum c : PhoneNumberProjection.PhoneCountryEnum.values()) System.out.println(c);
public static PhoneNumberProjection.PhoneCountryEnum 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 getValue()
public String toString()
toString
in class Enum<PhoneNumberProjection.PhoneCountryEnum>
public static PhoneNumberProjection.PhoneCountryEnum fromValue(String value)
Copyright © 2023. All rights reserved.