-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
ImageColor.java
77 lines (59 loc) · 2.52 KB
/
ImageColor.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.search.customimagesearch.models;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for ImageColor.
*/
public final class ImageColor extends ExpandableStringEnum<ImageColor> {
/** Static value ColorOnly for ImageColor. */
public static final ImageColor COLOR_ONLY = fromString("ColorOnly");
/** Static value Monochrome for ImageColor. */
public static final ImageColor MONOCHROME = fromString("Monochrome");
/** Static value Black for ImageColor. */
public static final ImageColor BLACK = fromString("Black");
/** Static value Blue for ImageColor. */
public static final ImageColor BLUE = fromString("Blue");
/** Static value Brown for ImageColor. */
public static final ImageColor BROWN = fromString("Brown");
/** Static value Gray for ImageColor. */
public static final ImageColor GRAY = fromString("Gray");
/** Static value Green for ImageColor. */
public static final ImageColor GREEN = fromString("Green");
/** Static value Orange for ImageColor. */
public static final ImageColor ORANGE = fromString("Orange");
/** Static value Pink for ImageColor. */
public static final ImageColor PINK = fromString("Pink");
/** Static value Purple for ImageColor. */
public static final ImageColor PURPLE = fromString("Purple");
/** Static value Red for ImageColor. */
public static final ImageColor RED = fromString("Red");
/** Static value Teal for ImageColor. */
public static final ImageColor TEAL = fromString("Teal");
/** Static value White for ImageColor. */
public static final ImageColor WHITE = fromString("White");
/** Static value Yellow for ImageColor. */
public static final ImageColor YELLOW = fromString("Yellow");
/**
* Creates or finds a ImageColor from its string representation.
* @param name a name to look for
* @return the corresponding ImageColor
*/
@JsonCreator
public static ImageColor fromString(String name) {
return fromString(name, ImageColor.class);
}
/**
* @return known ImageColor values
*/
public static Collection<ImageColor> values() {
return values(ImageColor.class);
}
}