_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Display Name of the publishedResource. * * @param string $val The displayName * * @return PublishedResource */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the publishingType * Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. * * @return OnPremisesPublishingType|null The publishingType */ public function getPublishingType() { if (array_key_exists("publishingType", $this->_propDict)) { if (is_a($this->_propDict["publishingType"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishingType") || is_null($this->_propDict["publishingType"])) { return $this->_propDict["publishingType"]; } else { $this->_propDict["publishingType"] = new OnPremisesPublishingType($this->_propDict["publishingType"]); return $this->_propDict["publishingType"]; } } return null; } /** * Sets the publishingType * Possible values are: applicationProxy, exchangeOnline, authentication, provisioning, adAdministration. * * @param OnPremisesPublishingType $val The publishingType * * @return PublishedResource */ public function setPublishingType($val) { $this->_propDict["publishingType"] = $val; return $this; } /** * Gets the resourceName * Name of the publishedResource. * * @return string|null The resourceName */ public function getResourceName() { if (array_key_exists("resourceName", $this->_propDict)) { return $this->_propDict["resourceName"]; } else { return null; } } /** * Sets the resourceName * Name of the publishedResource. * * @param string $val The resourceName * * @return PublishedResource */ public function setResourceName($val) { $this->_propDict["resourceName"] = $val; return $this; } /** * Gets the agentGroups * List of onPremisesAgentGroups that a publishedResource is assigned to. Read-only. Nullable. * * @return array|null The agentGroups */ public function getAgentGroups() { if (array_key_exists("agentGroups", $this->_propDict)) { return $this->_propDict["agentGroups"]; } else { return null; } } /** * Sets the agentGroups * List of onPremisesAgentGroups that a publishedResource is assigned to. Read-only. Nullable. * * @param OnPremisesAgentGroup[] $val The agentGroups * * @return PublishedResource */ public function setAgentGroups($val) { $this->_propDict["agentGroups"] = $val; return $this; } }