Class: MicrosoftGraph::Models::UserExperienceAnalyticsBaseline
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_baseline.rb
Overview
The user experience analytics baseline entity contains baseline values against which to compare the user experience analytics scores.
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_health_metrics ⇒ Object
Gets the appHealthMetrics property value.
-
#app_health_metrics=(value) ⇒ Object
Sets the appHealthMetrics property value.
-
#battery_health_metrics ⇒ Object
Gets the batteryHealthMetrics property value.
-
#battery_health_metrics=(value) ⇒ Object
Sets the batteryHealthMetrics property value.
-
#best_practices_metrics ⇒ Object
Gets the bestPracticesMetrics property value.
-
#best_practices_metrics=(value) ⇒ Object
Sets the bestPracticesMetrics property value.
-
#created_date_time ⇒ Object
Gets the createdDateTime property value.
-
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value.
-
#device_boot_performance_metrics ⇒ Object
Gets the deviceBootPerformanceMetrics property value.
-
#device_boot_performance_metrics=(value) ⇒ Object
Sets the deviceBootPerformanceMetrics property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsBaseline and sets the default values.
-
#is_built_in ⇒ Object
Gets the isBuiltIn property value.
-
#is_built_in=(value) ⇒ Object
Sets the isBuiltIn property value.
-
#reboot_analytics_metrics ⇒ Object
Gets the rebootAnalyticsMetrics property value.
-
#reboot_analytics_metrics=(value) ⇒ Object
Sets the rebootAnalyticsMetrics property value.
-
#resource_performance_metrics ⇒ Object
Gets the resourcePerformanceMetrics property value.
-
#resource_performance_metrics=(value) ⇒ Object
Sets the resourcePerformanceMetrics property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#work_from_anywhere_metrics ⇒ Object
Gets the workFromAnywhereMetrics property value.
-
#work_from_anywhere_metrics=(value) ⇒ Object
Sets the workFromAnywhereMetrics property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new userExperienceAnalyticsBaseline and sets the default values.
91 92 93 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 91 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
114 115 116 117 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 114 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsBaseline.new end |
Instance Method Details
#app_health_metrics ⇒ Object
Gets the appHealthMetrics property value. The scores and insights for the application health metrics.
46 47 48 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 46 def app_health_metrics return @app_health_metrics end |
#app_health_metrics=(value) ⇒ Object
Sets the appHealthMetrics property value. The scores and insights for the application health metrics.
54 55 56 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 54 def app_health_metrics=(value) @app_health_metrics = value end |
#battery_health_metrics ⇒ Object
Gets the batteryHealthMetrics property value. The scores and insights for the battery health metrics.
61 62 63 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 61 def battery_health_metrics return @battery_health_metrics end |
#battery_health_metrics=(value) ⇒ Object
Sets the batteryHealthMetrics property value. The scores and insights for the battery health metrics.
69 70 71 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 69 def battery_health_metrics=(value) @battery_health_metrics = value end |
#best_practices_metrics ⇒ Object
Gets the bestPracticesMetrics property value. The scores and insights for the best practices metrics.
76 77 78 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 76 def best_practices_metrics return @best_practices_metrics end |
#best_practices_metrics=(value) ⇒ Object
Sets the bestPracticesMetrics property value. The scores and insights for the best practices metrics.
84 85 86 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 84 def best_practices_metrics=(value) @best_practices_metrics = value end |
#created_date_time ⇒ Object
Gets the createdDateTime property value. The date the custom baseline was created. The value cannot be modified and is automatically populated when the baseline is created. 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, 2014 would look like this: ‘2014-01-01T00:00:00Z’. Returned by default.
98 99 100 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 98 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. The date the custom baseline was created. The value cannot be modified and is automatically populated when the baseline is created. 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, 2014 would look like this: ‘2014-01-01T00:00:00Z’. Returned by default.
106 107 108 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 106 def created_date_time=(value) @created_date_time = value end |
#device_boot_performance_metrics ⇒ Object
Gets the deviceBootPerformanceMetrics property value. The scores and insights for the device boot performance metrics.
122 123 124 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 122 def device_boot_performance_metrics return @device_boot_performance_metrics end |
#device_boot_performance_metrics=(value) ⇒ Object
Sets the deviceBootPerformanceMetrics property value. The scores and insights for the device boot performance metrics.
130 131 132 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 130 def device_boot_performance_metrics=(value) @device_boot_performance_metrics = value end |
#display_name ⇒ Object
Gets the displayName property value. The name of the baseline.
137 138 139 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 137 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The name of the baseline.
145 146 147 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 145 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 152 def get_field_deserializers() return super.merge({ "appHealthMetrics" => lambda {|n| @app_health_metrics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCategory.create_from_discriminator_value(pn) }) }, "batteryHealthMetrics" => lambda {|n| @battery_health_metrics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCategory.create_from_discriminator_value(pn) }) }, "bestPracticesMetrics" => lambda {|n| @best_practices_metrics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCategory.create_from_discriminator_value(pn) }) }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "deviceBootPerformanceMetrics" => lambda {|n| @device_boot_performance_metrics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCategory.create_from_discriminator_value(pn) }) }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "isBuiltIn" => lambda {|n| @is_built_in = n.get_boolean_value() }, "rebootAnalyticsMetrics" => lambda {|n| @reboot_analytics_metrics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCategory.create_from_discriminator_value(pn) }) }, "resourcePerformanceMetrics" => lambda {|n| @resource_performance_metrics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCategory.create_from_discriminator_value(pn) }) }, "workFromAnywhereMetrics" => lambda {|n| @work_from_anywhere_metrics = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCategory.create_from_discriminator_value(pn) }) }, }) end |
#is_built_in ⇒ Object
Gets the isBuiltIn property value. When TRUE, indicates the current baseline is the commercial median baseline. When FALSE, indicates it is a custom baseline. FALSE by default.
170 171 172 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 170 def is_built_in return @is_built_in end |
#is_built_in=(value) ⇒ Object
Sets the isBuiltIn property value. When TRUE, indicates the current baseline is the commercial median baseline. When FALSE, indicates it is a custom baseline. FALSE by default.
178 179 180 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 178 def is_built_in=(value) @is_built_in = value end |
#reboot_analytics_metrics ⇒ Object
Gets the rebootAnalyticsMetrics property value. The scores and insights for the reboot analytics metrics.
185 186 187 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 185 def reboot_analytics_metrics return @reboot_analytics_metrics end |
#reboot_analytics_metrics=(value) ⇒ Object
Sets the rebootAnalyticsMetrics property value. The scores and insights for the reboot analytics metrics.
193 194 195 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 193 def reboot_analytics_metrics=(value) @reboot_analytics_metrics = value end |
#resource_performance_metrics ⇒ Object
Gets the resourcePerformanceMetrics property value. The scores and insights for the resource performance metrics.
200 201 202 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 200 def resource_performance_metrics return @resource_performance_metrics end |
#resource_performance_metrics=(value) ⇒ Object
Sets the resourcePerformanceMetrics property value. The scores and insights for the resource performance metrics.
208 209 210 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 208 def resource_performance_metrics=(value) @resource_performance_metrics = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 216 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("appHealthMetrics", @app_health_metrics) writer.write_object_value("batteryHealthMetrics", @battery_health_metrics) writer.write_object_value("bestPracticesMetrics", @best_practices_metrics) writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_object_value("deviceBootPerformanceMetrics", @device_boot_performance_metrics) writer.write_string_value("displayName", @display_name) writer.write_boolean_value("isBuiltIn", @is_built_in) writer.write_object_value("rebootAnalyticsMetrics", @reboot_analytics_metrics) writer.write_object_value("resourcePerformanceMetrics", @resource_performance_metrics) writer.write_object_value("workFromAnywhereMetrics", @work_from_anywhere_metrics) end |
#work_from_anywhere_metrics ⇒ Object
Gets the workFromAnywhereMetrics property value. The scores and insights for the work from anywhere metrics.
234 235 236 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 234 def work_from_anywhere_metrics return @work_from_anywhere_metrics end |
#work_from_anywhere_metrics=(value) ⇒ Object
Sets the workFromAnywhereMetrics property value. The scores and insights for the work from anywhere metrics.
242 243 244 |
# File 'lib/models/user_experience_analytics_baseline.rb', line 242 def work_from_anywhere_metrics=(value) @work_from_anywhere_metrics = value end |