66 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SteamStorefrontAPI.Classes
{
public class FeaturedApp
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("type")]
public long Type { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("discounted")]
public bool Discounted { get; set; }
[JsonProperty("discount_percent")]
public long DiscountPercent { get; set; }
[JsonProperty("original_price")]
public long? OriginalPrice { get; set; }
[JsonProperty("final_price")]
public long FinalPrice { get; set; }
[JsonProperty("currency")]
public Currency Currency { get; set; }
[JsonProperty("large_capsule_image")]
public string LargeCapsuleImage { get; set; }
[JsonProperty("small_capsule_image")]
public string SmallCapsuleImage { get; set; }
[JsonProperty("windows_available")]
public bool WindowsAvailable { get; set; }
[JsonProperty("mac_available")]
public bool MacAvailable { get; set; }
[JsonProperty("linux_available")]
public bool LinuxAvailable { get; set; }
[JsonProperty("streamingvideo_available")]
public bool StreamingvideoAvailable { get; set; }
[JsonProperty("header_image")]
public string HeaderImage { get; set; }
[JsonProperty("discount_expiration", NullValueHandling = NullValueHandling.Ignore)]
public long? DiscountExpiration { get; set; }
[JsonProperty("controller_support", NullValueHandling = NullValueHandling.Ignore)]
public ControllerSupport? ControllerSupport { get; set; }
}
}