public enum VerizonMediaAssetTvRating extends Enum<VerizonMediaAssetTvRating>
Enum Constant and Description |
---|
NOT_APPLICABLE
The tv rating is not applicable.
|
NOT_AVAILABLE
The tv rating is not available.
|
NOT_RATED
The asset is not rated.
|
TV_14
The asset is rated as TV_14.
|
TV_G
The asset is rated as TV_G.
|
TV_MA
The asset is rated as TV_MA.
|
TV_PG
The asset is rated as TV_PG.
|
TV_Y
The asset is rated as TV_Y.
|
TV_Y7
The asset is rated as TV_Y7.
|
Modifier and Type | Method and Description |
---|---|
String |
getRating()
The internal value of the
VerizonMediaAssetTvRating . |
static VerizonMediaAssetTvRating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerizonMediaAssetTvRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerizonMediaAssetTvRating NOT_AVAILABLE
public static final VerizonMediaAssetTvRating NOT_APPLICABLE
public static final VerizonMediaAssetTvRating TV_Y
public static final VerizonMediaAssetTvRating TV_Y7
public static final VerizonMediaAssetTvRating TV_G
public static final VerizonMediaAssetTvRating TV_PG
public static final VerizonMediaAssetTvRating TV_14
public static final VerizonMediaAssetTvRating TV_MA
public static final VerizonMediaAssetTvRating NOT_RATED
public static VerizonMediaAssetTvRating[] values()
for (VerizonMediaAssetTvRating c : VerizonMediaAssetTvRating.values()) System.out.println(c);
public static VerizonMediaAssetTvRating 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 getRating()
VerizonMediaAssetTvRating
.VerizonMediaAssetTvRating
.
- If the rating is TV_Y
, this will return "1".