Updated data types.
This commit is contained in:
parent
d2af8b1864
commit
7cea1c157e
@ -12,7 +12,7 @@ namespace SteamStorefrontAPI
|
||||
public class Category
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public long Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonProperty("description")]
|
||||
public string Description { get; set; }
|
||||
|
@ -12,7 +12,7 @@ namespace SteamStorefrontAPI
|
||||
public class Genre
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonProperty("description")]
|
||||
public string Description { get; set; }
|
||||
|
@ -12,7 +12,7 @@ namespace SteamStorefrontAPI
|
||||
public class Movie
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public long Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
@ -23,7 +23,7 @@ namespace SteamStorefrontAPI
|
||||
public double Final { get; set; }
|
||||
|
||||
[JsonProperty("discount_percent")]
|
||||
public long DiscountPercent { get; set; }
|
||||
public int DiscountPercent { get; set; }
|
||||
}
|
||||
|
||||
public class LongToDoubleConverter : JsonConverter
|
||||
|
@ -13,7 +13,7 @@ namespace SteamStorefrontAPI
|
||||
public class Screenshot
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public long Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonProperty("path_thumbnail")]
|
||||
public string PathThumbnail { get; set; }
|
||||
|
@ -19,7 +19,7 @@ namespace SteamStorefrontAPI.Classes
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("steam_appid")]
|
||||
public long SteamAppid { get; set; }
|
||||
public int SteamAppid { get; set; }
|
||||
|
||||
[JsonProperty("required_age")]
|
||||
public string RequiredAge { get; set; }
|
||||
|
@ -13,13 +13,13 @@ namespace SteamStorefrontAPI
|
||||
public class Sub
|
||||
{
|
||||
[JsonProperty("packageid")]
|
||||
public long Packageid { get; set; }
|
||||
public int Packageid { get; set; }
|
||||
|
||||
[JsonProperty("percent_savings_text")]
|
||||
public string PercentSavingsText { get; set; }
|
||||
|
||||
[JsonProperty("percent_savings")]
|
||||
public long PercentSavings { get; set; }
|
||||
public int PercentSavings { get; set; }
|
||||
|
||||
[JsonProperty("option_text")]
|
||||
public string OptionText { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user