Skip to content

Owned Item

OwnedItem

C#
1
2
3
4
5
6
7
8
9
public record Entitlement(
    [property: JsonPropertyName("TypeID")] string TypeID,
    [property: JsonPropertyName("ItemID")] string ItemID
);

public record OwnedItem(
    [property: JsonPropertyName("ItemTypeID")] string ItemTypeID,
    [property: JsonPropertyName("Entitlements")] IReadOnlyList<Entitlement> Entitlements
);