using Newtonsoft.Json; namespace PSProxmoxVE.Core.Models.Firewall; /// /// Represents a Proxmox VE firewall IP alias as returned by /// the firewall/aliases endpoints. /// public class PveFirewallAlias { /// /// The alias name. /// [JsonProperty("name")] public string Name { get; set; } = string.Empty; /// /// The CIDR network or IP address (e.g. "10.0.0.0/8" or "192.168.1.1"). /// [JsonProperty("cidr")] public string Cidr { get; set; } = string.Empty; /// /// Optional comment describing the alias. /// [JsonProperty("comment")] public string? Comment { get; set; } /// public override string ToString() { return $"Alias: {Name} → {Cidr}"; } }