-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
ImageAspect.java
47 lines (39 loc) · 1.43 KB
/
ImageAspect.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
/**
* 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 ImageAspect.
*/
public final class ImageAspect extends ExpandableStringEnum<ImageAspect> {
/** Static value All for ImageAspect. */
public static final ImageAspect ALL = fromString("All");
/** Static value Square for ImageAspect. */
public static final ImageAspect SQUARE = fromString("Square");
/** Static value Wide for ImageAspect. */
public static final ImageAspect WIDE = fromString("Wide");
/** Static value Tall for ImageAspect. */
public static final ImageAspect TALL = fromString("Tall");
/**
* Creates or finds a ImageAspect from its string representation.
* @param name a name to look for
* @return the corresponding ImageAspect
*/
@JsonCreator
public static ImageAspect fromString(String name) {
return fromString(name, ImageAspect.class);
}
/**
* @return known ImageAspect values
*/
public static Collection<ImageAspect> values() {
return values(ImageAspect.class);
}
}