Class: MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb
Overview
The user experience analytics application performance entity contains app performance details by OS version.
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.
-
#app_crash_count ⇒ Object
Gets the appCrashCount property value.
-
#app_crash_count=(value) ⇒ Object
Sets the appCrashCount property value.
-
#app_display_name ⇒ Object
Gets the appDisplayName property value.
-
#app_display_name=(value) ⇒ Object
Sets the appDisplayName property value.
-
#app_name ⇒ Object
Gets the appName property value.
-
#app_name=(value) ⇒ Object
Sets the appName property value.
-
#app_publisher ⇒ Object
Gets the appPublisher property value.
-
#app_publisher=(value) ⇒ Object
Sets the appPublisher property value.
-
#app_usage_duration ⇒ Object
Gets the appUsageDuration property value.
-
#app_usage_duration=(value) ⇒ Object
Sets the appUsageDuration property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsAppHealthAppPerformanceByOSVersion 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.
-
#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 userExperienceAnalyticsAppHealthAppPerformanceByOSVersion and sets the default values.
132 133 134 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 132 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
140 141 142 143 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 140 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.new end |
Instance Method Details
#active_device_count ⇒ Object
Gets the activeDeviceCount property value. The number of devices where the application has been active. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
42 43 44 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 42 def active_device_count return @active_device_count end |
#active_device_count=(value) ⇒ Object
Sets the activeDeviceCount property value. The number of devices where the application has been active. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
50 51 52 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 50 def active_device_count=(value) @active_device_count = value end |
#app_crash_count ⇒ Object
Gets the appCrashCount property value. The number of crashes for the application. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
57 58 59 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 57 def app_crash_count return @app_crash_count end |
#app_crash_count=(value) ⇒ Object
Sets the appCrashCount property value. The number of crashes for the application. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
65 66 67 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 65 def app_crash_count=(value) @app_crash_count = value end |
#app_display_name ⇒ Object
Gets the appDisplayName property value. The friendly name of the application. Possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only.
72 73 74 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 72 def app_display_name return @app_display_name end |
#app_display_name=(value) ⇒ Object
Sets the appDisplayName property value. The friendly name of the application. Possible values are: Outlook, Excel. Supports: $select, $OrderBy. Read-only.
80 81 82 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 80 def app_display_name=(value) @app_display_name = value end |
#app_name ⇒ Object
Gets the appName property value. The name of the application. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only.
87 88 89 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 87 def app_name return @app_name end |
#app_name=(value) ⇒ Object
Sets the appName property value. The name of the application. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only.
95 96 97 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 95 def app_name=(value) @app_name = value end |
#app_publisher ⇒ Object
Gets the appPublisher property value. The publisher of the application. Supports: $select, $OrderBy. Read-only.
102 103 104 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 102 def app_publisher return @app_publisher end |
#app_publisher=(value) ⇒ Object
Sets the appPublisher property value. The publisher of the application. Supports: $select, $OrderBy. Read-only.
110 111 112 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 110 def app_publisher=(value) @app_publisher = value end |
#app_usage_duration ⇒ Object
Gets the appUsageDuration property value. The total usage time of the application in minutes. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
117 118 119 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 117 def app_usage_duration return @app_usage_duration end |
#app_usage_duration=(value) ⇒ Object
Sets the appUsageDuration property value. The total usage time of the application in minutes. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
125 126 127 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 125 def app_usage_duration=(value) @app_usage_duration = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 148 def get_field_deserializers() return super.merge({ "activeDeviceCount" => lambda {|n| @active_device_count = n.get_number_value() }, "appCrashCount" => lambda {|n| @app_crash_count = n.get_number_value() }, "appDisplayName" => lambda {|n| @app_display_name = n.get_string_value() }, "appName" => lambda {|n| @app_name = n.get_string_value() }, "appPublisher" => lambda {|n| @app_publisher = n.get_string_value() }, "appUsageDuration" => lambda {|n| @app_usage_duration = 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() }, }) 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: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
165 166 167 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 165 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: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
173 174 175 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 173 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 of the application. Supports: $select, $OrderBy. Read-only.
180 181 182 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 180 def os_build_number return @os_build_number end |
#os_build_number=(value) ⇒ Object
Sets the osBuildNumber property value. The OS build number of the application. Supports: $select, $OrderBy. Read-only.
188 189 190 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 188 def os_build_number=(value) @os_build_number = value end |
#os_version ⇒ Object
Gets the osVersion property value. The OS version of the application. Supports: $select, $OrderBy. Read-only.
195 196 197 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 195 def os_version return @os_version end |
#os_version=(value) ⇒ Object
Sets the osVersion property value. The OS version of the application. Supports: $select, $OrderBy. Read-only.
203 204 205 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 203 def os_version=(value) @os_version = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
211 212 213 214 215 216 217 218 219 220 221 222 223 |
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_o_s_version.rb', line 211 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("appCrashCount", @app_crash_count) writer.write_string_value("appDisplayName", @app_display_name) writer.write_string_value("appName", @app_name) writer.write_string_value("appPublisher", @app_publisher) writer.write_number_value("appUsageDuration", @app_usage_duration) 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) end |