Enum Class CalendarColor

java.lang.Object
java.lang.Enum<CalendarColor>
com.microsoft.graph.models.CalendarColor
All Implemented Interfaces:
Serializable, Comparable<CalendarColor>, Constable

public enum CalendarColor extends Enum<CalendarColor>
The Enum Calendar Color.
  • Enum Constant Details

    • AUTO

      public static final CalendarColor AUTO
      auto
    • LIGHT_BLUE

      public static final CalendarColor LIGHT_BLUE
      light Blue
    • LIGHT_GREEN

      public static final CalendarColor LIGHT_GREEN
      light Green
    • LIGHT_ORANGE

      public static final CalendarColor LIGHT_ORANGE
      light Orange
    • LIGHT_GRAY

      public static final CalendarColor LIGHT_GRAY
      light Gray
    • LIGHT_YELLOW

      public static final CalendarColor LIGHT_YELLOW
      light Yellow
    • LIGHT_TEAL

      public static final CalendarColor LIGHT_TEAL
      light Teal
    • LIGHT_PINK

      public static final CalendarColor LIGHT_PINK
      light Pink
    • LIGHT_BROWN

      public static final CalendarColor LIGHT_BROWN
      light Brown
    • LIGHT_RED

      public static final CalendarColor LIGHT_RED
      light Red
    • MAX_COLOR

      public static final CalendarColor MAX_COLOR
      max Color
    • UNEXPECTED_VALUE

      public static final CalendarColor UNEXPECTED_VALUE
      For CalendarColor values that were not expected from the service
  • Method Details

    • values

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