namespace StardewModdingAPI.Web.Framework
{
/// Generic metadata about a file download on a mod page.
internal interface IModDownload
{
/*********
** Accessors
*********/
/// The download's display name.
string Name { get; }
/// The download's description.
string? Description { get; }
/// The download's file version.
string? Version { get; }
/// The mod URL page from which to download this update, if different from the URL of the mod page it was fetched from.
string? ModPageUrl { get; }
/*********
** Methods
*********/
/// Get whether the subkey matches this download.
/// The update subkey to check.
bool MatchesSubkey(string subkey);
}
}