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
  • 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 a VoiceSharing record class.
      Parameters:
      status - the value for the status record component
      historyItemSampleId - the value for the historyItemSampleId record component
      dateUnix - the value for the dateUnix record component
      whitelistedEmails - the value for the whitelistedEmails record component
      publicOwnerId - the value for the publicOwnerId record component
      originalVoiceId - the value for the originalVoiceId record component
      financialRewardsEnabled - the value for the financialRewardsEnabled record component
      freeUsersAllowed - the value for the freeUsersAllowed record component
      liveModerationEnabled - the value for the liveModerationEnabled record component
      rate - the value for the rate record component
      noticePeriod - the value for the noticePeriod record component
      disableAtUnix - the value for the disableAtUnix record component
      voiceMixingAllowed - the value for the voiceMixingAllowed record component
      featured - the value for the featured record component
      category - the value for the category record component
      readerAppEnabled - the value for the readerAppEnabled record component
      imageUrl - the value for the imageUrl record component
      banReason - the value for the banReason record component
      likedByCount - the value for the likedByCount record component
      clonedByCount - the value for the clonedByCount record component
      name - the value for the name record component
      description - the value for the description record component
      labels - the value for the labels record component
      reviewStatus - the value for the reviewStatus record component
      reviewMessage - the value for the reviewMessage record component
      enabledInLibrary - the value for the enabledInLibrary record component
      instagramUsername - the value for the instagramUsername record component
      twitterUsername - the value for the twitterUsername record component
      youtubeUsername - the value for the youtubeUsername record component
      tiktokUsername - the value for the tiktokUsername record component
      moderationCheck - the value for the moderationCheck record component
      readerRestrictedOn - the value for the readerRestrictedOn 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.
    • status

      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • historyItemSampleId

      public String historyItemSampleId()
      Returns the value of the historyItemSampleId record component.
      Returns:
      the value of the historyItemSampleId record component
    • dateUnix

      public Integer dateUnix()
      Returns the value of the dateUnix record component.
      Returns:
      the value of the dateUnix record component
    • whitelistedEmails

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

      public String publicOwnerId()
      Returns the value of the publicOwnerId record component.
      Returns:
      the value of the publicOwnerId record component
    • originalVoiceId

      public String originalVoiceId()
      Returns the value of the originalVoiceId record component.
      Returns:
      the value of the originalVoiceId record component
    • financialRewardsEnabled

      public Boolean financialRewardsEnabled()
      Returns the value of the financialRewardsEnabled record component.
      Returns:
      the value of the financialRewardsEnabled record component
    • freeUsersAllowed

      public Boolean freeUsersAllowed()
      Returns the value of the freeUsersAllowed record component.
      Returns:
      the value of the freeUsersAllowed record component
    • liveModerationEnabled

      public Boolean liveModerationEnabled()
      Returns the value of the liveModerationEnabled record component.
      Returns:
      the value of the liveModerationEnabled record component
    • rate

      public Double rate()
      Returns the value of the rate record component.
      Returns:
      the value of the rate record component
    • noticePeriod

      public Integer noticePeriod()
      Returns the value of the noticePeriod record component.
      Returns:
      the value of the noticePeriod record component
    • disableAtUnix

      public Integer disableAtUnix()
      Returns the value of the disableAtUnix record component.
      Returns:
      the value of the disableAtUnix record component
    • voiceMixingAllowed

      public Boolean voiceMixingAllowed()
      Returns the value of the voiceMixingAllowed record component.
      Returns:
      the value of the voiceMixingAllowed record component
    • featured

      public Boolean featured()
      Returns the value of the featured record component.
      Returns:
      the value of the featured record component
    • category

      Returns the value of the category record component.
      Returns:
      the value of the category record component
    • readerAppEnabled

      public Boolean readerAppEnabled()
      Returns the value of the readerAppEnabled record component.
      Returns:
      the value of the readerAppEnabled record component
    • imageUrl

      public String imageUrl()
      Returns the value of the imageUrl record component.
      Returns:
      the value of the imageUrl record component
    • banReason

      public String banReason()
      Returns the value of the banReason record component.
      Returns:
      the value of the banReason record component
    • likedByCount

      public Integer likedByCount()
      Returns the value of the likedByCount record component.
      Returns:
      the value of the likedByCount record component
    • clonedByCount

      public Integer clonedByCount()
      Returns the value of the clonedByCount record component.
      Returns:
      the value of the clonedByCount record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • labels

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

      Returns the value of the reviewStatus record component.
      Returns:
      the value of the reviewStatus record component
    • reviewMessage

      public String reviewMessage()
      Returns the value of the reviewMessage record component.
      Returns:
      the value of the reviewMessage record component
    • enabledInLibrary

      public Boolean enabledInLibrary()
      Returns the value of the enabledInLibrary record component.
      Returns:
      the value of the enabledInLibrary record component
    • instagramUsername

      public String instagramUsername()
      Returns the value of the instagramUsername record component.
      Returns:
      the value of the instagramUsername record component
    • twitterUsername

      public String twitterUsername()
      Returns the value of the twitterUsername record component.
      Returns:
      the value of the twitterUsername record component
    • youtubeUsername

      public String youtubeUsername()
      Returns the value of the youtubeUsername record component.
      Returns:
      the value of the youtubeUsername record component
    • tiktokUsername

      public String tiktokUsername()
      Returns the value of the tiktokUsername record component.
      Returns:
      the value of the tiktokUsername record component
    • moderationCheck

      Returns the value of the moderationCheck record component.
      Returns:
      the value of the moderationCheck record component
    • readerRestrictedOn

      public List<ElevenLabsVoicesApi.ReaderResource> readerRestrictedOn()
      Returns the value of the readerRestrictedOn record component.
      Returns:
      the value of the readerRestrictedOn record component