ImageSize Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.cognitiveservices.search.customimagesearch.models.ImageSize

public final class ImageSize
extends com.microsoft.rest.ExpandableStringEnum<ImageSize>

Defines values for ImageSize.

Field Summary

Modifier and Type Field and Description
static final ImageSize ALL

Static value All for ImageSize.

static final ImageSize LARGE

Static value Large for ImageSize.

static final ImageSize MEDIUM

Static value Medium for ImageSize.

static final ImageSize SMALL

Static value Small for ImageSize.

static final ImageSize WALLPAPER

Static value Wallpaper for ImageSize.

Constructor Summary

Constructor Description
ImageSize()

Method Summary

Modifier and Type Method and Description
static ImageSize fromString(String name)

Creates or finds a ImageSize from its string representation.

static java.util.Collection<ImageSize> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

name - a name to look for

Returns:

the corresponding ImageSize

values

public static Collection values()

Returns:

known ImageSize values

Applies to