ImageLicense Class

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

public class ImageLicense

Defines values for ImageLicense.

Field Summary

Modifier and Type Field and Description
final ImageLicense ALL

Static value All for ImageLicense.

final ImageLicense ANY

Static value Any for ImageLicense.

final ImageLicense MODIFY

Static value Modify for ImageLicense.

final ImageLicense MODIFY_COMMERCIALLY

Static value ModifyCommercially for ImageLicense.

final ImageLicense PUBLIC

Static value Public for ImageLicense.

final ImageLicense SHARE

Static value Share for ImageLicense.

final ImageLicense SHARE_COMMERCIALLY

Static value ShareCommercially for ImageLicense.

Method Summary

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

Creates or finds a ImageLicense from its string representation.

Collection<ImageLicense> values()

Field Details

ALL

public static final ImageLicense ALL= fromString("All")

Static value All for ImageLicense.

ANY

public static final ImageLicense ANY= fromString("Any")

Static value Any for ImageLicense.

MODIFY

public static final ImageLicense MODIFY= fromString("Modify")

Static value Modify for ImageLicense.

MODIFY_COMMERCIALLY

public static final ImageLicense MODIFY_COMMERCIALLY= fromString("ModifyCommercially")

Static value ModifyCommercially for ImageLicense.

PUBLIC

public static final ImageLicense PUBLIC= fromString("Public")

Static value Public for ImageLicense.

SHARE

public static final ImageLicense SHARE= fromString("Share")

Static value Share for ImageLicense.

SHARE_COMMERCIALLY

public static final ImageLicense SHARE_COMMERCIALLY= fromString("ShareCommercially")

Static value ShareCommercially for 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