Files

108 lines
2.2 KiB
C#
Raw Permalink Normal View History

2020-06-06 15:54:23 +02:00
using System;
using Newtonsoft.Json;
namespace WotBlitzStatisticsPro.WgApiClient.Model
{
public class WotEncyclopediaAchievementsResponse
{
[JsonProperty("achievement_id")]
2020-12-27 12:39:25 +01:00
public string? AchievementId { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Achievement condition
///</summary>
[JsonProperty("condition")]
2020-12-27 12:39:25 +01:00
public string? Condition { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Achievement description
///</summary>
[JsonProperty("description")]
2020-12-27 12:39:25 +01:00
public string? Description { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Historical info
///</summary>
[JsonProperty("hero_info")]
2020-12-27 12:39:25 +01:00
public string? HeroInfo { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Image link
///</summary>
[JsonProperty("image")]
2020-12-27 12:39:25 +01:00
public string? Image { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Image 180x180px link
///</summary>
[JsonProperty("image_big")]
2020-12-27 12:39:25 +01:00
public string? ImageBig { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Achievement name
///</summary>
[JsonProperty("name")]
2020-12-27 12:39:25 +01:00
public string? Name { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Sort order
///</summary>
[JsonProperty("order")]
public long? Order { get; set; }
///<summary>
/// Is outdated achievement
///</summary>
[JsonProperty("outdated")]
public bool Outdated { get; set; }
///<summary>
/// Achievement section
///</summary>
[JsonProperty("section")]
2020-12-27 12:39:25 +01:00
public string? Section { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Achievement section order
///</summary>
[JsonProperty("section_order")]
public long? SectionOrder { get; set; }
///<summary>
/// Achievement Type
///</summary>
[JsonProperty("type")]
2020-12-27 12:39:25 +01:00
public string? Type { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Achievement options
///</summary>
[JsonProperty("options")]
2020-12-27 12:39:25 +01:00
public WotEncyclopediaAchievementsOptions[]? Options { get; set; }
2020-06-06 15:54:23 +02:00
}
public class WotEncyclopediaAchievementsOptions
{
///<summary>
/// Achievement description
///</summary>
[JsonProperty("description")]
2020-12-27 12:39:25 +01:00
public string? Description { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Image link
///</summary>
[JsonProperty("image")]
2020-12-27 12:39:25 +01:00
public string? Image { get; set; }
2020-06-06 15:54:23 +02:00
///<summary>
/// Image 180x180px link
///</summary>
[JsonProperty("image_big")]
2020-12-27 12:39:25 +01:00
public string? ImageBig { get; set; }
2020-06-06 15:54:23 +02:00
[JsonProperty("name")]
2020-12-27 12:39:25 +01:00
public string? Name { get; set; }
2020-06-06 15:54:23 +02:00
}
}