Class: MicrosoftGraph::Models::SettingStateDeviceSummary
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/setting_state_device_summary.rb
Overview
Device Compilance Policy and Configuration for a Setting State summary
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 settingStateDeviceSummary and sets the default values.
-
#instance_path ⇒ Object
Gets the instancePath property value.
-
#instance_path=(value) ⇒ Object
Sets the instancePath property value.
-
#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.
-
#setting_name ⇒ Object
Gets the settingName property value.
-
#setting_name=(value) ⇒ Object
Sets the settingName property value.
-
#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 settingStateDeviceSummary and sets the default values.
72 73 74 |
# File 'lib/models/setting_state_device_summary.rb', line 72 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
80 81 82 83 |
# File 'lib/models/setting_state_device_summary.rb', line 80 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SettingStateDeviceSummary.new end |
Instance Method Details
#compliant_device_count ⇒ Object
Gets the compliantDeviceCount property value. Device Compliant count for the setting
42 43 44 |
# File 'lib/models/setting_state_device_summary.rb', line 42 def compliant_device_count return @compliant_device_count end |
#compliant_device_count=(value) ⇒ Object
Sets the compliantDeviceCount property value. Device Compliant count for the setting
50 51 52 |
# File 'lib/models/setting_state_device_summary.rb', line 50 def compliant_device_count=(value) @compliant_device_count = value end |
#conflict_device_count ⇒ Object
Gets the conflictDeviceCount property value. Device conflict error count for the setting
57 58 59 |
# File 'lib/models/setting_state_device_summary.rb', line 57 def conflict_device_count return @conflict_device_count end |
#conflict_device_count=(value) ⇒ Object
Sets the conflictDeviceCount property value. Device conflict error count for the setting
65 66 67 |
# File 'lib/models/setting_state_device_summary.rb', line 65 def conflict_device_count=(value) @conflict_device_count = value end |
#error_device_count ⇒ Object
Gets the errorDeviceCount property value. Device error count for the setting
88 89 90 |
# File 'lib/models/setting_state_device_summary.rb', line 88 def error_device_count return @error_device_count end |
#error_device_count=(value) ⇒ Object
Sets the errorDeviceCount property value. Device error count for the setting
96 97 98 |
# File 'lib/models/setting_state_device_summary.rb', line 96 def error_device_count=(value) @error_device_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/models/setting_state_device_summary.rb', line 103 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() }, "instancePath" => lambda {|n| @instance_path = n.get_string_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() }, "settingName" => lambda {|n| @setting_name = n.get_string_value() }, "unknownDeviceCount" => lambda {|n| @unknown_device_count = n.get_number_value() }, }) end |
#instance_path ⇒ Object
Gets the instancePath property value. Name of the InstancePath for the setting
120 121 122 |
# File 'lib/models/setting_state_device_summary.rb', line 120 def instance_path return @instance_path end |
#instance_path=(value) ⇒ Object
Sets the instancePath property value. Name of the InstancePath for the setting
128 129 130 |
# File 'lib/models/setting_state_device_summary.rb', line 128 def instance_path=(value) @instance_path = value end |
#non_compliant_device_count ⇒ Object
Gets the nonCompliantDeviceCount property value. Device NonCompliant count for the setting
135 136 137 |
# File 'lib/models/setting_state_device_summary.rb', line 135 def non_compliant_device_count return @non_compliant_device_count end |
#non_compliant_device_count=(value) ⇒ Object
Sets the nonCompliantDeviceCount property value. Device NonCompliant count for the setting
143 144 145 |
# File 'lib/models/setting_state_device_summary.rb', line 143 def non_compliant_device_count=(value) @non_compliant_device_count = value end |
#not_applicable_device_count ⇒ Object
Gets the notApplicableDeviceCount property value. Device Not Applicable count for the setting
150 151 152 |
# File 'lib/models/setting_state_device_summary.rb', line 150 def not_applicable_device_count return @not_applicable_device_count end |
#not_applicable_device_count=(value) ⇒ Object
Sets the notApplicableDeviceCount property value. Device Not Applicable count for the setting
158 159 160 |
# File 'lib/models/setting_state_device_summary.rb', line 158 def not_applicable_device_count=(value) @not_applicable_device_count = value end |
#remediated_device_count ⇒ Object
Gets the remediatedDeviceCount property value. Device Compliant count for the setting
165 166 167 |
# File 'lib/models/setting_state_device_summary.rb', line 165 def remediated_device_count return @remediated_device_count end |
#remediated_device_count=(value) ⇒ Object
Sets the remediatedDeviceCount property value. Device Compliant count for the setting
173 174 175 |
# File 'lib/models/setting_state_device_summary.rb', line 173 def remediated_device_count=(value) @remediated_device_count = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
181 182 183 184 185 186 187 188 189 190 191 192 193 |
# File 'lib/models/setting_state_device_summary.rb', line 181 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_string_value("instancePath", @instance_path) 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_string_value("settingName", @setting_name) writer.write_number_value("unknownDeviceCount", @unknown_device_count) end |
#setting_name ⇒ Object
Gets the settingName property value. Name of the setting
198 199 200 |
# File 'lib/models/setting_state_device_summary.rb', line 198 def setting_name return @setting_name end |
#setting_name=(value) ⇒ Object
Sets the settingName property value. Name of the setting
206 207 208 |
# File 'lib/models/setting_state_device_summary.rb', line 206 def setting_name=(value) @setting_name = value end |
#unknown_device_count ⇒ Object
Gets the unknownDeviceCount property value. Device Unkown count for the setting
213 214 215 |
# File 'lib/models/setting_state_device_summary.rb', line 213 def unknown_device_count return @unknown_device_count end |
#unknown_device_count=(value) ⇒ Object
Sets the unknownDeviceCount property value. Device Unkown count for the setting
221 222 223 |
# File 'lib/models/setting_state_device_summary.rb', line 221 def unknown_device_count=(value) @unknown_device_count = value end |