Enum Class Function

java.lang.Object
java.lang.Enum<Function>
com.alibaba.dashscope.legacy_2x.common.Function
All Implemented Interfaces:
Serializable, Comparable<Function>, Constable

@Deprecated public enum Function extends Enum<Function>
Deprecated.
  • Enum Constant Details

    • GENERATION

      public static final Function GENERATION
      Deprecated.
    • IMAGE_SYNTHESIS

      public static final Function IMAGE_SYNTHESIS
      Deprecated.
    • TEXT_EMBEDDING

      public static final Function TEXT_EMBEDDING
      Deprecated.
    • MULTIMODAL_EMBEDDING

      public static final Function MULTIMODAL_EMBEDDING
      Deprecated.
    • SPEECH_SYNTHESIZER

      public static final Function SPEECH_SYNTHESIZER
      Deprecated.
    • TRANSCRIPTION

      public static final Function TRANSCRIPTION
      Deprecated.
    • RECOGNITION

      public static final Function RECOGNITION
      Deprecated.
    • SPEECH_TRANSLATION

      public static final Function SPEECH_TRANSLATION
      Deprecated.
    • UNDERSTANDING

      public static final Function UNDERSTANDING
      Deprecated.
  • Method Details

    • values

      public static Function[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Function valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Deprecated.