_propDict)) { return $this->_propDict["activeDevices"]; } else { return null; } } /** * Sets the activeDevices * Number of active devices for that os version. Valid values 0 to 2147483647 * * @param int $val The activeDevices * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setActiveDevices($val) { $this->_propDict["activeDevices"] = intval($val); return $this; } /** * Gets the averageBatteryAgeInDays * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values 0 to 2147483647 * * @return int|null The averageBatteryAgeInDays */ public function getAverageBatteryAgeInDays() { if (array_key_exists("averageBatteryAgeInDays", $this->_propDict)) { return $this->_propDict["averageBatteryAgeInDays"]; } else { return null; } } /** * Sets the averageBatteryAgeInDays * The mean of the battery age for all devices running a particular operating system version in a tenant. Unit in days. Valid values 0 to 2147483647 * * @param int $val The averageBatteryAgeInDays * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setAverageBatteryAgeInDays($val) { $this->_propDict["averageBatteryAgeInDays"] = intval($val); return $this; } /** * Gets the averageEstimatedRuntimeInMinutes * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 * * @return int|null The averageEstimatedRuntimeInMinutes */ public function getAverageEstimatedRuntimeInMinutes() { if (array_key_exists("averageEstimatedRuntimeInMinutes", $this->_propDict)) { return $this->_propDict["averageEstimatedRuntimeInMinutes"]; } else { return null; } } /** * Sets the averageEstimatedRuntimeInMinutes * The mean of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The averageEstimatedRuntimeInMinutes * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setAverageEstimatedRuntimeInMinutes($val) { $this->_propDict["averageEstimatedRuntimeInMinutes"] = intval($val); return $this; } /** * Gets the averageMaxCapacityPercentage * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @return int|null The averageMaxCapacityPercentage */ public function getAverageMaxCapacityPercentage() { if (array_key_exists("averageMaxCapacityPercentage", $this->_propDict)) { return $this->_propDict["averageMaxCapacityPercentage"]; } else { return null; } } /** * Sets the averageMaxCapacityPercentage * The mean of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @param int $val The averageMaxCapacityPercentage * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setAverageMaxCapacityPercentage($val) { $this->_propDict["averageMaxCapacityPercentage"] = intval($val); return $this; } /** * Gets the meanFullBatteryDrainCount * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 * * @return int|null The meanFullBatteryDrainCount */ public function getMeanFullBatteryDrainCount() { if (array_key_exists("meanFullBatteryDrainCount", $this->_propDict)) { return $this->_propDict["meanFullBatteryDrainCount"]; } else { return null; } } /** * Sets the meanFullBatteryDrainCount * The mean of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 * * @param int $val The meanFullBatteryDrainCount * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setMeanFullBatteryDrainCount($val) { $this->_propDict["meanFullBatteryDrainCount"] = intval($val); return $this; } /** * Gets the medianEstimatedRuntimeInMinutes * The median of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 * * @return int|null The medianEstimatedRuntimeInMinutes */ public function getMedianEstimatedRuntimeInMinutes() { if (array_key_exists("medianEstimatedRuntimeInMinutes", $this->_propDict)) { return $this->_propDict["medianEstimatedRuntimeInMinutes"]; } else { return null; } } /** * Sets the medianEstimatedRuntimeInMinutes * The median of the estimated runtimes on full charge for all devices running a particular operating system version. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The medianEstimatedRuntimeInMinutes * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setMedianEstimatedRuntimeInMinutes($val) { $this->_propDict["medianEstimatedRuntimeInMinutes"] = intval($val); return $this; } /** * Gets the medianFullBatteryDrainCount * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 * * @return int|null The medianFullBatteryDrainCount */ public function getMedianFullBatteryDrainCount() { if (array_key_exists("medianFullBatteryDrainCount", $this->_propDict)) { return $this->_propDict["medianFullBatteryDrainCount"]; } else { return null; } } /** * Sets the medianFullBatteryDrainCount * The median of number of times the battery has been discharged an amount that equals 100% of its capacity for all devices running a particular operating system version in a tenant. Valid values 0 to 2147483647 * * @param int $val The medianFullBatteryDrainCount * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setMedianFullBatteryDrainCount($val) { $this->_propDict["medianFullBatteryDrainCount"] = intval($val); return $this; } /** * Gets the medianMaxCapacityPercentage * The median of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @return int|null The medianMaxCapacityPercentage */ public function getMedianMaxCapacityPercentage() { if (array_key_exists("medianMaxCapacityPercentage", $this->_propDict)) { return $this->_propDict["medianMaxCapacityPercentage"]; } else { return null; } } /** * Sets the medianMaxCapacityPercentage * The median of the maximum capacity for all devices running a particular operating system version. Maximum capacity measures the full charge vs. design capacity for a device’s batteries.. Valid values 0 to 2147483647 * * @param int $val The medianMaxCapacityPercentage * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setMedianMaxCapacityPercentage($val) { $this->_propDict["medianMaxCapacityPercentage"] = intval($val); return $this; } /** * Gets the osBatteryHealthScore * A weighted average of battery health score across all devices running a particular operating system version. Values range from 0-100. Valid values 0 to 2147483647 * * @return int|null The osBatteryHealthScore */ public function getOsBatteryHealthScore() { if (array_key_exists("osBatteryHealthScore", $this->_propDict)) { return $this->_propDict["osBatteryHealthScore"]; } else { return null; } } /** * Sets the osBatteryHealthScore * A weighted average of battery health score across all devices running a particular operating system version. Values range from 0-100. Valid values 0 to 2147483647 * * @param int $val The osBatteryHealthScore * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setOsBatteryHealthScore($val) { $this->_propDict["osBatteryHealthScore"] = intval($val); return $this; } /** * Gets the osBuildNumber * Build number of the operating system. * * @return string|null The osBuildNumber */ public function getOsBuildNumber() { if (array_key_exists("osBuildNumber", $this->_propDict)) { return $this->_propDict["osBuildNumber"]; } else { return null; } } /** * Sets the osBuildNumber * Build number of the operating system. * * @param string $val The osBuildNumber * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setOsBuildNumber($val) { $this->_propDict["osBuildNumber"] = $val; return $this; } /** * Gets the osHealthStatus * The overall battery health status of a given os version in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @return UserExperienceAnalyticsHealthState|null The osHealthStatus */ public function getOsHealthStatus() { if (array_key_exists("osHealthStatus", $this->_propDict)) { if (is_a($this->_propDict["osHealthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["osHealthStatus"])) { return $this->_propDict["osHealthStatus"]; } else { $this->_propDict["osHealthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["osHealthStatus"]); return $this->_propDict["osHealthStatus"]; } } return null; } /** * Sets the osHealthStatus * The overall battery health status of a given os version in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @param UserExperienceAnalyticsHealthState $val The osHealthStatus * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setOsHealthStatus($val) { $this->_propDict["osHealthStatus"] = $val; return $this; } /** * Gets the osVersion * Version of the operating system. * * @return string|null The osVersion */ public function getOsVersion() { if (array_key_exists("osVersion", $this->_propDict)) { return $this->_propDict["osVersion"]; } else { return null; } } /** * Sets the osVersion * Version of the operating system. * * @param string $val The osVersion * * @return UserExperienceAnalyticsBatteryHealthOsPerformance */ public function setOsVersion($val) { $this->_propDict["osVersion"] = $val; return $this; } }