_propDict)) { if (is_a($this->_propDict["allowedRegistrant"], "\Beta\Microsoft\Graph\Model\MeetingAudience") || is_null($this->_propDict["allowedRegistrant"])) { return $this->_propDict["allowedRegistrant"]; } else { $this->_propDict["allowedRegistrant"] = new MeetingAudience($this->_propDict["allowedRegistrant"]); return $this->_propDict["allowedRegistrant"]; } } return null; } /** * Sets the allowedRegistrant * Specifies who can register for the meeting. * * @param MeetingAudience $val The allowedRegistrant * * @return MeetingRegistrationBase */ public function setAllowedRegistrant($val) { $this->_propDict["allowedRegistrant"] = $val; return $this; } /** * Gets the registrants * Registrants of the online meeting. * * @return array|null The registrants */ public function getRegistrants() { if (array_key_exists("registrants", $this->_propDict)) { return $this->_propDict["registrants"]; } else { return null; } } /** * Sets the registrants * Registrants of the online meeting. * * @param MeetingRegistrantBase[] $val The registrants * * @return MeetingRegistrationBase */ public function setRegistrants($val) { $this->_propDict["registrants"] = $val; return $this; } }