namespace StardewModdingAPI.Web.Framework.Clients
{
/// Generic metadata about a file download on a mod page.
internal class GenericModDownload : IModDownload
{
/*********
** Accessors
*********/
/// The download's display name.
public string Name { get; set; }
/// The download's description.
public string Description { get; set; }
/// The download's file version.
public string Version { get; set; }
/*********
** Public methods
*********/
/// Construct an empty instance.
public GenericModDownload() { }
/// Construct an instance.
/// The download's display name.
/// The download's description.
/// The download's file version.
public GenericModDownload(string name, string description, string version)
{
this.Name = name;
this.Description = description;
this.Version = version;
}
}
}