mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
35 lines
605 B
C#
35 lines
605 B
C#
#nullable disable
|
|
using Newtonsoft.Json;
|
|
|
|
namespace NadekoBot.Modules.Searches;
|
|
|
|
public class SteamGameId
|
|
{
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty("appid")]
|
|
public int AppId { get; set; }
|
|
}
|
|
|
|
public class SteamGameData
|
|
{
|
|
public string ShortDescription { get; set; }
|
|
|
|
public class Container
|
|
{
|
|
[JsonProperty("success")]
|
|
public bool Success { get; set; }
|
|
|
|
[JsonProperty("data")]
|
|
public SteamGameData Data { get; set; }
|
|
}
|
|
}
|
|
|
|
public enum TimeErrors
|
|
{
|
|
InvalidInput,
|
|
ApiKeyMissing,
|
|
NotFound,
|
|
Unknown
|
|
} |