summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Web/Models/ModGenericModel.cs
blob: 208af416b5b3cf479d56b896574629685143d9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace StardewModdingAPI.Web.Models
{
    /// <summary>Generic metadata about a mod.</summary>
    public class ModGenericModel
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The unique mod ID.</summary>
        public int ID { get; set; }

        /// <summary>The mod name.</summary>
        public string Name { get; set; }

        /// <summary>The mod's vendor ID.</summary>
        public string Vendor { get; set; }

        /// <summary>The mod's semantic version number.</summary>
        public string Version { get; set; }

        /// <summary>The mod's web URL.</summary>
        public string Url { get; set; }

        /// <summary>Whether the mod is valid.</summary>
        public bool Valid { get; set; } = true;
    }
}