/
PublicationsResponse.cs
62 lines (44 loc) · 1.4 KB
/
PublicationsResponse.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
using TASVideos.Core;
#pragma warning disable 1591
namespace TASVideos.Api.Responses;
/// <summary>
/// Represents a publication returned by the publications endpoint.
/// </summary>
public class PublicationsResponse
{
[Sortable]
public int Id { get; init; }
[Sortable]
public string Title { get; init; } = "";
[Sortable]
public string? Branch { get; init; } = "";
[Sortable]
public string? EmulatorVersion { get; init; } = "";
[Sortable]
public string Class { get; init; } = "";
[Sortable]
public string SystemCode { get; init; } = "";
[Sortable]
public int SubmissionId { get; init; }
[Sortable]
public int GameId { get; init; }
[Sortable]
public int GameVersionId { get; init; }
[Sortable]
public int? ObsoletedById { get; init; }
[Sortable]
public int Frames { get; init; }
[Sortable]
public int RerecordCount { get; init; }
[Sortable]
public double SystemFrameRate { get; init; }
[Sortable]
public string MovieFileName { get; init; } = "";
[Sortable]
public string? AdditionalAuthors { get; init; }
public IEnumerable<string> Authors { get; init; } = Array.Empty<string>();
public IEnumerable<string> Tags { get; init; } = Array.Empty<string>();
public IEnumerable<string> Flags { get; init; } = Array.Empty<string>();
public IEnumerable<string> Urls { get; init; } = Array.Empty<string>();
public IEnumerable<string> FilePaths { get; init; } = Array.Empty<string>();
}