28 lines
587 B
C#
28 lines
587 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace LeagueAPI.Models.DDragon.Champions;
|
|
|
|
public record ChampionDataImage
|
|
{
|
|
[JsonPropertyName("full")]
|
|
public string? Full { get; init; }
|
|
|
|
[JsonPropertyName("sprite")]
|
|
public string? Sprite { get; init; }
|
|
|
|
[JsonPropertyName("group")]
|
|
public string? Group { get; init; }
|
|
|
|
[JsonPropertyName("x")]
|
|
public int X { get; init; }
|
|
|
|
[JsonPropertyName("y")]
|
|
public int Y { get; init; }
|
|
|
|
[JsonPropertyName("w")]
|
|
public int W { get; init; }
|
|
|
|
[JsonPropertyName("h")]
|
|
public int H { get; init; }
|
|
}
|