// Copyright 2022 Jamie Taylor
using System.Collections.Generic;
namespace StardewModdingAPI.Web.Framework.Clients.UpdateManifest
{
/// The data model for an update manifest file.
internal class UpdateManifestModel
{
/*********
** Accessors
*********/
/// The manifest format version.
public string? ManifestVersion { get; }
/// The mod info in this update manifest.
public IDictionary? Mods { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The manifest format version.
/// The mod info in this update manifest.
public UpdateManifestModel(string manifestVersion, IDictionary mods)
{
this.ManifestVersion = manifestVersion;
this.Mods = mods;
}
}
}