_propDict)) { if (is_a($this->_propDict["reason"], "\Microsoft\Graph\Model\RejectReason") || is_null($this->_propDict["reason"])) { return $this->_propDict["reason"]; } else { $this->_propDict["reason"] = new RejectReason($this->_propDict["reason"]); return $this->_propDict["reason"]; } } return null; } /** * Sets the reason * The rejection reason. Possible values are None, Busy, and Forbidden. * * @param RejectReason $val The value to assign to the reason * * @return RejectJoinResponse The RejectJoinResponse */ public function setReason($val) { $this->_propDict["reason"] = $val; return $this; } }