package org.dasein.cloud.compute;

import org.dasein.cloud.network.RawAddress;

/**
 * @author Eugene Yaroslavtsev
 * @since 22.09.2014
 */
public class AssociationIpAddress {
    private RawAddress privateIpAddress;
    private RawAddress publicIpAddress;
    private boolean primary;

    public AssociationIpAddress() {
    }

    public RawAddress getPrivateIpAddress() {
        return privateIpAddress;
    }

    public void setPrivateIpAddress( RawAddress privateIpAddress ) {
        this.privateIpAddress = privateIpAddress;
    }

    public RawAddress getPublicIpAddress() {
        return publicIpAddress;
    }

    public void setPublicIpAddress( RawAddress publicIpAddress ) {
        this.publicIpAddress = publicIpAddress;
    }

    public boolean isPrimary() {
        return primary;
    }

    public void setPrimary( boolean primary ) {
        this.primary = primary;
    }
}

@@ -242,32 +242,66 @@
 ublicIpAddress;%0A
+    private String publicDnsName;%0A
     private bool
@@ -767,32 +767,218 @@
 Address;%0A    %7D%0A%0A
+    public String getPublicDnsName() %7B%0A        return publicDnsName;%0A    %7D%0A%0A    public void setPublicDnsName( String publicDnsName ) %7B%0A        this.publicDnsName = publicDnsName;%0A    %7D%0A%0A
     public boole

add public dns name (#534)