_propDict)) { if (is_a($this->_propDict["contentCategory"], "\Beta\Microsoft\Graph\Model\MediaSourceContentCategory") || is_null($this->_propDict["contentCategory"])) { return $this->_propDict["contentCategory"]; } else { $this->_propDict["contentCategory"] = new MediaSourceContentCategory($this->_propDict["contentCategory"]); return $this->_propDict["contentCategory"]; } } return null; } /** * Sets the contentCategory * Enumeration value that indicates the media content category. * * @param MediaSourceContentCategory $val The value to assign to the contentCategory * * @return MediaSource The MediaSource */ public function setContentCategory($val) { $this->_propDict["contentCategory"] = $val; return $this; } }