Class: MicrosoftGraph::Models::UserExperienceAnalyticsDeviceStartupHistory
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::UserExperienceAnalyticsDeviceStartupHistory
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_device_startup_history.rb
Overview
The user experience analytics device startup history entity contains device boot performance history 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
-
#core_boot_time_in_ms ⇒ Object
Gets the coreBootTimeInMs property value.
-
#core_boot_time_in_ms=(value) ⇒ Object
Sets the coreBootTimeInMs property value.
-
#core_login_time_in_ms ⇒ Object
Gets the coreLoginTimeInMs property value.
-
#core_login_time_in_ms=(value) ⇒ Object
Sets the coreLoginTimeInMs property value.
-
#device_id ⇒ Object
Gets the deviceId property value.
-
#device_id=(value) ⇒ Object
Sets the deviceId property value.
-
#feature_update_boot_time_in_ms ⇒ Object
Gets the featureUpdateBootTimeInMs property value.
-
#feature_update_boot_time_in_ms=(value) ⇒ Object
Sets the featureUpdateBootTimeInMs property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#group_policy_boot_time_in_ms ⇒ Object
Gets the groupPolicyBootTimeInMs property value.
-
#group_policy_boot_time_in_ms=(value) ⇒ Object
Sets the groupPolicyBootTimeInMs property value.
-
#group_policy_login_time_in_ms ⇒ Object
Gets the groupPolicyLoginTimeInMs property value.
-
#group_policy_login_time_in_ms=(value) ⇒ Object
Sets the groupPolicyLoginTimeInMs property value.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsDeviceStartupHistory and sets the default values.
-
#is_feature_update ⇒ Object
Gets the isFeatureUpdate property value.
-
#is_feature_update=(value) ⇒ Object
Sets the isFeatureUpdate property value.
-
#is_first_login ⇒ Object
Gets the isFirstLogin property value.
-
#is_first_login=(value) ⇒ Object
Sets the isFirstLogin property value.
-
#operating_system_version ⇒ Object
Gets the operatingSystemVersion property value.
-
#operating_system_version=(value) ⇒ Object
Sets the operatingSystemVersion property value.
-
#responsive_desktop_time_in_ms ⇒ Object
Gets the responsiveDesktopTimeInMs property value.
-
#responsive_desktop_time_in_ms=(value) ⇒ Object
Sets the responsiveDesktopTimeInMs property value.
-
#restart_category ⇒ Object
Gets the restartCategory property value.
-
#restart_category=(value) ⇒ Object
Sets the restartCategory property value.
-
#restart_fault_bucket ⇒ Object
Gets the restartFaultBucket property value.
-
#restart_fault_bucket=(value) ⇒ Object
Sets the restartFaultBucket property value.
-
#restart_stop_code ⇒ Object
Gets the restartStopCode property value.
-
#restart_stop_code=(value) ⇒ Object
Sets the restartStopCode property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#start_time ⇒ Object
Gets the startTime property value.
-
#start_time=(value) ⇒ Object
Sets the startTime property value.
-
#total_boot_time_in_ms ⇒ Object
Gets the totalBootTimeInMs property value.
-
#total_boot_time_in_ms=(value) ⇒ Object
Sets the totalBootTimeInMs property value.
-
#total_login_time_in_ms ⇒ Object
Gets the totalLoginTimeInMs property value.
-
#total_login_time_in_ms=(value) ⇒ Object
Sets the totalLoginTimeInMs property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new userExperienceAnalyticsDeviceStartupHistory and sets the default values.
64 65 66 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 64 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_device_startup_history.rb', line 102 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsDeviceStartupHistory.new end |
Instance Method Details
#core_boot_time_in_ms ⇒ Object
Gets the coreBootTimeInMs property value. The device core boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
71 72 73 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 71 def core_boot_time_in_ms return @core_boot_time_in_ms end |
#core_boot_time_in_ms=(value) ⇒ Object
Sets the coreBootTimeInMs property value. The device core boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
79 80 81 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 79 def core_boot_time_in_ms=(value) @core_boot_time_in_ms = value end |
#core_login_time_in_ms ⇒ Object
Gets the coreLoginTimeInMs property value. The device core login time in milliseconds. Supports: $select, $OrderBy. Read-only.
86 87 88 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 86 def core_login_time_in_ms return @core_login_time_in_ms end |
#core_login_time_in_ms=(value) ⇒ Object
Sets the coreLoginTimeInMs property value. The device core login time in milliseconds. Supports: $select, $OrderBy. Read-only.
94 95 96 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 94 def core_login_time_in_ms=(value) @core_login_time_in_ms = value end |
#device_id ⇒ Object
Gets the deviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.
110 111 112 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 110 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.
118 119 120 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 118 def device_id=(value) @device_id = value end |
#feature_update_boot_time_in_ms ⇒ Object
Gets the featureUpdateBootTimeInMs property value. The impact of device feature updates on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
125 126 127 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 125 def feature_update_boot_time_in_ms return @feature_update_boot_time_in_ms end |
#feature_update_boot_time_in_ms=(value) ⇒ Object
Sets the featureUpdateBootTimeInMs property value. The impact of device feature updates on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
133 134 135 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 133 def feature_update_boot_time_in_ms=(value) @feature_update_boot_time_in_ms = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 140 def get_field_deserializers() return super.merge({ "coreBootTimeInMs" => lambda {|n| @core_boot_time_in_ms = n.get_number_value() }, "coreLoginTimeInMs" => lambda {|n| @core_login_time_in_ms = n.get_number_value() }, "deviceId" => lambda {|n| @device_id = n.get_string_value() }, "featureUpdateBootTimeInMs" => lambda {|n| @feature_update_boot_time_in_ms = n.get_number_value() }, "groupPolicyBootTimeInMs" => lambda {|n| @group_policy_boot_time_in_ms = n.get_number_value() }, "groupPolicyLoginTimeInMs" => lambda {|n| @group_policy_login_time_in_ms = n.get_number_value() }, "isFeatureUpdate" => lambda {|n| @is_feature_update = n.get_boolean_value() }, "isFirstLogin" => lambda {|n| @is_first_login = n.get_boolean_value() }, "operatingSystemVersion" => lambda {|n| = n.get_string_value() }, "responsiveDesktopTimeInMs" => lambda {|n| @responsive_desktop_time_in_ms = n.get_number_value() }, "restartCategory" => lambda {|n| @restart_category = n.get_enum_value(MicrosoftGraph::Models::) }, "restartFaultBucket" => lambda {|n| @restart_fault_bucket = n.get_string_value() }, "restartStopCode" => lambda {|n| @restart_stop_code = n.get_string_value() }, "startTime" => lambda {|n| @start_time = n.get_date_time_value() }, "totalBootTimeInMs" => lambda {|n| @total_boot_time_in_ms = n.get_number_value() }, "totalLoginTimeInMs" => lambda {|n| @total_login_time_in_ms = n.get_number_value() }, }) end |
#group_policy_boot_time_in_ms ⇒ Object
Gets the groupPolicyBootTimeInMs property value. The impact of device group policy client on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
164 165 166 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 164 def group_policy_boot_time_in_ms return @group_policy_boot_time_in_ms end |
#group_policy_boot_time_in_ms=(value) ⇒ Object
Sets the groupPolicyBootTimeInMs property value. The impact of device group policy client on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
172 173 174 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 172 def group_policy_boot_time_in_ms=(value) @group_policy_boot_time_in_ms = value end |
#group_policy_login_time_in_ms ⇒ Object
Gets the groupPolicyLoginTimeInMs property value. The impact of device group policy client on login time in milliseconds. Supports: $select, $OrderBy. Read-only.
179 180 181 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 179 def group_policy_login_time_in_ms return @group_policy_login_time_in_ms end |
#group_policy_login_time_in_ms=(value) ⇒ Object
Sets the groupPolicyLoginTimeInMs property value. The impact of device group policy client on login time in milliseconds. Supports: $select, $OrderBy. Read-only.
187 188 189 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 187 def group_policy_login_time_in_ms=(value) @group_policy_login_time_in_ms = value end |
#is_feature_update ⇒ Object
Gets the isFeatureUpdate property value. When TRUE, indicates the device boot record is associated with feature updates. When FALSE, indicates the device boot record is not associated with feature updates. Supports: $select, $OrderBy. Read-only.
194 195 196 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 194 def is_feature_update return @is_feature_update end |
#is_feature_update=(value) ⇒ Object
Sets the isFeatureUpdate property value. When TRUE, indicates the device boot record is associated with feature updates. When FALSE, indicates the device boot record is not associated with feature updates. Supports: $select, $OrderBy. Read-only.
202 203 204 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 202 def is_feature_update=(value) @is_feature_update = value end |
#is_first_login ⇒ Object
Gets the isFirstLogin property value. When TRUE, indicates the device login is the first login after a reboot. When FALSE, indicates the device login is not the first login after a reboot. Supports: $select, $OrderBy. Read-only.
209 210 211 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 209 def is_first_login return @is_first_login end |
#is_first_login=(value) ⇒ Object
Sets the isFirstLogin property value. When TRUE, indicates the device login is the first login after a reboot. When FALSE, indicates the device login is not the first login after a reboot. Supports: $select, $OrderBy. Read-only.
217 218 219 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 217 def is_first_login=(value) @is_first_login = value end |
#operating_system_version ⇒ Object
Gets the operatingSystemVersion property value. The user experience analytics device boot record’s operating system version. Supports: $select, $OrderBy. Read-only.
224 225 226 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 224 def return end |
#operating_system_version=(value) ⇒ Object
Sets the operatingSystemVersion property value. The user experience analytics device boot record’s operating system version. Supports: $select, $OrderBy. Read-only.
232 233 234 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 232 def (value) = value end |
#responsive_desktop_time_in_ms ⇒ Object
Gets the responsiveDesktopTimeInMs property value. The time for desktop to become responsive during login process in milliseconds. Supports: $select, $OrderBy. Read-only.
239 240 241 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 239 def responsive_desktop_time_in_ms return @responsive_desktop_time_in_ms end |
#responsive_desktop_time_in_ms=(value) ⇒ Object
Sets the responsiveDesktopTimeInMs property value. The time for desktop to become responsive during login process in milliseconds. Supports: $select, $OrderBy. Read-only.
247 248 249 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 247 def responsive_desktop_time_in_ms=(value) @responsive_desktop_time_in_ms = value end |
#restart_category ⇒ Object
Gets the restartCategory property value. Operating System restart category.
254 255 256 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 254 def restart_category return @restart_category end |
#restart_category=(value) ⇒ Object
Sets the restartCategory property value. Operating System restart category.
262 263 264 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 262 def restart_category=(value) @restart_category = value end |
#restart_fault_bucket ⇒ Object
Gets the restartFaultBucket property value. OS restart fault bucket. The fault bucket is used to find additional information about a system crash. Supports: $select, $OrderBy. Read-only.
269 270 271 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 269 def restart_fault_bucket return @restart_fault_bucket end |
#restart_fault_bucket=(value) ⇒ Object
Sets the restartFaultBucket property value. OS restart fault bucket. The fault bucket is used to find additional information about a system crash. Supports: $select, $OrderBy. Read-only.
277 278 279 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 277 def restart_fault_bucket=(value) @restart_fault_bucket = value end |
#restart_stop_code ⇒ Object
Gets the restartStopCode property value. OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason. Supports: $select, $OrderBy. Read-only.
284 285 286 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 284 def restart_stop_code return @restart_stop_code end |
#restart_stop_code=(value) ⇒ Object
Sets the restartStopCode property value. OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason. Supports: $select, $OrderBy. Read-only.
292 293 294 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 292 def restart_stop_code=(value) @restart_stop_code = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 300 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_number_value("coreBootTimeInMs", @core_boot_time_in_ms) writer.write_number_value("coreLoginTimeInMs", @core_login_time_in_ms) writer.write_string_value("deviceId", @device_id) writer.write_number_value("featureUpdateBootTimeInMs", @feature_update_boot_time_in_ms) writer.write_number_value("groupPolicyBootTimeInMs", @group_policy_boot_time_in_ms) writer.write_number_value("groupPolicyLoginTimeInMs", @group_policy_login_time_in_ms) writer.write_boolean_value("isFeatureUpdate", @is_feature_update) writer.write_boolean_value("isFirstLogin", @is_first_login) writer.write_string_value("operatingSystemVersion", ) writer.write_number_value("responsiveDesktopTimeInMs", @responsive_desktop_time_in_ms) writer.write_enum_value("restartCategory", @restart_category) writer.write_string_value("restartFaultBucket", @restart_fault_bucket) writer.write_string_value("restartStopCode", @restart_stop_code) writer.write_date_time_value("startTime", @start_time) writer.write_number_value("totalBootTimeInMs", @total_boot_time_in_ms) writer.write_number_value("totalLoginTimeInMs", @total_login_time_in_ms) end |
#start_time ⇒ Object
Gets the startTime property value. The device boot start time. The value cannot be modified and is automatically populated when the device performs a reboot. 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.
324 325 326 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 324 def start_time return @start_time end |
#start_time=(value) ⇒ Object
Sets the startTime property value. The device boot start time. The value cannot be modified and is automatically populated when the device performs a reboot. 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.
332 333 334 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 332 def start_time=(value) @start_time = value end |
#total_boot_time_in_ms ⇒ Object
Gets the totalBootTimeInMs property value. The device total boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
339 340 341 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 339 def total_boot_time_in_ms return @total_boot_time_in_ms end |
#total_boot_time_in_ms=(value) ⇒ Object
Sets the totalBootTimeInMs property value. The device total boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
347 348 349 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 347 def total_boot_time_in_ms=(value) @total_boot_time_in_ms = value end |
#total_login_time_in_ms ⇒ Object
Gets the totalLoginTimeInMs property value. The device total login time in milliseconds. Supports: $select, $OrderBy. Read-only.
354 355 356 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 354 def total_login_time_in_ms return @total_login_time_in_ms end |
#total_login_time_in_ms=(value) ⇒ Object
Sets the totalLoginTimeInMs property value. The device total login time in milliseconds. Supports: $select, $OrderBy. Read-only.
362 363 364 |
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 362 def total_login_time_in_ms=(value) @total_login_time_in_ms = value end |