Class: MicrosoftGraph::Models::DeviceConfigurationDeviceStateSummary
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::DeviceConfigurationDeviceStateSummary
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/device_configuration_device_state_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.
-
#conflict_device_count ⇒ Object
Gets the conflictDeviceCount property value.
-
#conflict_device_count=(value) ⇒ Object
Sets the conflictDeviceCount property value.
-
#error_device_count ⇒ Object
Gets the errorDeviceCount property value.
-
#error_device_count=(value) ⇒ Object
Sets the errorDeviceCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new deviceConfigurationDeviceStateSummary 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.
-
#not_applicable_device_count ⇒ Object
Gets the notApplicableDeviceCount property value.
-
#not_applicable_device_count=(value) ⇒ Object
Sets the notApplicableDeviceCount property value.
-
#remediated_device_count ⇒ Object
Gets the remediatedDeviceCount property value.
-
#remediated_device_count=(value) ⇒ Object
Sets the remediatedDeviceCount 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.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new deviceConfigurationDeviceStateSummary and sets the default values.
64 65 66 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 64 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
72 73 74 75 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 72 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return DeviceConfigurationDeviceStateSummary.new end |
Instance Method Details
#compliant_device_count ⇒ Object
Gets the compliantDeviceCount property value. Number of compliant devices
34 35 36 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 34 def compliant_device_count return @compliant_device_count end |
#compliant_device_count=(value) ⇒ Object
Sets the compliantDeviceCount property value. Number of compliant devices
42 43 44 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 42 def compliant_device_count=(value) @compliant_device_count = value end |
#conflict_device_count ⇒ Object
Gets the conflictDeviceCount property value. Number of conflict devices
49 50 51 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 49 def conflict_device_count return @conflict_device_count end |
#conflict_device_count=(value) ⇒ Object
Sets the conflictDeviceCount property value. Number of conflict devices
57 58 59 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 57 def conflict_device_count=(value) @conflict_device_count = value end |
#error_device_count ⇒ Object
Gets the errorDeviceCount property value. Number of error devices
80 81 82 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 80 def error_device_count return @error_device_count end |
#error_device_count=(value) ⇒ Object
Sets the errorDeviceCount property value. Number of error devices
88 89 90 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 88 def error_device_count=(value) @error_device_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 95 def get_field_deserializers() return super.merge({ "compliantDeviceCount" => lambda {|n| @compliant_device_count = n.get_number_value() }, "conflictDeviceCount" => lambda {|n| @conflict_device_count = n.get_number_value() }, "errorDeviceCount" => lambda {|n| @error_device_count = n.get_number_value() }, "nonCompliantDeviceCount" => lambda {|n| @non_compliant_device_count = n.get_number_value() }, "notApplicableDeviceCount" => lambda {|n| @not_applicable_device_count = n.get_number_value() }, "remediatedDeviceCount" => lambda {|n| @remediated_device_count = n.get_number_value() }, "unknownDeviceCount" => lambda {|n| @unknown_device_count = n.get_number_value() }, }) end |
#non_compliant_device_count ⇒ Object
Gets the nonCompliantDeviceCount property value. Number of NonCompliant devices
110 111 112 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 110 def non_compliant_device_count return @non_compliant_device_count end |
#non_compliant_device_count=(value) ⇒ Object
Sets the nonCompliantDeviceCount property value. Number of NonCompliant devices
118 119 120 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 118 def non_compliant_device_count=(value) @non_compliant_device_count = value end |
#not_applicable_device_count ⇒ Object
Gets the notApplicableDeviceCount property value. Number of not applicable devices
125 126 127 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 125 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
133 134 135 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 133 def not_applicable_device_count=(value) @not_applicable_device_count = value end |
#remediated_device_count ⇒ Object
Gets the remediatedDeviceCount property value. Number of remediated devices
140 141 142 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 140 def remediated_device_count return @remediated_device_count end |
#remediated_device_count=(value) ⇒ Object
Sets the remediatedDeviceCount property value. Number of remediated devices
148 149 150 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 148 def remediated_device_count=(value) @remediated_device_count = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
156 157 158 159 160 161 162 163 164 165 166 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 156 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("conflictDeviceCount", @conflict_device_count) writer.write_number_value("errorDeviceCount", @error_device_count) writer.write_number_value("nonCompliantDeviceCount", @non_compliant_device_count) writer.write_number_value("notApplicableDeviceCount", @not_applicable_device_count) writer.write_number_value("remediatedDeviceCount", @remediated_device_count) writer.write_number_value("unknownDeviceCount", @unknown_device_count) end |
#unknown_device_count ⇒ Object
Gets the unknownDeviceCount property value. Number of unknown devices
171 172 173 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 171 def unknown_device_count return @unknown_device_count end |
#unknown_device_count=(value) ⇒ Object
Sets the unknownDeviceCount property value. Number of unknown devices
179 180 181 |
# File 'lib/models/device_configuration_device_state_summary.rb', line 179 def unknown_device_count=(value) @unknown_device_count = value end |