com.twilio.sdk.resource.list
Enum UsageRecordList.Type

java.lang.Object
  extended by java.lang.Enum<UsageRecordList.Type>
      extended by 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>


Enum Constant Summary
ALL_TIME
           
DAILY
           
LAST_MONTH
           
MONTHLY
           
THIS_MONTH
           
TODAY
           
YEARLY
           
YESTERDAY
           
 
Method Summary
 String getValue()
           
static UsageRecordList.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UsageRecordList.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.