﻿namespace SharePoint.Utilities.Rest
{
    using System.Collections.Generic;

    using Newtonsoft.Json;

    internal class ItemCountDto<TDto>
    {
        [JsonProperty("__count")]
        public int TotalItems { get; set; }

        [JsonProperty("results")]
        public List<TDto> Items { get; set; }
    }
}