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 Summary
ConstructorsConstructorDescriptionFineTuning(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 aFineTuningrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedatasetDurationSecondsrecord 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 theisAllowedToFineTunerecord component.language()Returns the value of thelanguagerecord component.Returns the value of themanualVerificationrecord component.Returns the value of themanualVerificationRequestedrecord component.Returns the value of themaxVerificationAttemptsrecord component.message()Returns the value of themessagerecord component.Returns the value of thenextMaxVerificationAttemptsResetUnixMsrecord component.progress()Returns the value of theprogressrecord component.sliceIds()Returns the value of thesliceIdsrecord component.state()Returns the value of thestaterecord 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
-
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 aFineTuningrecord class.- Parameters:
isAllowedToFineTune- the value for theisAllowedToFineTunerecord componentstate- the value for thestaterecord componentverificationFailures- the value for theverificationFailuresrecord componentverificationAttemptsCount- the value for theverificationAttemptsCountrecord componentmanualVerificationRequested- the value for themanualVerificationRequestedrecord componentlanguage- the value for thelanguagerecord componentprogress- the value for theprogressrecord componentmessage- the value for themessagerecord componentdatasetDurationSeconds- the value for thedatasetDurationSecondsrecord componentverificationAttempts- the value for theverificationAttemptsrecord componentsliceIds- the value for thesliceIdsrecord componentmanualVerification- the value for themanualVerificationrecord componentmaxVerificationAttempts- the value for themaxVerificationAttemptsrecord componentnextMaxVerificationAttemptsResetUnixMs- the value for thenextMaxVerificationAttemptsResetUnixMsrecord 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). -
isAllowedToFineTune
Returns the value of theisAllowedToFineTunerecord component.- Returns:
- the value of the
isAllowedToFineTunerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord 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
-
manualVerificationRequested
Returns the value of themanualVerificationRequestedrecord component.- Returns:
- the value of the
manualVerificationRequestedrecord component
-
language
Returns the value of thelanguagerecord component.- Returns:
- the value of the
languagerecord component
-
progress
Returns the value of theprogressrecord component.- Returns:
- the value of the
progressrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
datasetDurationSeconds
Returns the value of thedatasetDurationSecondsrecord component.- Returns:
- the value of the
datasetDurationSecondsrecord component
-
verificationAttempts
Returns the value of theverificationAttemptsrecord component.- Returns:
- the value of the
verificationAttemptsrecord component
-
sliceIds
Returns the value of thesliceIdsrecord component.- Returns:
- the value of the
sliceIdsrecord component
-
manualVerification
Returns the value of themanualVerificationrecord component.- Returns:
- the value of the
manualVerificationrecord component
-
maxVerificationAttempts
Returns the value of themaxVerificationAttemptsrecord component.- Returns:
- the value of the
maxVerificationAttemptsrecord component
-
nextMaxVerificationAttemptsResetUnixMs
Returns the value of thenextMaxVerificationAttemptsResetUnixMsrecord component.- Returns:
- the value of the
nextMaxVerificationAttemptsResetUnixMsrecord component
-