All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.tomsdevsn.hetznercloud.objects.general.PublicNet Maven / Gradle / Ivy

The newest version!
package me.tomsdevsn.hetznercloud.objects.general;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class PublicNet {

    private IPv4 ipv4;
    private IPv6 ipv6;
    @JsonProperty("floating_ips")
    private List floatingIPs;

    @Data
    public static class IPv4 {
        private String ip;
        private boolean blocked;
        @JsonProperty("dns_ptr")
        public String dnsPTR;
    }

    @Data
    public static class IPv6 {
        private String ip;
        private boolean blocked;
        @JsonProperty("dns_ptr")
        private List dnsPTR;

        @Data
        public static class DNSPTR {
            private String ip;
            @JsonProperty("dns_ptr")
            private String dnsPTR;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy