Files
YouTube-Manager/Manager.YouTube/Models/YouTubeVideo.cs
2025-10-21 20:46:31 +02:00

38 lines
1.4 KiB
C#

using Manager.YouTube.Models.Innertube;
namespace Manager.YouTube.Models;
public class YouTubeVideo
{
public required string VideoId { get; set; }
public string Title { get; set; } = "";
public string Description { get; set; } = "";
public string[] HashTags { get; set; } = [];
public long ViewCount { get; set; }
public long LikeCount { get; set; }
public string ChannelId { get; set; } = "";
public string Author { get; set; } = "";
public string PlayabilityStatus { get; set; } = "";
public long LengthSeconds { get; set; }
public string[] Keywords { get; set; } = [];
public bool IsOwnerViewing { get; set; }
public bool AllowRating { get; set; }
public bool IsCrawlable { get; set; }
public bool IsPrivate { get; set; }
public bool IsUnpluggedCorpus { get; set; }
public bool IsLive { get; set; }
public bool IsFamilySave { get; set; }
public string[] AvailableCountries { get; set; } = [];
public bool IsUnlisted { get; set; }
public bool HasYpcMetadata { get; set; }
public DateTime PublishDate { get; set; }
public DateTime UploadDate { get; set; }
public bool IsShortsEligible { get; set; }
public string Category { get; set; } = "";
public StreamingData? StreamingData { get; set; }
public List<WebImage> Thumbnails { get; set; } = [];
public PlayerConfig? PlayerConfig { get; set; }
public StoryBoard? StoryBoard { get; set; }
}