Example #1
0
        internal static Album Create(GfycatClient client, Model model)
        {
            Album album = new Album(client, model.Id);

            album.Update(model);
            return(album);
        }
Example #2
0
 internal void Update(Model model)
 {
     Title               = model.Title;
     Count               = model.GfyCount;
     Content             = model.PublishedGfys.Select(g => Gfy.Create(Client, g)).ToReadOnlyCollection();
     CoverImageUrl       = model.CoverImageUrl;
     CoverImageUrlMobile = model.CoverImageUrlMobile;
     NsfwSetting         = model.Nsfw;
     Published           = model.Published;
     Order               = model.Order;
 }