Search Results for

    Show / Hide Table of Contents

    Class DiscordCreateTestEntitlement

    Represents a discord Create Test Entitlement API request model.

    Inheritance
    System.Object
    DiscordCreateTestEntitlement
    Implements
    System.IEquatable<DiscordCreateTestEntitlement>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Core.Common.API.Params.Application
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordCreateTestEntitlement : IEquatable<DiscordCreateTestEntitlement>

    Constructors

    | Improve this Doc View Source

    DiscordCreateTestEntitlement(UInt64, UInt64, Int32)

    Represents a discord Create Test Entitlement API request model.

    Declaration
    public DiscordCreateTestEntitlement(ulong SkuId, ulong OwnerId, int OwnerType)
    Parameters
    Type Name Description
    System.UInt64 SkuId

    The sku to grant entitlement to, as Discord for this value.

    System.UInt64 OwnerId

    The guild_id or user_id to grant entitlement to.

    System.Int32 OwnerType

    1 for a server subscription, 2 for a user subscription.

    Properties

    | Improve this Doc View Source

    OwnerId

    Declaration
    [JsonPropertyName("owner_id")]
    public ulong OwnerId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    OwnerType

    Declaration
    [JsonPropertyName("owner_type")]
    public int OwnerType { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SkuId

    Declaration
    [JsonPropertyName("sku_id")]
    public ulong SkuId { get; set; }
    Property Value
    Type Description
    System.UInt64

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX