_propDict)) { if (is_a($this->_propDict["entitlements"], "\Beta\Microsoft\Graph\Model\EntitlementsDataCollectionInfo") || is_null($this->_propDict["entitlements"])) { return $this->_propDict["entitlements"]; } else { $this->_propDict["entitlements"] = new EntitlementsDataCollectionInfo($this->_propDict["entitlements"]); return $this->_propDict["entitlements"]; } } return null; } /** * Sets the entitlements * * @param EntitlementsDataCollectionInfo $val The entitlements * * @return DataCollectionInfo */ public function setEntitlements($val) { $this->_propDict["entitlements"] = $val; return $this; } }