Class AudioTaskLabel

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AudioTaskLabel>
com.azure.ai.openai.models.AudioTaskLabel
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class AudioTaskLabel extends com.azure.core.util.ExpandableStringEnum<AudioTaskLabel>
Defines the possible descriptors for available audio operation responses.
  • Field Details

    • TRANSCRIBE

      public static final AudioTaskLabel TRANSCRIBE
      Accompanying response data resulted from an audio transcription task.
    • TRANSLATE

      public static final AudioTaskLabel TRANSLATE
      Accompanying response data resulted from an audio translation task.
  • Constructor Details

    • AudioTaskLabel

      @Deprecated public AudioTaskLabel()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of AudioTaskLabel value.
  • Method Details

    • fromString

      public static AudioTaskLabel fromString(String name)
      Creates or finds a AudioTaskLabel from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding AudioTaskLabel.
    • values

      public static Collection<AudioTaskLabel> values()
      Gets known AudioTaskLabel values.
      Returns:
      known AudioTaskLabel values.