_propDict)) { if (is_a($this->_propDict["audience"], "\Beta\Microsoft\Graph\Model\MeetingAudience") || is_null($this->_propDict["audience"])) { return $this->_propDict["audience"]; } else { $this->_propDict["audience"] = new MeetingAudience($this->_propDict["audience"]); return $this->_propDict["audience"]; } } return null; } /** * Sets the audience * To whom the webinar is visible. * * @param MeetingAudience $val The audience * * @return VirtualEventWebinar */ public function setAudience($val) { $this->_propDict["audience"] = $val; return $this; } /** * Gets the coOrganizers * Identity information of coorganizers of the webinar. * * @return array|null The coOrganizers */ public function getCoOrganizers() { if (array_key_exists("coOrganizers", $this->_propDict)) { return $this->_propDict["coOrganizers"]; } else { return null; } } /** * Sets the coOrganizers * Identity information of coorganizers of the webinar. * * @param CommunicationsUserIdentity[] $val The coOrganizers * * @return VirtualEventWebinar */ public function setCoOrganizers($val) { $this->_propDict["coOrganizers"] = $val; return $this; } /** * Gets the registrationConfiguration * Registration configuration of the webinar. * * @return VirtualEventRegistrationConfiguration|null The registrationConfiguration */ public function getRegistrationConfiguration() { if (array_key_exists("registrationConfiguration", $this->_propDict)) { if (is_a($this->_propDict["registrationConfiguration"], "\Beta\Microsoft\Graph\Model\VirtualEventRegistrationConfiguration") || is_null($this->_propDict["registrationConfiguration"])) { return $this->_propDict["registrationConfiguration"]; } else { $this->_propDict["registrationConfiguration"] = new VirtualEventRegistrationConfiguration($this->_propDict["registrationConfiguration"]); return $this->_propDict["registrationConfiguration"]; } } return null; } /** * Sets the registrationConfiguration * Registration configuration of the webinar. * * @param VirtualEventRegistrationConfiguration $val The registrationConfiguration * * @return VirtualEventWebinar */ public function setRegistrationConfiguration($val) { $this->_propDict["registrationConfiguration"] = $val; return $this; } /** * Gets the registrations * Registration records of the webinar. * * @return array|null The registrations */ public function getRegistrations() { if (array_key_exists("registrations", $this->_propDict)) { return $this->_propDict["registrations"]; } else { return null; } } /** * Sets the registrations * Registration records of the webinar. * * @param VirtualEventRegistration[] $val The registrations * * @return VirtualEventWebinar */ public function setRegistrations($val) { $this->_propDict["registrations"] = $val; return $this; } }