Enum PopularColor
- java.lang.Object
-
- java.lang.Enum<PopularColor>
-
- bg.codexio.ai.openai.api.sdk.images.color.PopularColor
-
- All Implemented Interfaces:
Serializable,Comparable<PopularColor>
public enum PopularColor extends Enum<PopularColor>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intval()static PopularColorvalueOf(String name)Returns the enum constant of this type with the specified name.static PopularColor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RED
public static final PopularColor RED
-
GREEN
public static final PopularColor GREEN
-
BLUE
public static final PopularColor BLUE
-
YELLOW
public static final PopularColor YELLOW
-
PURPLE
public static final PopularColor PURPLE
-
CYAN
public static final PopularColor CYAN
-
MAGENTA
public static final PopularColor MAGENTA
-
ORANGE
public static final PopularColor ORANGE
-
PINK
public static final PopularColor PINK
-
BROWN
public static final PopularColor BROWN
-
BLACK
public static final PopularColor BLACK
-
WHITE
public static final PopularColor WHITE
-
GRAY
public static final PopularColor GRAY
-
LIGHT_GRAY
public static final PopularColor LIGHT_GRAY
-
DARK_GRAY
public static final PopularColor DARK_GRAY
-
LIME
public static final PopularColor LIME
-
MAROON
public static final PopularColor MAROON
-
OLIVE
public static final PopularColor OLIVE
-
NAVY
public static final PopularColor NAVY
-
TEAL
public static final PopularColor TEAL
-
AQUA
public static final PopularColor AQUA
-
SILVER
public static final PopularColor SILVER
-
GOLD
public static final PopularColor GOLD
-
SKY_BLUE
public static final PopularColor SKY_BLUE
-
CORAL
public static final PopularColor CORAL
-
VIOLET
public static final PopularColor VIOLET
-
INDIGO
public static final PopularColor INDIGO
-
BEIGE
public static final PopularColor BEIGE
-
MINT
public static final PopularColor MINT
-
LAVENDER
public static final PopularColor LAVENDER
-
-
Method Detail
-
values
public static PopularColor[] 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 (PopularColor c : PopularColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PopularColor 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
-
val
public int val()
-
-