19 lines
415 B
C#
19 lines
415 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace LeagueAPI.Models.DDragon.Champions;
|
|
|
|
public record ChampionDataInfo
|
|
{
|
|
[JsonPropertyName("attack")]
|
|
public int Attack { get; init; }
|
|
|
|
[JsonPropertyName("defense")]
|
|
public int Defense { get; init; }
|
|
|
|
[JsonPropertyName("magic")]
|
|
public int Magic { get; init; }
|
|
|
|
[JsonPropertyName("difficulty")]
|
|
public int Difficulty { get; init; }
|
|
}
|