Record Class ElevenLabsApi.SpeechRequest.PronunciationDictionaryLocator
java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsApi.SpeechRequest.PronunciationDictionaryLocator
- Enclosing class:
- ElevenLabsApi.SpeechRequest
public static record ElevenLabsApi.SpeechRequest.PronunciationDictionaryLocator(String pronunciationDictionaryId, String versionId)
extends Record
Locator for a pronunciation dictionary.
-
Constructor Summary
ConstructorsConstructorDescriptionPronunciationDictionaryLocator
(String pronunciationDictionaryId, String versionId) Creates an instance of aPronunciationDictionaryLocator
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thepronunciationDictionaryId
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theversionId
record component.
-
Constructor Details
-
PronunciationDictionaryLocator
Creates an instance of aPronunciationDictionaryLocator
record class.- Parameters:
pronunciationDictionaryId
- the value for thepronunciationDictionaryId
record componentversionId
- the value for theversionId
record 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)
. -
pronunciationDictionaryId
Returns the value of thepronunciationDictionaryId
record component.- Returns:
- the value of the
pronunciationDictionaryId
record component
-
versionId
Returns the value of theversionId
record component.- Returns:
- the value of the
versionId
record component
-