ImageLicense Class

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

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

Defines values for ImageLicense.

Field Summary

Modifier and Type Field and Description
static final ImageLicense ALL

Static value All for ImageLicense.

static final ImageLicense ANY

Static value Any for ImageLicense.

static final ImageLicense MODIFY

Static value Modify for ImageLicense.

static final ImageLicense MODIFY_COMMERCIALLY

Static value ModifyCommercially for ImageLicense.

static final ImageLicense PUBLIC

Static value Public for ImageLicense.

static final ImageLicense SHARE

Static value Share for ImageLicense.

static final ImageLicense SHARE_COMMERCIALLY

Static value ShareCommercially for ImageLicense.

Constructor Summary

Constructor Description
ImageLicense()

Method Summary

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

Creates or finds a ImageLicense from its string representation.

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

Static value All for ImageLicense.

ANY

public static final ImageLicense ANY

Static value Any for ImageLicense.

MODIFY

public static final ImageLicense MODIFY

Static value Modify for ImageLicense.

MODIFY_COMMERCIALLY

public static final ImageLicense MODIFY_COMMERCIALLY

Static value ModifyCommercially for ImageLicense.

PUBLIC

public static final ImageLicense PUBLIC

Static value Public for ImageLicense.

SHARE

public static final ImageLicense SHARE

Static value Share for ImageLicense.

SHARE_COMMERCIALLY

public static final ImageLicense SHARE_COMMERCIALLY

Static value ShareCommercially for ImageLicense.

Constructor Details

ImageLicense

public ImageLicense()

Method Details

fromString

public static ImageLicense fromString(String name)

Creates or finds a ImageLicense from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ImageLicense

values

public static Collection values()

Returns:

known ImageLicense values

Applies to