Skip to content

Commit 4ca357f

Browse files
wip
1 parent 18d62f2 commit 4ca357f

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
using Newtonsoft.Json;
2+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
3+
4+
namespace Nullinside.Api.TwitchBot.Model;
5+
6+
public class TwitchChallange {
7+
[JsonProperty("challenge")]
8+
public Guid? Challenge { get; set; }
9+
10+
[JsonProperty("subscription")]
11+
public Subscription? Subscription { get; set; }
12+
}
13+
14+
public partial class Subscription
15+
{
16+
[JsonProperty("condition")]
17+
public Condition? Condition { get; set; }
18+
19+
[JsonProperty("cost")]
20+
public string? Cost { get; set; }
21+
22+
[JsonProperty("created_at")]
23+
public DateTimeOffset? CreatedAt { get; set; }
24+
25+
[JsonProperty("id")]
26+
public Guid? Id { get; set; }
27+
28+
[JsonProperty("transport")]
29+
public Transport? Transport { get; set; }
30+
31+
[JsonProperty("type")]
32+
public string? Type { get; set; }
33+
34+
[JsonProperty("version")]
35+
public string? Version { get; set; }
36+
37+
[JsonProperty("status")]
38+
public string? Status { get; set; }
39+
}
40+
41+
public partial class Condition
42+
{
43+
[JsonProperty("broadcaster_user_id")]
44+
public string? BroadcasterUserId { get; set; }
45+
}
46+
47+
public partial class Transport
48+
{
49+
[JsonProperty("method")]
50+
public string? Method { get; set; }
51+
52+
[JsonProperty("callback")]
53+
public Uri? Callback { get; set; }
54+
}

0 commit comments

Comments
 (0)