internal static RestGame Create(BaseTwitchClient client, Model model) { var entity = new RestGame(client, model.Id); entity.Update(model); return(entity); }
internal virtual void Update(Model model) { Name = model.Name; Viewers = model.Viewers; GiantbombId = model.GiantbombId; Box = model.Box; Logo = model.Logo; }