_propDict)) { return $this->_propDict["browser"]; } else { return null; } } /** * Sets the browser * Browser of the user from where the training event was generated. * * @param string $val The value of the browser * * @return UserTrainingContentEventInfo */ public function setBrowser($val) { $this->_propDict["browser"] = $val; return $this; } /** * Gets the contentDateTime * Date and time of the training content playback by the user. * * @return \DateTime|null The contentDateTime */ public function getContentDateTime() { if (array_key_exists("contentDateTime", $this->_propDict)) { if (is_a($this->_propDict["contentDateTime"], "\DateTime") || is_null($this->_propDict["contentDateTime"])) { return $this->_propDict["contentDateTime"]; } else { $this->_propDict["contentDateTime"] = new \DateTime($this->_propDict["contentDateTime"]); return $this->_propDict["contentDateTime"]; } } return null; } /** * Sets the contentDateTime * Date and time of the training content playback by the user. * * @param \DateTime $val The value to assign to the contentDateTime * * @return UserTrainingContentEventInfo The UserTrainingContentEventInfo */ public function setContentDateTime($val) { $this->_propDict["contentDateTime"] = $val; return $this; } /** * Gets the ipAddress * IP address of the user for the training event. * * @return string|null The ipAddress */ public function getIpAddress() { if (array_key_exists("ipAddress", $this->_propDict)) { return $this->_propDict["ipAddress"]; } else { return null; } } /** * Sets the ipAddress * IP address of the user for the training event. * * @param string $val The value of the ipAddress * * @return UserTrainingContentEventInfo */ public function setIpAddress($val) { $this->_propDict["ipAddress"] = $val; return $this; } /** * Gets the osPlatformDeviceDetails * The operating system, platform, and device details of the user for the training event. * * @return string|null The osPlatformDeviceDetails */ public function getOsPlatformDeviceDetails() { if (array_key_exists("osPlatformDeviceDetails", $this->_propDict)) { return $this->_propDict["osPlatformDeviceDetails"]; } else { return null; } } /** * Sets the osPlatformDeviceDetails * The operating system, platform, and device details of the user for the training event. * * @param string $val The value of the osPlatformDeviceDetails * * @return UserTrainingContentEventInfo */ public function setOsPlatformDeviceDetails($val) { $this->_propDict["osPlatformDeviceDetails"] = $val; return $this; } /** * Gets the potentialScoreImpact * Potential improvement in the tenant security posture after completion of the training by the user. * * @return float|null The potentialScoreImpact */ public function getPotentialScoreImpact() { if (array_key_exists("potentialScoreImpact", $this->_propDict)) { return $this->_propDict["potentialScoreImpact"]; } else { return null; } } /** * Sets the potentialScoreImpact * Potential improvement in the tenant security posture after completion of the training by the user. * * @param float $val The value of the potentialScoreImpact * * @return UserTrainingContentEventInfo */ public function setPotentialScoreImpact($val) { $this->_propDict["potentialScoreImpact"] = $val; return $this; } }