mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-13 12:14:35 +01:00
minimum sdk done
This commit is contained in:
20
AscNet.SDKServer/Models/LoginGate.cs
Normal file
20
AscNet.SDKServer/Models/LoginGate.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace AscNet.SDKServer.Models
|
||||
{
|
||||
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
||||
public partial class LoginGate
|
||||
{
|
||||
[JsonProperty("code", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public long? Code { get; set; }
|
||||
|
||||
[JsonProperty("token", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public string Token { get; set; }
|
||||
|
||||
[JsonProperty("port", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public long? Port { get; set; }
|
||||
|
||||
[JsonProperty("ip", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public string Ip { get; set; }
|
||||
}
|
||||
}
|
||||
26
AscNet.SDKServer/Models/LoginNotice.cs
Normal file
26
AscNet.SDKServer/Models/LoginNotice.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace AscNet.SDKServer.Models
|
||||
{
|
||||
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
||||
public partial class LoginNotice
|
||||
{
|
||||
[JsonProperty("BeginTime", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public long BeginTime { get; set; }
|
||||
|
||||
[JsonProperty("EndTime", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public long EndTime { get; set; }
|
||||
|
||||
[JsonProperty("HtmlUrl", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public string HtmlUrl { get; set; }
|
||||
|
||||
[JsonProperty("Id", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public string Id { get; set; }
|
||||
|
||||
[JsonProperty("ModifyTime", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public long ModifyTime { get; set; }
|
||||
|
||||
[JsonProperty("Title", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public string Title { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user