_propDict)) { return $this->_propDict["loop"]; } else { return null; } } /** * Sets the loop * * @param int $val The value of the loop * * @return MediaPrompt */ public function setLoop($val) { $this->_propDict["loop"] = $val; return $this; } /** * Gets the mediaInfo * The media information. * * @return MediaInfo|null The mediaInfo */ public function getMediaInfo() { if (array_key_exists("mediaInfo", $this->_propDict)) { if (is_a($this->_propDict["mediaInfo"], "\Beta\Microsoft\Graph\Model\MediaInfo") || is_null($this->_propDict["mediaInfo"])) { return $this->_propDict["mediaInfo"]; } else { $this->_propDict["mediaInfo"] = new MediaInfo($this->_propDict["mediaInfo"]); return $this->_propDict["mediaInfo"]; } } return null; } /** * Sets the mediaInfo * The media information. * * @param MediaInfo $val The value to assign to the mediaInfo * * @return MediaPrompt The MediaPrompt */ public function setMediaInfo($val) { $this->_propDict["mediaInfo"] = $val; return $this; } }