summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs
blob: bd58dba0eaa8702c94e9706fa6e35d36d6be7bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace StardewModdingAPI.Web.Framework.ConfigModels
{
    /// <summary>The config settings for mod update checks.</summary>
    internal class ModUpdateCheckConfig
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The number of minutes successful update checks should be cached before refetching them.</summary>
        public int SuccessCacheMinutes { get; set; }

        /// <summary>The number of minutes failed update checks should be cached before refetching them.</summary>
        public int ErrorCacheMinutes { get; set; }

        /// <summary>Update-check metadata to override.</summary>
        public ModOverrideConfig[] ModOverrides { get; set; }
    }
}