diff --git a/codegen/v2/FirewallZonePolicy.json b/codegen/v2/FirewallZonePolicy.json index f911080..5ea27eb 100644 --- a/codegen/v2/FirewallZonePolicy.json +++ b/codegen/v2/FirewallZonePolicy.json @@ -11,7 +11,6 @@ "app_ids": [""], "ip_group_id": "", "ips": ["^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$"], - "match_mac": "true|false", "match_opposite_ips": "true|false", "match_opposite_ports": "true|false", "matching_target": "ANY|APP|APP_CATEGORY|IP|REGION|WEB", diff --git a/unifi/firewall_zone_policy.generated.go b/unifi/firewall_zone_policy.generated.go index 725726f..f44adff 100644 --- a/unifi/firewall_zone_policy.generated.go +++ b/unifi/firewall_zone_policy.generated.go @@ -68,7 +68,6 @@ type FirewallZonePolicyDestination struct { AppIDs []string `json:"app_ids,omitempty"` IPGroupID string `json:"ip_group_id,omitempty"` IPs []string `json:"ips,omitempty" validate:"omitempty,ipv4"` // ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$ - MatchMAC bool `json:"match_mac"` MatchOppositeIPs bool `json:"match_opposite_ips"` MatchOppositePorts bool `json:"match_opposite_ports"` MatchingTarget string `json:"matching_target,omitempty" validate:"omitempty,oneof=ANY APP APP_CATEGORY IP REGION WEB"` // ANY|APP|APP_CATEGORY|IP|REGION|WEB