blob: e4ab168ee9b0d1041d9a0a25b04ae8e3cbc2f6b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
namespace StardewModdingAPI.Toolkit.Framework.Clients.WebApi
{
/// <summary>Metadata about a mod.</summary>
public class ModEntryModel
{
/*********
** Accessors
*********/
/// <summary>The mod's unique ID (if known).</summary>
public string ID { get; set; }
/// <summary>The mod name.</summary>
public string Name { get; set; }
/// <summary>The mod's latest version number.</summary>
public string Version { get; set; }
/// <summary>The mod's web URL.</summary>
public string Url { get; set; }
/// <summary>The mod's latest optional release, if newer than <see cref="Version"/>.</summary>
public string PreviewVersion { get; set; }
/// <summary>The web URL to the mod's latest optional release, if newer than <see cref="Version"/>.</summary>
public string PreviewUrl { get; set; }
/// <summary>The errors that occurred while fetching update data.</summary>
public string[] Errors { get; set; } = new string[0];
}
}
|