wabbajack/Wabbajack.Lib/NexusApi/Dtos.cs
2020-04-03 16:41:42 -06:00

61 lines
1.8 KiB
C#

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
{
public long category_id { get; set; }
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; }
public long file_id { get; set; }
public string file_name { get; set; }
public bool is_primary { get; set; }
public string mod_version { get; set; }
public string name { get; set; }
public long size { get; set; }
public long size_kb { get; set; }
public DateTime uploaded_time { get; set; }
public long uploaded_timestamp { get; set; }
public string version { get; set; }
}
public class ModInfo
{
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; }
}
public class MD5Response
{
public ModInfo mod;
public NexusFileInfo file_details;
}
public class EndorsementResponse
{
public string message;
public string status;
}
}