29 lines
675 B
C#
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; }
|
|
} |