BotSharp/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs

29 lines
675 B
C#
Raw Normal View History

2024-03-20 22:59:38 +00:00
namespace BotSharp.Abstraction.Google.Models;
public class GoogleVideoResult
{
public string Kind { get; set; }
public IList<VideoItem> Items { get; set; } = new List<VideoItem>();
}
public class VideoItem
{
public string Kind { get; set; }
[JsonPropertyName("etag")]
public string Etag { get; set; }
public VideoItemId Id { get; set; }
2024-03-22 05:50:23 +00:00
public VideoSnippet Snippet { get; set; }
2024-03-20 22:59:38 +00:00
}
public class VideoItemId
{
public string Kind { get; set; }
public string VideoId { get; set; }
2024-03-22 05:50:23 +00:00
}
public class VideoSnippet
{
public string Title { get; set; }
public string Description { get; set; }
public string ChannelTitle { get; set; }
2024-03-20 22:59:38 +00:00
}