BotSharp/src/Infrastructure/BotSharp.Abstraction/Google/Models/GoogleVideoResult.cs
2024-03-22 00:50:23 -05:00

29 lines
675 B
C#

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; }
public VideoSnippet Snippet { get; set; }
}
public class VideoItemId
{
public string Kind { get; set; }
public string VideoId { get; set; }
}
public class VideoSnippet
{
public string Title { get; set; }
public string Description { get; set; }
public string ChannelTitle { get; set; }
}