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

namespace Unity.Ugc.Model
{
    public class UgcCustomError
    {
        [JsonProperty(PropertyName = "code")]
        public int Code;

        [JsonProperty(PropertyName = "reason")]
        public string Reason;

        [JsonProperty(PropertyName = "details")]
        public List<string> Details;
        
        public UgcCustomError()
        {
            Code = 0;
            Reason = "";
            Details = new List<string>();
        }
    }
}