Class: MicrosoftGraph::Models::UserExperienceAnalyticsDeviceStartupProcess
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::UserExperienceAnalyticsDeviceStartupProcess
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_device_startup_process.rb
Overview
The user experience analytics device startup process 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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsDeviceStartupProcess and sets the default values.
-
#managed_device_id ⇒ Object
Gets the managedDeviceId property value.
-
#managed_device_id=(value) ⇒ Object
Sets the managedDeviceId property value.
-
#process_name ⇒ Object
Gets the processName property value.
-
#process_name=(value) ⇒ Object
Sets the processName property value.
-
#product_name ⇒ Object
Gets the productName property value.
-
#product_name=(value) ⇒ Object
Sets the productName property value.
-
#publisher ⇒ Object
Gets the publisher property value.
-
#publisher=(value) ⇒ Object
Sets the publisher property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#startup_impact_in_ms ⇒ Object
Gets the startupImpactInMs property value.
-
#startup_impact_in_ms=(value) ⇒ Object
Sets the startupImpactInMs property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new userExperienceAnalyticsDeviceStartupProcess and sets the default values.
30 31 32 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 30 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
38 39 40 41 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 38 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsDeviceStartupProcess.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
46 47 48 49 50 51 52 53 54 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 46 def get_field_deserializers() return super.merge({ "managedDeviceId" => lambda {|n| @managed_device_id = n.get_string_value() }, "processName" => lambda {|n| @process_name = n.get_string_value() }, "productName" => lambda {|n| @product_name = n.get_string_value() }, "publisher" => lambda {|n| @publisher = n.get_string_value() }, "startupImpactInMs" => lambda {|n| @startup_impact_in_ms = n.get_number_value() }, }) end |
#managed_device_id ⇒ Object
Gets the managedDeviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.
59 60 61 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 59 def managed_device_id return @managed_device_id end |
#managed_device_id=(value) ⇒ Object
Sets the managedDeviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.
67 68 69 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 67 def managed_device_id=(value) @managed_device_id = value end |
#process_name ⇒ Object
Gets the processName property value. The name of the process. Examples: outlook, excel. Supports: $select, $OrderBy. Read-only.
74 75 76 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 74 def process_name return @process_name end |
#process_name=(value) ⇒ Object
Sets the processName property value. The name of the process. Examples: outlook, excel. Supports: $select, $OrderBy. Read-only.
82 83 84 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 82 def process_name=(value) @process_name = value end |
#product_name ⇒ Object
Gets the productName property value. The product name of the process. Examples: Microsoft Outlook, Microsoft Excel. Supports: $select, $OrderBy. Read-only.
89 90 91 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 89 def product_name return @product_name end |
#product_name=(value) ⇒ Object
Sets the productName property value. The product name of the process. Examples: Microsoft Outlook, Microsoft Excel. Supports: $select, $OrderBy. Read-only.
97 98 99 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 97 def product_name=(value) @product_name = value end |
#publisher ⇒ Object
Gets the publisher property value. The publisher of the process. Examples: Microsoft Corporation, Contoso Corp. Supports: $select, $OrderBy. Read-only.
104 105 106 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 104 def publisher return @publisher end |
#publisher=(value) ⇒ Object
Sets the publisher property value. The publisher of the process. Examples: Microsoft Corporation, Contoso Corp. Supports: $select, $OrderBy. Read-only.
112 113 114 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 112 def publisher=(value) @publisher = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
120 121 122 123 124 125 126 127 128 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 120 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("managedDeviceId", @managed_device_id) writer.write_string_value("processName", @process_name) writer.write_string_value("productName", @product_name) writer.write_string_value("publisher", @publisher) writer.write_number_value("startupImpactInMs", @startup_impact_in_ms) end |
#startup_impact_in_ms ⇒ Object
Gets the startupImpactInMs property value. The impact of startup process on device boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
133 134 135 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 133 def startup_impact_in_ms return @startup_impact_in_ms end |
#startup_impact_in_ms=(value) ⇒ Object
Sets the startupImpactInMs property value. The impact of startup process on device boot time in milliseconds. Supports: $select, $OrderBy. Read-only.
141 142 143 |
# File 'lib/models/user_experience_analytics_device_startup_process.rb', line 141 def startup_impact_in_ms=(value) @startup_impact_in_ms = value end |