Class: MicrosoftGraph::Models::UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId

Inherits:
Entity
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb

Overview

The user experience analytics application performance entity contains application performance by application version device id.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId and sets the default values.



115
116
117
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 115

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a user_experience_analytics_app_health_app_performance_by_app_version_device_id

Raises:

  • (StandardError)


123
124
125
126
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 123

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.new
end

Instance Method Details

#app_crash_countObject

Gets the appCrashCount property value. The number of crashes for the app. Valid values -2147483648 to 2147483647

Returns:

  • a integer



40
41
42
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 40

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 app. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the appCrashCount property.

Returns:

  • a void



48
49
50
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 48

def app_crash_count=(value)
    @app_crash_count = value
end

#app_display_nameObject

Gets the appDisplayName property value. The friendly name of the application.

Returns:

  • a string



55
56
57
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 55

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.

Parameters:

  • value

    Value to set for the appDisplayName property.

Returns:

  • a void



63
64
65
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 63

def app_display_name=(value)
    @app_display_name = value
end

#app_nameObject

Gets the appName property value. The name of the application.

Returns:

  • a string



70
71
72
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 70

def app_name
    return @app_name
end

#app_name=(value) ⇒ Object

Sets the appName property value. The name of the application.

Parameters:

  • value

    Value to set for the appName property.

Returns:

  • a void



78
79
80
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 78

def app_name=(value)
    @app_name = value
end

#app_publisherObject

Gets the appPublisher property value. The publisher of the application.

Returns:

  • a string



85
86
87
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 85

def app_publisher
    return @app_publisher
end

#app_publisher=(value) ⇒ Object

Sets the appPublisher property value. The publisher of the application.

Parameters:

  • value

    Value to set for the appPublisher property.

Returns:

  • a void



93
94
95
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 93

def app_publisher=(value)
    @app_publisher = value
end

#app_versionObject

Gets the appVersion property value. The version of the application.

Returns:

  • a string



100
101
102
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 100

def app_version
    return @app_version
end

#app_version=(value) ⇒ Object

Sets the appVersion property value. The version of the application.

Parameters:

  • value

    Value to set for the appVersion property.

Returns:

  • a void



108
109
110
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 108

def app_version=(value)
    @app_version = value
end

#device_display_nameObject

Gets the deviceDisplayName property value. The name of the device. Supports: $select, $OrderBy. Read-only.

Returns:

  • a string



131
132
133
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 131

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.

Parameters:

  • value

    Value to set for the deviceDisplayName property.

Returns:

  • a void



139
140
141
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 139

def device_display_name=(value)
    @device_display_name = value
end

#device_idObject

Gets the deviceId property value. The Intune device id of the device. Supports: $select, $OrderBy. Read-only.

Returns:

  • a string



146
147
148
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 146

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.

Parameters:

  • value

    Value to set for the deviceId property.

Returns:

  • a void



154
155
156
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 154

def device_id=(value)
    @device_id = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



161
162
163
164
165
166
167
168
169
170
171
172
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 161

def get_field_deserializers()
    return super.merge({
        "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() },
        "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() },
        "processedDateTime" => lambda {|n| @processed_date_time = n.get_date_time_value() },
    })
end

#processed_date_timeObject

Gets the processedDateTime property value. The date and time when the statistics were last computed. 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.

Returns:

  • a date_time



177
178
179
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 177

def processed_date_time
    return @processed_date_time
end

#processed_date_time=(value) ⇒ Object

Sets the processedDateTime property value. The date and time when the statistics were last computed. 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.

Parameters:

  • value

    Value to set for the processedDateTime property.

Returns:

  • a void



185
186
187
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 185

def processed_date_time=(value)
    @processed_date_time = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


193
194
195
196
197
198
199
200
201
202
203
204
# File 'lib/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.rb', line 193

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    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_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("processedDateTime", @processed_date_time)
end