Class: MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthOSVersionPerformance
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthOSVersionPerformance
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_app_health_o_s_version_performance.rb
Overview
The user experience analytics device OS version performance entity contains OS version 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
-
#active_device_count ⇒ Object
Gets the activeDeviceCount property value.
-
#active_device_count=(value) ⇒ Object
Sets the activeDeviceCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsAppHealthOSVersionPerformance 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.
-
#os_build_number ⇒ Object
Gets the osBuildNumber property value.
-
#os_build_number=(value) ⇒ Object
Sets the osBuildNumber property value.
-
#os_version ⇒ Object
Gets the osVersion property value.
-
#os_version=(value) ⇒ Object
Sets the osVersion property value.
-
#os_version_app_health_score ⇒ Object
Gets the osVersionAppHealthScore property value.
-
#os_version_app_health_score=(value) ⇒ Object
Sets the osVersionAppHealthScore 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 userExperienceAnalyticsAppHealthOSVersionPerformance and sets the default values.
45 46 47 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 45 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
53 54 55 56 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 53 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsAppHealthOSVersionPerformance.new end |
Instance Method Details
#active_device_count ⇒ Object
Gets the activeDeviceCount property value. The number of active devices for the OS version. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
30 31 32 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 30 def active_device_count return @active_device_count end |
#active_device_count=(value) ⇒ Object
Sets the activeDeviceCount property value. The number of active devices for the OS version. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
38 39 40 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 38 def active_device_count=(value) @active_device_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
61 62 63 64 65 66 67 68 69 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 61 def get_field_deserializers() return super.merge({ "activeDeviceCount" => lambda {|n| @active_device_count = n.get_number_value() }, "meanTimeToFailureInMinutes" => lambda {|n| @mean_time_to_failure_in_minutes = n.get_number_value() }, "osBuildNumber" => lambda {|n| @os_build_number = n.get_string_value() }, "osVersion" => lambda {|n| @os_version = n.get_string_value() }, "osVersionAppHealthScore" => lambda {|n| @os_version_app_health_score = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, }) 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
74 75 76 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 74 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
82 83 84 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 82 def mean_time_to_failure_in_minutes=(value) @mean_time_to_failure_in_minutes = value end |
#os_build_number ⇒ Object
Gets the osBuildNumber property value. The OS build number installed on the device. Supports: $select, $OrderBy. Read-only.
89 90 91 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 89 def os_build_number return @os_build_number end |
#os_build_number=(value) ⇒ Object
Sets the osBuildNumber property value. The OS build number installed on the device. Supports: $select, $OrderBy. Read-only.
97 98 99 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 97 def os_build_number=(value) @os_build_number = value end |
#os_version ⇒ Object
Gets the osVersion property value. The OS version installed on the device. Supports: $select, $OrderBy. Read-only.
104 105 106 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 104 def os_version return @os_version end |
#os_version=(value) ⇒ Object
Sets the osVersion property value. The OS version installed on the device. Supports: $select, $OrderBy. Read-only.
112 113 114 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 112 def os_version=(value) @os_version = value end |
#os_version_app_health_score ⇒ Object
Gets the osVersionAppHealthScore property value. The application health score of the OS version. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
119 120 121 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 119 def os_version_app_health_score return @os_version_app_health_score end |
#os_version_app_health_score=(value) ⇒ Object
Sets the osVersionAppHealthScore property value. The application health score of the OS version. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
127 128 129 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 127 def os_version_app_health_score=(value) @os_version_app_health_score = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
135 136 137 138 139 140 141 142 143 |
# File 'lib/models/user_experience_analytics_app_health_o_s_version_performance.rb', line 135 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_number_value("activeDeviceCount", @active_device_count) writer.write_number_value("meanTimeToFailureInMinutes", @mean_time_to_failure_in_minutes) writer.write_string_value("osBuildNumber", @os_build_number) writer.write_string_value("osVersion", @os_version) writer.write_object_value("osVersionAppHealthScore", @os_version_app_health_score) end |