Class CardSet
- Namespace
- TcgDex.Models
- Assembly
- TcgDex.CSharpSdk.dll
A full set, as returned by the single-set endpoint. Includes its card list.
public sealed record CardSet : IEquatable<CardSet>Inheritance
Implements
Inherited Members
Extension Methods
Properties
Abbreviation
The set's short code, when it has one.
public CardSetAbbreviation? Abbreviation { get; init; }Property Value
CardCount
The set's card counts.
public CardCount? CardCount { get; init; }Property Value
Cards
The cards in this set, in brief form.
public IReadOnlyList<CardBrief> Cards { get; init; }Property Value
Id
The set identifier, for example "swsh3".
public required string Id { get; init; }Property Value
Legality
Tournament legality for the set as a whole.
[JsonPropertyName("legal")]
public Legality? Legality { get; init; }Property Value
Logo
Logo image URL, without file extension.
public string? Logo { get; init; }Property Value
Name
The set's display name.
public required string Name { get; init; }Property Value
ReleaseDate
Release date, as a date of kind System.DateTimeKind.Unspecified
with no time component; null when the API sends none
or sends something other than a full yyyy-MM-dd date.
[JsonConverter(typeof(ReleaseDateConverter))]
public DateTime? ReleaseDate { get; init; }Property Value
Series
The series this set belongs to.
[JsonPropertyName("serie")]
public SeriesBrief? Series { get; init; }Property Value
Symbol
Symbol image URL, without file extension.
public string? Symbol { get; init; }Property Value
TcgOnline
The set's code in Pokémon TCG Online, when it has one.
public string? TcgOnline { get; init; }