Class: MicrosoftGraph::Models::SecurityRegistryValueEvidence
- Inherits:
-
SecurityAlertEvidence
- Object
- SecurityAlertEvidence
- MicrosoftGraph::Models::SecurityRegistryValueEvidence
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_registry_value_evidence.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new securityRegistryValueEvidence and sets the default values.
-
#mde_device_id ⇒ Object
Gets the mdeDeviceId property value.
-
#mde_device_id=(value) ⇒ Object
Sets the mdeDeviceId property value.
-
#registry_hive ⇒ Object
Gets the registryHive property value.
-
#registry_hive=(value) ⇒ Object
Sets the registryHive property value.
-
#registry_key ⇒ Object
Gets the registryKey property value.
-
#registry_key=(value) ⇒ Object
Sets the registryKey property value.
-
#registry_value ⇒ Object
Gets the registryValue property value.
-
#registry_value=(value) ⇒ Object
Sets the registryValue property value.
-
#registry_value_name ⇒ Object
Gets the registryValueName property value.
-
#registry_value_name=(value) ⇒ Object
Sets the registryValueName property value.
-
#registry_value_type ⇒ Object
Gets the registryValueType property value.
-
#registry_value_type=(value) ⇒ Object
Sets the registryValueType property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from SecurityAlertEvidence
#additional_data, #additional_data=, #created_date_time, #created_date_time=, #detailed_roles, #detailed_roles=, #odata_type, #odata_type=, #remediation_status, #remediation_status=, #remediation_status_details, #remediation_status_details=, #roles, #roles=, #tags, #tags=, #verdict, #verdict=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityRegistryValueEvidence and sets the default values.
31 32 33 34 |
# File 'lib/models/security_registry_value_evidence.rb', line 31 def initialize() super @odata_type = "#microsoft.graph.security.registryValueEvidence" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
40 41 42 43 |
# File 'lib/models/security_registry_value_evidence.rb', line 40 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityRegistryValueEvidence.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
48 49 50 51 52 53 54 55 56 57 |
# File 'lib/models/security_registry_value_evidence.rb', line 48 def get_field_deserializers() return super.merge({ "mdeDeviceId" => lambda {|n| @mde_device_id = n.get_string_value() }, "registryHive" => lambda {|n| @registry_hive = n.get_string_value() }, "registryKey" => lambda {|n| @registry_key = n.get_string_value() }, "registryValue" => lambda {|n| @registry_value = n.get_string_value() }, "registryValueName" => lambda {|n| @registry_value_name = n.get_string_value() }, "registryValueType" => lambda {|n| @registry_value_type = n.get_string_value() }, }) end |
#mde_device_id ⇒ Object
Gets the mdeDeviceId property value. A unique identifier assigned to a device by Microsoft Defender for Endpoint.
62 63 64 |
# File 'lib/models/security_registry_value_evidence.rb', line 62 def mde_device_id return @mde_device_id end |
#mde_device_id=(value) ⇒ Object
Sets the mdeDeviceId property value. A unique identifier assigned to a device by Microsoft Defender for Endpoint.
70 71 72 |
# File 'lib/models/security_registry_value_evidence.rb', line 70 def mde_device_id=(value) @mde_device_id = value end |
#registry_hive ⇒ Object
Gets the registryHive property value. Registry hive of the key that the recorded action was applied to.
77 78 79 |
# File 'lib/models/security_registry_value_evidence.rb', line 77 def registry_hive return @registry_hive end |
#registry_hive=(value) ⇒ Object
Sets the registryHive property value. Registry hive of the key that the recorded action was applied to.
85 86 87 |
# File 'lib/models/security_registry_value_evidence.rb', line 85 def registry_hive=(value) @registry_hive = value end |
#registry_key ⇒ Object
Gets the registryKey property value. Registry key that the recorded action was applied to.
92 93 94 |
# File 'lib/models/security_registry_value_evidence.rb', line 92 def registry_key return @registry_key end |
#registry_key=(value) ⇒ Object
Sets the registryKey property value. Registry key that the recorded action was applied to.
100 101 102 |
# File 'lib/models/security_registry_value_evidence.rb', line 100 def registry_key=(value) @registry_key = value end |
#registry_value ⇒ Object
Gets the registryValue property value. Data of the registry value that the recorded action was applied to.
107 108 109 |
# File 'lib/models/security_registry_value_evidence.rb', line 107 def registry_value return @registry_value end |
#registry_value=(value) ⇒ Object
Sets the registryValue property value. Data of the registry value that the recorded action was applied to.
115 116 117 |
# File 'lib/models/security_registry_value_evidence.rb', line 115 def registry_value=(value) @registry_value = value end |
#registry_value_name ⇒ Object
Gets the registryValueName property value. Name of the registry value that the recorded action was applied to.
122 123 124 |
# File 'lib/models/security_registry_value_evidence.rb', line 122 def registry_value_name return @registry_value_name end |
#registry_value_name=(value) ⇒ Object
Sets the registryValueName property value. Name of the registry value that the recorded action was applied to.
130 131 132 |
# File 'lib/models/security_registry_value_evidence.rb', line 130 def registry_value_name=(value) @registry_value_name = value end |
#registry_value_type ⇒ Object
Gets the registryValueType property value. Data type, such as binary or string, of the registry value that the recorded action was applied to.
137 138 139 |
# File 'lib/models/security_registry_value_evidence.rb', line 137 def registry_value_type return @registry_value_type end |
#registry_value_type=(value) ⇒ Object
Sets the registryValueType property value. Data type, such as binary or string, of the registry value that the recorded action was applied to.
145 146 147 |
# File 'lib/models/security_registry_value_evidence.rb', line 145 def registry_value_type=(value) @registry_value_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
153 154 155 156 157 158 159 160 161 162 |
# File 'lib/models/security_registry_value_evidence.rb', line 153 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("mdeDeviceId", @mde_device_id) writer.write_string_value("registryHive", @registry_hive) writer.write_string_value("registryKey", @registry_key) writer.write_string_value("registryValue", @registry_value) writer.write_string_value("registryValueName", @registry_value_name) writer.write_string_value("registryValueType", @registry_value_type) end |