com.twilio.sdk.resource.instance
Enum UsageCategory

java.lang.Object
  extended by java.lang.Enum<UsageCategory>
      extended by com.twilio.sdk.resource.instance.UsageCategory
All Implemented Interfaces:
Serializable, Comparable<UsageCategory>

public enum UsageCategory
extends Enum<UsageCategory>

The Enum UsageCategory. For more information see https://www.twilio.com/docs/api/rest/usage-records#usage-categories


Enum Constant Summary
calleridlookups
           
calls
           
calls_client
           
calls_inbound
           
calls_inbound_local
           
calls_inbound_tollfree
           
calls_outbound
           
calls_sip
           
phonenumbers
           
phonenumbers_local
           
phonenumbers_tollfree
           
recordings
           
recordingstorage
           
shortcodes
           
shortcodes_customerowned
           
shortcodes_random
           
shortcodes_vanity
           
sms
           
sms_inbound
           
sms_inbound_longcode
           
sms_inbound_shortcode
           
sms_outbound
           
sms_outbound_longcode
           
sms_outbound_shortcode
           
totalprice
           
transcriptions
           
 
Method Summary
static UsageCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UsageCategory[] 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

calleridlookups

public static final UsageCategory calleridlookups

calls

public static final UsageCategory calls

calls_client

public static final UsageCategory calls_client

calls_inbound

public static final UsageCategory calls_inbound

calls_inbound_local

public static final UsageCategory calls_inbound_local

calls_inbound_tollfree

public static final UsageCategory calls_inbound_tollfree

calls_outbound

public static final UsageCategory calls_outbound

calls_sip

public static final UsageCategory calls_sip

phonenumbers_local

public static final UsageCategory phonenumbers_local

phonenumbers

public static final UsageCategory phonenumbers

phonenumbers_tollfree

public static final UsageCategory phonenumbers_tollfree

shortcodes

public static final UsageCategory shortcodes

shortcodes_customerowned

public static final UsageCategory shortcodes_customerowned

shortcodes_random

public static final UsageCategory shortcodes_random

shortcodes_vanity

public static final UsageCategory shortcodes_vanity

sms

public static final UsageCategory sms

sms_inbound

public static final UsageCategory sms_inbound

sms_inbound_longcode

public static final UsageCategory sms_inbound_longcode

sms_inbound_shortcode

public static final UsageCategory sms_inbound_shortcode

sms_outbound

public static final UsageCategory sms_outbound

sms_outbound_longcode

public static final UsageCategory sms_outbound_longcode

sms_outbound_shortcode

public static final UsageCategory sms_outbound_shortcode

recordings

public static final UsageCategory recordings

recordingstorage

public static final UsageCategory recordingstorage

transcriptions

public static final UsageCategory transcriptions

totalprice

public static final UsageCategory totalprice
Method Detail

values

public static UsageCategory[] 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 (UsageCategory c : UsageCategory.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UsageCategory 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


Copyright © 2011 Twilio, Inc. All Rights Reserved.