Package com.microsoft.graph.models
Enum Class CalendarColor
- All Implemented Interfaces:
Serializable,Comparable<CalendarColor>,Constable
The Enum Calendar Color.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionautolight Bluelight Brownlight Graylight Greenlight Orangelight Pinklight Redlight Teallight Yellowmax ColorFor CalendarColor values that were not expected from the service -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarColorReturns the enum constant of this class with the specified name.static CalendarColor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
auto -
LIGHT_BLUE
light Blue -
LIGHT_GREEN
light Green -
LIGHT_ORANGE
light Orange -
LIGHT_GRAY
light Gray -
LIGHT_YELLOW
light Yellow -
LIGHT_TEAL
light Teal -
LIGHT_PINK
light Pink -
LIGHT_BROWN
light Brown -
LIGHT_RED
light Red -
MAX_COLOR
max Color -
UNEXPECTED_VALUE
For CalendarColor values that were not expected from the service
-
-
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
-