public async Task GetSummaryPerformance_WithArgs()
        {
            var args = new PerformanceArgs
            {
                From       = DateTime.Now.AddMonths(-3).ToUnixTimestamp(),
                Resolution = Resolution.Day,
                Order      = Order.Asc
            };

            var summaryPerformanceResponse = await Pingdom.Client.Performance.GetSummaryPerformance(checkID, args);

            Assert.IsNotNull(summaryPerformanceResponse);
            Assert.IsFalse(summaryPerformanceResponse.HasErrors);
        }
        public async Task <GetSummaryPerformanceResponse> GetSummaryPerformance(int checkId, PerformanceArgs args = null)
        {
            var queryString = args != null?args.ToQueryString() : string.Empty;

            var apiMethod = string.Format("summary.performance/{0}" + queryString.ToLower(), checkId);
            var response  = await Client.GetAsync <GetSummaryPerformanceResponse>(apiMethod);

            return(response);
        }