16 lines
581 B
C#
16 lines
581 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Manager.YouTube.Models.Innertube;
|
|
|
|
public class StreamingData
|
|
{
|
|
public DateTime FetchedUtc { get; set; } = DateTime.UtcNow;
|
|
[JsonPropertyName("expiresInSeconds")]
|
|
public int ExpiresInSeconds { get; set; }
|
|
[JsonPropertyName("serverAbrStreamingUrl")]
|
|
public string ServerAbrStreamingUrl { get; set; } = "";
|
|
[JsonPropertyName("formats")]
|
|
public List<StreamingFormat> Formats { get; set; } = [];
|
|
[JsonPropertyName("adaptiveFormats")]
|
|
public List<StreamingFormat> AdaptiveFormats { get; set; } = [];
|
|
} |