Record Class ElevenLabsVoicesApi.Sample
java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsVoicesApi.Sample
- Enclosing class:
- ElevenLabsVoicesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.mimeType()Returns the value of themimeTyperecord component.sampleId()Returns the value of thesampleIdrecord component.Returns the value of thesizeBytesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Sample
Creates an instance of aSamplerecord class.- Parameters:
sampleId- the value for thesampleIdrecord componentfileName- the value for thefileNamerecord componentmimeType- the value for themimeTyperecord componentsizeBytes- the value for thesizeBytesrecord componenthash- the value for thehashrecord 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). -
sampleId
Returns the value of thesampleIdrecord component.- Returns:
- the value of the
sampleIdrecord component
-
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-
sizeBytes
Returns the value of thesizeBytesrecord component.- Returns:
- the value of the
sizeBytesrecord component
-
hash
Returns the value of thehashrecord component.- Returns:
- the value of the
hashrecord component
-