public ApiInfo(IDictionary <string, Uri> links,
                       string etag,
                       RateLimit rateLimit)
        {
            Ensure.ArgumentNotNull(links, nameof(links));

            Links     = new ReadOnlyDictionary <string, Uri>(links);
            Etag      = etag;
            RateLimit = rateLimit;
        }
        /// <summary>
        /// Constructs an instance of RateLimitExceededException
        /// </summary>
        /// <param name="response">The HTTP payload from the server</param>
        /// <param name="innerException">The inner exception</param>
        public RateLimitExceededException(IResponse response, Exception innerException) : base(response, innerException)
        {
            Ensure.ArgumentNotNull(response, nameof(response));

            _rateLimit = response.ApiInfo.RateLimit;
        }