_propDict)) { return $this->_propDict["email"]; } else { return null; } } /** * Sets the email * Email address of the presenter. * * @param string $val The email * * @return VirtualEventPresenter */ public function setEmail($val) { $this->_propDict["email"] = $val; return $this; } /** * Gets the identity * Identity information of the presenter. * * @return CommunicationsUserIdentity|null The identity */ public function getIdentity() { if (array_key_exists("identity", $this->_propDict)) { if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\CommunicationsUserIdentity") || is_null($this->_propDict["identity"])) { return $this->_propDict["identity"]; } else { $this->_propDict["identity"] = new CommunicationsUserIdentity($this->_propDict["identity"]); return $this->_propDict["identity"]; } } return null; } /** * Sets the identity * Identity information of the presenter. * * @param CommunicationsUserIdentity $val The identity * * @return VirtualEventPresenter */ public function setIdentity($val) { $this->_propDict["identity"] = $val; return $this; } /** * Gets the presenterDetails * Other detail information of the presenter. * * @return VirtualEventPresenterDetails|null The presenterDetails */ public function getPresenterDetails() { if (array_key_exists("presenterDetails", $this->_propDict)) { if (is_a($this->_propDict["presenterDetails"], "\Beta\Microsoft\Graph\Model\VirtualEventPresenterDetails") || is_null($this->_propDict["presenterDetails"])) { return $this->_propDict["presenterDetails"]; } else { $this->_propDict["presenterDetails"] = new VirtualEventPresenterDetails($this->_propDict["presenterDetails"]); return $this->_propDict["presenterDetails"]; } } return null; } /** * Sets the presenterDetails * Other detail information of the presenter. * * @param VirtualEventPresenterDetails $val The presenterDetails * * @return VirtualEventPresenter */ public function setPresenterDetails($val) { $this->_propDict["presenterDetails"] = $val; return $this; } }