From 39042a7ea07e05a37669c6848a320a453f04fcde Mon Sep 17 00:00:00 2001 From: Shane Witbeck Date: Mon, 18 Nov 2024 08:28:51 -0800 Subject: [PATCH] feat: Add missing firewalls to PublicNet --- .../tomsdevsn/hetznercloud/objects/general/PublicNet.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/me/tomsdevsn/hetznercloud/objects/general/PublicNet.java b/src/main/java/me/tomsdevsn/hetznercloud/objects/general/PublicNet.java index 3c0258bb..10c884e1 100644 --- a/src/main/java/me/tomsdevsn/hetznercloud/objects/general/PublicNet.java +++ b/src/main/java/me/tomsdevsn/hetznercloud/objects/general/PublicNet.java @@ -12,6 +12,7 @@ public class PublicNet { private IPv6 ipv6; @JsonProperty("floating_ips") private List floatingIPs; + private List firewalls; @Data public static class IPv4 { @@ -30,4 +31,10 @@ public static class IPv6 { @JsonProperty("dns_ptr") private List dnsPTR; } + + @Data + public static class Firewall { + private Long id; + private String status; + } }