internal static Album Create(GfycatClient client, Model model) { Album album = new Album(client, model.Id); album.Update(model); return(album); }
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; }