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 Summary
ConstructorsConstructorDescriptionParameters(String vocabularyId, List<Integer> channelId, Boolean disfluencyRemovalEnabled, Boolean timestampAlignmentEnabled, String specialWordFilter, List<String> languageHints, Boolean diarizationEnabled, Integer speakerCount) Creates an instance of aParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechannelIdrecord component.Returns the value of thediarizationEnabledrecord component.Returns the value of thedisfluencyRemovalEnabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelanguageHintsrecord component.Returns the value of thespeakerCountrecord component.Returns the value of thespecialWordFilterrecord component.Returns the value of thetimestampAlignmentEnabledrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevocabularyIdrecord component.
-
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 aParametersrecord class.- Parameters:
vocabularyId- the value for thevocabularyIdrecord componentchannelId- the value for thechannelIdrecord componentdisfluencyRemovalEnabled- the value for thedisfluencyRemovalEnabledrecord componenttimestampAlignmentEnabled- the value for thetimestampAlignmentEnabledrecord componentspecialWordFilter- the value for thespecialWordFilterrecord componentlanguageHints- the value for thelanguageHintsrecord componentdiarizationEnabled- the value for thediarizationEnabledrecord componentspeakerCount- the value for thespeakerCountrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
vocabularyId
Returns the value of thevocabularyIdrecord component.- Returns:
- the value of the
vocabularyIdrecord component
-
channelId
Returns the value of thechannelIdrecord component.- Returns:
- the value of the
channelIdrecord component
-
disfluencyRemovalEnabled
Returns the value of thedisfluencyRemovalEnabledrecord component.- Returns:
- the value of the
disfluencyRemovalEnabledrecord component
-
timestampAlignmentEnabled
Returns the value of thetimestampAlignmentEnabledrecord component.- Returns:
- the value of the
timestampAlignmentEnabledrecord component
-
specialWordFilter
Returns the value of thespecialWordFilterrecord component.- Returns:
- the value of the
specialWordFilterrecord component
-
languageHints
Returns the value of thelanguageHintsrecord component.- Returns:
- the value of the
languageHintsrecord component
-
diarizationEnabled
Returns the value of thediarizationEnabledrecord component.- Returns:
- the value of the
diarizationEnabledrecord component
-
speakerCount
Returns the value of thespeakerCountrecord component.- Returns:
- the value of the
speakerCountrecord component
-