Table of Contents

Class TestEntitlementProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class TestEntitlementProperties
Inheritance
TestEntitlementProperties
Inherited Members

Constructors

TestEntitlementProperties(ulong, ulong, TestEntitlementOwnerType)

public TestEntitlementProperties(ulong skuId, ulong ownerId, TestEntitlementOwnerType ownerType)

Parameters

skuId ulong
ownerId ulong
ownerType TestEntitlementOwnerType

Properties

OwnerId

[JsonPropertyName("owner_id")]
public ulong OwnerId { get; set; }

Property Value

ulong

OwnerType

[JsonPropertyName("owner_type")]
public TestEntitlementOwnerType OwnerType { get; set; }

Property Value

TestEntitlementOwnerType

SkuId

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

Property Value

ulong

Methods

WithOwnerId(ulong)

public TestEntitlementProperties WithOwnerId(ulong ownerId)

Parameters

ownerId ulong

Returns

TestEntitlementProperties

WithOwnerType(TestEntitlementOwnerType)

public TestEntitlementProperties WithOwnerType(TestEntitlementOwnerType ownerType)

Parameters

ownerType TestEntitlementOwnerType

Returns

TestEntitlementProperties

WithSkuId(ulong)

public TestEntitlementProperties WithSkuId(ulong skuId)

Parameters

skuId ulong

Returns

TestEntitlementProperties