mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-12 13:04:33 +01:00
35 lines
879 B
C#
35 lines
879 B
C#
using System.Text.Json.Serialization;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using KianaBH.Util.Extensions;
|
|
|
|
namespace KianaBH.Data.Models.Sdk;
|
|
|
|
public class ComboGranterData
|
|
{
|
|
public string? Uid { get; set; }
|
|
public string? Token { get; set; }
|
|
}
|
|
|
|
public class ComboGranterRequest
|
|
{
|
|
[Required]
|
|
[JsonConverter(typeof(JsonStringToObjectConverter<ComboGranterData>))]
|
|
public ComboGranterData? Data { get; set; }
|
|
}
|
|
|
|
public class ComboGranterResponse : ResponseBase
|
|
{
|
|
public new ComboGranterResponseData? Data { get; set; }
|
|
|
|
public class ComboGranterResponseData
|
|
{
|
|
public uint AccountType { get; set; }
|
|
public string? OpenId { get; set; }
|
|
public string? ComboId { get; set; }
|
|
public string? ComboToken { get; set; }
|
|
public bool Heartbeat { get; set; }
|
|
public string? Data { get; set; }
|
|
}
|
|
}
|
|
|