Search Results for

    Show / Hide Table of Contents

    Class UserSubscription

    Inheritance
    object
    UserSubscription
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.ElevenLabs
    Assembly: Glitch9.AIDevKit.Provider.ElevenLabs.dll
    Syntax
    public class UserSubscription

    Properties

    | Edit this page View Source

    AllowedToExtendCharacterLimit

    Required. Whether the user is allowed to extend their character limit.

    Declaration
    [JsonProperty("allowed_to_extend_character_limit")]
    public bool AllowedToExtendCharacterLimit { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    BillingPeriod

    Optional. The billing period of the user's subscription.

    Declaration
    [JsonProperty("billing_period")]
    public TimePeriod? BillingPeriod { get; set; }
    Property Value
    Type Description
    TimePeriod?
    | Edit this page View Source

    CanExtendCharacterLimit

    Required. Whether the user can extend their character limit.

    Declaration
    [JsonProperty("can_extend_character_limit")]
    public bool CanExtendCharacterLimit { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    CanExtendVoiceLimit

    Required. Whether the user can extend their voice limit.

    Declaration
    [JsonProperty("can_extend_voice_limit")]
    public bool CanExtendVoiceLimit { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    CanUseInstantVoiceCloning

    Required. Whether the user can use instant voice cloning.

    Declaration
    [JsonProperty("can_use_instant_voice_cloning")]
    public bool CanUseInstantVoiceCloning { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    CanUseProfessionalVoiceCloning

    Required. Whether the user can use professional voice cloning.

    Declaration
    [JsonProperty("can_use_professional_voice_cloning")]
    public bool CanUseProfessionalVoiceCloning { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    CharacterCount

    Required. The number of characters used by the user.

    Declaration
    [JsonProperty("character_count")]
    public int CharacterCount { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CharacterLimit

    Required. The maximum number of characters allowed in the current billing period.

    Declaration
    [JsonProperty("character_limit")]
    public int CharacterLimit { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CharacterRefreshPeriod

    Optional. The character refresh period of the user's subscription.

    Declaration
    [JsonProperty("character_refresh_period")]
    public TimePeriod? CharacterRefreshPeriod { get; set; }
    Property Value
    Type Description
    TimePeriod?
    | Edit this page View Source

    Currency

    Optional. The currency of the user's subscription.

    Declaration
    [JsonProperty("currency")]
    public SubscriptionCurrency? Currency { get; set; }
    Property Value
    Type Description
    SubscriptionCurrency?
    | Edit this page View Source

    HasOpenInvoices

    Required. Whether the user has open invoices.

    Declaration
    [JsonProperty("has_open_invoices")]
    public bool HasOpenInvoices { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MaxCharacterLimitExtension

    Optional. Maximum number of characters that the character limit can be exceeded by. Managed by the workspace admin.

    Declaration
    [JsonProperty("max_character_limit_extension")]
    public int? MaxCharacterLimitExtension { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    MaxVoiceAddEdits

    Optional. The maximum number of voice add/edits allowed for the user.

    Declaration
    [JsonProperty("max_voice_add_edits")]
    public int? MaxVoiceAddEdits { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    NextCharacterCountResetUnix

    Optional. The Unix timestamp of the next character count reset.

    Declaration
    [JsonProperty("next_character_count_reset_unix")]
    public UnixTime? NextCharacterCountResetUnix { get; set; }
    Property Value
    Type Description
    UnixTime?
    | Edit this page View Source

    NextInvoice

    Optional. The next invoice for the user.

    Declaration
    [JsonProperty("next_invoice")]
    public NextInvoice NextInvoice { get; set; }
    Property Value
    Type Description
    NextInvoice
    | Edit this page View Source

    ProfessionalVoiceLimit

    Required. The maximum number of professional voices allowed for the user.

    Declaration
    [JsonProperty("professional_voice_limit")]
    public int ProfessionalVoiceLimit { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    ProfessionalVoiceSlotsUsed

    Required. The number of professional voice slots used by the workspace/user if single seat.

    Declaration
    [JsonProperty("professional_voice_slots_used")]
    public int ProfessionalVoiceSlotsUsed { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Status

    Required. The status of the user's subscription.

    Declaration
    [JsonProperty("status")]
    public SubscriptionStatus Status { get; set; }
    Property Value
    Type Description
    SubscriptionStatus
    | Edit this page View Source

    Tier

    Required. The tier of the user's subscription.

    Declaration
    [JsonProperty("tier")]
    public string Tier { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    VoiceAddEditCounter

    Required. The number of voice add/edits used by the user.

    Declaration
    [JsonProperty("voice_add_edit_counter")]
    public int VoiceAddEditCounter { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    VoiceLimit

    Required. The maximum number of voice slots allowed for the user.

    Declaration
    [JsonProperty("voice_limit")]
    public int VoiceLimit { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    VoiceSlotsUsed

    Required. The number of voice slots used by the user.

    Declaration
    [JsonProperty("voice_slots_used")]
    public int VoiceSlotsUsed { get; set; }
    Property Value
    Type Description
    int

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation