Record Class ElevenLabsVoicesApi.FineTuning

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

public static record ElevenLabsVoicesApi.FineTuning(Boolean isAllowedToFineTune, Map<String,String> state, List<String> verificationFailures, Integer verificationAttemptsCount, Boolean manualVerificationRequested, String language, Map<String,Double> progress, Map<String,String> message, Double datasetDurationSeconds, List<ElevenLabsVoicesApi.VerificationAttempt> verificationAttempts, List<String> sliceIds, ElevenLabsVoicesApi.ManualVerification manualVerification, Integer maxVerificationAttempts, Long nextMaxVerificationAttemptsResetUnixMs) extends Record
  • Constructor Details

    • FineTuning

      public FineTuning(Boolean isAllowedToFineTune, Map<String,String> state, List<String> verificationFailures, Integer verificationAttemptsCount, Boolean manualVerificationRequested, String language, Map<String,Double> progress, Map<String,String> message, Double datasetDurationSeconds, List<ElevenLabsVoicesApi.VerificationAttempt> verificationAttempts, List<String> sliceIds, ElevenLabsVoicesApi.ManualVerification manualVerification, Integer maxVerificationAttempts, Long nextMaxVerificationAttemptsResetUnixMs)
      Creates an instance of a FineTuning record class.
      Parameters:
      isAllowedToFineTune - the value for the isAllowedToFineTune record component
      state - the value for the state record component
      verificationFailures - the value for the verificationFailures record component
      verificationAttemptsCount - the value for the verificationAttemptsCount record component
      manualVerificationRequested - the value for the manualVerificationRequested record component
      language - the value for the language record component
      progress - the value for the progress record component
      message - the value for the message record component
      datasetDurationSeconds - the value for the datasetDurationSeconds record component
      verificationAttempts - the value for the verificationAttempts record component
      sliceIds - the value for the sliceIds record component
      manualVerification - the value for the manualVerification record component
      maxVerificationAttempts - the value for the maxVerificationAttempts record component
      nextMaxVerificationAttemptsResetUnixMs - the value for the nextMaxVerificationAttemptsResetUnixMs 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.
    • isAllowedToFineTune

      public Boolean isAllowedToFineTune()
      Returns the value of the isAllowedToFineTune record component.
      Returns:
      the value of the isAllowedToFineTune record component
    • state

      public Map<String,String> state()
      Returns the value of the state record component.
      Returns:
      the value of the state 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
    • manualVerificationRequested

      public Boolean manualVerificationRequested()
      Returns the value of the manualVerificationRequested record component.
      Returns:
      the value of the manualVerificationRequested record component
    • language

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

      public Map<String,Double> progress()
      Returns the value of the progress record component.
      Returns:
      the value of the progress record component
    • message

      public Map<String,String> message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component
    • datasetDurationSeconds

      public Double datasetDurationSeconds()
      Returns the value of the datasetDurationSeconds record component.
      Returns:
      the value of the datasetDurationSeconds record component
    • verificationAttempts

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

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

      public ElevenLabsVoicesApi.ManualVerification manualVerification()
      Returns the value of the manualVerification record component.
      Returns:
      the value of the manualVerification record component
    • maxVerificationAttempts

      public Integer maxVerificationAttempts()
      Returns the value of the maxVerificationAttempts record component.
      Returns:
      the value of the maxVerificationAttempts record component
    • nextMaxVerificationAttemptsResetUnixMs

      public Long nextMaxVerificationAttemptsResetUnixMs()
      Returns the value of the nextMaxVerificationAttemptsResetUnixMs record component.
      Returns:
      the value of the nextMaxVerificationAttemptsResetUnixMs record component