_propDict)) { if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { return $this->_propDict["lastModifiedDateTime"]; } else { $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); return $this->_propDict["lastModifiedDateTime"]; } } return null; } /** * Sets the lastModifiedDateTime * The date and time the entity was last modified. * * @param \DateTime $val The lastModifiedDateTime * * @return GroupPolicyConfigurationAssignment */ public function setLastModifiedDateTime($val) { $this->_propDict["lastModifiedDateTime"] = $val; return $this; } /** * Gets the target * The type of groups targeted the group policy configuration. * * @return DeviceAndAppManagementAssignmentTarget|null The target */ public function getTarget() { if (array_key_exists("target", $this->_propDict)) { if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget") || is_null($this->_propDict["target"])) { return $this->_propDict["target"]; } else { $this->_propDict["target"] = new DeviceAndAppManagementAssignmentTarget($this->_propDict["target"]); return $this->_propDict["target"]; } } return null; } /** * Sets the target * The type of groups targeted the group policy configuration. * * @param DeviceAndAppManagementAssignmentTarget $val The target * * @return GroupPolicyConfigurationAssignment */ public function setTarget($val) { $this->_propDict["target"] = $val; return $this; } }