Class: MicrosoftGraph::Models::Win32LobAppRegistryRule
- Inherits:
-
Win32LobAppRule
- Object
- Win32LobAppRule
- MicrosoftGraph::Models::Win32LobAppRegistryRule
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/win32_lob_app_registry_rule.rb
Overview
A complex type to store registry rule data for a Win32 LOB app.
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
-
#check32_bit_on64_system ⇒ Object
Gets the check32BitOn64System property value.
-
#check32_bit_on64_system=(value) ⇒ Object
Sets the check32BitOn64System property value.
-
#comparison_value ⇒ Object
Gets the comparisonValue property value.
-
#comparison_value=(value) ⇒ Object
Sets the comparisonValue property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new win32LobAppRegistryRule and sets the default values.
-
#key_path ⇒ Object
Gets the keyPath property value.
-
#key_path=(value) ⇒ Object
Sets the keyPath property value.
-
#operation_type ⇒ Object
Gets the operationType property value.
-
#operation_type=(value) ⇒ Object
Sets the operationType property value.
-
#operator ⇒ Object
Gets the operator property value.
-
#operator=(value) ⇒ Object
Sets the operator property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#value_name ⇒ Object
Gets the valueName property value.
-
#value_name=(value) ⇒ Object
Sets the valueName property value.
Methods inherited from Win32LobAppRule
#additional_data, #additional_data=, #odata_type, #odata_type=, #rule_type, #rule_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new win32LobAppRegistryRule and sets the default values.
63 64 65 66 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 63 def initialize() super @odata_type = "#microsoft.graph.win32LobAppRegistryRule" 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/win32_lob_app_registry_rule.rb', line 72 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return Win32LobAppRegistryRule.new end |
Instance Method Details
#check32_bit_on64_system ⇒ Object
Gets the check32BitOn64System property value. A value indicating whether to search the 32-bit registry on 64-bit systems.
33 34 35 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 33 def check32_bit_on64_system return @check32_bit_on64_system end |
#check32_bit_on64_system=(value) ⇒ Object
Sets the check32BitOn64System property value. A value indicating whether to search the 32-bit registry on 64-bit systems.
41 42 43 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 41 def check32_bit_on64_system=(value) @check32_bit_on64_system = value end |
#comparison_value ⇒ Object
Gets the comparisonValue property value. The registry comparison value.
48 49 50 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 48 def comparison_value return @comparison_value end |
#comparison_value=(value) ⇒ Object
Sets the comparisonValue property value. The registry comparison value.
56 57 58 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 56 def comparison_value=(value) @comparison_value = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
80 81 82 83 84 85 86 87 88 89 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 80 def get_field_deserializers() return super.merge({ "check32BitOn64System" => lambda {|n| @check32_bit_on64_system = n.get_boolean_value() }, "comparisonValue" => lambda {|n| @comparison_value = n.get_string_value() }, "keyPath" => lambda {|n| @key_path = n.get_string_value() }, "operationType" => lambda {|n| @operation_type = n.get_enum_value(MicrosoftGraph::Models::Win32LobAppRegistryRuleOperationType) }, "operator" => lambda {|n| @operator = n.get_enum_value(MicrosoftGraph::Models::Win32LobAppRuleOperator) }, "valueName" => lambda {|n| @value_name = n.get_string_value() }, }) end |
#key_path ⇒ Object
Gets the keyPath property value. The full path of the registry entry containing the value to detect.
94 95 96 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 94 def key_path return @key_path end |
#key_path=(value) ⇒ Object
Sets the keyPath property value. The full path of the registry entry containing the value to detect.
102 103 104 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 102 def key_path=(value) @key_path = value end |
#operation_type ⇒ Object
Gets the operationType property value. Contains all supported registry data detection type.
109 110 111 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 109 def operation_type return @operation_type end |
#operation_type=(value) ⇒ Object
Sets the operationType property value. Contains all supported registry data detection type.
117 118 119 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 117 def operation_type=(value) @operation_type = value end |
#operator ⇒ Object
Gets the operator property value. Contains properties for detection operator.
124 125 126 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 124 def operator return @operator end |
#operator=(value) ⇒ Object
Sets the operator property value. Contains properties for detection operator.
132 133 134 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 132 def operator=(value) @operator = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
140 141 142 143 144 145 146 147 148 149 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 140 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_boolean_value("check32BitOn64System", @check32_bit_on64_system) writer.write_string_value("comparisonValue", @comparison_value) writer.write_string_value("keyPath", @key_path) writer.write_enum_value("operationType", @operation_type) writer.write_enum_value("operator", @operator) writer.write_string_value("valueName", @value_name) end |
#value_name ⇒ Object
Gets the valueName property value. The name of the registry value to detect.
154 155 156 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 154 def value_name return @value_name end |
#value_name=(value) ⇒ Object
Sets the valueName property value. The name of the registry value to detect.
162 163 164 |
# File 'lib/models/win32_lob_app_registry_rule.rb', line 162 def value_name=(value) @value_name = value end |