This commit is contained in:
2024-02-28 01:22:13 +01:00
Unverified
parent e3ec5c3a48
commit 74eb899e31
51 changed files with 562 additions and 608 deletions

View File

@@ -0,0 +1,45 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Api.Helix.GetUsers.Response
{
public class Data
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("login")]
public string Login { get; set; }
[JsonProperty("display_name")]
public string DisplayName { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("broadcaster_type")]
public string BroadcasterType { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("profile_image_url")]
public string ProfileImageUrl { get; set; }
[JsonProperty("offline_image_url")]
public string OfflineImageUrl { get; set; }
[JsonProperty("view_count")]
public int ViewCount { get; set; }
[JsonProperty("email")]
public string Email { get; set; }
[JsonProperty("created_at")]
public DateTime CreatedAt { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Api.Helix.GetUsers.Response
{
public class GetUsersResponse
{
[JsonProperty("data")]
public List<Data> Data { get; } = new List<Data>();
}
}