Adds price data enumerable to the card API object
This commit is contained in:
parent
530bbda1b2
commit
51f530687f
|
@ -1,4 +1,6 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using JpnCardsPokemon.Sdk.Utils.JsonConverter;
|
||||
|
||||
namespace JpnCardsPokemon.Sdk.Api;
|
||||
|
||||
|
@ -30,6 +32,9 @@ public class Card
|
|||
// TODO: Type of property is not documented. Has to be evaluated at a later time.
|
||||
// public Resistance[]? Ressistences { get; set; }
|
||||
|
||||
[JsonConverter(typeof(CardPriceConverter))]
|
||||
public IEnumerable<CardPrice>? Prices { get; set; }
|
||||
|
||||
[JsonPropertyName("retreatCost")] public string[]? RetreatCosts { get; set; }
|
||||
|
||||
public int? ConvertedRetreatCost { get; set; }
|
||||
|
|
Loading…
Reference in a new issue