Class: MicrosoftGraph::Models::SoftwareUpdateStatusSummary
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/software_update_status_summary.rb
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
-
#compliant_device_count ⇒ Object
Gets the compliantDeviceCount property value.
-
#compliant_device_count=(value) ⇒ Object
Sets the compliantDeviceCount property value.
-
#compliant_user_count ⇒ Object
Gets the compliantUserCount property value.
-
#compliant_user_count=(value) ⇒ Object
Sets the compliantUserCount property value.
-
#conflict_device_count ⇒ Object
Gets the conflictDeviceCount property value.
-
#conflict_device_count=(value) ⇒ Object
Sets the conflictDeviceCount property value.
-
#conflict_user_count ⇒ Object
Gets the conflictUserCount property value.
-
#conflict_user_count=(value) ⇒ Object
Sets the conflictUserCount property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#error_device_count ⇒ Object
Gets the errorDeviceCount property value.
-
#error_device_count=(value) ⇒ Object
Sets the errorDeviceCount property value.
-
#error_user_count ⇒ Object
Gets the errorUserCount property value.
-
#error_user_count=(value) ⇒ Object
Sets the errorUserCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new softwareUpdateStatusSummary and sets the default values.
-
#non_compliant_device_count ⇒ Object
Gets the nonCompliantDeviceCount property value.
-
#non_compliant_device_count=(value) ⇒ Object
Sets the nonCompliantDeviceCount property value.
-
#non_compliant_user_count ⇒ Object
Gets the nonCompliantUserCount property value.
-
#non_compliant_user_count=(value) ⇒ Object
Sets the nonCompliantUserCount property value.
-
#not_applicable_device_count ⇒ Object
Gets the notApplicableDeviceCount property value.
-
#not_applicable_device_count=(value) ⇒ Object
Sets the notApplicableDeviceCount property value.
-
#not_applicable_user_count ⇒ Object
Gets the notApplicableUserCount property value.
-
#not_applicable_user_count=(value) ⇒ Object
Sets the notApplicableUserCount property value.
-
#remediated_device_count ⇒ Object
Gets the remediatedDeviceCount property value.
-
#remediated_device_count=(value) ⇒ Object
Sets the remediatedDeviceCount property value.
-
#remediated_user_count ⇒ Object
Gets the remediatedUserCount property value.
-
#remediated_user_count=(value) ⇒ Object
Sets the remediatedUserCount property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#unknown_device_count ⇒ Object
Gets the unknownDeviceCount property value.
-
#unknown_device_count=(value) ⇒ Object
Sets the unknownDeviceCount property value.
-
#unknown_user_count ⇒ Object
Gets the unknownUserCount property value.
-
#unknown_user_count=(value) ⇒ Object
Sets the unknownUserCount property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new softwareUpdateStatusSummary and sets the default values.
118 119 120 |
# File 'lib/models/software_update_status_summary.rb', line 118 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
126 127 128 129 |
# File 'lib/models/software_update_status_summary.rb', line 126 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SoftwareUpdateStatusSummary.new end |
Instance Method Details
#compliant_device_count ⇒ Object
Gets the compliantDeviceCount property value. Number of compliant devices.
58 59 60 |
# File 'lib/models/software_update_status_summary.rb', line 58 def compliant_device_count return @compliant_device_count end |
#compliant_device_count=(value) ⇒ Object
Sets the compliantDeviceCount property value. Number of compliant devices.
66 67 68 |
# File 'lib/models/software_update_status_summary.rb', line 66 def compliant_device_count=(value) @compliant_device_count = value end |
#compliant_user_count ⇒ Object
Gets the compliantUserCount property value. Number of compliant users.
73 74 75 |
# File 'lib/models/software_update_status_summary.rb', line 73 def compliant_user_count return @compliant_user_count end |
#compliant_user_count=(value) ⇒ Object
Sets the compliantUserCount property value. Number of compliant users.
81 82 83 |
# File 'lib/models/software_update_status_summary.rb', line 81 def compliant_user_count=(value) @compliant_user_count = value end |
#conflict_device_count ⇒ Object
Gets the conflictDeviceCount property value. Number of conflict devices.
88 89 90 |
# File 'lib/models/software_update_status_summary.rb', line 88 def conflict_device_count return @conflict_device_count end |
#conflict_device_count=(value) ⇒ Object
Sets the conflictDeviceCount property value. Number of conflict devices.
96 97 98 |
# File 'lib/models/software_update_status_summary.rb', line 96 def conflict_device_count=(value) @conflict_device_count = value end |
#conflict_user_count ⇒ Object
Gets the conflictUserCount property value. Number of conflict users.
103 104 105 |
# File 'lib/models/software_update_status_summary.rb', line 103 def conflict_user_count return @conflict_user_count end |
#conflict_user_count=(value) ⇒ Object
Sets the conflictUserCount property value. Number of conflict users.
111 112 113 |
# File 'lib/models/software_update_status_summary.rb', line 111 def conflict_user_count=(value) @conflict_user_count = value end |
#display_name ⇒ Object
Gets the displayName property value. The name of the policy.
134 135 136 |
# File 'lib/models/software_update_status_summary.rb', line 134 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The name of the policy.
142 143 144 |
# File 'lib/models/software_update_status_summary.rb', line 142 def display_name=(value) @display_name = value end |
#error_device_count ⇒ Object
Gets the errorDeviceCount property value. Number of devices had error.
149 150 151 |
# File 'lib/models/software_update_status_summary.rb', line 149 def error_device_count return @error_device_count end |
#error_device_count=(value) ⇒ Object
Sets the errorDeviceCount property value. Number of devices had error.
157 158 159 |
# File 'lib/models/software_update_status_summary.rb', line 157 def error_device_count=(value) @error_device_count = value end |
#error_user_count ⇒ Object
Gets the errorUserCount property value. Number of users had error.
164 165 166 |
# File 'lib/models/software_update_status_summary.rb', line 164 def error_user_count return @error_user_count end |
#error_user_count=(value) ⇒ Object
Sets the errorUserCount property value. Number of users had error.
172 173 174 |
# File 'lib/models/software_update_status_summary.rb', line 172 def error_user_count=(value) @error_user_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/models/software_update_status_summary.rb', line 179 def get_field_deserializers() return super.merge({ "compliantDeviceCount" => lambda {|n| @compliant_device_count = n.get_number_value() }, "compliantUserCount" => lambda {|n| @compliant_user_count = n.get_number_value() }, "conflictDeviceCount" => lambda {|n| @conflict_device_count = n.get_number_value() }, "conflictUserCount" => lambda {|n| @conflict_user_count = n.get_number_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "errorDeviceCount" => lambda {|n| @error_device_count = n.get_number_value() }, "errorUserCount" => lambda {|n| @error_user_count = n.get_number_value() }, "nonCompliantDeviceCount" => lambda {|n| @non_compliant_device_count = n.get_number_value() }, "nonCompliantUserCount" => lambda {|n| @non_compliant_user_count = n.get_number_value() }, "notApplicableDeviceCount" => lambda {|n| @not_applicable_device_count = n.get_number_value() }, "notApplicableUserCount" => lambda {|n| @not_applicable_user_count = n.get_number_value() }, "remediatedDeviceCount" => lambda {|n| @remediated_device_count = n.get_number_value() }, "remediatedUserCount" => lambda {|n| @remediated_user_count = n.get_number_value() }, "unknownDeviceCount" => lambda {|n| @unknown_device_count = n.get_number_value() }, "unknownUserCount" => lambda {|n| @unknown_user_count = n.get_number_value() }, }) end |
#non_compliant_device_count ⇒ Object
Gets the nonCompliantDeviceCount property value. Number of non compliant devices.
202 203 204 |
# File 'lib/models/software_update_status_summary.rb', line 202 def non_compliant_device_count return @non_compliant_device_count end |
#non_compliant_device_count=(value) ⇒ Object
Sets the nonCompliantDeviceCount property value. Number of non compliant devices.
210 211 212 |
# File 'lib/models/software_update_status_summary.rb', line 210 def non_compliant_device_count=(value) @non_compliant_device_count = value end |
#non_compliant_user_count ⇒ Object
Gets the nonCompliantUserCount property value. Number of non compliant users.
217 218 219 |
# File 'lib/models/software_update_status_summary.rb', line 217 def non_compliant_user_count return @non_compliant_user_count end |
#non_compliant_user_count=(value) ⇒ Object
Sets the nonCompliantUserCount property value. Number of non compliant users.
225 226 227 |
# File 'lib/models/software_update_status_summary.rb', line 225 def non_compliant_user_count=(value) @non_compliant_user_count = value end |
#not_applicable_device_count ⇒ Object
Gets the notApplicableDeviceCount property value. Number of not applicable devices.
232 233 234 |
# File 'lib/models/software_update_status_summary.rb', line 232 def not_applicable_device_count return @not_applicable_device_count end |
#not_applicable_device_count=(value) ⇒ Object
Sets the notApplicableDeviceCount property value. Number of not applicable devices.
240 241 242 |
# File 'lib/models/software_update_status_summary.rb', line 240 def not_applicable_device_count=(value) @not_applicable_device_count = value end |
#not_applicable_user_count ⇒ Object
Gets the notApplicableUserCount property value. Number of not applicable users.
247 248 249 |
# File 'lib/models/software_update_status_summary.rb', line 247 def not_applicable_user_count return @not_applicable_user_count end |
#not_applicable_user_count=(value) ⇒ Object
Sets the notApplicableUserCount property value. Number of not applicable users.
255 256 257 |
# File 'lib/models/software_update_status_summary.rb', line 255 def not_applicable_user_count=(value) @not_applicable_user_count = value end |
#remediated_device_count ⇒ Object
Gets the remediatedDeviceCount property value. Number of remediated devices.
262 263 264 |
# File 'lib/models/software_update_status_summary.rb', line 262 def remediated_device_count return @remediated_device_count end |
#remediated_device_count=(value) ⇒ Object
Sets the remediatedDeviceCount property value. Number of remediated devices.
270 271 272 |
# File 'lib/models/software_update_status_summary.rb', line 270 def remediated_device_count=(value) @remediated_device_count = value end |
#remediated_user_count ⇒ Object
Gets the remediatedUserCount property value. Number of remediated users.
277 278 279 |
# File 'lib/models/software_update_status_summary.rb', line 277 def remediated_user_count return @remediated_user_count end |
#remediated_user_count=(value) ⇒ Object
Sets the remediatedUserCount property value. Number of remediated users.
285 286 287 |
# File 'lib/models/software_update_status_summary.rb', line 285 def remediated_user_count=(value) @remediated_user_count = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 |
# File 'lib/models/software_update_status_summary.rb', line 293 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_number_value("compliantDeviceCount", @compliant_device_count) writer.write_number_value("compliantUserCount", @compliant_user_count) writer.write_number_value("conflictDeviceCount", @conflict_device_count) writer.write_number_value("conflictUserCount", @conflict_user_count) writer.write_string_value("displayName", @display_name) writer.write_number_value("errorDeviceCount", @error_device_count) writer.write_number_value("errorUserCount", @error_user_count) writer.write_number_value("nonCompliantDeviceCount", @non_compliant_device_count) writer.write_number_value("nonCompliantUserCount", @non_compliant_user_count) writer.write_number_value("notApplicableDeviceCount", @not_applicable_device_count) writer.write_number_value("notApplicableUserCount", @not_applicable_user_count) writer.write_number_value("remediatedDeviceCount", @remediated_device_count) writer.write_number_value("remediatedUserCount", @remediated_user_count) writer.write_number_value("unknownDeviceCount", @unknown_device_count) writer.write_number_value("unknownUserCount", @unknown_user_count) end |
#unknown_device_count ⇒ Object
Gets the unknownDeviceCount property value. Number of unknown devices.
316 317 318 |
# File 'lib/models/software_update_status_summary.rb', line 316 def unknown_device_count return @unknown_device_count end |
#unknown_device_count=(value) ⇒ Object
Sets the unknownDeviceCount property value. Number of unknown devices.
324 325 326 |
# File 'lib/models/software_update_status_summary.rb', line 324 def unknown_device_count=(value) @unknown_device_count = value end |
#unknown_user_count ⇒ Object
Gets the unknownUserCount property value. Number of unknown users.
331 332 333 |
# File 'lib/models/software_update_status_summary.rb', line 331 def unknown_user_count return @unknown_user_count end |
#unknown_user_count=(value) ⇒ Object
Sets the unknownUserCount property value. Number of unknown users.
339 340 341 |
# File 'lib/models/software_update_status_summary.rb', line 339 def unknown_user_count=(value) @unknown_user_count = value end |