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; } /// Optional extended data which isn't needed for update checks. public ModExtendedMetadataModel Metadata { get; set; } /// The errors that occurred while fetching update data. public string[] Errors { get; set; } = new string[0]; } }