code: function(other) {
        if (!other) {
          return;
        }
        
        // This does the inverse of _mergeMagicFields.
        this.id = other.id;
        this.createdAt = other.createdAt;
        this.updatedAt = other.updatedAt;
  
        this._copyServerData(other._serverData);
  
        this._hasData = true;
      }
docs: Merges another object's attributes into this object.