Added linux and mac requirement classes.
This commit is contained in:
parent
7cea1c157e
commit
196f7ed9ec
@ -44,6 +44,8 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="appdetails\AppDetails.cs" />
|
||||
<Compile Include="appdetails\Classes\LinuxRequirement.cs" />
|
||||
<Compile Include="appdetails\Classes\MacRequirement.cs" />
|
||||
<Compile Include="appdetails\Classes\ReleaseDate.cs" />
|
||||
<Compile Include="appdetails\Classes\Recommendations.cs" />
|
||||
<Compile Include="appdetails\Classes\PriceOverview.cs" />
|
||||
|
20
SteamStorefrontAPI/appdetails/Classes/LinuxRequirement.cs
Normal file
20
SteamStorefrontAPI/appdetails/Classes/LinuxRequirement.cs
Normal file
@ -0,0 +1,20 @@
|
||||
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
|
||||
{
|
||||
public class LinuxRequirement
|
||||
{
|
||||
[JsonProperty("minimum")]
|
||||
public string Minimum { get; set; }
|
||||
|
||||
[JsonProperty("recommended")]
|
||||
public string Recommended { get; set; }
|
||||
}
|
||||
}
|
20
SteamStorefrontAPI/appdetails/Classes/MacRequirement.cs
Normal file
20
SteamStorefrontAPI/appdetails/Classes/MacRequirement.cs
Normal file
@ -0,0 +1,20 @@
|
||||
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
|
||||
{
|
||||
public class MacRequirement
|
||||
{
|
||||
[JsonProperty("minimum")]
|
||||
public string Minimum { get; set; }
|
||||
|
||||
[JsonProperty("recommended")]
|
||||
public string Recommended { get; set; }
|
||||
}
|
||||
}
|
@ -49,10 +49,10 @@ namespace SteamStorefrontAPI.Classes
|
||||
public PcRequirements PcRequirements { get; set; }
|
||||
|
||||
[JsonProperty("mac_requirements")]
|
||||
public List<object> MacRequirements { get; set; }
|
||||
public List<MacRequirement> MacRequirements { get; set; }
|
||||
|
||||
[JsonProperty("linux_requirements")]
|
||||
public List<object> LinuxRequirements { get; set; }
|
||||
public List<LinuxRequirement> LinuxRequirements { get; set; }
|
||||
|
||||
[JsonProperty("legal_notice")]
|
||||
public string LegalNotice { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user