Record Class ElevenLabsVoicesApi.VerifiedVoiceLanguage
java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsVoicesApi.VerifiedVoiceLanguage
- Enclosing class:
ElevenLabsVoicesApi
-
Constructor Summary
ConstructorsConstructorDescriptionVerifiedVoiceLanguage(String language, String modelId, String accent) Creates an instance of aVerifiedVoiceLanguagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccent()Returns the value of theaccentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.language()Returns the value of thelanguagerecord component.modelId()Returns the value of themodelIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VerifiedVoiceLanguage
Creates an instance of aVerifiedVoiceLanguagerecord class.- Parameters:
language- the value for thelanguagerecord componentmodelId- the value for themodelIdrecord componentaccent- the value for theaccentrecord 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). -
language
Returns the value of thelanguagerecord component.- Returns:
- the value of the
languagerecord component
-
modelId
Returns the value of themodelIdrecord component.- Returns:
- the value of the
modelIdrecord component
-
accent
Returns the value of theaccentrecord component.- Returns:
- the value of the
accentrecord component
-