public function swap($IPAddressID, $withIPAddressID = null, $toLinodeID = null)
    {
        return $this->call('linode.ip.swap', [
            'IPAddressID'     => $IPAddressID,
            'withIPAddressID' => $withIPAddressID,
            'toLinodeID'      => $toLinodeID,
        ]);
    }
public function swap($IPAddressID, $withIPAddressID = null, $toLinodeID = null)
    {
        return $this->call('linode.ip.swap', [
            'IPAddressID'     => $IPAddressID,
            'withIPAddressID' => $withIPAddressID,
            'toLinodeID'      => $toLinodeID,
        ]);
    }
public function swap ( $ IPAddressID , $ withIPAddressID = null , $ toLinodeID = null ) { return $ this -> call ( 'linode.ip.swap' , [ 'IPAddressID' => $ IPAddressID , 'withIPAddressID' => $ withIPAddressID , 'toLinodeID' => $ toLinodeID , ] ) ; }
Exchanges Public IP addresses between two Linodes within a Datacenter.  The destination of the IP
Address can be designated by either the toLinodeID or withIPAddressID parameter.  Returns the
resulting relationship of the Linode and IP Address parameters.  When performing a one directional
swap, the source is represented by the first of the two resultant array members.

@param int $IPAddressID     [required] The IPAddressID of an IP Address to transfer or swap
@param int $withIPAddressID [optional] The IP Address ID to swap
@param int $toLinodeID      [optional] The LinodeID of the Linode where IPAddressID will be transfered

@return array
Exchanges Public IP addresses between two Linodes within a Datacenter . The destination of the IP Address can be designated by either the toLinodeID or withIPAddressID parameter . Returns the resulting relationship of the Linode and IP Address parameters . When performing a one directional swap the source is represented by the first of the two resultant array members .