code: public function getIPsList($serverdomain="", $ipblock="", $type="")
  	{
  		if ($type!= "") {
  			switch ($type) {
  				case "cdn":
  				case "dedicated":
  				case "failover":
  				case "hosted_ssl":
  				case "loadBalancing":
  				case "mail":
  				case "pcc":
  				case "pci":
  				case "private":
  				case "vpn":
  				case "vps":
  				case "vrack":
  				case "xdsl":
  					break;
  				default:
  					throw new InvalidArgumentException('Parameter $type is invalid.');
  			}
  		}
  
  		$qualifier = "";
  		if ($serverdomain!="") {
  			$qualifier="routedTo.serviceName=$serverdomain";
  		}
  		if ($ipblock!="") {
  			if (isset($qualifier)) {
  				$qualifier .= "&";
  			}
  			$qualifier .= "ip=".urlencode($ipblock);
  		}
  		if ($type!="")
  		{
  			if (isset($qualifier)) {
  				$qualifier .= "&";
  			}
  			$qualifier .= "type=$type";
  		}
  		if ($qualifier != "") {
  			$qualifier = "?$qualifier";
  		}
  		
  		return $this->get("ip$qualifier")->send()->getBody(true);
  	}
docs: /*
  get list of IPs, subject to restricitons
  1. associated with specific server
  2. a specific IPblock
  3. a specific type of IP.
  
  arguments are positional, but cumulatie
  
  returns list of IPs meeting criteria