Package com.twilio.rest.insights.v1.call
Enum Metric.TwilioEdge
- java.lang.Object
-
- java.lang.Enum<Metric.TwilioEdge>
-
- com.twilio.rest.insights.v1.call.Metric.TwilioEdge
-
- All Implemented Interfaces:
Serializable
,Comparable<Metric.TwilioEdge>
- Enclosing class:
- Metric
public static enum Metric.TwilioEdge extends Enum<Metric.TwilioEdge>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARRIER_EDGE
CLIENT_EDGE
SDK_EDGE
SIP_EDGE
UNKNOWN_EDGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Metric.TwilioEdge
forValue(String value)
String
toString()
static Metric.TwilioEdge
valueOf(String name)
Returns the enum constant of this type with the specified name.static Metric.TwilioEdge[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_EDGE
public static final Metric.TwilioEdge UNKNOWN_EDGE
-
CARRIER_EDGE
public static final Metric.TwilioEdge CARRIER_EDGE
-
SIP_EDGE
public static final Metric.TwilioEdge SIP_EDGE
-
SDK_EDGE
public static final Metric.TwilioEdge SDK_EDGE
-
CLIENT_EDGE
public static final Metric.TwilioEdge CLIENT_EDGE
-
-
Method Detail
-
values
public static Metric.TwilioEdge[] 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 (Metric.TwilioEdge c : Metric.TwilioEdge.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Metric.TwilioEdge 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:
toString
in classEnum<Metric.TwilioEdge>
-
forValue
public static Metric.TwilioEdge forValue(String value)
-
-