﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace Unity.Ugc.Model
{
    public class SearchModRequest
    {
        [JsonProperty(PropertyName = "name")]
        public string Name { get; set; }
        
        [JsonProperty(PropertyName = "page")]
        public int Page { get; set; }
        
        [JsonProperty(PropertyName = "per_page")]
        public int PerPage { get; set; }
        
        [JsonProperty(PropertyName = "sort_key")]
        public string SortKey { get; set; }
        
        [JsonProperty(PropertyName = "sort_order")]
        public string SortOrder { get; set; }
        
        [JsonProperty(PropertyName = "properties")]
        public Dictionary<string, string> Properties { get; set; }
        
        public SearchModRequest()
        {
            Name = "";
            Page = 0;
            PerPage = 0;
            SortKey = "";
            SortOrder = "";
            Properties = new Dictionary<string, string>();
        }
    }
}