// Copyright 2022 Jamie Taylor using System; namespace StardewModdingAPI.Web.Framework.Clients.UpdateManifest { /// Data model for a mod in an update manifest. internal class UpdateManifestModModel { /// The mod's name. public string Name { get; } /// The mod's URL. public string? Url { get; } /// The versions for this mod. public UpdateManifestVersionModel[] Versions { get; } /// Construct an instance. /// The mod's name. /// The mod's URL. /// The versions for this mod. public UpdateManifestModModel(string name, string? url, UpdateManifestVersionModel[] versions) { this.Name = name; this.Url = url; this.Versions = versions; } } }