Table of Contents

Class JsonEntitlement

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonEntitlement : JsonEntity
Inheritance
JsonEntitlement
Inherited Members

Constructors

JsonEntitlement()

public JsonEntitlement()

Properties

ApplicationId

[JsonPropertyName("application_id")]
public ulong ApplicationId { get; set; }

Property Value

ulong

Consumed

[JsonPropertyName("consumed")]
public bool? Consumed { get; set; }

Property Value

bool?

Deleted

[JsonPropertyName("deleted")]
public bool Deleted { get; set; }

Property Value

bool

EndsAt

[JsonPropertyName("ends_at")]
public DateTimeOffset? EndsAt { get; set; }

Property Value

DateTimeOffset?

GuildId

[JsonPropertyName("guild_id")]
public ulong? GuildId { get; set; }

Property Value

ulong?

SkuId

[JsonPropertyName("sku_id")]
public ulong SkuId { get; set; }

Property Value

ulong

StartsAt

[JsonPropertyName("starts_at")]
public DateTimeOffset? StartsAt { get; set; }

Property Value

DateTimeOffset?

Type

[JsonPropertyName("type")]
public EntitlementType Type { get; set; }

Property Value

EntitlementType

UserId

[JsonPropertyName("user_id")]
public ulong? UserId { get; set; }

Property Value

ulong?