Package odata.msgraph.client.enums
Enum CalendarColor
- java.lang.Object
-
- java.lang.Enum<CalendarColor>
-
- odata.msgraph.client.enums.CalendarColor
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.Enum,Serializable,Comparable<CalendarColor>
public enum CalendarColor extends Enum<CalendarColor> implements com.github.davidmoten.odata.client.Enum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOLIGHT_BLUELIGHT_BROWNLIGHT_GRAYLIGHT_GREENLIGHT_ORANGELIGHT_PINKLIGHT_REDLIGHT_TEALLIGHT_YELLOWMAX_COLOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringenumName()StringenumValue()static CalendarColorvalueOf(String name)Returns the enum constant of this type with the specified name.static CalendarColor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final CalendarColor AUTO
-
LIGHT_BLUE
public static final CalendarColor LIGHT_BLUE
-
LIGHT_GREEN
public static final CalendarColor LIGHT_GREEN
-
LIGHT_ORANGE
public static final CalendarColor LIGHT_ORANGE
-
LIGHT_GRAY
public static final CalendarColor LIGHT_GRAY
-
LIGHT_YELLOW
public static final CalendarColor LIGHT_YELLOW
-
LIGHT_TEAL
public static final CalendarColor LIGHT_TEAL
-
LIGHT_PINK
public static final CalendarColor LIGHT_PINK
-
LIGHT_BROWN
public static final CalendarColor LIGHT_BROWN
-
LIGHT_RED
public static final CalendarColor LIGHT_RED
-
MAX_COLOR
public static final CalendarColor MAX_COLOR
-
-
Method Detail
-
values
public static CalendarColor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CalendarColor c : CalendarColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalendarColor valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
enumName
public String enumName()
- Specified by:
enumNamein interfacecom.github.davidmoten.odata.client.Enum
-
enumValue
public String enumValue()
- Specified by:
enumValuein interfacecom.github.davidmoten.odata.client.Enum
-
-