_propDict)) { if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { return $this->_propDict["createdDateTime"]; } else { $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); return $this->_propDict["createdDateTime"]; } } return null; } /** * Sets the createdDateTime * The date when the reviewer was added for the access review. * * @param \DateTime $val The createdDateTime * * @return AccessReviewReviewer */ public function setCreatedDateTime($val) { $this->_propDict["createdDateTime"] = $val; return $this; } /** * Gets the displayName * Name of reviewer. * * @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 * Name of reviewer. * * @param string $val The displayName * * @return AccessReviewReviewer */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the userPrincipalName * User principal name of the reviewer. * * @return string|null The userPrincipalName */ public function getUserPrincipalName() { if (array_key_exists("userPrincipalName", $this->_propDict)) { return $this->_propDict["userPrincipalName"]; } else { return null; } } /** * Sets the userPrincipalName * User principal name of the reviewer. * * @param string $val The userPrincipalName * * @return AccessReviewReviewer */ public function setUserPrincipalName($val) { $this->_propDict["userPrincipalName"] = $val; return $this; } }