2023-06-02 15:26:29 +03:30
|
|
|
|
namespace MTWireGuard.Models.Requests
|
2023-03-03 23:24:18 +03:30
|
|
|
|
{
|
|
|
|
|
public class CreateClientRequest
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Endpoint { get; set; }
|
|
|
|
|
public ushort EndpointPort { get; set; }
|
|
|
|
|
public string AllowedAddress { get; set; }
|
|
|
|
|
public string PresharedKey { get; set; }
|
|
|
|
|
public string PrivateKey { get; set; }
|
|
|
|
|
public string PublicKey { get; set; }
|
|
|
|
|
public string Interface { get; set; }
|
|
|
|
|
public int KeepAlive { get; set; }
|
|
|
|
|
public bool Enabled { get; set; }
|
2023-06-23 17:00:49 +03:30
|
|
|
|
public string Expire { get; set; }
|
2023-03-03 23:24:18 +03:30
|
|
|
|
}
|
|
|
|
|
}
|