/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupHistory.php
https://github.com/microsoftgraph/msgraph-sdk-php · PHP · 499 lines · 221 code · 33 blank · 245 comment · 34 complexity · 0592637d8880c7e097d631d8ac9f8ddb MD5 · raw file
- <?php
- /**
- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
- *
- * UserExperienceAnalyticsDeviceStartupHistory File
- * PHP version 7
- *
- * @category Library
- * @package Microsoft.Graph
- * @copyright © Microsoft Corporation. All rights reserved.
- * @license https://opensource.org/licenses/MIT MIT License
- * @link https://graph.microsoft.com
- */
- namespace Beta\Microsoft\Graph\Model;
- /**
- * UserExperienceAnalyticsDeviceStartupHistory class
- *
- * @category Model
- * @package Microsoft.Graph
- * @copyright © Microsoft Corporation. All rights reserved.
- * @license https://opensource.org/licenses/MIT MIT License
- * @link https://graph.microsoft.com
- */
- class UserExperienceAnalyticsDeviceStartupHistory extends Entity
- {
- /**
- * Gets the coreBootTimeInMs
- * The user experience analytics device core boot time in milliseconds.
- *
- * @return int The coreBootTimeInMs
- */
- public function getCoreBootTimeInMs()
- {
- if (array_key_exists("coreBootTimeInMs", $this->_propDict)) {
- return $this->_propDict["coreBootTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the coreBootTimeInMs
- * The user experience analytics device core boot time in milliseconds.
- *
- * @param int $val The coreBootTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setCoreBootTimeInMs($val)
- {
- $this->_propDict["coreBootTimeInMs"] = intval($val);
- return $this;
- }
-
- /**
- * Gets the coreLoginTimeInMs
- * The user experience analytics device core login time in milliseconds.
- *
- * @return int The coreLoginTimeInMs
- */
- public function getCoreLoginTimeInMs()
- {
- if (array_key_exists("coreLoginTimeInMs", $this->_propDict)) {
- return $this->_propDict["coreLoginTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the coreLoginTimeInMs
- * The user experience analytics device core login time in milliseconds.
- *
- * @param int $val The coreLoginTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setCoreLoginTimeInMs($val)
- {
- $this->_propDict["coreLoginTimeInMs"] = intval($val);
- return $this;
- }
-
- /**
- * Gets the deviceId
- * The user experience analytics device id.
- *
- * @return string The deviceId
- */
- public function getDeviceId()
- {
- if (array_key_exists("deviceId", $this->_propDict)) {
- return $this->_propDict["deviceId"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the deviceId
- * The user experience analytics device id.
- *
- * @param string $val The deviceId
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setDeviceId($val)
- {
- $this->_propDict["deviceId"] = $val;
- return $this;
- }
-
- /**
- * Gets the featureUpdateBootTimeInMs
- * The user experience analytics device feature update time in milliseconds.
- *
- * @return int The featureUpdateBootTimeInMs
- */
- public function getFeatureUpdateBootTimeInMs()
- {
- if (array_key_exists("featureUpdateBootTimeInMs", $this->_propDict)) {
- return $this->_propDict["featureUpdateBootTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the featureUpdateBootTimeInMs
- * The user experience analytics device feature update time in milliseconds.
- *
- * @param int $val The featureUpdateBootTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setFeatureUpdateBootTimeInMs($val)
- {
- $this->_propDict["featureUpdateBootTimeInMs"] = intval($val);
- return $this;
- }
-
- /**
- * Gets the groupPolicyBootTimeInMs
- * The User experience analytics Device group policy boot time in milliseconds.
- *
- * @return int The groupPolicyBootTimeInMs
- */
- public function getGroupPolicyBootTimeInMs()
- {
- if (array_key_exists("groupPolicyBootTimeInMs", $this->_propDict)) {
- return $this->_propDict["groupPolicyBootTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the groupPolicyBootTimeInMs
- * The User experience analytics Device group policy boot time in milliseconds.
- *
- * @param int $val The groupPolicyBootTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setGroupPolicyBootTimeInMs($val)
- {
- $this->_propDict["groupPolicyBootTimeInMs"] = intval($val);
- return $this;
- }
-
- /**
- * Gets the groupPolicyLoginTimeInMs
- * The User experience analytics Device group policy login time in milliseconds.
- *
- * @return int The groupPolicyLoginTimeInMs
- */
- public function getGroupPolicyLoginTimeInMs()
- {
- if (array_key_exists("groupPolicyLoginTimeInMs", $this->_propDict)) {
- return $this->_propDict["groupPolicyLoginTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the groupPolicyLoginTimeInMs
- * The User experience analytics Device group policy login time in milliseconds.
- *
- * @param int $val The groupPolicyLoginTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setGroupPolicyLoginTimeInMs($val)
- {
- $this->_propDict["groupPolicyLoginTimeInMs"] = intval($val);
- return $this;
- }
-
- /**
- * Gets the isFeatureUpdate
- * The user experience analytics device boot record is a feature update.
- *
- * @return bool The isFeatureUpdate
- */
- public function getIsFeatureUpdate()
- {
- if (array_key_exists("isFeatureUpdate", $this->_propDict)) {
- return $this->_propDict["isFeatureUpdate"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the isFeatureUpdate
- * The user experience analytics device boot record is a feature update.
- *
- * @param bool $val The isFeatureUpdate
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setIsFeatureUpdate($val)
- {
- $this->_propDict["isFeatureUpdate"] = boolval($val);
- return $this;
- }
-
- /**
- * Gets the isFirstLogin
- * The user experience analytics device first login.
- *
- * @return bool The isFirstLogin
- */
- public function getIsFirstLogin()
- {
- if (array_key_exists("isFirstLogin", $this->_propDict)) {
- return $this->_propDict["isFirstLogin"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the isFirstLogin
- * The user experience analytics device first login.
- *
- * @param bool $val The isFirstLogin
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setIsFirstLogin($val)
- {
- $this->_propDict["isFirstLogin"] = boolval($val);
- return $this;
- }
-
- /**
- * Gets the operatingSystemVersion
- * The user experience analytics device boot record's operating system version.
- *
- * @return string The operatingSystemVersion
- */
- public function getOperatingSystemVersion()
- {
- if (array_key_exists("operatingSystemVersion", $this->_propDict)) {
- return $this->_propDict["operatingSystemVersion"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the operatingSystemVersion
- * The user experience analytics device boot record's operating system version.
- *
- * @param string $val The operatingSystemVersion
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setOperatingSystemVersion($val)
- {
- $this->_propDict["operatingSystemVersion"] = $val;
- return $this;
- }
-
- /**
- * Gets the responsiveDesktopTimeInMs
- * The user experience analytics responsive desktop time in milliseconds.
- *
- * @return int The responsiveDesktopTimeInMs
- */
- public function getResponsiveDesktopTimeInMs()
- {
- if (array_key_exists("responsiveDesktopTimeInMs", $this->_propDict)) {
- return $this->_propDict["responsiveDesktopTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the responsiveDesktopTimeInMs
- * The user experience analytics responsive desktop time in milliseconds.
- *
- * @param int $val The responsiveDesktopTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setResponsiveDesktopTimeInMs($val)
- {
- $this->_propDict["responsiveDesktopTimeInMs"] = intval($val);
- return $this;
- }
-
- /**
- * Gets the restartCategory
- * OS restart category
- *
- * @return UserExperienceAnalyticsOperatingSystemRestartCategory The restartCategory
- */
- public function getRestartCategory()
- {
- if (array_key_exists("restartCategory", $this->_propDict)) {
- if (is_a($this->_propDict["restartCategory"], "Beta\Microsoft\Graph\Model\UserExperienceAnalyticsOperatingSystemRestartCategory")) {
- return $this->_propDict["restartCategory"];
- } else {
- $this->_propDict["restartCategory"] = new UserExperienceAnalyticsOperatingSystemRestartCategory($this->_propDict["restartCategory"]);
- return $this->_propDict["restartCategory"];
- }
- }
- return null;
- }
-
- /**
- * Sets the restartCategory
- * OS restart category
- *
- * @param UserExperienceAnalyticsOperatingSystemRestartCategory $val The restartCategory
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setRestartCategory($val)
- {
- $this->_propDict["restartCategory"] = $val;
- return $this;
- }
-
- /**
- * Gets the restartFaultBucket
- * OS restart fault bucket. The fault bucket is used to find additional information about a system crash.
- *
- * @return string The restartFaultBucket
- */
- public function getRestartFaultBucket()
- {
- if (array_key_exists("restartFaultBucket", $this->_propDict)) {
- return $this->_propDict["restartFaultBucket"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the restartFaultBucket
- * OS restart fault bucket. The fault bucket is used to find additional information about a system crash.
- *
- * @param string $val The restartFaultBucket
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setRestartFaultBucket($val)
- {
- $this->_propDict["restartFaultBucket"] = $val;
- return $this;
- }
-
- /**
- * Gets the restartStopCode
- * OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason.
- *
- * @return string The restartStopCode
- */
- public function getRestartStopCode()
- {
- if (array_key_exists("restartStopCode", $this->_propDict)) {
- return $this->_propDict["restartStopCode"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the restartStopCode
- * OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason.
- *
- * @param string $val The restartStopCode
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setRestartStopCode($val)
- {
- $this->_propDict["restartStopCode"] = $val;
- return $this;
- }
-
- /**
- * Gets the startTime
- * The user experience analytics device boot start time.
- *
- * @return \DateTime The startTime
- */
- public function getStartTime()
- {
- if (array_key_exists("startTime", $this->_propDict)) {
- if (is_a($this->_propDict["startTime"], "\DateTime")) {
- return $this->_propDict["startTime"];
- } else {
- $this->_propDict["startTime"] = new \DateTime($this->_propDict["startTime"]);
- return $this->_propDict["startTime"];
- }
- }
- return null;
- }
-
- /**
- * Sets the startTime
- * The user experience analytics device boot start time.
- *
- * @param \DateTime $val The startTime
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setStartTime($val)
- {
- $this->_propDict["startTime"] = $val;
- return $this;
- }
-
- /**
- * Gets the totalBootTimeInMs
- * The user experience analytics device total boot time in milliseconds.
- *
- * @return int The totalBootTimeInMs
- */
- public function getTotalBootTimeInMs()
- {
- if (array_key_exists("totalBootTimeInMs", $this->_propDict)) {
- return $this->_propDict["totalBootTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the totalBootTimeInMs
- * The user experience analytics device total boot time in milliseconds.
- *
- * @param int $val The totalBootTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setTotalBootTimeInMs($val)
- {
- $this->_propDict["totalBootTimeInMs"] = intval($val);
- return $this;
- }
-
- /**
- * Gets the totalLoginTimeInMs
- * The user experience analytics device total login time in milliseconds.
- *
- * @return int The totalLoginTimeInMs
- */
- public function getTotalLoginTimeInMs()
- {
- if (array_key_exists("totalLoginTimeInMs", $this->_propDict)) {
- return $this->_propDict["totalLoginTimeInMs"];
- } else {
- return null;
- }
- }
-
- /**
- * Sets the totalLoginTimeInMs
- * The user experience analytics device total login time in milliseconds.
- *
- * @param int $val The totalLoginTimeInMs
- *
- * @return UserExperienceAnalyticsDeviceStartupHistory
- */
- public function setTotalLoginTimeInMs($val)
- {
- $this->_propDict["totalLoginTimeInMs"] = intval($val);
- return $this;
- }
-
- }