package com.centurylink.cloud.sdk.servers.services.domain.ip;

import com.centurylink.cloud.sdk.servers.client.domain.ip.PortConfig;

/**
 * @author Ilya Drabenia
 */
public class PublicIpConfig {

    public PublicIpConfig ports(Integer... ports) {
        return this;
    }

    public PublicIpConfig ports(PortConfig... ports) {
        return this;
    }

    public PublicIpConfig sourceRestrictions(String... restrictions) {
        return this;
    }

}

package com.centurylink.cloud.sdk.servers.services.domain.ip;

import com.centurylink.cloud.sdk.servers.client.domain.ip.PortConfig;

/**
 * @author Ilya Drabenia
 */
public class PublicIpConfig {

    public PublicIpConfig openPorts(Integer... ports) {
        return this;
    }

    public PublicIpConfig openPorts(PortConfig... ports) {
        return this;
    }

    public PublicIpConfig sourceRestrictions(String... restrictions) {
        return this;
    }

    public PublicIpConfig sourceRestrictions(Subnet... restrictions) {
        return this;
    }

}

Implement domain model for add public IP
Implement domain model for add public IP
