summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/CurseForge/ResponseModels/ModModel.cs
blob: 48cd185b3a6f6a1aa08a4756f15b0c4819e5b25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace StardewModdingAPI.Web.Framework.Clients.CurseForge.ResponseModels
{
    /// <summary>An mod from the CurseForge API.</summary>
    public class ModModel
    {
        /// <summary>The mod's unique ID on CurseForge.</summary>
        public int ID { get; set; }

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

        /// <summary>The web URL for the mod page.</summary>
        public string WebsiteUrl { get; set; }

        /// <summary>The available file downloads.</summary>
        public ModFileModel[] LatestFiles { get; set; }
    }
}