setODataType("#microsoft.graph.tabUpdatedEventMessageDetail"); } /** * Gets the initiator * Initiator of the event. * * @return IdentitySet|null The initiator */ public function getInitiator() { if (array_key_exists("initiator", $this->_propDict)) { if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) { return $this->_propDict["initiator"]; } else { $this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]); return $this->_propDict["initiator"]; } } return null; } /** * Sets the initiator * Initiator of the event. * * @param IdentitySet $val The value to assign to the initiator * * @return TabUpdatedEventMessageDetail The TabUpdatedEventMessageDetail */ public function setInitiator($val) { $this->_propDict["initiator"] = $val; return $this; } /** * Gets the tabId * Unique identifier of the tab. * * @return string|null The tabId */ public function getTabId() { if (array_key_exists("tabId", $this->_propDict)) { return $this->_propDict["tabId"]; } else { return null; } } /** * Sets the tabId * Unique identifier of the tab. * * @param string $val The value of the tabId * * @return TabUpdatedEventMessageDetail */ public function setTabId($val) { $this->_propDict["tabId"] = $val; return $this; } }