Record Class DashScopeAudioTranscriptionApi.RealtimeRequest.Payload
java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.api.DashScopeAudioTranscriptionApi.RealtimeRequest.Payload
- Enclosing class:
- DashScopeAudioTranscriptionApi.RealtimeRequest
public static record DashScopeAudioTranscriptionApi.RealtimeRequest.Payload(String model, String taskGroup, String task, String function, DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Input input, DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Parameters parameters, List<DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Resource> resources)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionPayload(String model, String taskGroup, String task, String function, DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Input input, DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Parameters parameters, List<DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Resource> resources) Creates an instance of aPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.function()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.input()Returns the value of theinputrecord component.model()Returns the value of themodelrecord component.Returns the value of theparametersrecord component.Returns the value of theresourcesrecord component.task()Returns the value of thetaskrecord component.Returns the value of thetaskGrouprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Payload
public Payload(String model, String taskGroup, String task, String function, DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Input input, DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Parameters parameters, List<DashScopeAudioTranscriptionApi.RealtimeRequest.Payload.Resource> resources) Creates an instance of aPayloadrecord class.- Parameters:
model- the value for themodelrecord componenttaskGroup- the value for thetaskGrouprecord componenttask- the value for thetaskrecord componentfunction- the value for thefunctionrecord componentinput- the value for theinputrecord componentparameters- the value for theparametersrecord componentresources- the value for theresourcesrecord 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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
taskGroup
Returns the value of thetaskGrouprecord component.- Returns:
- the value of the
taskGrouprecord component
-
task
Returns the value of thetaskrecord component.- Returns:
- the value of the
taskrecord component
-
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
resources
Returns the value of theresourcesrecord component.- Returns:
- the value of the
resourcesrecord component
-