Class: MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthDevicePerformance
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthDevicePerformance
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_app_health_device_performance.rb
Overview
The user experience analytics device performance entity contains device performance details.
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#app_crash_count ⇒ Object
Gets the appCrashCount property value.
-
#app_crash_count=(value) ⇒ Object
Sets the appCrashCount property value.
-
#app_hang_count ⇒ Object
Gets the appHangCount property value.
-
#app_hang_count=(value) ⇒ Object
Sets the appHangCount property value.
-
#crashed_app_count ⇒ Object
Gets the crashedAppCount property value.
-
#crashed_app_count=(value) ⇒ Object
Sets the crashedAppCount property value.
-
#device_app_health_score ⇒ Object
Gets the deviceAppHealthScore property value.
-
#device_app_health_score=(value) ⇒ Object
Sets the deviceAppHealthScore property value.
-
#device_display_name ⇒ Object
Gets the deviceDisplayName property value.
-
#device_display_name=(value) ⇒ Object
Sets the deviceDisplayName property value.
-
#device_id ⇒ Object
Gets the deviceId property value.
-
#device_id=(value) ⇒ Object
Sets the deviceId property value.
-
#device_manufacturer ⇒ Object
Gets the deviceManufacturer property value.
-
#device_manufacturer=(value) ⇒ Object
Sets the deviceManufacturer property value.
-
#device_model ⇒ Object
Gets the deviceModel property value.
-
#device_model=(value) ⇒ Object
Sets the deviceModel property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#health_status ⇒ Object
Gets the healthStatus property value.
-
#health_status=(value) ⇒ Object
Sets the healthStatus property value.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsAppHealthDevicePerformance and sets the default values.
-
#mean_time_to_failure_in_minutes ⇒ Object
Gets the meanTimeToFailureInMinutes property value.
-
#mean_time_to_failure_in_minutes=(value) ⇒ Object
Sets the meanTimeToFailureInMinutes property value.
-
#processed_date_time ⇒ Object
Gets the processedDateTime property value.
-
#processed_date_time=(value) ⇒ Object
Sets the processedDateTime property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new userExperienceAnalyticsAppHealthDevicePerformance and sets the default values.
79 80 81 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 79 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
102 103 104 105 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 102 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsAppHealthDevicePerformance.new end |
Instance Method Details
#app_crash_count ⇒ Object
Gets the appCrashCount property value. The number of application crashes for the device. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
49 50 51 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 49 def app_crash_count return @app_crash_count end |
#app_crash_count=(value) ⇒ Object
Sets the appCrashCount property value. The number of application crashes for the device. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
57 58 59 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 57 def app_crash_count=(value) @app_crash_count = value end |
#app_hang_count ⇒ Object
Gets the appHangCount property value. The number of application hangs for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
64 65 66 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 64 def app_hang_count return @app_hang_count end |
#app_hang_count=(value) ⇒ Object
Sets the appHangCount property value. The number of application hangs for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
72 73 74 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 72 def app_hang_count=(value) @app_hang_count = value end |
#crashed_app_count ⇒ Object
Gets the crashedAppCount property value. The number of distinct application crashes for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
86 87 88 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 86 def crashed_app_count return @crashed_app_count end |
#crashed_app_count=(value) ⇒ Object
Sets the crashedAppCount property value. The number of distinct application crashes for the device. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
94 95 96 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 94 def crashed_app_count=(value) @crashed_app_count = value end |
#device_app_health_score ⇒ Object
Gets the deviceAppHealthScore property value. The application health score of the device. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
110 111 112 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 110 def device_app_health_score return @device_app_health_score end |
#device_app_health_score=(value) ⇒ Object
Sets the deviceAppHealthScore property value. The application health score of the device. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
118 119 120 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 118 def device_app_health_score=(value) @device_app_health_score = value end |
#device_display_name ⇒ Object
Gets the deviceDisplayName property value. The name of the device. Supports: $select, $OrderBy. Read-only.
125 126 127 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 125 def device_display_name return @device_display_name end |
#device_display_name=(value) ⇒ Object
Sets the deviceDisplayName property value. The name of the device. Supports: $select, $OrderBy. Read-only.
133 134 135 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 133 def device_display_name=(value) @device_display_name = value end |
#device_id ⇒ Object
Gets the deviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.
140 141 142 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 140 def device_id return @device_id end |
#device_id=(value) ⇒ Object
Sets the deviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.
148 149 150 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 148 def device_id=(value) @device_id = value end |
#device_manufacturer ⇒ Object
Gets the deviceManufacturer property value. The manufacturer name of the device. Supports: $select, $OrderBy. Read-only.
155 156 157 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 155 def device_manufacturer return @device_manufacturer end |
#device_manufacturer=(value) ⇒ Object
Sets the deviceManufacturer property value. The manufacturer name of the device. Supports: $select, $OrderBy. Read-only.
163 164 165 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 163 def device_manufacturer=(value) @device_manufacturer = value end |
#device_model ⇒ Object
Gets the deviceModel property value. The model name of the device. Supports: $select, $OrderBy. Read-only.
170 171 172 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 170 def device_model return @device_model end |
#device_model=(value) ⇒ Object
Sets the deviceModel property value. The model name of the device. Supports: $select, $OrderBy. Read-only.
178 179 180 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 178 def device_model=(value) @device_model = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 185 def get_field_deserializers() return super.merge({ "appCrashCount" => lambda {|n| @app_crash_count = n.get_number_value() }, "appHangCount" => lambda {|n| @app_hang_count = n.get_number_value() }, "crashedAppCount" => lambda {|n| @crashed_app_count = n.get_number_value() }, "deviceAppHealthScore" => lambda {|n| @device_app_health_score = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "deviceDisplayName" => lambda {|n| @device_display_name = n.get_string_value() }, "deviceId" => lambda {|n| @device_id = n.get_string_value() }, "deviceManufacturer" => lambda {|n| @device_manufacturer = n.get_string_value() }, "deviceModel" => lambda {|n| @device_model = n.get_string_value() }, "healthStatus" => lambda {|n| @health_status = n.get_enum_value(MicrosoftGraph::Models::UserExperienceAnalyticsHealthState) }, "meanTimeToFailureInMinutes" => lambda {|n| @mean_time_to_failure_in_minutes = n.get_number_value() }, "processedDateTime" => lambda {|n| @processed_date_time = n.get_date_time_value() }, }) end |
#health_status ⇒ Object
Gets the healthStatus property value. The healthStatus property
204 205 206 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 204 def health_status return @health_status end |
#health_status=(value) ⇒ Object
Sets the healthStatus property value. The healthStatus property
212 213 214 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 212 def health_status=(value) @health_status = value end |
#mean_time_to_failure_in_minutes ⇒ Object
Gets the meanTimeToFailureInMinutes property value. The mean time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
219 220 221 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 219 def mean_time_to_failure_in_minutes return @mean_time_to_failure_in_minutes end |
#mean_time_to_failure_in_minutes=(value) ⇒ Object
Sets the meanTimeToFailureInMinutes property value. The mean time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
227 228 229 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 227 def mean_time_to_failure_in_minutes=(value) @mean_time_to_failure_in_minutes = value end |
#processed_date_time ⇒ Object
Gets the processedDateTime property value. The date and time when the statistics were last computed. The value cannot be modified and is automatically populated when the statistics are computed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 would look like this: ‘2022-01-01T00:00:00Z’. Returned by default. Read-only.
234 235 236 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 234 def processed_date_time return @processed_date_time end |
#processed_date_time=(value) ⇒ Object
Sets the processedDateTime property value. The date and time when the statistics were last computed. The value cannot be modified and is automatically populated when the statistics are computed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 would look like this: ‘2022-01-01T00:00:00Z’. Returned by default. Read-only.
242 243 244 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 242 def processed_date_time=(value) @processed_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'lib/models/user_experience_analytics_app_health_device_performance.rb', line 250 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_number_value("appCrashCount", @app_crash_count) writer.write_number_value("appHangCount", @app_hang_count) writer.write_number_value("crashedAppCount", @crashed_app_count) writer.write_object_value("deviceAppHealthScore", @device_app_health_score) writer.write_string_value("deviceDisplayName", @device_display_name) writer.write_string_value("deviceId", @device_id) writer.write_string_value("deviceManufacturer", @device_manufacturer) writer.write_string_value("deviceModel", @device_model) writer.write_enum_value("healthStatus", @health_status) writer.write_number_value("meanTimeToFailureInMinutes", @mean_time_to_failure_in_minutes) writer.write_date_time_value("processedDateTime", @processed_date_time) end |