Class: MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthDevicePerformanceDetails
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthDevicePerformanceDetails
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_app_health_device_performance_details.rb
Overview
The user experience analytics device performance entity contains device 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
-
#app_display_name ⇒ Object
Gets the appDisplayName property value.
-
#app_display_name=(value) ⇒ Object
Sets the appDisplayName property value.
-
#app_publisher ⇒ Object
Gets the appPublisher property value.
-
#app_publisher=(value) ⇒ Object
Sets the appPublisher property value.
-
#app_version ⇒ Object
Gets the appVersion property value.
-
#app_version=(value) ⇒ Object
Sets the appVersion property value.
-
#device_display_name ⇒ Object
Gets the deviceDisplayName property value.
-
#device_display_name=(value) ⇒ Object
Sets the deviceDisplayName property value.
-
#device_id ⇒ Object
Gets the deviceId property value.
-
#device_id=(value) ⇒ Object
Sets the deviceId property value.
-
#event_date_time ⇒ Object
Gets the eventDateTime property value.
-
#event_date_time=(value) ⇒ Object
Sets the eventDateTime property value.
-
#event_type ⇒ Object
Gets the eventType property value.
-
#event_type=(value) ⇒ Object
Sets the eventType property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsAppHealthDevicePerformanceDetails and sets the default values.
-
#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 userExperienceAnalyticsAppHealthDevicePerformanceDetails and sets the default values.
82 83 84 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 82 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
90 91 92 93 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 90 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsAppHealthDevicePerformanceDetails.new end |
Instance Method Details
#app_display_name ⇒ Object
Gets the appDisplayName property value. The friendly name of the application for which the event occurred. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only.
37 38 39 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 37 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 for which the event occurred. Possible values are: outlook.exe, excel.exe. Supports: $select, $OrderBy. Read-only.
45 46 47 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 45 def app_display_name=(value) @app_display_name = value end |
#app_publisher ⇒ Object
Gets the appPublisher property value. The publisher of the application. Supports: $select, $OrderBy. Read-only.
52 53 54 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 52 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.
60 61 62 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 60 def app_publisher=(value) @app_publisher = value end |
#app_version ⇒ Object
Gets the appVersion property value. The version of the application. Possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only.
67 68 69 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 67 def app_version return @app_version end |
#app_version=(value) ⇒ Object
Sets the appVersion property value. The version of the application. Possible values are: 1.0.0.1, 75.65.23.9. Supports: $select, $OrderBy. Read-only.
75 76 77 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 75 def app_version=(value) @app_version = value end |
#device_display_name ⇒ Object
Gets the deviceDisplayName property value. The name of the device. Supports: $select, $OrderBy. Read-only.
98 99 100 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 98 def device_display_name return @device_display_name end |
#device_display_name=(value) ⇒ Object
Sets the deviceDisplayName property value. The name of the device. Supports: $select, $OrderBy. Read-only.
106 107 108 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 106 def device_display_name=(value) @device_display_name = value end |
#device_id ⇒ Object
Gets the deviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.
113 114 115 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 113 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.
121 122 123 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 121 def device_id=(value) @device_id = value end |
#event_date_time ⇒ Object
Gets the eventDateTime property value. The time the event occurred. The value cannot be modified and is automatically populated when the statistics are computed. 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.
128 129 130 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 128 def event_date_time return @event_date_time end |
#event_date_time=(value) ⇒ Object
Sets the eventDateTime property value. The time the event occurred. The value cannot be modified and is automatically populated when the statistics are computed. 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.
136 137 138 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 136 def event_date_time=(value) @event_date_time = value end |
#event_type ⇒ Object
Gets the eventType property value. The type of the event. Supports: $select, $OrderBy. Read-only.
143 144 145 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 143 def event_type return @event_type end |
#event_type=(value) ⇒ Object
Sets the eventType property value. The type of the event. Supports: $select, $OrderBy. Read-only.
151 152 153 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 151 def event_type=(value) @event_type = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 158 def get_field_deserializers() return super.merge({ "appDisplayName" => lambda {|n| @app_display_name = n.get_string_value() }, "appPublisher" => lambda {|n| @app_publisher = n.get_string_value() }, "appVersion" => lambda {|n| @app_version = n.get_string_value() }, "deviceDisplayName" => lambda {|n| @device_display_name = n.get_string_value() }, "deviceId" => lambda {|n| @device_id = n.get_string_value() }, "eventDateTime" => lambda {|n| @event_date_time = n.get_date_time_value() }, "eventType" => lambda {|n| @event_type = n.get_string_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/models/user_experience_analytics_app_health_device_performance_details.rb', line 174 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("appDisplayName", @app_display_name) writer.write_string_value("appPublisher", @app_publisher) writer.write_string_value("appVersion", @app_version) writer.write_string_value("deviceDisplayName", @device_display_name) writer.write_string_value("deviceId", @device_id) writer.write_date_time_value("eventDateTime", @event_date_time) writer.write_string_value("eventType", @event_type) end |