public enum PeopleMethod extends Enum<PeopleMethod> implements AppendToResponseMethod
| Enum Constant and Description |
|---|
CHANGES |
COMBINED_CREDITS |
EXTERNAL_IDS |
IMAGES |
MOVIE_CREDITS |
TAGGED_IMAGES |
TV_CREDITS |
| Modifier and Type | Method and Description |
|---|---|
static PeopleMethod |
fromString(String method)
Convert a string into an Enum type
|
String |
getPropertyString()
Get the string to use in the URL
|
static PeopleMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeopleMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeopleMethod CHANGES
public static final PeopleMethod COMBINED_CREDITS
public static final PeopleMethod EXTERNAL_IDS
public static final PeopleMethod IMAGES
public static final PeopleMethod MOVIE_CREDITS
public static final PeopleMethod TAGGED_IMAGES
public static final PeopleMethod TV_CREDITS
public static PeopleMethod[] values()
for (PeopleMethod c : PeopleMethod.values()) System.out.println(c);
public static PeopleMethod 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 getPropertyString()
getPropertyString in interface AppendToResponseMethodpublic static PeopleMethod fromString(String method)
method - IllegalArgumentException - If type is not recognisedCopyright © 2012–2017. All rights reserved.