Enum RevAiJobType

    • Enum Constant Detail

      • ASYNC

        @SerializedName("async")
        public static final RevAiJobType ASYNC
        The type used for asynchronous jobs.
      • STREAM

        @SerializedName("stream")
        public static final RevAiJobType STREAM
        The type used for streaming jobs.
      • TOPICEXTRACTION

        @SerializedName("topic_extraction")
        public static final RevAiJobType TOPICEXTRACTION
        The type used for topic extraction jobs.
      • SENTIMENTANALYSIS

        @SerializedName("sentiment_analysis")
        public static final RevAiJobType SENTIMENTANALYSIS
        The Type used for sentiment analysis jobs.
      • LANGUAGEID

        @SerializedName("language_id")
        public static final RevAiJobType LANGUAGEID
        The Type used for language id jobs.
    • Method Detail

      • values

        public static RevAiJobType[] 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 (RevAiJobType c : RevAiJobType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RevAiJobType 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 name
        NullPointerException - if the argument is null
      • getJobType

        public String getJobType()
        Returns the String value of the enumeration.
        Returns:
        The String value of the enumeration.