2021-09-27 12:42:46 +00:00
|
|
|
using System;
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
namespace Wabbajack.Networking.NexusApi.DTOs;
|
|
|
|
|
|
|
|
public class ValidateInfo
|
2021-09-27 12:42:46 +00:00
|
|
|
{
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("user_id")] public int UserId { get; set; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("key")] public string Key { get; set; } = "";
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("name")] public string Name { get; set; } = "";
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("is_premium?")] public bool _IsPremium { get; set; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("is_supporter?")] public bool _IsSupporter { get; set; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("email")] public string Email { get; set; } = "";
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("profile_url")] public Uri? ProfileUrl { get; set; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("is_supporter")] public bool IsSupporter { get; set; }
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
[JsonPropertyName("is_premium")] public bool IsPremium { get; set; }
|
2021-09-27 12:42:46 +00:00
|
|
|
}
|