_propDict)) { return $this->_propDict["activeDevices"]; } else { return null; } } /** * Sets the activeDevices * Number of active devices for that model. Valid values 0 to 2147483647 * * @param int $val The activeDevices * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setActiveDevices($val) { $this->_propDict["activeDevices"] = intval($val); return $this; } /** * Gets the averageBatteryAgeInDays * The mean of the battery age for all devices of a given model 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 of a given model in a tenant. Unit in days. Valid values 0 to 2147483647 * * @param int $val The averageBatteryAgeInDays * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ 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 of a given model. 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 of a given model. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The averageEstimatedRuntimeInMinutes * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setAverageEstimatedRuntimeInMinutes($val) { $this->_propDict["averageEstimatedRuntimeInMinutes"] = intval($val); return $this; } /** * Gets the averageMaxCapacityPercentage * The mean of the maximum capacity for all devices of a given model. 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 of a given model. 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 UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setAverageMaxCapacityPercentage($val) { $this->_propDict["averageMaxCapacityPercentage"] = intval($val); return $this; } /** * Gets the manufacturer * Name of the device manufacturer. * * @return string|null The manufacturer */ public function getManufacturer() { if (array_key_exists("manufacturer", $this->_propDict)) { return $this->_propDict["manufacturer"]; } else { return null; } } /** * Sets the manufacturer * Name of the device manufacturer. * * @param string $val The manufacturer * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setManufacturer($val) { $this->_propDict["manufacturer"] = $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 of a given model 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 of a given model in a tenant. Valid values 0 to 2147483647 * * @param int $val The meanFullBatteryDrainCount * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ 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 of a given model. 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 of a given model. Unit in minutes. Valid values 0 to 2147483647 * * @param int $val The medianEstimatedRuntimeInMinutes * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ 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 of a given model 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 of a given model in a tenant. Valid values 0 to 2147483647 * * @param int $val The medianFullBatteryDrainCount * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setMedianFullBatteryDrainCount($val) { $this->_propDict["medianFullBatteryDrainCount"] = intval($val); return $this; } /** * Gets the medianMaxCapacityPercentage * The median of the maximum capacity for all devices of a given model. 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 of a given model. 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 UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setMedianMaxCapacityPercentage($val) { $this->_propDict["medianMaxCapacityPercentage"] = intval($val); return $this; } /** * Gets the model * The model name of the device. * * @return string|null The model */ public function getModel() { if (array_key_exists("model", $this->_propDict)) { return $this->_propDict["model"]; } else { return null; } } /** * Sets the model * The model name of the device. * * @param string $val The model * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setModel($val) { $this->_propDict["model"] = $val; return $this; } /** * Gets the modelBatteryHealthScore * A weighted average of a model’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values 0 to 2147483647 * * @return int|null The modelBatteryHealthScore */ public function getModelBatteryHealthScore() { if (array_key_exists("modelBatteryHealthScore", $this->_propDict)) { return $this->_propDict["modelBatteryHealthScore"]; } else { return null; } } /** * Sets the modelBatteryHealthScore * A weighted average of a model’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values 0 to 2147483647 * * @param int $val The modelBatteryHealthScore * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setModelBatteryHealthScore($val) { $this->_propDict["modelBatteryHealthScore"] = intval($val); return $this; } /** * Gets the modelHealthStatus * The overall battery health status of a given model in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @return UserExperienceAnalyticsHealthState|null The modelHealthStatus */ public function getModelHealthStatus() { if (array_key_exists("modelHealthStatus", $this->_propDict)) { if (is_a($this->_propDict["modelHealthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState") || is_null($this->_propDict["modelHealthStatus"])) { return $this->_propDict["modelHealthStatus"]; } else { $this->_propDict["modelHealthStatus"] = new UserExperienceAnalyticsHealthState($this->_propDict["modelHealthStatus"]); return $this->_propDict["modelHealthStatus"]; } } return null; } /** * Sets the modelHealthStatus * The overall battery health status of a given model in a tenant. Possible values are: unknown, insufficientData, needsAttention, meetingGoals, unknownFutureValue. * * @param UserExperienceAnalyticsHealthState $val The modelHealthStatus * * @return UserExperienceAnalyticsBatteryHealthModelPerformance */ public function setModelHealthStatus($val) { $this->_propDict["modelHealthStatus"] = $val; return $this; } }