Updated a couple of variables for better memory use. Added Support for ignoring specific streamers Moved to using a SingletonFactory for Singlton Classes No Longer Using MessageBox for disconnected message Added better detection for disconnected to stop it poping with other problems Added Window and menu option to open window to manage ignored streamers
48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
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
|
|
{
|
|
public 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; }
|
|
}
|
|
}
|