namespace Noctalk_client.Admin;

public sealed class Admin_server_access
{
    public string Server__name { get; set; } = string.Empty;

    public string Server__onion_address { get; set; } = string.Empty;

    public Guid Admin__guid { get; set; }

    public int Client__local_tor__port { get; set; }

    public override string ToString() => string.IsNullOrWhiteSpace(Server__name) ? Server__onion_address : Server__name;
}
