forked from mo10/TS3NeteaseCloudMusicBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJsonSchema.cs
164 lines (156 loc) · 4.59 KB
/
JsonSchema.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
using System;
using System.Collections.Generic;
using System.Text;
namespace ts3ncm
{
#pragma warning disable CS8632
#region 登入响应Json
public class RespQRKey
{
public class Data
{
public int code { get; set; }
public string unikey { get; set; }
}
public Data data { get; set; }
public int code { get; set; }
}
public class RespQRCreate
{
public class Data
{
public string qrurl { get; set; }
public string qrimg { get; set; }
}
public Data data { get; set; }
public int code { get; set; }
}
public class RespQRCheck
{
public int code { get; set; }
public string cookie { get; set; }
public string message { get; set; }
public string nickname { get; set; }
public string avatarUrl { get; set; }
}
public class RespStatus
{
public class Account
{
public bool anonimousUser { get; set; }
public int ban { get; set; }
public int baoyueVersion { get; set; }
public long createTime { get; set; }
public int donateVersion { get; set; }
public long id { get; set; }
public bool paidFee { get; set; }
public int status { get; set; }
public int tokenVersion { get; set; }
public int type { get; set; }
public string userName { get; set; }
public int vipType { get; set; }
public int whitelistAuthority { get; set; }
}
public class Profile
{
public int accountStatus { get; set; }
public int accountType { get; set; }
public string avatarUrl { get; set; }
public string nickname { get; set; }
public int userId { get; set; }
public int userType { get; set; }
public int vipType { get; set; }
public long viptypeVersion { get; set; }
}
public class Data
{
public int code { get; set; }
public Account? account { get; set; }
public Profile? profile { get; set; }
}
public Data data { get; set; }
}
#endregion
public class ProgramData
{
// public DjInfo? dj { get; set; }
public string coverUrl { get; set; }
public long id { get; set; }
public long mainTrackId { get; set; }
public string name { get; set; }
}
public class RespDjRadio
{
public int code { get; set; }
public int count { get; set; }
public bool more { get; set; }
public ProgramData[] programs { get; set; }
}
public class RespProgramDetail
{
public int code { get; set; }
public ProgramData? program { get; set; }
}
public class SongDetail
{
public string id { get; set; }
public string program_id { get; set; }
public string title { get; set; }
public string author { get; set; }
public string picUrl { get; set; }
}
public class JsonSongDetailSongAlbum
{
public string? name { get; set; }
public string? picUrl { get; set; }
}
public class JsonSongDetailSongAuthor
{
public int? id { get; set; }
public string? name { get; set; }
}
public class JsonSongDetailSong
{
public long id { get; set; }
public string? name { get; set; }
public object? noCopyrightRcmd { get; set; }
public JsonSongDetailSongAlbum? al { get; set; }
public JsonSongDetailSongAuthor[]? ar { get; set; }
}
public class JsonSongDetail
{
public int code { get; set; }
public JsonSongDetailSong[]? songs { get; set; }
}
public class JsonSongUrlData
{
public int code { get; set; }
public long id { get; set; }
public string? type { get; set; }
public string? url { get; set; }
}
public class JsonSongUrlInfo
{
public int code { get; set; }
public JsonSongUrlData[]? data { get; set; }
}
public class JsonCheckMusic
{
public bool success { get; set; }
public string? message { get; set; }
}
public class JsonSearchResult
{
public int songCount { get; set; }
public JsonSongDetailSong[]? songs { get; set; }
}
public class JsonSearch
{
public int code { get; set; }
public JsonSearchResult? result { get; set; }
}
public class JsonStatusCode
{
public int code { get; set; }
}
}