Nullable refernce types refactoring

This commit is contained in:
Mikhail Shabanov committed 2020-12-27 12:39:25 +01:00
1 parent e5c90e03d3
commit e12734981b
85 files changed
+509 -351

No files matched your search

@@ -6,43 +6,43 @@ namespace WotBlitzStatisticsPro.WgApiClient.Model
public class WotEncyclopediaAchievementsResponse
{
[JsonProperty("achievement_id")]
public string AchievementId { get; set; }
public string? AchievementId { get; set; }
///<summary>
/// Achievement condition
///</summary>
[JsonProperty("condition")]
public string Condition { get; set; }
public string? Condition { get; set; }
///<summary>
/// Achievement description
///</summary>
[JsonProperty("description")]
public string Description { get; set; }
public string? Description { get; set; }
///<summary>
/// Historical info
///</summary>
[JsonProperty("hero_info")]
public string HeroInfo { get; set; }
public string? HeroInfo { get; set; }
///<summary>
/// Image link
///</summary>
[JsonProperty("image")]
public string Image { get; set; }
public string? Image { get; set; }
///<summary>
/// Image 180x180px link
///</summary>
[JsonProperty("image_big")]
public string ImageBig { get; set; }
public string? ImageBig { get; set; }
///<summary>
/// Achievement name
///</summary>
[JsonProperty("name")]
public string Name { get; set; }
public string? Name { get; set; }
///<summary>
/// Sort order
@@ -60,7 +60,7 @@ namespace WotBlitzStatisticsPro.WgApiClient.Model
/// Achievement section
///</summary>
[JsonProperty("section")]
public string Section { get; set; }
public string? Section { get; set; }
///<summary>
/// Achievement section order
@@ -72,13 +72,13 @@ namespace WotBlitzStatisticsPro.WgApiClient.Model
/// Achievement Type
///</summary>
[JsonProperty("type")]
public string Type { get; set; }
public string? Type { get; set; }
///<summary>
/// Achievement options
///</summary>
[JsonProperty("options")]
public WotEncyclopediaAchievementsOptions[] Options { get; set; }
public WotEncyclopediaAchievementsOptions[]? Options { get; set; }
}
public class WotEncyclopediaAchievementsOptions
@@ -88,21 +88,21 @@ namespace WotBlitzStatisticsPro.WgApiClient.Model
/// Achievement description
///</summary>
[JsonProperty("description")]
public string Description { get; set; }
public string? Description { get; set; }
///<summary>
/// Image link
///</summary>
[JsonProperty("image")]
public string Image { get; set; }
public string? Image { get; set; }
///<summary>
/// Image 180x180px link
///</summary>
[JsonProperty("image_big")]
public string ImageBig { get; set; }
public string? ImageBig { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
public string? Name { get; set; }
}
}