_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * The name for the supported region. Read-only. * * @param string $val The displayName * * @return CloudPcSupportedRegion */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the regionStatus * * @return CloudPcSupportedRegionStatus|null The regionStatus */ public function getRegionStatus() { if (array_key_exists("regionStatus", $this->_propDict)) { if (is_a($this->_propDict["regionStatus"], "\Beta\Microsoft\Graph\Model\CloudPcSupportedRegionStatus") || is_null($this->_propDict["regionStatus"])) { return $this->_propDict["regionStatus"]; } else { $this->_propDict["regionStatus"] = new CloudPcSupportedRegionStatus($this->_propDict["regionStatus"]); return $this->_propDict["regionStatus"]; } } return null; } /** * Sets the regionStatus * * @param CloudPcSupportedRegionStatus $val The regionStatus * * @return CloudPcSupportedRegion */ public function setRegionStatus($val) { $this->_propDict["regionStatus"] = $val; return $this; } }