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,21 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Api.GQL.GetVideoToken.Request
{
public class GetVideoTokenExtensions
{
[JsonProperty("durationMilliseconds")]
public int DurationMilliseconds { get; set; }
[JsonProperty("operationName")]
public string OperationName { get; set; }
[JsonProperty("requestID")]
public string RequestID { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Search.Models.GetVideoToken.Request
{
public class GetVideoTokenRequest
{
[JsonProperty("operationName")]
public string OperationName { get; set; }
[JsonProperty("query")]
public string Query { get; set; }
[JsonProperty("variables")]
public GetVideoTokenVariables Variables { get; set; }
}
}

View File

@@ -0,0 +1,27 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Search.Models.GetVideoToken.Request
{
public class GetVideoTokenVariables
{
[JsonProperty("isLive")]
public bool IsLive { get; set; }
[JsonProperty("login")]
public string Login { get; set; }
[JsonProperty("isVod")]
public bool IsVod { get; set; }
[JsonProperty("vodID")]
public string VodID { get; set; }
[JsonProperty("playerType")]
public string PlayerType { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Sources.Twitch.Api.GQL.GetVideoToken.Request
{
public class GetVideoTokenVideoPlaybackAccessToken
{
[JsonProperty("value")]
public string Value { get; set; }
[JsonProperty("signature")]
public string Signature { get; set; }
[JsonProperty("__typename")]
public string Typename { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VDownload.Sources.Twitch.Api.GQL.GetVideoToken.Request;
namespace VDownload.Sources.Twitch.Api.GQL.GetVideoToken.Response
{
public class GetVideoTokenData
{
[JsonProperty("videoPlaybackAccessToken")]
public GetVideoTokenVideoPlaybackAccessToken VideoPlaybackAccessToken { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VDownload.Sources.Twitch.Api.GQL.GetVideoToken.Request;
namespace VDownload.Sources.Twitch.Api.GQL.GetVideoToken.Response
{
public class GetVideoTokenResponse
{
[JsonProperty("data")]
public GetVideoTokenData Data { get; set; }
[JsonProperty("extensions")]
public GetVideoTokenExtensions Extensions { get; set; }
}
}