Package com.microsoft.graph.models
Enum Class RatingUnitedStatesTelevisionType
java.lang.Object
java.lang.Enum<RatingUnitedStatesTelevisionType>
com.microsoft.graph.models.RatingUnitedStatesTelevisionType
- All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum,Serializable,Comparable<RatingUnitedStatesTelevisionType>,Constable
@Generated("com.microsoft.kiota")
public enum RatingUnitedStatesTelevisionType
extends Enum<RatingUnitedStatesTelevisionType>
implements com.microsoft.kiota.serialization.ValuedEnum
TV content rating labels in United States
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTV-MA, adults onlyDefault value, allow all TV shows contentDo not allow any TV shows contentTV-14, children age 14 and aboveTV-Y7, children age 7 and aboveTV-Y, all childrenTV-G, suitable for all agesTV-PG, parental guidance -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the enum constant of this class with the specified name.static RatingUnitedStatesTelevisionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AllAllowed
Default value, allow all TV shows content -
AllBlocked
Do not allow any TV shows content -
ChildrenAll
TV-Y, all children -
ChildrenAbove7
TV-Y7, children age 7 and above -
General
TV-G, suitable for all ages -
ParentalGuidance
TV-PG, parental guidance -
ChildrenAbove14
TV-14, children age 14 and above -
Adults
TV-MA, adults only
-
-
Field Details
-
value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
- Specified by:
getValuein interfacecom.microsoft.kiota.serialization.ValuedEnum
-
forValue
-