_propDict)) { return $this->_propDict["additionalDetails"]; } else { return null; } } /** * Sets the additionalDetails * * @param string $val The value of the additionalDetails * * @return CloudPcHealthCheckItem */ public function setAdditionalDetails($val) { $this->_propDict["additionalDetails"] = $val; return $this; } /** * Gets the displayName * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * * @param string $val The value of the displayName * * @return CloudPcHealthCheckItem */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the lastHealthCheckDateTime * * @return \DateTime|null The lastHealthCheckDateTime */ public function getLastHealthCheckDateTime() { if (array_key_exists("lastHealthCheckDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastHealthCheckDateTime"], "\DateTime") || is_null($this->_propDict["lastHealthCheckDateTime"])) { return $this->_propDict["lastHealthCheckDateTime"]; } else { $this->_propDict["lastHealthCheckDateTime"] = new \DateTime($this->_propDict["lastHealthCheckDateTime"]); return $this->_propDict["lastHealthCheckDateTime"]; } } return null; } /** * Sets the lastHealthCheckDateTime * * @param \DateTime $val The value to assign to the lastHealthCheckDateTime * * @return CloudPcHealthCheckItem The CloudPcHealthCheckItem */ public function setLastHealthCheckDateTime($val) { $this->_propDict["lastHealthCheckDateTime"] = $val; return $this; } /** * Gets the result * * @return CloudPcConnectivityEventResult|null The result */ public function getResult() { if (array_key_exists("result", $this->_propDict)) { if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\CloudPcConnectivityEventResult") || is_null($this->_propDict["result"])) { return $this->_propDict["result"]; } else { $this->_propDict["result"] = new CloudPcConnectivityEventResult($this->_propDict["result"]); return $this->_propDict["result"]; } } return null; } /** * Sets the result * * @param CloudPcConnectivityEventResult $val The value to assign to the result * * @return CloudPcHealthCheckItem The CloudPcHealthCheckItem */ public function setResult($val) { $this->_propDict["result"] = $val; return $this; } }