wabbajack/Wabbajack.Lib/NexusApi/Dtos.cs

61 lines
1.8 KiB
C#
Raw Normal View History

using System;
namespace Wabbajack.Lib.NexusApi
{
public class UserStatus
{
public string email;
public bool is_premium;
public bool is_supporter;
public string key;
public string name;
public string profile_url;
public string user_id;
}
public class NexusFileInfo
{
2020-04-03 03:57:59 +00:00
public long category_id { get; set; }
2020-01-08 04:41:50 +00:00
public string category_name { get; set; }
public string changelog_html { get; set; }
public string description { get; set; }
public string external_virus_scan_url { get; set; }
2020-04-03 03:57:59 +00:00
public long file_id { get; set; }
2020-01-08 04:41:50 +00:00
public string file_name { get; set; }
public bool is_primary { get; set; }
public string mod_version { get; set; }
public string name { get; set; }
2020-04-03 03:57:59 +00:00
public long size { get; set; }
public long size_kb { get; set; }
2020-01-08 04:41:50 +00:00
public DateTime uploaded_time { get; set; }
2020-04-03 03:57:59 +00:00
public long uploaded_timestamp { get; set; }
2020-01-08 04:41:50 +00:00
public string version { get; set; }
}
public class ModInfo
{
2020-01-08 04:41:50 +00:00
public uint _internal_version { get; set; }
public string game_name { get; set; }
public string mod_id { get; set; }
public string name { get; set; }
public string summary { get; set; }
public string author { get; set; }
public string uploaded_by { get; set; }
public string uploaded_users_profile_url { get; set; }
public string picture_url { get; set; }
public bool contains_adult_content { get; set; }
}
2019-11-04 15:11:58 +00:00
public class MD5Response
2019-11-04 14:32:28 +00:00
{
2019-11-04 15:11:58 +00:00
public ModInfo mod;
public NexusFileInfo file_details;
2019-11-04 14:32:28 +00:00
}
public class EndorsementResponse
{
public string message;
public string status;
}
}