Class PrivateNetworkLease


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class PrivateNetworkLease
    extends Object
    Private Network leased IP address
    • Constructor Detail

      • PrivateNetworkLease

        public PrivateNetworkLease()
      • PrivateNetworkLease

        public PrivateNetworkLease​(String ip,
                                   UUID instanceId)
    • Method Detail

      • getIp

        @Nullable
        public String getIp()
        Private Network IP address
        Returns:
        ip
      • getInstanceId

        @Nullable
        public UUID getInstanceId()
        Attached instance ID
        Returns:
        instanceId
      • equals

        public boolean equals​(Object o)
        Return true if this private-network-lease object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string