public static enum PhoneNumber.PhoneTypeEnum extends Enum<PhoneNumber.PhoneTypeEnum>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static PhoneNumber.PhoneTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhoneNumber.PhoneTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="Fax") public static final PhoneNumber.PhoneTypeEnum FAX
@SerializedName(value="Landline") public static final PhoneNumber.PhoneTypeEnum LANDLINE
@SerializedName(value="Mobile") public static final PhoneNumber.PhoneTypeEnum MOBILE
@SerializedName(value="SIP") public static final PhoneNumber.PhoneTypeEnum SIP
public static PhoneNumber.PhoneTypeEnum[] values()
for (PhoneNumber.PhoneTypeEnum c : PhoneNumber.PhoneTypeEnum.values()) System.out.println(c);
public static PhoneNumber.PhoneTypeEnum 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 toString()
toString in class Enum<PhoneNumber.PhoneTypeEnum>Copyright © 2022. All rights reserved.