Table of Contents

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

CardSetAbbreviation?

CardCount

The set's card counts.

public CardCount? CardCount { get; init; }

Property Value

CardCount?

Cards

The cards in this set, in brief form.

public IReadOnlyList<CardBrief> Cards { get; init; }

Property Value

IReadOnlyList<CardBrief>

Id

The set identifier, for example "swsh3".

public required string Id { get; init; }

Property Value

string

Legality

Tournament legality for the set as a whole.

[JsonPropertyName("legal")]
public Legality? Legality { get; init; }

Property Value

Legality?

Logo image URL, without file extension.

public string? Logo { get; init; }

Property Value

string?

Name

The set's display name.

public required string Name { get; init; }

Property Value

string

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

DateTime?

Series

The series this set belongs to.

[JsonPropertyName("serie")]
public SeriesBrief? Series { get; init; }

Property Value

SeriesBrief?

Symbol

Symbol image URL, without file extension.

public string? Symbol { get; init; }

Property Value

string?

TcgOnline

The set's code in Pokémon TCG Online, when it has one.

public string? TcgOnline { get; init; }

Property Value

string?