Record Class DashScopeAudioTranscriptionApi.Request.Parameters

java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.api.DashScopeAudioTranscriptionApi.Request.Parameters
Enclosing class:
DashScopeAudioTranscriptionApi.Request

public static record DashScopeAudioTranscriptionApi.Request.Parameters(String vocabularyId, List<Integer> channelId, Boolean disfluencyRemovalEnabled, Boolean timestampAlignmentEnabled, String specialWordFilter, List<String> languageHints, Boolean diarizationEnabled, Integer speakerCount) extends Record
  • Constructor Details

    • Parameters

      public Parameters(String vocabularyId, List<Integer> channelId, Boolean disfluencyRemovalEnabled, Boolean timestampAlignmentEnabled, String specialWordFilter, List<String> languageHints, Boolean diarizationEnabled, Integer speakerCount)
      Creates an instance of a Parameters record class.
      Parameters:
      vocabularyId - the value for the vocabularyId record component
      channelId - the value for the channelId record component
      disfluencyRemovalEnabled - the value for the disfluencyRemovalEnabled record component
      timestampAlignmentEnabled - the value for the timestampAlignmentEnabled record component
      specialWordFilter - the value for the specialWordFilter record component
      languageHints - the value for the languageHints record component
      diarizationEnabled - the value for the diarizationEnabled record component
      speakerCount - the value for the speakerCount record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • vocabularyId

      public String vocabularyId()
      Returns the value of the vocabularyId record component.
      Returns:
      the value of the vocabularyId record component
    • channelId

      public List<Integer> channelId()
      Returns the value of the channelId record component.
      Returns:
      the value of the channelId record component
    • disfluencyRemovalEnabled

      public Boolean disfluencyRemovalEnabled()
      Returns the value of the disfluencyRemovalEnabled record component.
      Returns:
      the value of the disfluencyRemovalEnabled record component
    • timestampAlignmentEnabled

      public Boolean timestampAlignmentEnabled()
      Returns the value of the timestampAlignmentEnabled record component.
      Returns:
      the value of the timestampAlignmentEnabled record component
    • specialWordFilter

      public String specialWordFilter()
      Returns the value of the specialWordFilter record component.
      Returns:
      the value of the specialWordFilter record component
    • languageHints

      public List<String> languageHints()
      Returns the value of the languageHints record component.
      Returns:
      the value of the languageHints record component
    • diarizationEnabled

      public Boolean diarizationEnabled()
      Returns the value of the diarizationEnabled record component.
      Returns:
      the value of the diarizationEnabled record component
    • speakerCount

      public Integer speakerCount()
      Returns the value of the speakerCount record component.
      Returns:
      the value of the speakerCount record component