com.twilio.sdk.parser
Enum ResponseParser.PagingProperty

java.lang.Object
  extended by java.lang.Enum<ResponseParser.PagingProperty>
      extended by com.twilio.sdk.parser.ResponseParser.PagingProperty
All Implemented Interfaces:
Serializable, Comparable<ResponseParser.PagingProperty>
Enclosing interface:
ResponseParser

public static enum ResponseParser.PagingProperty
extends Enum<ResponseParser.PagingProperty>

The Enum PagingProperty.


Enum Constant Summary
END_KEY
          The EN d_ key.
NEXT_PAGE_URI_KEY
          The NEX t_ pag e_ ur i_ key.
NUM_PAGES_KEY
          The NU m_ page s_ key.
PAGE_KEY
          The PAG e_ key.
START_KEY
          The STAR t_ key.
TOTAL_KEY
          The TOTA l_ key.
 
Method Summary
static ResponseParser.PagingProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResponseParser.PagingProperty[] 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

NEXT_PAGE_URI_KEY

public static final ResponseParser.PagingProperty NEXT_PAGE_URI_KEY
The NEX t_ pag e_ ur i_ key.


START_KEY

public static final ResponseParser.PagingProperty START_KEY
The STAR t_ key.


END_KEY

public static final ResponseParser.PagingProperty END_KEY
The EN d_ key.


PAGE_KEY

public static final ResponseParser.PagingProperty PAGE_KEY
The PAG e_ key.


NUM_PAGES_KEY

public static final ResponseParser.PagingProperty NUM_PAGES_KEY
The NU m_ page s_ key.


TOTAL_KEY

public static final ResponseParser.PagingProperty TOTAL_KEY
The TOTA l_ key.

Method Detail

values

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

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

valueOf

public static ResponseParser.PagingProperty 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.