_propDict)) { if (is_a($this->_propDict["constraints"], "\Beta\Microsoft\Graph\Model\DeviceManagementConstraint") || is_null($this->_propDict["constraints"])) { return $this->_propDict["constraints"]; } else { $this->_propDict["constraints"] = new DeviceManagementConstraint($this->_propDict["constraints"]); return $this->_propDict["constraints"]; } } return null; } /** * Sets the constraints * Collection of constraints for the dependency setting value * * @param DeviceManagementConstraint $val The value to assign to the constraints * * @return DeviceManagementSettingDependency The DeviceManagementSettingDependency */ public function setConstraints($val) { $this->_propDict["constraints"] = $val; return $this; } /** * Gets the definitionId * The setting definition ID of the setting depended on * * @return string|null The definitionId */ public function getDefinitionId() { if (array_key_exists("definitionId", $this->_propDict)) { return $this->_propDict["definitionId"]; } else { return null; } } /** * Sets the definitionId * The setting definition ID of the setting depended on * * @param string $val The value of the definitionId * * @return DeviceManagementSettingDependency */ public function setDefinitionId($val) { $this->_propDict["definitionId"] = $val; return $this; } }