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.
*
* RichLongRunningOperation 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;
/**
* RichLongRunningOperation 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 RichLongRunningOperation extends LongRunningOperation
{
/**
* Gets the error
* Error that caused the operation to fail.
*
* @return PublicError|null The error
*/
public function getError()
{
if (array_key_exists("error", $this->_propDict)) {
if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["error"])) {
return $this->_propDict["error"];
} else {
$this->_propDict["error"] = new PublicError($this->_propDict["error"]);
return $this->_propDict["error"];
}
}
return null;
}
/**
* Sets the error
* Error that caused the operation to fail.
*
* @param PublicError $val The error
*
* @return RichLongRunningOperation
*/
public function setError($val)
{
$this->_propDict["error"] = $val;
return $this;
}
/**
* Gets the percentageComplete
* A value between 0 and 100 that indicates the progress of the operation.
*
* @return int|null The percentageComplete
*/
public function getPercentageComplete()
{
if (array_key_exists("percentageComplete", $this->_propDict)) {
return $this->_propDict["percentageComplete"];
} else {
return null;
}
}
/**
* Sets the percentageComplete
* A value between 0 and 100 that indicates the progress of the operation.
*
* @param int $val The percentageComplete
*
* @return RichLongRunningOperation
*/
public function setPercentageComplete($val)
{
$this->_propDict["percentageComplete"] = intval($val);
return $this;
}
/**
* Gets the resourceId
* The unique identifier for the result.
*
* @return string|null The resourceId
*/
public function getResourceId()
{
if (array_key_exists("resourceId", $this->_propDict)) {
return $this->_propDict["resourceId"];
} else {
return null;
}
}
/**
* Sets the resourceId
* The unique identifier for the result.
*
* @param string $val The resourceId
*
* @return RichLongRunningOperation
*/
public function setResourceId($val)
{
$this->_propDict["resourceId"] = $val;
return $this;
}
/**
* Gets the type
* The type of the operation.
*
* @return string|null The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
return $this->_propDict["type"];
} else {
return null;
}
}
/**
* Sets the type
* The type of the operation.
*
* @param string $val The type
*
* @return RichLongRunningOperation
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}
}