ImageSize Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. cognitiveservices. search. customimagesearch. models. ImageSize
- com.
- com.
public final class ImageSize
extends com.microsoft.rest.ExpandableStringEnum<ImageSize>
Defines values for ImageSize.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Image |
ALL
Static value All for Image |
static final
Image |
LARGE
Static value Large for Image |
static final
Image |
MEDIUM
Static value Medium for Image |
static final
Image |
SMALL
Static value Small for Image |
static final
Image |
WALLPAPER
Static value Wallpaper for Image |
Constructor Summary
Constructor | Description | |
---|---|---|
ImageSize() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Image |
fromString(String name)
Creates or finds a Image |
static
java.util.Collection<Image |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALL
public static final ImageSize ALL
Static value All for ImageSize.
LARGE
public static final ImageSize LARGE
Static value Large for ImageSize.
MEDIUM
public static final ImageSize MEDIUM
Static value Medium for ImageSize.
SMALL
public static final ImageSize SMALL
Static value Small for ImageSize.
WALLPAPER
public static final ImageSize WALLPAPER
Static value Wallpaper for ImageSize.
Constructor Details
ImageSize
public ImageSize()
Method Details
fromString
public static ImageSize fromString(String name)
Creates or finds a ImageSize from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for