namespace MediaBrowser.Model.Querying
{
    public class LatestItemsQuery
    {
        /// 
        /// The user to localize search results for
        /// 
        /// The user id.
        public string UserId { get; set; }
        /// 
        /// Specify this to localize the search to a specific item or folder. Omit to use the root.
        /// 
        /// The parent id.
        public string ParentId { get; set; }
        /// 
        /// Skips over a given number of items within the results. Use for paging.
        /// 
        /// The start index.
        public int? StartIndex { get; set; }
        /// 
        /// The maximum number of items to return
        /// 
        /// The limit.
        public int? Limit { get; set; }
        /// 
        /// Fields to return within the items, in addition to basic information
        /// 
        /// The fields.
        public ItemFields[] Fields { get; set; }
        /// 
        /// Gets or sets the include item types.
        /// 
        /// The include item types.
        public string[] IncludeItemTypes { get; set; }
        /// 
        /// Gets or sets a value indicating whether this instance is played.
        /// 
        /// null if [is played] contains no value, true if [is played]; otherwise, false.
        public bool? IsPlayed { get; set; }
        /// 
        /// Gets or sets a value indicating whether [group items].
        /// 
        /// true if [group items]; otherwise, false.
        public bool GroupItems { get; set; }
    }
}