TapLogin-Unity/Standalone/Runtime/Internal2/Http/Response/QRCodeResponse.cs

22 lines
566 B
C#
Raw Normal View History

2023-10-24 16:01:15 +08:00
using LC.Newtonsoft.Json;
namespace TapTap.Login.Internal.Http {
public class QRCodeData {
[JsonProperty("device_code")]
public string DeviceCode { get; set; }
[JsonProperty("expires_in")]
public int ExpiresIn { get; set; }
[JsonProperty("qrcode_url")]
public string Url { get; set; }
[JsonProperty("interval")]
public int Interval { get; set; }
}
public class QRCodeResponse {
[JsonProperty("data")]
public QRCodeData Data { get; set; }
}
}