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

namespace Unity.Ugc.Model
{
    public class StashMeta
    {
        [JsonProperty(PropertyName = "name")]
        public string Name { get; set; }
        
        [JsonProperty(PropertyName = "author")]
        public string Author { get; set; }
        
        [JsonProperty(PropertyName = "description")]
        public string Description { get; set; }
        
        [JsonProperty(PropertyName = "cover")]
        public string Cover { get; set; }
        
        [JsonProperty(PropertyName = "gallery")]
        public List<string> Gallery { get; set; }
        
        [JsonProperty(PropertyName = "properties")]
        public Dictionary<string, string> Properties { get; set; }
        
        [JsonProperty(PropertyName = "version")]
        public string Version { get; set; }
        
        [JsonProperty(PropertyName = "version_desc")]
        public string VersionDescription { get; set; }
        
        [JsonProperty(PropertyName = "inspect_info")]
        public string InspectInfo { get; set; }
        
        [JsonProperty(PropertyName = "inspect_status")]
        public string InspectStatus { get; set; }
        
        public StashMeta()
        {
            Name = "";
            Author = "";
            Description = "";
            Cover = "";
            Gallery = new List<string>();
            Properties = new Dictionary<string, string>();
            Version = "";
            VersionDescription = "";
            InspectInfo = "";
            InspectStatus = "";
        }
    }
}