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.
*
* Request 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;
/**
* Request 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 Request extends Entity
{
/**
* Gets the approvalId
* The identifier of the approval of the request.
*
* @return string|null The approvalId
*/
public function getApprovalId()
{
if (array_key_exists("approvalId", $this->_propDict)) {
return $this->_propDict["approvalId"];
} else {
return null;
}
}
/**
* Sets the approvalId
* The identifier of the approval of the request.
*
* @param string $val The approvalId
*
* @return Request
*/
public function setApprovalId($val)
{
$this->_propDict["approvalId"] = $val;
return $this;
}
/**
* Gets the completedDateTime
* The request completion date time.
*
* @return \DateTime|null The completedDateTime
*/
public function getCompletedDateTime()
{
if (array_key_exists("completedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) {
return $this->_propDict["completedDateTime"];
} else {
$this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]);
return $this->_propDict["completedDateTime"];
}
}
return null;
}
/**
* Sets the completedDateTime
* The request completion date time.
*
* @param \DateTime $val The completedDateTime
*
* @return Request
*/
public function setCompletedDateTime($val)
{
$this->_propDict["completedDateTime"] = $val;
return $this;
}
/**
* Gets the createdBy
* The principal that created the request.
*
* @return IdentitySet|null The createdBy
*/
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) {
return $this->_propDict["createdBy"];
} else {
$this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]);
return $this->_propDict["createdBy"];
}
}
return null;
}
/**
* Sets the createdBy
* The principal that created the request.
*
* @param IdentitySet $val The createdBy
*
* @return Request
*/
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The request creation date time.
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
* The request creation date time.
*
* @param \DateTime $val The createdDateTime
*
* @return Request
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the customData
* Free text field to define any custom data for the request. Not used.
*
* @return string|null The customData
*/
public function getCustomData()
{
if (array_key_exists("customData", $this->_propDict)) {
return $this->_propDict["customData"];
} else {
return null;
}
}
/**
* Sets the customData
* Free text field to define any custom data for the request. Not used.
*
* @param string $val The customData
*
* @return Request
*/
public function setCustomData($val)
{
$this->_propDict["customData"] = $val;
return $this;
}
/**
* Gets the status
* The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable.
*
* @return string|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
return $this->_propDict["status"];
} else {
return null;
}
}
/**
* Sets the status
* The status of the request. Not nullable. The possible values are: Canceled, Denied, Failed, Granted, PendingAdminDecision, PendingApproval, PendingProvisioning, PendingScheduleCreation, Provisioned, Revoked, and ScheduleCreated. Not nullable.
*
* @param string $val The status
*
* @return Request
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
}