_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Channel name as it will appear to the user in Microsoft Teams. * * @param string $val The displayName * * @return Channel */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the description * Optional textual description for the channel. * * @return string The description */ public function getDescription() { if (array_key_exists("description", $this->_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * Optional textual description for the channel. * * @param string $val The description * * @return Channel */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the email * The email address for sending messages to the channel. Read-only. * * @return string The email */ public function getEmail() { if (array_key_exists("email", $this->_propDict)) { return $this->_propDict["email"]; } else { return null; } } /** * Sets the email * The email address for sending messages to the channel. Read-only. * * @param string $val The email * * @return Channel */ public function setEmail($val) { $this->_propDict["email"] = $val; return $this; } /** * Gets the webUrl * A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. * * @return string The webUrl */ public function getWebUrl() { if (array_key_exists("webUrl", $this->_propDict)) { return $this->_propDict["webUrl"]; } else { return null; } } /** * Sets the webUrl * A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only. * * @param string $val The webUrl * * @return Channel */ public function setWebUrl($val) { $this->_propDict["webUrl"] = $val; return $this; } /** * Gets the messages * A collection of all the messages in the channel. A navigation property. Nullable. * * @return array The messages */ public function getMessages() { if (array_key_exists("messages", $this->_propDict)) { return $this->_propDict["messages"]; } else { return null; } } /** * Sets the messages * A collection of all the messages in the channel. A navigation property. Nullable. * * @param ChatMessage $val The messages * * @return Channel */ public function setMessages($val) { $this->_propDict["messages"] = $val; return $this; } /** * Gets the tabs * A collection of all the tabs in the channel. A navigation property. * * @return array The tabs */ public function getTabs() { if (array_key_exists("tabs", $this->_propDict)) { return $this->_propDict["tabs"]; } else { return null; } } /** * Sets the tabs * A collection of all the tabs in the channel. A navigation property. * * @param TeamsTab $val The tabs * * @return Channel */ public function setTabs($val) { $this->_propDict["tabs"] = $val; return $this; } /** * Gets the filesFolder * Metadata for the location where the channel's files are stored. * * @return DriveItem The filesFolder */ public function getFilesFolder() { if (array_key_exists("filesFolder", $this->_propDict)) { if (is_a($this->_propDict["filesFolder"], "Microsoft\Graph\Model\DriveItem")) { return $this->_propDict["filesFolder"]; } else { $this->_propDict["filesFolder"] = new DriveItem($this->_propDict["filesFolder"]); return $this->_propDict["filesFolder"]; } } return null; } /** * Sets the filesFolder * Metadata for the location where the channel's files are stored. * * @param DriveItem $val The filesFolder * * @return Channel */ public function setFilesFolder($val) { $this->_propDict["filesFolder"] = $val; return $this; } }