Record Class ElevenLabsVoicesApi.VoiceVerification
java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsVoicesApi.VoiceVerification
- Enclosing class:
ElevenLabsVoicesApi
-
Constructor Summary
ConstructorsConstructorDescriptionVoiceVerification(Boolean requiresVerification, Boolean isVerified, List<String> verificationFailures, Integer verificationAttemptsCount, String language, List<ElevenLabsVoicesApi.VerificationAttempt> verificationAttempts) Creates an instance of aVoiceVerificationrecord class. -
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 theisVerifiedrecord component.language()Returns the value of thelanguagerecord component.Returns the value of therequiresVerificationrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverificationAttemptsrecord component.Returns the value of theverificationAttemptsCountrecord component.Returns the value of theverificationFailuresrecord component.
-
Constructor Details
-
VoiceVerification
public VoiceVerification(Boolean requiresVerification, Boolean isVerified, List<String> verificationFailures, Integer verificationAttemptsCount, String language, List<ElevenLabsVoicesApi.VerificationAttempt> verificationAttempts) Creates an instance of aVoiceVerificationrecord class.- Parameters:
requiresVerification- the value for therequiresVerificationrecord componentisVerified- the value for theisVerifiedrecord componentverificationFailures- the value for theverificationFailuresrecord componentverificationAttemptsCount- the value for theverificationAttemptsCountrecord componentlanguage- the value for thelanguagerecord componentverificationAttempts- the value for theverificationAttemptsrecord 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). -
requiresVerification
Returns the value of therequiresVerificationrecord component.- Returns:
- the value of the
requiresVerificationrecord component
-
isVerified
Returns the value of theisVerifiedrecord component.- Returns:
- the value of the
isVerifiedrecord component
-
verificationFailures
Returns the value of theverificationFailuresrecord component.- Returns:
- the value of the
verificationFailuresrecord component
-
verificationAttemptsCount
Returns the value of theverificationAttemptsCountrecord component.- Returns:
- the value of the
verificationAttemptsCountrecord component
-
language
Returns the value of thelanguagerecord component.- Returns:
- the value of the
languagerecord component
-
verificationAttempts
Returns the value of theverificationAttemptsrecord component.- Returns:
- the value of the
verificationAttemptsrecord component
-