Example #1
0
        public MPlaylistSnippet(PlaylistSnippet snippet) : this()
        {
            if (snippet == null)
            {
                return;
            }

            ChannelId       = snippet.ChannelId;
            ChannelTitle    = snippet.ChannelTitle;
            DefaultLanguage = snippet.DefaultLanguage;
            Description     = snippet.Description;
            Localized       = new MPlaylistLocalization(snippet.Localized);
            PublishedAt     = snippet.PublishedAt;
            PublishedAtRaw  = snippet.PublishedAtRaw;
            Tags            = snippet.Tags;
            Thumbnails      = new MThumbnailDetails(snippet.Thumbnails);
            Title           = snippet.Title;
        }
Example #2
0
 public PlaylistItem()
 {
     Snippet = new PlaylistSnippet();
 }