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

22 lines
566 B
C#
Raw Normal View History

2023-11-08 10:47:35 +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; }
}
}