Class: MicrosoftGraph::Models::UserExperienceAnalyticsWorkFromAnywhereDevicesSummary

Inherits:
Object
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb

Overview

The user experience analytics Work From Anywhere metrics devices summary.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Instantiates a new userExperienceAnalyticsWorkFromAnywhereDevicesSummary and sets the default values.



138
139
140
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 138

def initialize()
    @additional_data = Hash.new
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_work_from_anywhere_devices_summary

Raises:

  • (StandardError)


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

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

Instance Method Details

#additional_dataObject

Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

Returns:

  • a i_dictionary



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

def additional_data
    return @additional_data
end

#additional_data=(value) ⇒ Object

Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

Parameters:

  • value

    Value to set for the additionalData property.

Returns:

  • a void



71
72
73
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 71

def additional_data=(value)
    @additional_data = value
end

#autopilot_devices_summaryObject

Gets the autopilotDevicesSummary property value. The user experience analytics work from anywhere Autopilot devices summary. Read-only.

Returns:

  • a user_experience_analytics_autopilot_devices_summary



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

def autopilot_devices_summary
    return @autopilot_devices_summary
end

#autopilot_devices_summary=(value) ⇒ Object

Sets the autopilotDevicesSummary property value. The user experience analytics work from anywhere Autopilot devices summary. Read-only.

Parameters:

  • value

    Value to set for the autopilotDevicesSummary property.

Returns:

  • a void



86
87
88
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 86

def autopilot_devices_summary=(value)
    @autopilot_devices_summary = value
end

#cloud_identity_devices_summaryObject

Gets the cloudIdentityDevicesSummary property value. The user experience analytics work from anywhere Cloud Identity devices summary. Read-only.

Returns:

  • a user_experience_analytics_cloud_identity_devices_summary



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

def cloud_identity_devices_summary
    return @cloud_identity_devices_summary
end

#cloud_identity_devices_summary=(value) ⇒ Object

Sets the cloudIdentityDevicesSummary property value. The user experience analytics work from anywhere Cloud Identity devices summary. Read-only.

Parameters:

  • value

    Value to set for the cloudIdentityDevicesSummary property.

Returns:

  • a void



101
102
103
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 101

def cloud_identity_devices_summary=(value)
    @cloud_identity_devices_summary = value
end

#cloud_management_devices_summaryObject

Gets the cloudManagementDevicesSummary property value. The user experience analytics work from anywhere Cloud management devices summary. Read-only.

Returns:

  • a user_experience_analytics_cloud_management_devices_summary



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

def cloud_management_devices_summary
    return @cloud_management_devices_summary
end

#cloud_management_devices_summary=(value) ⇒ Object

Sets the cloudManagementDevicesSummary property value. The user experience analytics work from anywhere Cloud management devices summary. Read-only.

Parameters:

  • value

    Value to set for the cloudManagementDevicesSummary property.

Returns:

  • a void



116
117
118
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 116

def cloud_management_devices_summary=(value)
    @cloud_management_devices_summary = value
end

#co_managed_devicesObject

Gets the coManagedDevices property value. Total number of co-managed devices. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



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

def co_managed_devices
    return @co_managed_devices
end

#co_managed_devices=(value) ⇒ Object

Sets the coManagedDevices property value. Total number of co-managed devices. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the coManagedDevices property.

Returns:

  • a void



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

def co_managed_devices=(value)
    @co_managed_devices = value
end

#devices_not_autopilot_registeredObject

Gets the devicesNotAutopilotRegistered property value. The count of intune devices that are not autopilot registerd. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



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

def devices_not_autopilot_registered
    return @devices_not_autopilot_registered
end

#devices_not_autopilot_registered=(value) ⇒ Object

Sets the devicesNotAutopilotRegistered property value. The count of intune devices that are not autopilot registerd. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the devicesNotAutopilotRegistered property.

Returns:

  • a void



162
163
164
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 162

def devices_not_autopilot_registered=(value)
    @devices_not_autopilot_registered = value
end

#devices_without_autopilot_profile_assignedObject

Gets the devicesWithoutAutopilotProfileAssigned property value. The count of intune devices not autopilot profile assigned. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



169
170
171
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 169

def devices_without_autopilot_profile_assigned
    return @devices_without_autopilot_profile_assigned
end

#devices_without_autopilot_profile_assigned=(value) ⇒ Object

Sets the devicesWithoutAutopilotProfileAssigned property value. The count of intune devices not autopilot profile assigned. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the devicesWithoutAutopilotProfileAssigned property.

Returns:

  • a void



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

def devices_without_autopilot_profile_assigned=(value)
    @devices_without_autopilot_profile_assigned = value
end

#devices_without_cloud_identityObject

Gets the devicesWithoutCloudIdentity property value. The count of devices that are not cloud identity. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



184
185
186
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 184

def devices_without_cloud_identity
    return @devices_without_cloud_identity
end

#devices_without_cloud_identity=(value) ⇒ Object

Sets the devicesWithoutCloudIdentity property value. The count of devices that are not cloud identity. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the devicesWithoutCloudIdentity property.

Returns:

  • a void



192
193
194
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 192

def devices_without_cloud_identity=(value)
    @devices_without_cloud_identity = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 199

def get_field_deserializers()
    return {
        "autopilotDevicesSummary" => lambda {|n| @autopilot_devices_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsAutopilotDevicesSummary.create_from_discriminator_value(pn) }) },
        "cloudIdentityDevicesSummary" => lambda {|n| @cloud_identity_devices_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCloudIdentityDevicesSummary.create_from_discriminator_value(pn) }) },
        "cloudManagementDevicesSummary" => lambda {|n| @cloud_management_devices_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsCloudManagementDevicesSummary.create_from_discriminator_value(pn) }) },
        "coManagedDevices" => lambda {|n| @co_managed_devices = n.get_number_value() },
        "devicesNotAutopilotRegistered" => lambda {|n| @devices_not_autopilot_registered = n.get_number_value() },
        "devicesWithoutAutopilotProfileAssigned" => lambda {|n| @devices_without_autopilot_profile_assigned = n.get_number_value() },
        "devicesWithoutCloudIdentity" => lambda {|n| @devices_without_cloud_identity = n.get_number_value() },
        "intuneDevices" => lambda {|n| @intune_devices = n.get_number_value() },
        "@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
        "tenantAttachDevices" => lambda {|n| @tenant_attach_devices = n.get_number_value() },
        "totalDevices" => lambda {|n| @total_devices = n.get_number_value() },
        "unsupportedOSversionDevices" => lambda {|n| @unsupported_o_sversion_devices = n.get_number_value() },
        "windows10Devices" => lambda {|n| @windows10_devices = n.get_number_value() },
        "windows10DevicesSummary" => lambda {|n| @windows10_devices_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::UserExperienceAnalyticsWindows10DevicesSummary.create_from_discriminator_value(pn) }) },
        "windows10DevicesWithoutTenantAttach" => lambda {|n| @windows10_devices_without_tenant_attach = n.get_number_value() },
    }
end

#intune_devicesObject

Gets the intuneDevices property value. The count of intune devices that are not autopilot registerd. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



222
223
224
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 222

def intune_devices
    return @intune_devices
end

#intune_devices=(value) ⇒ Object

Sets the intuneDevices property value. The count of intune devices that are not autopilot registerd. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the intuneDevices property.

Returns:

  • a void



230
231
232
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 230

def intune_devices=(value)
    @intune_devices = value
end

#odata_typeObject

Gets the @odata.type property value. The OdataType property

Returns:

  • a string



237
238
239
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 237

def odata_type
    return @odata_type
end

#odata_type=(value) ⇒ Object

Sets the @odata.type property value. The OdataType property

Parameters:

  • value

    Value to set for the @odata.type property.

Returns:

  • a void



245
246
247
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 245

def odata_type=(value)
    @odata_type = 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)


253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 253

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    writer.write_object_value("autopilotDevicesSummary", @autopilot_devices_summary)
    writer.write_object_value("cloudIdentityDevicesSummary", @cloud_identity_devices_summary)
    writer.write_object_value("cloudManagementDevicesSummary", @cloud_management_devices_summary)
    writer.write_number_value("coManagedDevices", @co_managed_devices)
    writer.write_number_value("devicesNotAutopilotRegistered", @devices_not_autopilot_registered)
    writer.write_number_value("devicesWithoutAutopilotProfileAssigned", @devices_without_autopilot_profile_assigned)
    writer.write_number_value("devicesWithoutCloudIdentity", @devices_without_cloud_identity)
    writer.write_number_value("intuneDevices", @intune_devices)
    writer.write_string_value("@odata.type", @odata_type)
    writer.write_number_value("tenantAttachDevices", @tenant_attach_devices)
    writer.write_number_value("totalDevices", @total_devices)
    writer.write_number_value("unsupportedOSversionDevices", @unsupported_o_sversion_devices)
    writer.write_number_value("windows10Devices", @windows10_devices)
    writer.write_object_value("windows10DevicesSummary", @windows10_devices_summary)
    writer.write_number_value("windows10DevicesWithoutTenantAttach", @windows10_devices_without_tenant_attach)
    writer.write_additional_data(@additional_data)
end

#tenant_attach_devicesObject

Gets the tenantAttachDevices property value. Total count of tenant attach devices. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



276
277
278
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 276

def tenant_attach_devices
    return @tenant_attach_devices
end

#tenant_attach_devices=(value) ⇒ Object

Sets the tenantAttachDevices property value. Total count of tenant attach devices. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the tenantAttachDevices property.

Returns:

  • a void



284
285
286
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 284

def tenant_attach_devices=(value)
    @tenant_attach_devices = value
end

#total_devicesObject

Gets the totalDevices property value. The total count of devices. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



291
292
293
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 291

def total_devices
    return @total_devices
end

#total_devices=(value) ⇒ Object

Sets the totalDevices property value. The total count of devices. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the totalDevices property.

Returns:

  • a void



299
300
301
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 299

def total_devices=(value)
    @total_devices = value
end

#unsupported_o_sversion_devicesObject

Gets the unsupportedOSversionDevices property value. The count of Windows 10 devices that have unsupported OS versions. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



306
307
308
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 306

def unsupported_o_sversion_devices
    return @unsupported_o_sversion_devices
end

#unsupported_o_sversion_devices=(value) ⇒ Object

Sets the unsupportedOSversionDevices property value. The count of Windows 10 devices that have unsupported OS versions. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the unsupportedOSversionDevices property.

Returns:

  • a void



314
315
316
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 314

def unsupported_o_sversion_devices=(value)
    @unsupported_o_sversion_devices = value
end

#windows10_devicesObject

Gets the windows10Devices property value. The count of windows 10 devices. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



321
322
323
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 321

def windows10_devices
    return @windows10_devices
end

#windows10_devices=(value) ⇒ Object

Sets the windows10Devices property value. The count of windows 10 devices. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the windows10Devices property.

Returns:

  • a void



329
330
331
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 329

def windows10_devices=(value)
    @windows10_devices = value
end

#windows10_devices_summaryObject

Gets the windows10DevicesSummary property value. The user experience analytics work from anywhere Windows 10 devices summary. Read-only.

Returns:

  • a user_experience_analytics_windows10_devices_summary



336
337
338
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 336

def windows10_devices_summary
    return @windows10_devices_summary
end

#windows10_devices_summary=(value) ⇒ Object

Sets the windows10DevicesSummary property value. The user experience analytics work from anywhere Windows 10 devices summary. Read-only.

Parameters:

  • value

    Value to set for the windows10DevicesSummary property.

Returns:

  • a void



344
345
346
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 344

def windows10_devices_summary=(value)
    @windows10_devices_summary = value
end

#windows10_devices_without_tenant_attachObject

Gets the windows10DevicesWithoutTenantAttach property value. The count of windows 10 devices that are Intune and co-managed. Read-only. Valid values -2147483648 to 2147483647

Returns:

  • a integer



351
352
353
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 351

def windows10_devices_without_tenant_attach
    return @windows10_devices_without_tenant_attach
end

#windows10_devices_without_tenant_attach=(value) ⇒ Object

Sets the windows10DevicesWithoutTenantAttach property value. The count of windows 10 devices that are Intune and co-managed. Read-only. Valid values -2147483648 to 2147483647

Parameters:

  • value

    Value to set for the windows10DevicesWithoutTenantAttach property.

Returns:

  • a void



359
360
361
# File 'lib/models/user_experience_analytics_work_from_anywhere_devices_summary.rb', line 359

def windows10_devices_without_tenant_attach=(value)
    @windows10_devices_without_tenant_attach = value
end