ImageAspect Class

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

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

Defines values for ImageAspect.

Field Summary

Modifier and Type Field and Description
static final ImageAspect ALL

Static value All for ImageAspect.

static final ImageAspect SQUARE

Static value Square for ImageAspect.

static final ImageAspect TALL

Static value Tall for ImageAspect.

static final ImageAspect WIDE

Static value Wide for ImageAspect.

Constructor Summary

Constructor Description
ImageAspect()

Method Summary

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

Creates or finds a ImageAspect from its string representation.

static java.util.Collection<ImageAspect> 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 ImageAspect ALL

Static value All for ImageAspect.

SQUARE

public static final ImageAspect SQUARE

Static value Square for ImageAspect.

TALL

public static final ImageAspect TALL

Static value Tall for ImageAspect.

WIDE

public static final ImageAspect WIDE

Static value Wide for ImageAspect.

Constructor Details

ImageAspect

public ImageAspect()

Method Details

fromString

public static ImageAspect fromString(String name)

Creates or finds a ImageAspect from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ImageAspect

values

public static Collection values()

Returns:

known ImageAspect values

Applies to