whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
Model
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/vendor/microsoft/microsoft-graph/src/Model/ReportRoot.php
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * ReportRoot 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; /** * ReportRoot 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 ReportRoot implements \JsonSerializable { /** * The array of properties available * to the model * * @var array $_propDict */ protected $_propDict; /** * Construct a new ReportRoot * * @param array $propDict A list of properties to set */ function __construct($propDict = array()) { if (!is_array($propDict)) { $propDict = array(); } $this->_propDict = $propDict; } /** * Gets the property dictionary of the ReportRoot * * @return array The list of properties */ public function getProperties() { return $this->_propDict; } /** * Gets the authenticationMethods * Container for navigation properties for Microsoft Entra authentication methods resources. * * @return AuthenticationMethodsRoot|null The authenticationMethods */ public function getAuthenticationMethods() { if (array_key_exists("authenticationMethods", $this->_propDict)) { if (is_a($this->_propDict["authenticationMethods"], "\Microsoft\Graph\Model\AuthenticationMethodsRoot") || is_null($this->_propDict["authenticationMethods"])) { return $this->_propDict["authenticationMethods"]; } else { $this->_propDict["authenticationMethods"] = new AuthenticationMethodsRoot($this->_propDict["authenticationMethods"]); return $this->_propDict["authenticationMethods"]; } } return null; } /** * Sets the authenticationMethods * Container for navigation properties for Microsoft Entra authentication methods resources. * * @param AuthenticationMethodsRoot $val The authenticationMethods * * @return ReportRoot */ public function setAuthenticationMethods($val) { $this->_propDict["authenticationMethods"] = $val; return $this; } /** * Gets the dailyPrintUsageByPrinter * Retrieve a list of daily print usage summaries, grouped by printer. * * @return array|null The dailyPrintUsageByPrinter */ public function getDailyPrintUsageByPrinter() { if (array_key_exists("dailyPrintUsageByPrinter", $this->_propDict)) { return $this->_propDict["dailyPrintUsageByPrinter"]; } else { return null; } } /** * Sets the dailyPrintUsageByPrinter * Retrieve a list of daily print usage summaries, grouped by printer. * * @param PrintUsageByPrinter[] $val The dailyPrintUsageByPrinter * * @return ReportRoot */ public function setDailyPrintUsageByPrinter($val) { $this->_propDict["dailyPrintUsageByPrinter"] = $val; return $this; } /** * Gets the dailyPrintUsageByUser * Retrieve a list of daily print usage summaries, grouped by user. * * @return array|null The dailyPrintUsageByUser */ public function getDailyPrintUsageByUser() { if (array_key_exists("dailyPrintUsageByUser", $this->_propDict)) { return $this->_propDict["dailyPrintUsageByUser"]; } else { return null; } } /** * Sets the dailyPrintUsageByUser * Retrieve a list of daily print usage summaries, grouped by user. * * @param PrintUsageByUser[] $val The dailyPrintUsageByUser * * @return ReportRoot */ public function setDailyPrintUsageByUser($val) { $this->_propDict["dailyPrintUsageByUser"] = $val; return $this; } /** * Gets the monthlyPrintUsageByPrinter * Retrieve a list of monthly print usage summaries, grouped by printer. * * @return array|null The monthlyPrintUsageByPrinter */ public function getMonthlyPrintUsageByPrinter() { if (array_key_exists("monthlyPrintUsageByPrinter", $this->_propDict)) { return $this->_propDict["monthlyPrintUsageByPrinter"]; } else { return null; } } /** * Sets the monthlyPrintUsageByPrinter * Retrieve a list of monthly print usage summaries, grouped by printer. * * @param PrintUsageByPrinter[] $val The monthlyPrintUsageByPrinter * * @return ReportRoot */ public function setMonthlyPrintUsageByPrinter($val) { $this->_propDict["monthlyPrintUsageByPrinter"] = $val; return $this; } /** * Gets the monthlyPrintUsageByUser * Retrieve a list of monthly print usage summaries, grouped by user. * * @return array|null The monthlyPrintUsageByUser */ public function getMonthlyPrintUsageByUser() { if (array_key_exists("monthlyPrintUsageByUser", $this->_propDict)) { return $this->_propDict["monthlyPrintUsageByUser"]; } else { return null; } } /** * Sets the monthlyPrintUsageByUser * Retrieve a list of monthly print usage summaries, grouped by user. * * @param PrintUsageByUser[] $val The monthlyPrintUsageByUser * * @return ReportRoot */ public function setMonthlyPrintUsageByUser($val) { $this->_propDict["monthlyPrintUsageByUser"] = $val; return $this; } /** * Gets the security * Represents an abstract type that contains resources for attack simulation and training reports. * * @return SecurityReportsRoot|null The security */ public function getSecurity() { if (array_key_exists("security", $this->_propDict)) { if (is_a($this->_propDict["security"], "\Microsoft\Graph\Model\SecurityReportsRoot") || is_null($this->_propDict["security"])) { return $this->_propDict["security"]; } else { $this->_propDict["security"] = new SecurityReportsRoot($this->_propDict["security"]); return $this->_propDict["security"]; } } return null; } /** * Sets the security * Represents an abstract type that contains resources for attack simulation and training reports. * * @param SecurityReportsRoot $val The security * * @return ReportRoot */ public function setSecurity($val) { $this->_propDict["security"] = $val; return $this; } /** * Gets the ODataType * * @return string|null The ODataType */ public function getODataType() { if (array_key_exists('@odata.type', $this->_propDict)) { return $this->_propDict["@odata.type"]; } return null; } /** * Sets the ODataType * * @param string $val The ODataType * * @return ReportRoot */ public function setODataType($val) { $this->_propDict["@odata.type"] = $val; return $this; } /** * Serializes the object by property array * Manually serialize DateTime into RFC3339 format * * @return array The list of properties */ #[\ReturnTypeWillChange] public function jsonSerialize() { $serializableProperties = $this->getProperties(); foreach ($serializableProperties as $property => $val) { if (is_a($val, "\DateTime")) { $serializableProperties[$property] = $val->format(\DateTime::RFC3339); } else if (is_a($val, "\Microsoft\Graph\Core\Enum")) { $serializableProperties[$property] = $val->value(); } else if (is_a($val, "\Entity")) { $serializableProperties[$property] = $val->jsonSerialize(); } else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) { $serializableProperties[$property] = (string) $val; } } return $serializableProperties; } }
Copyright ©2021 || Defacer Indonesia