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; }
/// This download's URL (if it has a URL that is different from the containing mod page's URL).
string? Url { get; }
/// Return iff the subkey matches this download
/// the subkey
/// if matches this download, otherwise
bool MatchesSubkey(string subkey);
}
}