public enum MethodBase extends Enum<MethodBase>
| Enum Constant and Description |
|---|
ACCOUNT |
AUTH |
CERTIFICATION |
COLLECTION |
COMPANY |
CONFIGURATION |
CREDIT |
DISCOVER |
EPISODE |
FIND |
GENRE |
GUEST_SESSION |
JOB |
KEYWORD |
LIST |
MOVIE |
NETWORK |
PERSON |
REVIEW |
SEARCH |
SEASON |
TIMEZONES |
TV |
| Modifier and Type | Method and Description |
|---|---|
static MethodBase |
fromString(String value)
Convert a string into an Enum type
|
String |
getValue()
Get the URL parameter to use
|
static MethodBase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodBase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodBase ACCOUNT
public static final MethodBase AUTH
public static final MethodBase CERTIFICATION
public static final MethodBase COLLECTION
public static final MethodBase COMPANY
public static final MethodBase CONFIGURATION
public static final MethodBase CREDIT
public static final MethodBase DISCOVER
public static final MethodBase EPISODE
public static final MethodBase FIND
public static final MethodBase GENRE
public static final MethodBase GUEST_SESSION
public static final MethodBase JOB
public static final MethodBase KEYWORD
public static final MethodBase LIST
public static final MethodBase MOVIE
public static final MethodBase NETWORK
public static final MethodBase PERSON
public static final MethodBase REVIEW
public static final MethodBase SEARCH
public static final MethodBase SEASON
public static final MethodBase TIMEZONES
public static final MethodBase TV
public static MethodBase[] values()
for (MethodBase c : MethodBase.values()) System.out.println(c);
public static MethodBase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public static MethodBase fromString(String value)
value - the string representation of the enumCopyright © 2012–2017. All rights reserved.