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

namespace Unity.Ugc.Model
{
    public class PublishedMod
    {
        [JsonProperty(PropertyName = "id")]
        public string Id { get; set; }
        
        [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 = "last_updated")]
        public string LastUpdated { get; set; }
        
        [JsonProperty(PropertyName = "version_id")]
        public string VersionId { get; set; }
        
        [JsonProperty(PropertyName = "version")]
        public string Version { get; set; }
        
        [JsonProperty(PropertyName = "version_desc")]
        public string VersionDescription { get; set; }
        
        [JsonProperty(PropertyName = "report_status")]
        public string ReportStatus { get; set; }
        
        [JsonProperty(PropertyName = "report_result")]
        public string ReportResult { get; set; }
        
        public PublishedMod()
        {
            Id = "";
            Name = "";
            Author = "";
            Description = "";
            Cover = "";
            Gallery = new List<string>();
            Properties = new Dictionary<string, string>();
            LastUpdated = "";
            VersionId = "";
            Version = "";
            VersionDescription = "";
            ReportStatus = "";
            ReportResult = "";
        }
    }
}