Record Class DashScopeAudioTranscriptionApi.Outcome
java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.api.DashScopeAudioTranscriptionApi.Outcome
- Enclosing class:
- DashScopeAudioTranscriptionApi
public static record DashScopeAudioTranscriptionApi.Outcome(String fileUrl, DashScopeAudioTranscriptionApi.Outcome.Properties properties, List<DashScopeAudioTranscriptionApi.Outcome.Transcript> transcripts)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionOutcome(String fileUrl, DashScopeAudioTranscriptionApi.Outcome.Properties properties, List<DashScopeAudioTranscriptionApi.Outcome.Transcript> transcripts) Creates an instance of aOutcomerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fileUrl()Returns the value of thefileUrlrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetranscriptsrecord component.
-
Constructor Details
-
Outcome
public Outcome(String fileUrl, DashScopeAudioTranscriptionApi.Outcome.Properties properties, List<DashScopeAudioTranscriptionApi.Outcome.Transcript> transcripts) Creates an instance of aOutcomerecord class.- Parameters:
fileUrl- the value for thefileUrlrecord componentproperties- the value for thepropertiesrecord componenttranscripts- the value for thetranscriptsrecord 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). -
fileUrl
Returns the value of thefileUrlrecord component.- Returns:
- the value of the
fileUrlrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-
transcripts
Returns the value of thetranscriptsrecord component.- Returns:
- the value of the
transcriptsrecord component
-