Class: MicrosoftGraph::Models::UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb
Overview
The user experience analytics hardware readiness entity contains account level information about hardware blockers for windows upgrade.
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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric and sets the default values.
-
#os_check_failed_percentage ⇒ Object
Gets the osCheckFailedPercentage property value.
-
#os_check_failed_percentage=(value) ⇒ Object
Sets the osCheckFailedPercentage property value.
-
#processor64_bit_check_failed_percentage ⇒ Object
Gets the processor64BitCheckFailedPercentage property value.
-
#processor64_bit_check_failed_percentage=(value) ⇒ Object
Sets the processor64BitCheckFailedPercentage property value.
-
#processor_core_count_check_failed_percentage ⇒ Object
Gets the processorCoreCountCheckFailedPercentage property value.
-
#processor_core_count_check_failed_percentage=(value) ⇒ Object
Sets the processorCoreCountCheckFailedPercentage property value.
-
#processor_family_check_failed_percentage ⇒ Object
Gets the processorFamilyCheckFailedPercentage property value.
-
#processor_family_check_failed_percentage=(value) ⇒ Object
Sets the processorFamilyCheckFailedPercentage property value.
-
#processor_speed_check_failed_percentage ⇒ Object
Gets the processorSpeedCheckFailedPercentage property value.
-
#processor_speed_check_failed_percentage=(value) ⇒ Object
Sets the processorSpeedCheckFailedPercentage property value.
-
#ram_check_failed_percentage ⇒ Object
Gets the ramCheckFailedPercentage property value.
-
#ram_check_failed_percentage=(value) ⇒ Object
Sets the ramCheckFailedPercentage property value.
-
#secure_boot_check_failed_percentage ⇒ Object
Gets the secureBootCheckFailedPercentage property value.
-
#secure_boot_check_failed_percentage=(value) ⇒ Object
Sets the secureBootCheckFailedPercentage property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#storage_check_failed_percentage ⇒ Object
Gets the storageCheckFailedPercentage property value.
-
#storage_check_failed_percentage=(value) ⇒ Object
Sets the storageCheckFailedPercentage property value.
-
#total_device_count ⇒ Object
Gets the totalDeviceCount property value.
-
#total_device_count=(value) ⇒ Object
Sets the totalDeviceCount property value.
-
#tpm_check_failed_percentage ⇒ Object
Gets the tpmCheckFailedPercentage property value.
-
#tpm_check_failed_percentage=(value) ⇒ Object
Sets the tpmCheckFailedPercentage property value.
-
#upgrade_eligible_device_count ⇒ Object
Gets the upgradeEligibleDeviceCount property value.
-
#upgrade_eligible_device_count=(value) ⇒ Object
Sets the upgradeEligibleDeviceCount property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric and sets the default values.
48 49 50 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 48 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
56 57 58 59 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 56 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 64 def get_field_deserializers() return super.merge({ "osCheckFailedPercentage" => lambda {|n| @os_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "processorCoreCountCheckFailedPercentage" => lambda {|n| @processor_core_count_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "processorFamilyCheckFailedPercentage" => lambda {|n| @processor_family_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "processorSpeedCheckFailedPercentage" => lambda {|n| @processor_speed_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "processor64BitCheckFailedPercentage" => lambda {|n| @processor64_bit_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "ramCheckFailedPercentage" => lambda {|n| @ram_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "secureBootCheckFailedPercentage" => lambda {|n| @secure_boot_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "storageCheckFailedPercentage" => lambda {|n| @storage_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "totalDeviceCount" => lambda {|n| @total_device_count = n.get_number_value() }, "tpmCheckFailedPercentage" => lambda {|n| @tpm_check_failed_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "upgradeEligibleDeviceCount" => lambda {|n| @upgrade_eligible_device_count = n.get_number_value() }, }) end |
#os_check_failed_percentage ⇒ Object
Gets the osCheckFailedPercentage property value. The percentage of devices for which OS check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
83 84 85 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 83 def os_check_failed_percentage return @os_check_failed_percentage end |
#os_check_failed_percentage=(value) ⇒ Object
Sets the osCheckFailedPercentage property value. The percentage of devices for which OS check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
91 92 93 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 91 def os_check_failed_percentage=(value) @os_check_failed_percentage = value end |
#processor64_bit_check_failed_percentage ⇒ Object
Gets the processor64BitCheckFailedPercentage property value. The percentage of devices for which processor hardware 64-bit architecture check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
143 144 145 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 143 def processor64_bit_check_failed_percentage return @processor64_bit_check_failed_percentage end |
#processor64_bit_check_failed_percentage=(value) ⇒ Object
Sets the processor64BitCheckFailedPercentage property value. The percentage of devices for which processor hardware 64-bit architecture check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
151 152 153 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 151 def processor64_bit_check_failed_percentage=(value) @processor64_bit_check_failed_percentage = value end |
#processor_core_count_check_failed_percentage ⇒ Object
Gets the processorCoreCountCheckFailedPercentage property value. The percentage of devices for which processor hardware core count check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
98 99 100 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 98 def processor_core_count_check_failed_percentage return @processor_core_count_check_failed_percentage end |
#processor_core_count_check_failed_percentage=(value) ⇒ Object
Sets the processorCoreCountCheckFailedPercentage property value. The percentage of devices for which processor hardware core count check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
106 107 108 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 106 def processor_core_count_check_failed_percentage=(value) @processor_core_count_check_failed_percentage = value end |
#processor_family_check_failed_percentage ⇒ Object
Gets the processorFamilyCheckFailedPercentage property value. The percentage of devices for which processor hardware family check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
113 114 115 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 113 def processor_family_check_failed_percentage return @processor_family_check_failed_percentage end |
#processor_family_check_failed_percentage=(value) ⇒ Object
Sets the processorFamilyCheckFailedPercentage property value. The percentage of devices for which processor hardware family check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
121 122 123 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 121 def processor_family_check_failed_percentage=(value) @processor_family_check_failed_percentage = value end |
#processor_speed_check_failed_percentage ⇒ Object
Gets the processorSpeedCheckFailedPercentage property value. The percentage of devices for which processor hardware speed check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
128 129 130 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 128 def processor_speed_check_failed_percentage return @processor_speed_check_failed_percentage end |
#processor_speed_check_failed_percentage=(value) ⇒ Object
Sets the processorSpeedCheckFailedPercentage property value. The percentage of devices for which processor hardware speed check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
136 137 138 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 136 def processor_speed_check_failed_percentage=(value) @processor_speed_check_failed_percentage = value end |
#ram_check_failed_percentage ⇒ Object
Gets the ramCheckFailedPercentage property value. The percentage of devices for which RAM hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
158 159 160 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 158 def ram_check_failed_percentage return @ram_check_failed_percentage end |
#ram_check_failed_percentage=(value) ⇒ Object
Sets the ramCheckFailedPercentage property value. The percentage of devices for which RAM hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
166 167 168 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 166 def ram_check_failed_percentage=(value) @ram_check_failed_percentage = value end |
#secure_boot_check_failed_percentage ⇒ Object
Gets the secureBootCheckFailedPercentage property value. The percentage of devices for which secure boot hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
173 174 175 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 173 def secure_boot_check_failed_percentage return @secure_boot_check_failed_percentage end |
#secure_boot_check_failed_percentage=(value) ⇒ Object
Sets the secureBootCheckFailedPercentage property value. The percentage of devices for which secure boot hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
181 182 183 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 181 def secure_boot_check_failed_percentage=(value) @secure_boot_check_failed_percentage = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 189 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("osCheckFailedPercentage", @os_check_failed_percentage) writer.write_object_value("processorCoreCountCheckFailedPercentage", @processor_core_count_check_failed_percentage) writer.write_object_value("processorFamilyCheckFailedPercentage", @processor_family_check_failed_percentage) writer.write_object_value("processorSpeedCheckFailedPercentage", @processor_speed_check_failed_percentage) writer.write_object_value("processor64BitCheckFailedPercentage", @processor64_bit_check_failed_percentage) writer.write_object_value("ramCheckFailedPercentage", @ram_check_failed_percentage) writer.write_object_value("secureBootCheckFailedPercentage", @secure_boot_check_failed_percentage) writer.write_object_value("storageCheckFailedPercentage", @storage_check_failed_percentage) writer.write_number_value("totalDeviceCount", @total_device_count) writer.write_object_value("tpmCheckFailedPercentage", @tpm_check_failed_percentage) writer.write_number_value("upgradeEligibleDeviceCount", @upgrade_eligible_device_count) end |
#storage_check_failed_percentage ⇒ Object
Gets the storageCheckFailedPercentage property value. The percentage of devices for which storage hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
208 209 210 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 208 def storage_check_failed_percentage return @storage_check_failed_percentage end |
#storage_check_failed_percentage=(value) ⇒ Object
Sets the storageCheckFailedPercentage property value. The percentage of devices for which storage hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
216 217 218 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 216 def storage_check_failed_percentage=(value) @storage_check_failed_percentage = value end |
#total_device_count ⇒ Object
Gets the totalDeviceCount property value. The count of total devices in an organization. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
223 224 225 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 223 def total_device_count return @total_device_count end |
#total_device_count=(value) ⇒ Object
Sets the totalDeviceCount property value. The count of total devices in an organization. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
231 232 233 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 231 def total_device_count=(value) @total_device_count = value end |
#tpm_check_failed_percentage ⇒ Object
Gets the tpmCheckFailedPercentage property value. The percentage of devices for which Trusted Platform Module (TPM) hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
238 239 240 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 238 def tpm_check_failed_percentage return @tpm_check_failed_percentage end |
#tpm_check_failed_percentage=(value) ⇒ Object
Sets the tpmCheckFailedPercentage property value. The percentage of devices for which Trusted Platform Module (TPM) hardware check has failed. Valid values 0 to 100. Supports: $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
246 247 248 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 246 def tpm_check_failed_percentage=(value) @tpm_check_failed_percentage = value end |
#upgrade_eligible_device_count ⇒ Object
Gets the upgradeEligibleDeviceCount property value. The count of devices in an organization eligible for windows upgrade. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
253 254 255 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 253 def upgrade_eligible_device_count return @upgrade_eligible_device_count end |
#upgrade_eligible_device_count=(value) ⇒ Object
Sets the upgradeEligibleDeviceCount property value. The count of devices in an organization eligible for windows upgrade. Valid values 0 to 2147483647. Supports: $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647
261 262 263 |
# File 'lib/models/user_experience_analytics_work_from_anywhere_hardware_readiness_metric.rb', line 261 def upgrade_eligible_device_count=(value) @upgrade_eligible_device_count = value end |