namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi { /// Metadata about a mod. public class ModEntryModel { /********* ** Accessors *********/ /// The mod's unique ID (if known). public string ID { get; set; } /// The main version. public ModEntryVersionModel Main { get; set; } /// The latest optional version, if newer than . public ModEntryVersionModel Optional { get; set; } /// The latest unofficial version, if newer than and . public ModEntryVersionModel Unofficial { get; set; } /// The latest unofficial version for the current Stardew Valley or SMAPI beta, if any (see ). public ModEntryVersionModel UnofficialForBeta { get; set; } /// Optional extended data which isn't needed for update checks. public ModExtendedMetadataModel Metadata { get; set; } /// Whether a Stardew Valley or SMAPI beta which affects mod compatibility is in progress. If this is true, should be used for beta versions of SMAPI instead of . public bool HasBetaInfo { get; set; } /// The errors that occurred while fetching update data. public string[] Errors { get; set; } = new string[0]; } }