Class PublicNetRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2023-08-17T03:32:29.204871Z[Etc/UTC]")
    public class PublicNetRequest
    extends Object
    PublicNetRequest
    • Constructor Detail

      • PublicNetRequest

        public PublicNetRequest()
    • Method Detail

      • getEnableIpv4

        @Nullable
        public Boolean getEnableIpv4()
        Attach an IPv4 on the public NIC. If false, no IPv4 address will be attached. Defaults to true.
        Returns:
        enableIpv4
      • setEnableIpv4

        public void setEnableIpv4​(Boolean enableIpv4)
      • getEnableIpv6

        @Nullable
        public Boolean getEnableIpv6()
        Attach an IPv6 on the public NIC. If false, no IPv6 address will be attached. Defaults to true.
        Returns:
        enableIpv6
      • setEnableIpv6

        public void setEnableIpv6​(Boolean enableIpv6)
      • getIpv4

        @Nullable
        public Long getIpv4()
        ID of the ipv4 Primary IP to use. If omitted and enable_ipv4 is true, a new ipv4 Primary IP will automatically be created.
        Returns:
        ipv4
      • setIpv4

        public void setIpv4​(Long ipv4)
      • getIpv6

        @Nullable
        public Long getIpv6()
        ID of the ipv6 Primary IP to use. If omitted and enable_ipv6 is true, a new ipv6 Primary IP will automatically be created.
        Returns:
        ipv6
      • setIpv6

        public void setIpv6​(Long ipv6)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object