Package com.microsoft.graph.models
Enum Class RatingCanadaTelevisionType
- All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum,Serializable,Comparable<RatingCanadaTelevisionType>,Constable
@Generated("com.microsoft.kiota")
public enum RatingCanadaTelevisionType
extends Enum<RatingCanadaTelevisionType>
implements com.microsoft.kiota.serialization.ValuedEnum
TV content rating labels in Canada
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 14+ classification is intended for viewers ages 14 and olderThe 18+ classification is intended for viewers ages 18 and olderDefault value, allow all TV shows contentDo not allow any TV shows contentThe C classification is suitable for children ages of 2 to 7 yearsThe C8 classification is suitable for children ages 8+The G classification is suitable for general audiencePG, Parental Guidance -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RatingCanadaTelevisionTypegetValue()static RatingCanadaTelevisionTypeReturns the enum constant of this class with the specified name.static RatingCanadaTelevisionType[]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 -
Children
The C classification is suitable for children ages of 2 to 7 years -
ChildrenAbove8
The C8 classification is suitable for children ages 8+ -
General
The G classification is suitable for general audience -
ParentalGuidance
PG, Parental Guidance -
AgesAbove14
The 14+ classification is intended for viewers ages 14 and older -
AgesAbove18
The 18+ classification is intended for viewers ages 18 and older
-
-
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
-