2023-01-29 01:18:22 +01:00
|
|
|
|
using System.Text.Json.Serialization;
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
2023-03-01 22:06:38 +01:00
|
|
|
|
namespace JpnCardsPokemon.Sdk.Api;
|
2023-01-28 23:54:23 +01:00
|
|
|
|
|
2023-03-01 21:47:26 +01:00
|
|
|
|
public class Card
|
2023-01-28 22:35:56 +01:00
|
|
|
|
{
|
2023-01-28 23:54:23 +01:00
|
|
|
|
public string? Name { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2023-03-01 21:47:42 +01:00
|
|
|
|
[JsonPropertyName("setData")] public Set? Set { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
2023-01-28 23:54:23 +01:00
|
|
|
|
public string[]? Types { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
|
|
|
|
public int Hp { get; set; } = -1;
|
|
|
|
|
|
|
|
|
|
public string? EvolvesFrom { get; set; }
|
|
|
|
|
|
|
|
|
|
// TODO: Type of property is not documented. Has to be evaluated at a later time.
|
|
|
|
|
// public Effect? Effect { get; set; }
|
|
|
|
|
|
|
|
|
|
// TODO: Type of property is not documented. Has to be evaluated at a later time.
|
|
|
|
|
// public Attack[]? Attacks { get; set; }
|
|
|
|
|
|
|
|
|
|
public string[]? Rules { get; set; }
|
|
|
|
|
|
|
|
|
|
// TODO: Type of property is not documented. Has to be evaluated at a later time.
|
|
|
|
|
// public Weakness[]? Weaknesses { get; set; }
|
|
|
|
|
|
|
|
|
|
// TODO: Type of property is not documented. Has to be evaluated at a later time.
|
|
|
|
|
// public Resistance[]? Ressistences { get; set; }
|
|
|
|
|
|
2023-03-01 21:47:42 +01:00
|
|
|
|
[JsonPropertyName("retreatCost")] public string[]? RetreatCosts { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
2023-03-01 21:47:42 +01:00
|
|
|
|
public int? ConvertedRetreatCost { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
2023-01-28 23:54:23 +01:00
|
|
|
|
public string? Supertype { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
|
|
|
|
public string[]? Subtypes { get; set; }
|
|
|
|
|
|
2023-01-28 23:54:23 +01:00
|
|
|
|
public string? Rarity { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
|
|
|
|
// TODO: Type of property is not documented. Has to be evaluated at a later time.
|
|
|
|
|
// public Legality[]? Legalities { get; set; }
|
|
|
|
|
|
2023-01-29 01:18:22 +01:00
|
|
|
|
public string? Artist { get; set; }
|
|
|
|
|
|
2023-01-28 22:35:56 +01:00
|
|
|
|
public string? ImageUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
public string? CardUrl { get; set; }
|
|
|
|
|
|
2023-03-01 21:47:42 +01:00
|
|
|
|
[JsonPropertyName("sequenceNumber")] public int Number { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
2023-01-28 23:54:23 +01:00
|
|
|
|
public string? PrintedNumber { get; set; }
|
2023-01-28 22:35:56 +01:00
|
|
|
|
|
|
|
|
|
public int Uuid { get; set; }
|
|
|
|
|
}
|