コード例 #1
0
        internal static User Create(GfycatClient client, Model model)
        {
            User user = new User(client, model.Id);

            user.Update(model);
            return(user);
        }
コード例 #2
0
 internal void Update(Model model)
 {
     CreationDate = model.CreationDate;
     Description  = model.Description;
     Followers    = model.Followers;
     Following    = model.Following;
     IframeProfileImageVisible = model.IframeProfileImageVisible;
     Name            = model.Name;
     ProfileImageUrl = model.ProfileImageUrl;
     ProfileUrl      = model.ProfileUrl;
     Url             = model.Url;
     Username        = model.Username;
     Verified        = model.Verified;
     Views           = model.Views;
     PublishedGfys   = model.PublishedGfycats;
     PublishedAlbums = model.PublishedAlbums;
 }