Class: MicrosoftGraph::Models::UserExperienceAnalyticsDeviceStartupHistory

Inherits:
Entity
  • Object
show all
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

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a user_experience_analytics_device_startup_history

Raises:

  • (StandardError)


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_msObject

Gets the coreBootTimeInMs property value. The device core boot time in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



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.

Parameters:

  • value

    Value to set for the coreBootTimeInMs property.

Returns:

  • a void



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_msObject

Gets the coreLoginTimeInMs property value. The device core login time in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



86
87
88
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 86

def 
    return 
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.

Parameters:

  • value

    Value to set for the coreLoginTimeInMs property.

Returns:

  • a void



94
95
96
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 94

def (value)
     = value
end

#device_idObject

Gets the deviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the deviceId property.

Returns:

  • a void



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_msObject

Gets the featureUpdateBootTimeInMs property value. The impact of device feature updates on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



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.

Parameters:

  • value

    Value to set for the featureUpdateBootTimeInMs property.

Returns:

  • a void



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_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



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|  = 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|  = n.get_number_value() },
        "isFeatureUpdate" => lambda {|n| @is_feature_update = n.get_boolean_value() },
        "isFirstLogin" => lambda {|n|  = n.get_boolean_value() },
        "operatingSystemVersion" => lambda {|n| @operating_system_version = 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::UserExperienceAnalyticsOperatingSystemRestartCategory) },
        "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|  = n.get_number_value() },
    })
end

#group_policy_boot_time_in_msObject

Gets the groupPolicyBootTimeInMs property value. The impact of device group policy client on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



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.

Parameters:

  • value

    Value to set for the groupPolicyBootTimeInMs property.

Returns:

  • a void



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_msObject

Gets the groupPolicyLoginTimeInMs property value. The impact of device group policy client on login time in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



179
180
181
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 179

def 
    return 
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.

Parameters:

  • value

    Value to set for the groupPolicyLoginTimeInMs property.

Returns:

  • a void



187
188
189
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 187

def (value)
     = value
end

#is_feature_updateObject

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.

Returns:

  • a boolean



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.

Parameters:

  • value

    Value to set for the isFeatureUpdate property.

Returns:

  • a void



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_loginObject

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.

Returns:

  • a boolean



209
210
211
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 209

def 
    return 
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.

Parameters:

  • value

    Value to set for the isFirstLogin property.

Returns:

  • a void



217
218
219
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 217

def is_first_login=(value)
     = value
end

#operating_system_versionObject

Gets the operatingSystemVersion property value. The user experience analytics device boot record’s operating system version. Supports: $select, $OrderBy. Read-only.

Returns:

  • a string



224
225
226
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 224

def operating_system_version
    return @operating_system_version
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.

Parameters:

  • value

    Value to set for the operatingSystemVersion property.

Returns:

  • a void



232
233
234
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 232

def operating_system_version=(value)
    @operating_system_version = value
end

#responsive_desktop_time_in_msObject

Gets the responsiveDesktopTimeInMs property value. The time for desktop to become responsive during login process in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



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.

Parameters:

  • value

    Value to set for the responsiveDesktopTimeInMs property.

Returns:

  • a void



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_categoryObject

Gets the restartCategory property value. Operating System restart category.

Returns:

  • a user_experience_analytics_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.

Parameters:

  • value

    Value to set for the restartCategory property.

Returns:

  • a void



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_bucketObject

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.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the restartFaultBucket property.

Returns:

  • a void



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_codeObject

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.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the restartStopCode property.

Returns:

  • a void



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

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


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", )
    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", )
    writer.write_boolean_value("isFeatureUpdate", @is_feature_update)
    writer.write_boolean_value("isFirstLogin", )
    writer.write_string_value("operatingSystemVersion", @operating_system_version)
    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", )
end

#start_timeObject

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.

Returns:

  • a date_time



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.

Parameters:

  • value

    Value to set for the startTime property.

Returns:

  • a void



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_msObject

Gets the totalBootTimeInMs property value. The device total boot time in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



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.

Parameters:

  • value

    Value to set for the totalBootTimeInMs property.

Returns:

  • a void



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_msObject

Gets the totalLoginTimeInMs property value. The device total login time in milliseconds. Supports: $select, $OrderBy. Read-only.

Returns:

  • a integer



354
355
356
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 354

def 
    return 
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.

Parameters:

  • value

    Value to set for the totalLoginTimeInMs property.

Returns:

  • a void



362
363
364
# File 'lib/models/user_experience_analytics_device_startup_history.rb', line 362

def (value)
     = value
end