summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/ModDrop/ModDropMod.cs
blob: def791065943639f3aa275a5fbd2751fa489189b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
namespace StardewModdingAPI.Web.Framework.Clients.ModDrop
{
    /// <summary>Mod metadata from the ModDrop API.</summary>
    internal class ModDropMod
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The mod name.</summary>
        public string Name { get; set; }

        /// <summary>The latest default file version.</summary>
        public ISemanticVersion LatestDefaultVersion { get; set; }

        /// <summary>The latest optional file version.</summary>
        public ISemanticVersion LatestOptionalVersion { get; set; }

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