internal PagedResponse(GitLabClient client, IReadOnlyList <T> data, int pageIndex, int pageSize, int totalItems, int totalPages, string firstUrl, string lastUrl, string previousUrl, string nextUrl)
 {
     GitLabClient    = client ?? throw new ArgumentNullException(nameof(client));
     Data            = data ?? throw new ArgumentNullException(nameof(data));
     PageIndex       = pageIndex;
     PageSize        = pageSize;
     TotalItems      = totalItems;
     TotalPages      = totalPages;
     FirstPageUrl    = firstUrl;
     LastPageUrl     = lastUrl;
     PreviousPageUrl = previousUrl;
     NextPageUrl     = nextUrl;
 }
 public HttpResponse(GitLabClient client, HttpResponseMessage message)
 {
     _client         = client;
     ResponseMessage = message;
 }
 internal PagedResponse(GitLabClient client, string initialUrl, RequestOptions?options)
 {
     Client      = client;
     _initialUrl = initialUrl;
     _options    = options;
 }