new_version_init
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user