_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Display name * * @param string $val The value of the displayName * * @return WindowsInformationProtectionIPRangeCollection */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the ranges * Collection of ip ranges * * @return IpRange|null The ranges */ public function getRanges() { if (array_key_exists("ranges", $this->_propDict)) { if (is_a($this->_propDict["ranges"], "\Microsoft\Graph\Model\IpRange") || is_null($this->_propDict["ranges"])) { return $this->_propDict["ranges"]; } else { $this->_propDict["ranges"] = new IpRange($this->_propDict["ranges"]); return $this->_propDict["ranges"]; } } return null; } /** * Sets the ranges * Collection of ip ranges * * @param IpRange $val The value to assign to the ranges * * @return WindowsInformationProtectionIPRangeCollection The WindowsInformationProtectionIPRangeCollection */ public function setRanges($val) { $this->_propDict["ranges"] = $val; return $this; } }