Package com.twilio.rest.insights.v1
Enum CallSummaries.CallType
- java.lang.Object
-
- java.lang.Enum<CallSummaries.CallType>
-
- com.twilio.rest.insights.v1.CallSummaries.CallType
-
- All Implemented Interfaces:
Serializable,Comparable<CallSummaries.CallType>
- Enclosing class:
- CallSummaries
public static enum CallSummaries.CallType extends Enum<CallSummaries.CallType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallSummaries.CallTypeforValue(String value)StringtoString()static CallSummaries.CallTypevalueOf(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.
-
-
-
Enum Constant Detail
-
CARRIER
public static final CallSummaries.CallType CARRIER
-
SIP
public static final CallSummaries.CallType SIP
-
TRUNKING
public static final CallSummaries.CallType TRUNKING
-
CLIENT
public static final CallSummaries.CallType CLIENT
-
-
Method Detail
-
values
public static CallSummaries.CallType[] 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 (CallSummaries.CallType c : CallSummaries.CallType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallSummaries.CallType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<CallSummaries.CallType>
-
forValue
public static CallSummaries.CallType forValue(String value)
-
-