public function setSerial(int $serial = 1) : CNabuDataObject
    {
        if ($serial === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$serial")
            );
        }
        $this->setValue('nb_domain_zone_serial', $serial);
        
        return $this;
    }
public function setSerial(int $serial = 1) : CNabuDataObject
    {
        if ($serial === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$serial")
            );
        }
        $this->setValue('nb_domain_zone_serial', $serial);
        
        return $this;
    }
public function setSerial ( int $ serial = 1 ) : CNabuDataObject { if ( $ serial === null ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_NULL_VALUE_NOT_ALLOWED_IN , array ( "\$serial" ) ) ; } $ this -> setValue ( 'nb_domain_zone_serial' , $ serial ) ; return $ this ; }
Sets the Domain Zone Serial attribute value.
@param int $serial New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
Sets the Domain Zone Serial attribute value .