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.
*
* WorkbookSortField 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;
/**
* WorkbookSortField 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 WorkbookSortField extends Entity
{
/**
* Gets the ascending
* Represents whether the sorting is done in an ascending fashion.
*
* @return bool|null The ascending
*/
public function getAscending()
{
if (array_key_exists("ascending", $this->_propDict)) {
return $this->_propDict["ascending"];
} else {
return null;
}
}
/**
* Sets the ascending
* Represents whether the sorting is done in an ascending fashion.
*
* @param bool $val The value of the ascending
*
* @return WorkbookSortField
*/
public function setAscending($val)
{
$this->_propDict["ascending"] = $val;
return $this;
}
/**
* Gets the color
* Represents the color that is the target of the condition if the sorting is on font or cell color.
*
* @return string|null The color
*/
public function getColor()
{
if (array_key_exists("color", $this->_propDict)) {
return $this->_propDict["color"];
} else {
return null;
}
}
/**
* Sets the color
* Represents the color that is the target of the condition if the sorting is on font or cell color.
*
* @param string $val The value of the color
*
* @return WorkbookSortField
*/
public function setColor($val)
{
$this->_propDict["color"] = $val;
return $this;
}
/**
* Gets the dataOption
* Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber.
*
* @return string|null The dataOption
*/
public function getDataOption()
{
if (array_key_exists("dataOption", $this->_propDict)) {
return $this->_propDict["dataOption"];
} else {
return null;
}
}
/**
* Sets the dataOption
* Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber.
*
* @param string $val The value of the dataOption
*
* @return WorkbookSortField
*/
public function setDataOption($val)
{
$this->_propDict["dataOption"] = $val;
return $this;
}
/**
* Gets the icon
* Represents the icon that is the target of the condition if the sorting is on the cell's icon.
*
* @return WorkbookIcon|null The icon
*/
public function getIcon()
{
if (array_key_exists("icon", $this->_propDict)) {
if (is_a($this->_propDict["icon"], "\Microsoft\Graph\Model\WorkbookIcon") || is_null($this->_propDict["icon"])) {
return $this->_propDict["icon"];
} else {
$this->_propDict["icon"] = new WorkbookIcon($this->_propDict["icon"]);
return $this->_propDict["icon"];
}
}
return null;
}
/**
* Sets the icon
* Represents the icon that is the target of the condition if the sorting is on the cell's icon.
*
* @param WorkbookIcon $val The value to assign to the icon
*
* @return WorkbookSortField The WorkbookSortField
*/
public function setIcon($val)
{
$this->_propDict["icon"] = $val;
return $this;
}
/**
* Gets the key
* Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row).
*
* @return int|null The key
*/
public function getKey()
{
if (array_key_exists("key", $this->_propDict)) {
return $this->_propDict["key"];
} else {
return null;
}
}
/**
* Sets the key
* Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row).
*
* @param int $val The value of the key
*
* @return WorkbookSortField
*/
public function setKey($val)
{
$this->_propDict["key"] = $val;
return $this;
}
/**
* Gets the sortOn
* Represents the type of sorting of this condition. The possible values are: Value, CellColor, FontColor, Icon.
*
* @return string|null The sortOn
*/
public function getSortOn()
{
if (array_key_exists("sortOn", $this->_propDict)) {
return $this->_propDict["sortOn"];
} else {
return null;
}
}
/**
* Sets the sortOn
* Represents the type of sorting of this condition. The possible values are: Value, CellColor, FontColor, Icon.
*
* @param string $val The value of the sortOn
*
* @return WorkbookSortField
*/
public function setSortOn($val)
{
$this->_propDict["sortOn"] = $val;
return $this;
}
}