namespace StardewModdingAPI.Web.Framework.Clients.UpdateManifest.ResponseModels
{
/// Data model for a Version in an update manifest.
internal class UpdateManifestVersionModel
{
/*********
** Accessors
*********/
/// The mod's semantic version.
public string? Version { get; }
/// The mod page URL from which to download updates, if different from .
public string? ModPageUrl { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The mod's semantic version.
/// The mod page URL from which to download updates, if different from .
public UpdateManifestVersionModel(string version, string? modPageUrl)
{
this.Version = version;
this.ModPageUrl = modPageUrl;
}
}
}