_propDict)) { if (is_a($this->_propDict["devices"], "\Beta\Microsoft\Graph\Model\DevicesFilter") || is_null($this->_propDict["devices"])) { return $this->_propDict["devices"]; } else { $this->_propDict["devices"] = new DevicesFilter($this->_propDict["devices"]); return $this->_propDict["devices"]; } } return null; } /** * Sets the devices * Defines the rule for filtering devices and whether devices satisfying the rule should be allowed or blocked. Not implemented. * * @param DevicesFilter $val The value to assign to the devices * * @return CrossTenantAccessPolicyTenantRestrictions The CrossTenantAccessPolicyTenantRestrictions */ public function setDevices($val) { $this->_propDict["devices"] = $val; return $this; } }