namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi
{
/// Metadata about a version.
public class ModEntryVersionModel
{
/*********
** Accessors
*********/
/// The version number.
public ISemanticVersion Version { get; set; }
/// The mod page URL.
public string Url { get; set; }
/*********
** Public methods
*********/
/// Construct an instance.
public ModEntryVersionModel() { }
/// Construct an instance.
/// The version number.
/// The mod page URL.
public ModEntryVersionModel(ISemanticVersion version, string url)
{
this.Version = version;
this.Url = url;
}
}
}