Package com.nexmo.client.insight
Enum CarrierDetails.NetworkType
- java.lang.Object
-
- java.lang.Enum<CarrierDetails.NetworkType>
-
- com.nexmo.client.insight.CarrierDetails.NetworkType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CarrierDetails.NetworkType>
- Enclosing class:
- CarrierDetails
public static enum CarrierDetails.NetworkType extends java.lang.Enum<CarrierDetails.NetworkType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LANDLINELANDLINE_PREMIUMLANDLINE_TOLLFREEMOBILEPAGERUNKNOWNVIRTUAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CarrierDetails.NetworkTypefromString(java.lang.String name)static CarrierDetails.NetworkTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CarrierDetails.NetworkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOBILE
public static final CarrierDetails.NetworkType MOBILE
-
LANDLINE
public static final CarrierDetails.NetworkType LANDLINE
-
LANDLINE_PREMIUM
public static final CarrierDetails.NetworkType LANDLINE_PREMIUM
-
LANDLINE_TOLLFREE
public static final CarrierDetails.NetworkType LANDLINE_TOLLFREE
-
VIRTUAL
public static final CarrierDetails.NetworkType VIRTUAL
-
UNKNOWN
public static final CarrierDetails.NetworkType UNKNOWN
-
PAGER
public static final CarrierDetails.NetworkType PAGER
-
-
Method Detail
-
values
public static CarrierDetails.NetworkType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CarrierDetails.NetworkType c : CarrierDetails.NetworkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CarrierDetails.NetworkType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromString
public static CarrierDetails.NetworkType fromString(java.lang.String name)
-
-