creature-bird-dwarf/ScryfallTypes/RelatedCard.cs
2021-10-07 06:27:33 -04:00

17 lines
864 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
namespace Scryfalltypes
{
using UUID = System.String;
using Colors = IEnumerable<Color>;
public class RelatedCard
{
public UUID id { get; set; } //An unique ID for this card in Scryfalls database.
//public string object { get; set; } //A content type for this object, always related_card.
public string component { get; set; } //A field explaining what role this card plays in this relationship, one of token, meld_part, meld_result, or combo_piece.
public string name { get; set; } //The name of this particular related card.
public string type_line { get; set; } //The type line of this card.
public Uri uri { get; set; } //A URI where you can retrieve a full object describing this card on Scryfalls API.
}
}