public static enum Gfycat.ContentRating extends java.lang.Enum<Gfycat.ContentRating>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
responseValue |
java.lang.String |
urlEncodedValue
Protect from proguard.
|
Modifier and Type | Method and Description |
---|---|
static Gfycat.ContentRating |
fromResponesValue(java.lang.String contentRating) |
static Gfycat.ContentRating |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gfycat.ContentRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gfycat.ContentRating R
public static final Gfycat.ContentRating PG13
public static final Gfycat.ContentRating PG
public static final Gfycat.ContentRating G
public final java.lang.String urlEncodedValue
public final java.lang.String responseValue
public static Gfycat.ContentRating[] values()
for (Gfycat.ContentRating c : Gfycat.ContentRating.values()) System.out.println(c);
public static Gfycat.ContentRating valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Gfycat.ContentRating fromResponesValue(java.lang.String contentRating)