forked from amoamare/PS5CodeReader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPS5ErrorCodeList.cs
More file actions
27 lines (22 loc) · 756 Bytes
/
PS5ErrorCodeList.cs
File metadata and controls
27 lines (22 loc) · 756 Bytes
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
using System.Text.Json.Serialization;
namespace PS5CodeReader
{
public class PS5ErrorCodeList
{
[JsonPropertyName("Revision")]
public required Version Revision { get; set; }
[JsonPropertyName("Description")]
public required string Description { get; set; }
[JsonPropertyName("PlayStation5")]
public PlayStation? PlayStation5 { get; set; }
[JsonPropertyName("PlayStation4")]
public PlayStation? PlayStation4 { get; set; }
[JsonPropertyName("PlayStation3")]
public PlayStation? PlayStation3 { get; set; }
}
public class PlayStation
{
[JsonPropertyName("ErrorCodes")]
public List<PlayStationErrorCode> ErrorCodes { get; set; }
}
}