_propDict)) { return $this->_propDict["workforceIntegrations"]; } else { return null; } } /** * Sets the workforceIntegrations * A workforce integration with shifts. * * @param WorkforceIntegration[] $val The workforceIntegrations * * @return Teamwork */ public function setWorkforceIntegrations($val) { $this->_propDict["workforceIntegrations"] = $val; return $this; } /** * Gets the deletedTeams * A collection of deleted teams. * * @return array|null The deletedTeams */ public function getDeletedTeams() { if (array_key_exists("deletedTeams", $this->_propDict)) { return $this->_propDict["deletedTeams"]; } else { return null; } } /** * Sets the deletedTeams * A collection of deleted teams. * * @param DeletedTeam[] $val The deletedTeams * * @return Teamwork */ public function setDeletedTeams($val) { $this->_propDict["deletedTeams"] = $val; return $this; } /** * Gets the devices * The Teams devices provisioned for the tenant. * * @return array|null The devices */ public function getDevices() { if (array_key_exists("devices", $this->_propDict)) { return $this->_propDict["devices"]; } else { return null; } } /** * Sets the devices * The Teams devices provisioned for the tenant. * * @param TeamworkDevice[] $val The devices * * @return Teamwork */ public function setDevices($val) { $this->_propDict["devices"] = $val; return $this; } /** * Gets the teamsAppSettings * Represents tenant-wide settings for all Teams apps in the tenant. * * @return TeamsAppSettings|null The teamsAppSettings */ public function getTeamsAppSettings() { if (array_key_exists("teamsAppSettings", $this->_propDict)) { if (is_a($this->_propDict["teamsAppSettings"], "\Beta\Microsoft\Graph\Model\TeamsAppSettings") || is_null($this->_propDict["teamsAppSettings"])) { return $this->_propDict["teamsAppSettings"]; } else { $this->_propDict["teamsAppSettings"] = new TeamsAppSettings($this->_propDict["teamsAppSettings"]); return $this->_propDict["teamsAppSettings"]; } } return null; } /** * Sets the teamsAppSettings * Represents tenant-wide settings for all Teams apps in the tenant. * * @param TeamsAppSettings $val The teamsAppSettings * * @return Teamwork */ public function setTeamsAppSettings($val) { $this->_propDict["teamsAppSettings"] = $val; return $this; } }