Record Class ElevenLabsVoicesApi.VoiceSettings
java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsVoicesApi.VoiceSettings
- Enclosing class:
ElevenLabsVoicesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesimilarityBoostrecord component.speed()Returns the value of thespeedrecord component.Returns the value of thestabilityrecord component.style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuseSpeakerBoostrecord component.
-
Constructor Details
-
VoiceSettings
public VoiceSettings(Double stability, Double similarityBoost, Double style, Boolean useSpeakerBoost, Double speed) Creates an instance of aVoiceSettingsrecord class.- Parameters:
stability- the value for thestabilityrecord componentsimilarityBoost- the value for thesimilarityBoostrecord componentstyle- the value for thestylerecord componentuseSpeakerBoost- the value for theuseSpeakerBoostrecord componentspeed- the value for thespeedrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
stability
Returns the value of thestabilityrecord component.- Returns:
- the value of the
stabilityrecord component
-
similarityBoost
Returns the value of thesimilarityBoostrecord component.- Returns:
- the value of the
similarityBoostrecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-
useSpeakerBoost
Returns the value of theuseSpeakerBoostrecord component.- Returns:
- the value of the
useSpeakerBoostrecord component
-
speed
Returns the value of thespeedrecord component.- Returns:
- the value of the
speedrecord component
-