Skip to content

Commit

Permalink
Merge pull request #217 from thesurlydev/add-server-firewalls
Browse files Browse the repository at this point in the history
Add missing firewalls to PublicNet
  • Loading branch information
sinuscosinustan authored Nov 19, 2024
2 parents 163bb86 + 39042a7 commit b0806b7
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class PublicNet {
private IPv6 ipv6;
@JsonProperty("floating_ips")
private List<Long> floatingIPs;
private List<Firewall> firewalls;

@Data
public static class IPv4 {
Expand All @@ -30,4 +31,10 @@ public static class IPv6 {
@JsonProperty("dns_ptr")
private List<DnsPTR> dnsPTR;
}

@Data
public static class Firewall {
private Long id;
private String status;
}
}

0 comments on commit b0806b7

Please sign in to comment.