summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Web/Models
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI.Web/Models')
-rw-r--r--src/StardewModdingAPI.Web/Models/ModInfoModel.cs (renamed from src/StardewModdingAPI.Web/Models/ModGenericModel.cs)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StardewModdingAPI.Web/Models/ModGenericModel.cs b/src/StardewModdingAPI.Web/Models/ModInfoModel.cs
index 88a6e4bd..723d6c73 100644
--- a/src/StardewModdingAPI.Web/Models/ModGenericModel.cs
+++ b/src/StardewModdingAPI.Web/Models/ModInfoModel.cs
@@ -3,7 +3,7 @@ using Newtonsoft.Json;
namespace StardewModdingAPI.Web.Models
{
/// <summary>Generic metadata about a mod.</summary>
- public class ModGenericModel
+ public class ModInfoModel
{
/*********
** Accessors
@@ -34,7 +34,7 @@ namespace StardewModdingAPI.Web.Models
/// <param name="url">The mod's web URL.</param>
/// <param name="error">The error message indicating why the mod is invalid (if applicable).</param>
[JsonConstructor]
- public ModGenericModel(string modKey, string name, string version, string url, string error = null)
+ public ModInfoModel(string modKey, string name, string version, string url, string error = null)
{
this.ModKey = modKey;
this.Name = name;
@@ -46,7 +46,7 @@ namespace StardewModdingAPI.Web.Models
/// <summary>Construct an valid instance.</summary>
/// <param name="modKey">The namespaced mod key.</param>
/// <param name="error">The error message indicating why the mod is invalid.</param>
- public ModGenericModel(string modKey, string error)
+ public ModInfoModel(string modKey, string error)
{
this.ModKey = modKey;
this.Error = error;