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