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.
*
* AuditEvent 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;
/**
* AuditEvent 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 AuditEvent extends Entity
{
/**
* Gets the activity
* Friendly name of the activity.
*
* @return string|null The activity
*/
public function getActivity()
{
if (array_key_exists("activity", $this->_propDict)) {
return $this->_propDict["activity"];
} else {
return null;
}
}
/**
* Sets the activity
* Friendly name of the activity.
*
* @param string $val The activity
*
* @return AuditEvent
*/
public function setActivity($val)
{
$this->_propDict["activity"] = $val;
return $this;
}
/**
* Gets the activityDateTime
* The date time in UTC when the activity was performed.
*
* @return \DateTime|null The activityDateTime
*/
public function getActivityDateTime()
{
if (array_key_exists("activityDateTime", $this->_propDict)) {
if (is_a($this->_propDict["activityDateTime"], "\DateTime") || is_null($this->_propDict["activityDateTime"])) {
return $this->_propDict["activityDateTime"];
} else {
$this->_propDict["activityDateTime"] = new \DateTime($this->_propDict["activityDateTime"]);
return $this->_propDict["activityDateTime"];
}
}
return null;
}
/**
* Sets the activityDateTime
* The date time in UTC when the activity was performed.
*
* @param \DateTime $val The activityDateTime
*
* @return AuditEvent
*/
public function setActivityDateTime($val)
{
$this->_propDict["activityDateTime"] = $val;
return $this;
}
/**
* Gets the activityOperationType
* The HTTP operation type of the activity.
*
* @return string|null The activityOperationType
*/
public function getActivityOperationType()
{
if (array_key_exists("activityOperationType", $this->_propDict)) {
return $this->_propDict["activityOperationType"];
} else {
return null;
}
}
/**
* Sets the activityOperationType
* The HTTP operation type of the activity.
*
* @param string $val The activityOperationType
*
* @return AuditEvent
*/
public function setActivityOperationType($val)
{
$this->_propDict["activityOperationType"] = $val;
return $this;
}
/**
* Gets the activityResult
* The result of the activity.
*
* @return string|null The activityResult
*/
public function getActivityResult()
{
if (array_key_exists("activityResult", $this->_propDict)) {
return $this->_propDict["activityResult"];
} else {
return null;
}
}
/**
* Sets the activityResult
* The result of the activity.
*
* @param string $val The activityResult
*
* @return AuditEvent
*/
public function setActivityResult($val)
{
$this->_propDict["activityResult"] = $val;
return $this;
}
/**
* Gets the activityType
* The type of activity that was being performed.
*
* @return string|null The activityType
*/
public function getActivityType()
{
if (array_key_exists("activityType", $this->_propDict)) {
return $this->_propDict["activityType"];
} else {
return null;
}
}
/**
* Sets the activityType
* The type of activity that was being performed.
*
* @param string $val The activityType
*
* @return AuditEvent
*/
public function setActivityType($val)
{
$this->_propDict["activityType"] = $val;
return $this;
}
/**
* Gets the actor
* AAD user and application that are associated with the audit event.
*
* @return AuditActor|null The actor
*/
public function getActor()
{
if (array_key_exists("actor", $this->_propDict)) {
if (is_a($this->_propDict["actor"], "\Microsoft\Graph\Model\AuditActor") || is_null($this->_propDict["actor"])) {
return $this->_propDict["actor"];
} else {
$this->_propDict["actor"] = new AuditActor($this->_propDict["actor"]);
return $this->_propDict["actor"];
}
}
return null;
}
/**
* Sets the actor
* AAD user and application that are associated with the audit event.
*
* @param AuditActor $val The actor
*
* @return AuditEvent
*/
public function setActor($val)
{
$this->_propDict["actor"] = $val;
return $this;
}
/**
* Gets the category
* Audit category.
*
* @return string|null The category
*/
public function getCategory()
{
if (array_key_exists("category", $this->_propDict)) {
return $this->_propDict["category"];
} else {
return null;
}
}
/**
* Sets the category
* Audit category.
*
* @param string $val The category
*
* @return AuditEvent
*/
public function setCategory($val)
{
$this->_propDict["category"] = $val;
return $this;
}
/**
* Gets the componentName
* Component name.
*
* @return string|null The componentName
*/
public function getComponentName()
{
if (array_key_exists("componentName", $this->_propDict)) {
return $this->_propDict["componentName"];
} else {
return null;
}
}
/**
* Sets the componentName
* Component name.
*
* @param string $val The componentName
*
* @return AuditEvent
*/
public function setComponentName($val)
{
$this->_propDict["componentName"] = $val;
return $this;
}
/**
* Gets the correlationId
* The client request Id that is used to correlate activity within the system.
*
* @return string|null The correlationId
*/
public function getCorrelationId()
{
if (array_key_exists("correlationId", $this->_propDict)) {
return $this->_propDict["correlationId"];
} else {
return null;
}
}
/**
* Sets the correlationId
* The client request Id that is used to correlate activity within the system.
*
* @param string $val The correlationId
*
* @return AuditEvent
*/
public function setCorrelationId($val)
{
$this->_propDict["correlationId"] = $val;
return $this;
}
/**
* Gets the displayName
* Event display name.
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
* Event display name.
*
* @param string $val The displayName
*
* @return AuditEvent
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the resources
* Resources being modified.
*
* @return array|null The resources
*/
public function getResources()
{
if (array_key_exists("resources", $this->_propDict)) {
return $this->_propDict["resources"];
} else {
return null;
}
}
/**
* Sets the resources
* Resources being modified.
*
* @param AuditResource[] $val The resources
*
* @return AuditEvent
*/
public function setResources($val)
{
$this->_propDict["resources"] = $val;
return $this;
}
}