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