Record Class DashScopeAudioSpeechApi.Request.RequestPayload
java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.api.DashScopeAudioSpeechApi.Request.RequestPayload
- Enclosing class:
- DashScopeAudioSpeechApi.Request
public static record DashScopeAudioSpeechApi.Request.RequestPayload(String model, String taskGroup, String task, String function, DashScopeAudioSpeechApi.Request.RequestPayload.RequestPayloadInput input, DashScopeAudioSpeechApi.Request.RequestPayload.RequestPayloadParameters parameters)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionRequestPayload(String model, String taskGroup, String task, String function, DashScopeAudioSpeechApi.Request.RequestPayload.RequestPayloadInput input, DashScopeAudioSpeechApi.Request.RequestPayload.RequestPayloadParameters parameters) Creates an instance of aRequestPayloadrecord 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.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
-
RequestPayload
public RequestPayload(String model, String taskGroup, String task, String function, DashScopeAudioSpeechApi.Request.RequestPayload.RequestPayloadInput input, DashScopeAudioSpeechApi.Request.RequestPayload.RequestPayloadParameters parameters) Creates an instance of aRequestPayloadrecord 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 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
-