Enum VideoInsightModule
- java.lang.Object
-
- java.lang.Enum<VideoInsightModule>
-
- com.microsoft.azure.cognitiveservices.search.videosearch.models.VideoInsightModule
-
- All Implemented Interfaces:
Serializable,Comparable<VideoInsightModule>
public enum VideoInsightModule extends Enum<VideoInsightModule>
Defines values for VideoInsightModule.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLEnum value All.RELATED_VIDEOSEnum value RelatedVideos.VIDEO_RESULTEnum value VideoResult.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoInsightModulefromString(String value)Parses a serialized value to a VideoInsightModule instance.StringtoString()static VideoInsightModulevalueOf(String name)Returns the enum constant of this type with the specified name.static VideoInsightModule[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final VideoInsightModule ALL
Enum value All.
-
RELATED_VIDEOS
public static final VideoInsightModule RELATED_VIDEOS
Enum value RelatedVideos.
-
VIDEO_RESULT
public static final VideoInsightModule VIDEO_RESULT
Enum value VideoResult.
-
-
Method Detail
-
values
public static VideoInsightModule[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VideoInsightModule c : VideoInsightModule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VideoInsightModule valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static VideoInsightModule fromString(String value)
Parses a serialized value to a VideoInsightModule instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed VideoInsightModule object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<VideoInsightModule>
-
-