Record Class ElevenLabsVoicesApi.VerificationAttempt
java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsVoicesApi.VerificationAttempt
- Enclosing class:
ElevenLabsVoicesApi
-
Constructor Summary
ConstructorsConstructorDescriptionVerificationAttempt(String text, Integer dateUnix, Boolean accepted, Double similarity, Double levenshteinDistance, ElevenLabsVoicesApi.Recording recording) Creates an instance of aVerificationAttemptrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccepted()Returns the value of theacceptedrecord component.dateUnix()Returns the value of thedateUnixrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelevenshteinDistancerecord component.Returns the value of therecordingrecord component.Returns the value of thesimilarityrecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VerificationAttempt
public VerificationAttempt(String text, Integer dateUnix, Boolean accepted, Double similarity, Double levenshteinDistance, ElevenLabsVoicesApi.Recording recording) Creates an instance of aVerificationAttemptrecord class.- Parameters:
text- the value for thetextrecord componentdateUnix- the value for thedateUnixrecord componentaccepted- the value for theacceptedrecord componentsimilarity- the value for thesimilarityrecord componentlevenshteinDistance- the value for thelevenshteinDistancerecord componentrecording- the value for therecordingrecord 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). -
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
dateUnix
Returns the value of thedateUnixrecord component.- Returns:
- the value of the
dateUnixrecord component
-
accepted
Returns the value of theacceptedrecord component.- Returns:
- the value of the
acceptedrecord component
-
similarity
Returns the value of thesimilarityrecord component.- Returns:
- the value of the
similarityrecord component
-
levenshteinDistance
Returns the value of thelevenshteinDistancerecord component.- Returns:
- the value of the
levenshteinDistancerecord component
-
recording
Returns the value of therecordingrecord component.- Returns:
- the value of the
recordingrecord component
-