public function setUnblockSpam($ipblock,$ipv4)
    {
		if (!$ipblock)
			throw new BadMethodCallException('Parameter $ipblock is missing.');
		if (!$ipv4)
			throw new BadMethodCallException('Parameter $ipv4 is missing.');
		
        try {
            $r = $this->post('ip/' . urlencode($ipblock) . '/spam/' . $ipv4 .'/unblock' )->send();
        } catch (\Exception $e) {
            throw new IpException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }
public function setUnblockSpam($ipblock,$ipv4)
    {
		if (!$ipblock)
			throw new BadMethodCallException('Parameter $ipblock is missing.');
		if (!$ipv4)
			throw new BadMethodCallException('Parameter $ipv4 is missing.');
		
        try {
            $r = $this->post('ip/' . urlencode($ipblock) . '/spam/' . $ipv4 .'/unblock' )->send();
        } catch (\Exception $e) {
            throw new IpException($e->getMessage(), $e->getCode(), $e);
        }
        return $r->getBody(true);
    }
public function setUnblockSpam ( $ ipblock , $ ipv4 ) { if ( ! $ ipblock ) throw new BadMethodCallException ( 'Parameter $ipblock is missing.' ) ; if ( ! $ ipv4 ) throw new BadMethodCallException ( 'Parameter $ipv4 is missing.' ) ; try { $ r = $ this -> post ( 'ip/' . urlencode ( $ ipblock ) . '/spam/' . $ ipv4 . '/unblock' ) -> send ( ) ; } catch ( \ Exception $ e ) { throw new IpException ( $ e -> getMessage ( ) , $ e -> getCode ( ) , $ e ) ; } return $ r -> getBody ( true ) ; }
Set UnblockSpam - Trigger unblocking of IP on Spam block

@param string $ipBlock
@param string $ipv4
@return string Json
@throws Exception\IpException
@throws Exception\IpNotFoundException
Set UnblockSpam - Trigger unblocking of IP on Spam block