Inital Commit
This commit is contained in:
47
TwitchDesktopNotifications/JsonStructure/Helix/UserData.cs
Normal file
47
TwitchDesktopNotifications/JsonStructure/Helix/UserData.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TwitchDesktopNotifications.JsonStructure.Helix
|
||||
{
|
||||
internal class UserData
|
||||
{
|
||||
public UserData() { }
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string UserId { get; set; }
|
||||
|
||||
[JsonPropertyName("login")]
|
||||
public string UserName { get; set; }
|
||||
|
||||
[JsonPropertyName("display_name")]
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public string Type { get; set; }
|
||||
|
||||
[JsonPropertyName("broadcaster_type")]
|
||||
public string BroadcasterType { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[JsonPropertyName("profile_image_url")]
|
||||
public string ProfileImage { get; set; }
|
||||
|
||||
[JsonPropertyName("offline_image_url")]
|
||||
public string OfflineImage { get; set; }
|
||||
|
||||
[JsonPropertyName("view_count")]
|
||||
public int TotalViewers { get; set; }
|
||||
|
||||
[JsonPropertyName("email")]
|
||||
public string EMail { get; set; }
|
||||
|
||||
[JsonPropertyName("created_at")]
|
||||
public string CreatedISODate { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user