using System;
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 update version recommended by the web API based on its version update and mapping rules.
public ModEntryVersionModel SuggestedUpdate { get; set; }
/// Optional extended data which isn't needed for update checks.
public ModExtendedMetadataModel Metadata { get; set; }
/// The main version.
[Obsolete]
public ModEntryVersionModel Main { get; set; }
/// The latest optional version, if newer than .
[Obsolete]
public ModEntryVersionModel Optional { get; set; }
/// The latest unofficial version, if newer than and .
[Obsolete]
public ModEntryVersionModel Unofficial { get; set; }
/// The latest unofficial version for the current Stardew Valley or SMAPI beta, if any (see ).
[Obsolete]
public ModEntryVersionModel UnofficialForBeta { 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 .
[Obsolete]
public bool? HasBetaInfo { get; set; }
/// The errors that occurred while fetching update data.
public string[] Errors { get; set; } = new string[0];
}
}