_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 * Assignment target that the T&C policy is assigned to. * * @param DeviceAndAppManagementAssignmentTarget $val The target * * @return TermsAndConditionsAssignment */ public function setTarget($val) { $this->_propDict["target"] = $val; return $this; } }