_propDict)) { return $this->_propDict["syncCalendar"]; } else { return null; } } /** * Sets the syncCalendar * Toggles syncing the calendar. If set to false the calendar is turned off on the device. * * @param bool $val The syncCalendar * * @return AndroidWorkProfileNineWorkEasConfiguration */ public function setSyncCalendar($val) { $this->_propDict["syncCalendar"] = boolval($val); return $this; } /** * Gets the syncContacts * Toggles syncing contacts. If set to false contacts are turned off on the device. * * @return bool|null The syncContacts */ public function getSyncContacts() { if (array_key_exists("syncContacts", $this->_propDict)) { return $this->_propDict["syncContacts"]; } else { return null; } } /** * Sets the syncContacts * Toggles syncing contacts. If set to false contacts are turned off on the device. * * @param bool $val The syncContacts * * @return AndroidWorkProfileNineWorkEasConfiguration */ public function setSyncContacts($val) { $this->_propDict["syncContacts"] = boolval($val); return $this; } /** * Gets the syncTasks * Toggles syncing tasks. If set to false tasks are turned off on the device. * * @return bool|null The syncTasks */ public function getSyncTasks() { if (array_key_exists("syncTasks", $this->_propDict)) { return $this->_propDict["syncTasks"]; } else { return null; } } /** * Sets the syncTasks * Toggles syncing tasks. If set to false tasks are turned off on the device. * * @param bool $val The syncTasks * * @return AndroidWorkProfileNineWorkEasConfiguration */ public function setSyncTasks($val) { $this->_propDict["syncTasks"] = boolval($val); return $this; } }