Record Class ElevenLabsVoicesApi.VoiceSharing
java.lang.Object
java.lang.Record
org.springframework.ai.elevenlabs.api.ElevenLabsVoicesApi.VoiceSharing
- Enclosing class:
ElevenLabsVoicesApi
public static record ElevenLabsVoicesApi.VoiceSharing(ElevenLabsVoicesApi.VoiceSharing.StatusEnum status, String historyItemSampleId, Integer dateUnix, List<String> whitelistedEmails, String publicOwnerId, String originalVoiceId, Boolean financialRewardsEnabled, Boolean freeUsersAllowed, Boolean liveModerationEnabled, Double rate, Integer noticePeriod, Integer disableAtUnix, Boolean voiceMixingAllowed, Boolean featured, ElevenLabsVoicesApi.VoiceSharing.CategoryEnum category, Boolean readerAppEnabled, String imageUrl, String banReason, Integer likedByCount, Integer clonedByCount, String name, String description, Map<String,String> labels, ElevenLabsVoicesApi.VoiceSharing.ReviewStatusEnum reviewStatus, String reviewMessage, Boolean enabledInLibrary, String instagramUsername, String twitterUsername, String youtubeUsername, String tiktokUsername, ElevenLabsVoicesApi.VoiceSharingModerationCheck moderationCheck, List<ElevenLabsVoicesApi.ReaderResource> readerRestrictedOn)
extends Record
- Author:
- Alexandros Pappas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionVoiceSharing(ElevenLabsVoicesApi.VoiceSharing.StatusEnum status, String historyItemSampleId, Integer dateUnix, List<String> whitelistedEmails, String publicOwnerId, String originalVoiceId, Boolean financialRewardsEnabled, Boolean freeUsersAllowed, Boolean liveModerationEnabled, Double rate, Integer noticePeriod, Integer disableAtUnix, Boolean voiceMixingAllowed, Boolean featured, ElevenLabsVoicesApi.VoiceSharing.CategoryEnum category, Boolean readerAppEnabled, String imageUrl, String banReason, Integer likedByCount, Integer clonedByCount, String name, String description, Map<String, String> labels, ElevenLabsVoicesApi.VoiceSharing.ReviewStatusEnum reviewStatus, String reviewMessage, Boolean enabledInLibrary, String instagramUsername, String twitterUsername, String youtubeUsername, String tiktokUsername, ElevenLabsVoicesApi.VoiceSharingModerationCheck moderationCheck, List<ElevenLabsVoicesApi.ReaderResource> readerRestrictedOn) Creates an instance of aVoiceSharingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebanReasonrecord component.category()Returns the value of thecategoryrecord component.Returns the value of theclonedByCountrecord component.dateUnix()Returns the value of thedateUnixrecord component.Returns the value of thedescriptionrecord component.Returns the value of thedisableAtUnixrecord component.Returns the value of theenabledInLibraryrecord component.final booleanIndicates whether some other object is "equal to" this one.featured()Returns the value of thefeaturedrecord component.Returns the value of thefinancialRewardsEnabledrecord component.Returns the value of thefreeUsersAllowedrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thehistoryItemSampleIdrecord component.imageUrl()Returns the value of theimageUrlrecord component.Returns the value of theinstagramUsernamerecord component.labels()Returns the value of thelabelsrecord component.Returns the value of thelikedByCountrecord component.Returns the value of theliveModerationEnabledrecord component.Returns the value of themoderationCheckrecord component.name()Returns the value of thenamerecord component.Returns the value of thenoticePeriodrecord component.Returns the value of theoriginalVoiceIdrecord component.Returns the value of thepublicOwnerIdrecord component.rate()Returns the value of theraterecord component.Returns the value of thereaderAppEnabledrecord component.Returns the value of thereaderRestrictedOnrecord component.Returns the value of thereviewMessagerecord component.Returns the value of thereviewStatusrecord component.status()Returns the value of thestatusrecord component.Returns the value of thetiktokUsernamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetwitterUsernamerecord component.Returns the value of thevoiceMixingAllowedrecord component.Returns the value of thewhitelistedEmailsrecord component.Returns the value of theyoutubeUsernamerecord component.
-
Constructor Details
-
VoiceSharing
public VoiceSharing(ElevenLabsVoicesApi.VoiceSharing.StatusEnum status, String historyItemSampleId, Integer dateUnix, List<String> whitelistedEmails, String publicOwnerId, String originalVoiceId, Boolean financialRewardsEnabled, Boolean freeUsersAllowed, Boolean liveModerationEnabled, Double rate, Integer noticePeriod, Integer disableAtUnix, Boolean voiceMixingAllowed, Boolean featured, ElevenLabsVoicesApi.VoiceSharing.CategoryEnum category, Boolean readerAppEnabled, String imageUrl, String banReason, Integer likedByCount, Integer clonedByCount, String name, String description, Map<String, String> labels, ElevenLabsVoicesApi.VoiceSharing.ReviewStatusEnum reviewStatus, String reviewMessage, Boolean enabledInLibrary, String instagramUsername, String twitterUsername, String youtubeUsername, String tiktokUsername, ElevenLabsVoicesApi.VoiceSharingModerationCheck moderationCheck, List<ElevenLabsVoicesApi.ReaderResource> readerRestrictedOn) Creates an instance of aVoiceSharingrecord class.- Parameters:
status- the value for thestatusrecord componenthistoryItemSampleId- the value for thehistoryItemSampleIdrecord componentdateUnix- the value for thedateUnixrecord componentwhitelistedEmails- the value for thewhitelistedEmailsrecord componentpublicOwnerId- the value for thepublicOwnerIdrecord componentoriginalVoiceId- the value for theoriginalVoiceIdrecord componentfinancialRewardsEnabled- the value for thefinancialRewardsEnabledrecord componentfreeUsersAllowed- the value for thefreeUsersAllowedrecord componentliveModerationEnabled- the value for theliveModerationEnabledrecord componentrate- the value for theraterecord componentnoticePeriod- the value for thenoticePeriodrecord componentdisableAtUnix- the value for thedisableAtUnixrecord componentvoiceMixingAllowed- the value for thevoiceMixingAllowedrecord componentfeatured- the value for thefeaturedrecord componentcategory- the value for thecategoryrecord componentreaderAppEnabled- the value for thereaderAppEnabledrecord componentimageUrl- the value for theimageUrlrecord componentbanReason- the value for thebanReasonrecord componentlikedByCount- the value for thelikedByCountrecord componentclonedByCount- the value for theclonedByCountrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentlabels- the value for thelabelsrecord componentreviewStatus- the value for thereviewStatusrecord componentreviewMessage- the value for thereviewMessagerecord componentenabledInLibrary- the value for theenabledInLibraryrecord componentinstagramUsername- the value for theinstagramUsernamerecord componenttwitterUsername- the value for thetwitterUsernamerecord componentyoutubeUsername- the value for theyoutubeUsernamerecord componenttiktokUsername- the value for thetiktokUsernamerecord componentmoderationCheck- the value for themoderationCheckrecord componentreaderRestrictedOn- the value for thereaderRestrictedOnrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
historyItemSampleId
Returns the value of thehistoryItemSampleIdrecord component.- Returns:
- the value of the
historyItemSampleIdrecord component
-
dateUnix
Returns the value of thedateUnixrecord component.- Returns:
- the value of the
dateUnixrecord component
-
whitelistedEmails
-
publicOwnerId
Returns the value of thepublicOwnerIdrecord component.- Returns:
- the value of the
publicOwnerIdrecord component
-
originalVoiceId
Returns the value of theoriginalVoiceIdrecord component.- Returns:
- the value of the
originalVoiceIdrecord component
-
financialRewardsEnabled
Returns the value of thefinancialRewardsEnabledrecord component.- Returns:
- the value of the
financialRewardsEnabledrecord component
-
freeUsersAllowed
Returns the value of thefreeUsersAllowedrecord component.- Returns:
- the value of the
freeUsersAllowedrecord component
-
liveModerationEnabled
Returns the value of theliveModerationEnabledrecord component.- Returns:
- the value of the
liveModerationEnabledrecord component
-
rate
Returns the value of theraterecord component.- Returns:
- the value of the
raterecord component
-
noticePeriod
Returns the value of thenoticePeriodrecord component.- Returns:
- the value of the
noticePeriodrecord component
-
disableAtUnix
Returns the value of thedisableAtUnixrecord component.- Returns:
- the value of the
disableAtUnixrecord component
-
voiceMixingAllowed
Returns the value of thevoiceMixingAllowedrecord component.- Returns:
- the value of the
voiceMixingAllowedrecord component
-
featured
Returns the value of thefeaturedrecord component.- Returns:
- the value of the
featuredrecord component
-
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
readerAppEnabled
Returns the value of thereaderAppEnabledrecord component.- Returns:
- the value of the
readerAppEnabledrecord component
-
imageUrl
Returns the value of theimageUrlrecord component.- Returns:
- the value of the
imageUrlrecord component
-
banReason
Returns the value of thebanReasonrecord component.- Returns:
- the value of the
banReasonrecord component
-
likedByCount
Returns the value of thelikedByCountrecord component.- Returns:
- the value of the
likedByCountrecord component
-
clonedByCount
Returns the value of theclonedByCountrecord component.- Returns:
- the value of the
clonedByCountrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
labels
-
reviewStatus
Returns the value of thereviewStatusrecord component.- Returns:
- the value of the
reviewStatusrecord component
-
reviewMessage
Returns the value of thereviewMessagerecord component.- Returns:
- the value of the
reviewMessagerecord component
-
enabledInLibrary
Returns the value of theenabledInLibraryrecord component.- Returns:
- the value of the
enabledInLibraryrecord component
-
instagramUsername
Returns the value of theinstagramUsernamerecord component.- Returns:
- the value of the
instagramUsernamerecord component
-
twitterUsername
Returns the value of thetwitterUsernamerecord component.- Returns:
- the value of the
twitterUsernamerecord component
-
youtubeUsername
Returns the value of theyoutubeUsernamerecord component.- Returns:
- the value of the
youtubeUsernamerecord component
-
tiktokUsername
Returns the value of thetiktokUsernamerecord component.- Returns:
- the value of the
tiktokUsernamerecord component
-
moderationCheck
Returns the value of themoderationCheckrecord component.- Returns:
- the value of the
moderationCheckrecord component
-
readerRestrictedOn
Returns the value of thereaderRestrictedOnrecord component.- Returns:
- the value of the
readerRestrictedOnrecord component
-