﻿using Newtonsoft.Json;

namespace Unity.Ugc.Model
{
    public class ModEntry
    {
        [JsonProperty(PropertyName = "id")]
        public string Id { get; set; }
        
        [JsonProperty(PropertyName = "path")]
        public string Path { get; set; }
        
        [JsonProperty(PropertyName = "content_size")]
        public long ContentSize { get; set; }
        
        [JsonProperty(PropertyName = "content_hash")]
        public string ContentHash { get; set; }
        
        [JsonProperty(PropertyName = "content_link")]
        public string ContentLink { get; set; }
        
        [JsonProperty(PropertyName = "content_type")]
        public string ContentType { get; set; }

        [JsonProperty(PropertyName = "last_modified")]
        public string LastModified { get; set; }
        
        public ModEntry()
        {
            Id = "";
            Path = "";
            ContentSize = 0;
            ContentHash = "";
            ContentLink = "";
            ContentType = "";
            LastModified = "";
        }
    }
}