namespace StardewModdingAPI.Web.Framework.Clients.ModDrop.ResponseModels
{
/// Metadata about a mod from the ModDrop API.
public class ModDataModel
{
/*********
** Accessors
*********/
/// The mod's unique ID on ModDrop.
public int ID { get; set; }
/// The mod name.
public string Title { get; set; }
/// The error code, if any.
public int? ErrorCode { get; set; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The mod's unique ID on ModDrop.
/// The mod name.
/// The error code, if any.
public ModDataModel(int id, string title, int? errorCode)
{
this.ID = id;
this.Title = title;
this.ErrorCode = errorCode;
}
}
}