Class: MicrosoftGraph::Models::ConfigurationManagerClientEnabledFeatures
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::ConfigurationManagerClientEnabledFeatures
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/configuration_manager_client_enabled_features.rb
Overview
configuration Manager client enabled features
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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#compliance_policy ⇒ Object
Gets the compliancePolicy property value.
-
#compliance_policy=(value) ⇒ Object
Sets the compliancePolicy property value.
-
#device_configuration ⇒ Object
Gets the deviceConfiguration property value.
-
#device_configuration=(value) ⇒ Object
Sets the deviceConfiguration property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new configurationManagerClientEnabledFeatures and sets the default values.
-
#inventory ⇒ Object
Gets the inventory property value.
-
#inventory=(value) ⇒ Object
Sets the inventory property value.
-
#modern_apps ⇒ Object
Gets the modernApps property value.
-
#modern_apps=(value) ⇒ Object
Sets the modernApps property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#resource_access ⇒ Object
Gets the resourceAccess property value.
-
#resource_access=(value) ⇒ Object
Sets the resourceAccess property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#windows_update_for_business ⇒ Object
Gets the windowsUpdateForBusiness property value.
-
#windows_update_for_business=(value) ⇒ Object
Sets the windowsUpdateForBusiness property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new configurationManagerClientEnabledFeatures and sets the default values.
69 70 71 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 69 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
77 78 79 80 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 77 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ConfigurationManagerClientEnabledFeatures.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
39 40 41 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 39 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.
47 48 49 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 47 def additional_data=(value) @additional_data = value end |
#compliance_policy ⇒ Object
Gets the compliancePolicy property value. Whether compliance policy is managed by Intune
54 55 56 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 54 def compliance_policy return @compliance_policy end |
#compliance_policy=(value) ⇒ Object
Sets the compliancePolicy property value. Whether compliance policy is managed by Intune
62 63 64 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 62 def compliance_policy=(value) @compliance_policy = value end |
#device_configuration ⇒ Object
Gets the deviceConfiguration property value. Whether device configuration is managed by Intune
85 86 87 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 85 def device_configuration return @device_configuration end |
#device_configuration=(value) ⇒ Object
Sets the deviceConfiguration property value. Whether device configuration is managed by Intune
93 94 95 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 93 def device_configuration=(value) @device_configuration = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 100 def get_field_deserializers() return { "compliancePolicy" => lambda {|n| @compliance_policy = n.get_boolean_value() }, "deviceConfiguration" => lambda {|n| @device_configuration = n.get_boolean_value() }, "inventory" => lambda {|n| @inventory = n.get_boolean_value() }, "modernApps" => lambda {|n| @modern_apps = n.get_boolean_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "resourceAccess" => lambda {|n| @resource_access = n.get_boolean_value() }, "windowsUpdateForBusiness" => lambda {|n| @windows_update_for_business = n.get_boolean_value() }, } end |
#inventory ⇒ Object
Gets the inventory property value. Whether inventory is managed by Intune
115 116 117 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 115 def inventory return @inventory end |
#inventory=(value) ⇒ Object
Sets the inventory property value. Whether inventory is managed by Intune
123 124 125 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 123 def inventory=(value) @inventory = value end |
#modern_apps ⇒ Object
Gets the modernApps property value. Whether modern application is managed by Intune
130 131 132 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 130 def modern_apps return @modern_apps end |
#modern_apps=(value) ⇒ Object
Sets the modernApps property value. Whether modern application is managed by Intune
138 139 140 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 138 def modern_apps=(value) @modern_apps = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
145 146 147 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 145 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
153 154 155 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 153 def odata_type=(value) @odata_type = value end |
#resource_access ⇒ Object
Gets the resourceAccess property value. Whether resource access is managed by Intune
160 161 162 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 160 def resource_access return @resource_access end |
#resource_access=(value) ⇒ Object
Sets the resourceAccess property value. Whether resource access is managed by Intune
168 169 170 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 168 def resource_access=(value) @resource_access = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
176 177 178 179 180 181 182 183 184 185 186 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 176 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_boolean_value("compliancePolicy", @compliance_policy) writer.write_boolean_value("deviceConfiguration", @device_configuration) writer.write_boolean_value("inventory", @inventory) writer.write_boolean_value("modernApps", @modern_apps) writer.write_string_value("@odata.type", @odata_type) writer.write_boolean_value("resourceAccess", @resource_access) writer.write_boolean_value("windowsUpdateForBusiness", @windows_update_for_business) writer.write_additional_data(@additional_data) end |
#windows_update_for_business ⇒ Object
Gets the windowsUpdateForBusiness property value. Whether Windows Update for Business is managed by Intune
191 192 193 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 191 def windows_update_for_business return @windows_update_for_business end |
#windows_update_for_business=(value) ⇒ Object
Sets the windowsUpdateForBusiness property value. Whether Windows Update for Business is managed by Intune
199 200 201 |
# File 'lib/models/configuration_manager_client_enabled_features.rb', line 199 def windows_update_for_business=(value) @windows_update_for_business = value end |