public void SetData(IBeatResponse response) { if (response == null) { throw new ArgumentNullException("response"); } this.IsAlive = response.IsAlive; this.Status = response.Status; this.ReasonPhrase = response.ReasonPhrase; this.Description = response.Description; }