Record Class ElevenLabsVoicesApi.VoiceVerification

java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsVoicesApi.VoiceVerification
Enclosing class:
ElevenLabsVoicesApi

public static record ElevenLabsVoicesApi.VoiceVerification(Boolean requiresVerification, Boolean isVerified, List<String> verificationFailures, Integer verificationAttemptsCount, String language, List<ElevenLabsVoicesApi.VerificationAttempt> verificationAttempts) extends Record
  • Constructor Details

    • VoiceVerification

      public VoiceVerification(Boolean requiresVerification, Boolean isVerified, List<String> verificationFailures, Integer verificationAttemptsCount, String language, List<ElevenLabsVoicesApi.VerificationAttempt> verificationAttempts)
      Creates an instance of a VoiceVerification record class.
      Parameters:
      requiresVerification - the value for the requiresVerification record component
      isVerified - the value for the isVerified record component
      verificationFailures - the value for the verificationFailures record component
      verificationAttemptsCount - the value for the verificationAttemptsCount record component
      language - the value for the language record component
      verificationAttempts - the value for the verificationAttempts record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • requiresVerification

      public Boolean requiresVerification()
      Returns the value of the requiresVerification record component.
      Returns:
      the value of the requiresVerification record component
    • isVerified

      public Boolean isVerified()
      Returns the value of the isVerified record component.
      Returns:
      the value of the isVerified record component
    • verificationFailures

      public List<String> verificationFailures()
      Returns the value of the verificationFailures record component.
      Returns:
      the value of the verificationFailures record component
    • verificationAttemptsCount

      public Integer verificationAttemptsCount()
      Returns the value of the verificationAttemptsCount record component.
      Returns:
      the value of the verificationAttemptsCount record component
    • language

      public String language()
      Returns the value of the language record component.
      Returns:
      the value of the language record component
    • verificationAttempts

      public List<ElevenLabsVoicesApi.VerificationAttempt> verificationAttempts()
      Returns the value of the verificationAttempts record component.
      Returns:
      the value of the verificationAttempts record component