Enum Class RatingCanadaMoviesType

java.lang.Object
java.lang.Enum<RatingCanadaMoviesType>
com.microsoft.graph.models.RatingCanadaMoviesType
All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum, Serializable, Comparable<RatingCanadaMoviesType>, Constable

@Generated("com.microsoft.kiota") public enum RatingCanadaMoviesType extends Enum<RatingCanadaMoviesType> implements com.microsoft.kiota.serialization.ValuedEnum
Movies rating labels in Canada
  • Enum Constant Details

    • AllAllowed

      public static final RatingCanadaMoviesType AllAllowed
      Default value, allow all movies content
    • AllBlocked

      public static final RatingCanadaMoviesType AllBlocked
      Do not allow any movies content
    • General

      public static final RatingCanadaMoviesType General
      The G classification is suitable for all ages
    • ParentalGuidance

      public static final RatingCanadaMoviesType ParentalGuidance
      The PG classification advises parental guidance
    • AgesAbove14

      public static final RatingCanadaMoviesType AgesAbove14
      The 14A classification is suitable for viewers above 14 or older
    • AgesAbove18

      public static final RatingCanadaMoviesType AgesAbove18
      The 18A classification is suitable for viewers above 18 or older
    • Restricted

      public static final RatingCanadaMoviesType Restricted
      The R classification is restricted to 18 years and older
  • Field Details

    • value

      public final String value
  • Method Details

    • values

      public static RatingCanadaMoviesType[] 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

      public static RatingCanadaMoviesType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      @Nonnull public String getValue()
      Specified by:
      getValue in interface com.microsoft.kiota.serialization.ValuedEnum
    • forValue

      @Nullable public static RatingCanadaMoviesType forValue(@Nonnull String searchValue)