new_version_init

This commit is contained in:
2024-02-13 02:59:40 +01:00
Unverified
parent e36c1404ee
commit 91f9b645bd
352 changed files with 6777 additions and 8326 deletions

View File

@@ -0,0 +1,62 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using System;
namespace VDownload.Sources.Twitch.Api.Helix.GetVideos.Response
{
public class Data
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("stream_id")]
public object StreamId { get; set; }
[JsonProperty("user_id")]
public string UserId { get; set; }
[JsonProperty("user_login")]
public string UserLogin { get; set; }
[JsonProperty("user_name")]
public string UserName { get; set; }
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("created_at")]
public DateTime CreatedAt { get; set; }
[JsonProperty("published_at")]
public DateTime PublishedAt { get; set; }
[JsonProperty("url")]
public string Url { get; set; }
[JsonProperty("thumbnail_url")]
public string ThumbnailUrl { get; set; }
[JsonProperty("viewable")]
public string Viewable { get; set; }
[JsonProperty("view_count")]
public int ViewCount { get; set; }
[JsonProperty("language")]
public string Language { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("duration")]
public string Duration { get; set; }
[JsonProperty("muted_segments")]
public List<MutedSegment> MutedSegments { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using Newtonsoft.Json;
using System.Collections.Generic;
namespace VDownload.Sources.Twitch.Api.Helix.GetVideos.Response
{
public class GetVideosResponse
{
[JsonProperty("data")]
public List<Data> Data { get; set; }
[JsonProperty("pagination")]
public Pagination Pagination { get; set; }
}
}

View File

@@ -0,0 +1,14 @@
using Newtonsoft.Json;
namespace VDownload.Sources.Twitch.Api.Helix.GetVideos.Response
{
public class MutedSegment
{
[JsonProperty("duration")]
public int Duration { get; set; }
[JsonProperty("offset")]
public int Offset { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
using Newtonsoft.Json;
namespace VDownload.Sources.Twitch.Api.Helix.GetVideos.Response
{
public class Pagination
{
[JsonProperty("cursor")]
public string Cursor { get; set; }
}
}