-
Notifications
You must be signed in to change notification settings - Fork 1
/
TwitchUserObject.cs
47 lines (35 loc) · 1.2 KB
/
TwitchUserObject.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
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace RecentFollowers
{
public class TwitchUser
{
[JsonPropertyName("broadcaster_type")]
public string BroadcasterType { get; set; }
[JsonPropertyName("created_at")]
public DateTime CreatedAt { get; set; }
[JsonPropertyName("description")]
public string Description { get; set; }
[JsonPropertyName("display_name")]
public string DisplayName { get; set; }
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("login")]
public string Login { get; set; }
[JsonPropertyName("offline_image_url")]
public string OfflineImageUrl { get; set; }
[JsonPropertyName("profile_image_url")]
public string ProfileImageUrl { get; set; }
[JsonPropertyName("type")]
public string Type { get; set; }
[JsonPropertyName("view_count")]
public int ViewCount { get; set; }
public string OutputFolder { get; set; }
}
public class TwitchUserObject
{
[JsonPropertyName("data")]
public List<TwitchUser> Data { get; set; }
}
}