blob: e9adcf206ad02fb553f50f1bb6e67546f1597dd9 (
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
|
namespace StardewModdingAPI.Web.Framework.Clients.CurseForge.ResponseModels
{
/// <summary>Metadata from the CurseForge API about a mod file.</summary>
public class ModFileModel
{
/*********
** Accessors
*********/
/// <summary>The file name as downloaded.</summary>
public string FileName { get; }
/// <summary>The file display name.</summary>
public string? DisplayName { get; }
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="fileName">The file name as downloaded.</param>
/// <param name="displayName">The file display name.</param>
public ModFileModel(string fileName, string? displayName)
{
this.FileName = fileName;
this.DisplayName = displayName;
}
}
}
|