ImageLicense Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ImageLicense> - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ImageLicense
- com.
- com.
public class ImageLicense
Defines values for ImageLicense.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Image |
ALL
Static value All for ImageLicense. |
final Image |
ANY
Static value Any for ImageLicense. |
final Image |
MODIFY
Static value Modify for ImageLicense. |
final Image |
MODIFY_COMMERCIALLY
Static value ModifyCommercially for ImageLicense. |
final Image |
PUBLIC
Static value Public for ImageLicense. |
final Image |
SHARE
Static value Share for ImageLicense. |
final Image |
SHARE_COMMERCIALLY
Static value ShareCommercially for ImageLicense. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
fromString(String name)
Creates or finds a ImageLicense from its string representation. |
Collection<Image |
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:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java