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