Api\StructType\ApiHouseProfileData::setStoreys_count PHP Method

setStoreys_count() public method

Set storeys_count value
public setStoreys_count ( integer $storeys_count = null ) : ApiHouseProfileData
$storeys_count integer
return ApiHouseProfileData
    public function setStoreys_count($storeys_count = null)
    {
        // validation for constraint: int
        if (!is_null($storeys_count) && !is_numeric($storeys_count)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($storeys_count)), __LINE__);
        }
        $this->storeys_count = $storeys_count;
        return $this;
    }
ApiHouseProfileData