com.twilio.sdk.resource.list
Enum UsageRecordList.Type
java.lang.Object
java.lang.Enum<UsageRecordList.Type>
com.twilio.sdk.resource.list.UsageRecordList.Type
- All Implemented Interfaces:
- Serializable, Comparable<UsageRecordList.Type>
- Enclosing class:
- UsageRecordList
public static enum UsageRecordList.Type
- extends Enum<UsageRecordList.Type>
ALL_TIME
public static final UsageRecordList.Type ALL_TIME
DAILY
public static final UsageRecordList.Type DAILY
LAST_MONTH
public static final UsageRecordList.Type LAST_MONTH
MONTHLY
public static final UsageRecordList.Type MONTHLY
THIS_MONTH
public static final UsageRecordList.Type THIS_MONTH
TODAY
public static final UsageRecordList.Type TODAY
YEARLY
public static final UsageRecordList.Type YEARLY
YESTERDAY
public static final UsageRecordList.Type YESTERDAY
values
public static UsageRecordList.Type[] 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 (UsageRecordList.Type c : UsageRecordList.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UsageRecordList.Type 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 name
NullPointerException - if the argument is null
getValue
public String getValue()
Copyright © 2011 Twilio, Inc. All Rights Reserved.