_propDict)) { if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["contentType"])) { return $this->_propDict["contentType"]; } else { $this->_propDict["contentType"] = new ContentTypeInfo($this->_propDict["contentType"]); return $this->_propDict["contentType"]; } } return null; } /** * Sets the contentType * Content type information of the file. * * @param ContentTypeInfo $val The value to assign to the contentType * * @return DocumentSetContent The DocumentSetContent */ public function setContentType($val) { $this->_propDict["contentType"] = $val; return $this; } /** * Gets the fileName * Name of the file in resource folder that should be added as a default content or a template in the document set. * * @return string|null The fileName */ public function getFileName() { if (array_key_exists("fileName", $this->_propDict)) { return $this->_propDict["fileName"]; } else { return null; } } /** * Sets the fileName * Name of the file in resource folder that should be added as a default content or a template in the document set. * * @param string $val The value of the fileName * * @return DocumentSetContent */ public function setFileName($val) { $this->_propDict["fileName"] = $val; return $this; } /** * Gets the folderName * Folder name in which the file will be placed when a new document set is created in the library. * * @return string|null The folderName */ public function getFolderName() { if (array_key_exists("folderName", $this->_propDict)) { return $this->_propDict["folderName"]; } else { return null; } } /** * Sets the folderName * Folder name in which the file will be placed when a new document set is created in the library. * * @param string $val The value of the folderName * * @return DocumentSetContent */ public function setFolderName($val) { $this->_propDict["folderName"] = $val; return $this; } }