public static enum CallSummaries.CallType extends Enum<CallSummaries.CallType>
Modifier and Type | Method and Description |
---|---|
static CallSummaries.CallType |
forValue(String value)
Generate a CallType from a string.
|
String |
toString() |
static CallSummaries.CallType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallSummaries.CallType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallSummaries.CallType CARRIER
public static final CallSummaries.CallType SIP
public static final CallSummaries.CallType TRUNKING
public static final CallSummaries.CallType CLIENT
public static CallSummaries.CallType[] values()
for (CallSummaries.CallType c : CallSummaries.CallType.values()) System.out.println(c);
public static CallSummaries.CallType 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<CallSummaries.CallType>
public static CallSummaries.CallType forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.