_propDict)) { if (is_a($this->_propDict["target"], "\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 * User groups targeting for devices to be enrolled through partner. * * @param DeviceAndAppManagementAssignmentTarget $val The value to assign to the target * * @return DeviceManagementPartnerAssignment The DeviceManagementPartnerAssignment */ public function setTarget($val) { $this->_propDict["target"] = $val; return $this; } }