mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-29 14:28:09 +02:00
22 lines
839 B
C#
22 lines
839 B
C#
namespace MTWireGuard.Application.Models.Requests
|
|
{
|
|
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; }
|
|
public string? Expire { get; set; }
|
|
public string? Password { get; set; }
|
|
public int? Traffic { get; set; }
|
|
public bool InheritIP { get; set; }
|
|
public bool InheritDNS { get; set; }
|
|
public string? DNSAddress { get; set; }
|
|
}
|
|
}
|