Game controller
This commit is contained in:
15
NostrStreamer/ApiModel/GameInfo.cs
Normal file
15
NostrStreamer/ApiModel/GameInfo.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NostrStreamer.ApiModel;
|
||||
|
||||
public class GameInfo
|
||||
{
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; init; } = null!;
|
||||
|
||||
[JsonProperty("cover")]
|
||||
public string Cover { get; init; } = null!;
|
||||
|
||||
[JsonProperty("genres")]
|
||||
public List<string> Genres { get; init; } = new();
|
||||
}
|
Reference in New Issue
Block a user