Add project files.
This commit is contained in:
19
LeagueAPI/Models/DDragon/ChampionResponse.cs
Normal file
19
LeagueAPI/Models/DDragon/ChampionResponse.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using LeagueAPI.Models.DDragon.Champions;
|
||||
|
||||
namespace LeagueAPI.Models.DDragon;
|
||||
|
||||
public record class ChampionResponse
|
||||
{
|
||||
[JsonPropertyName("type")]
|
||||
public string? Type { get; init; }
|
||||
|
||||
[JsonPropertyName("format")]
|
||||
public string? Format { get; init; }
|
||||
|
||||
[JsonPropertyName("version")]
|
||||
public string? Version { get; init; }
|
||||
|
||||
[JsonPropertyName("data")]
|
||||
public Dictionary<string, ChampionData>? Data { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user