Class: MicrosoftGraph::Models::SecurityRegistryKeyEvidence
- Inherits:
-
SecurityAlertEvidence
- Object
- SecurityAlertEvidence
- MicrosoftGraph::Models::SecurityRegistryKeyEvidence
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_registry_key_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 securityRegistryKeyEvidence and sets the default values.
-
#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.
-
#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 securityRegistryKeyEvidence and sets the default values.
19 20 21 22 |
# File 'lib/models/security_registry_key_evidence.rb', line 19 def initialize() super @odata_type = "#microsoft.graph.security.registryKeyEvidence" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
28 29 30 31 |
# File 'lib/models/security_registry_key_evidence.rb', line 28 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityRegistryKeyEvidence.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
36 37 38 39 40 41 |
# File 'lib/models/security_registry_key_evidence.rb', line 36 def get_field_deserializers() return super.merge({ "registryHive" => lambda {|n| @registry_hive = n.get_string_value() }, "registryKey" => lambda {|n| @registry_key = n.get_string_value() }, }) end |
#registry_hive ⇒ Object
Gets the registryHive property value. Registry hive of the key that the recorded action was applied to.
46 47 48 |
# File 'lib/models/security_registry_key_evidence.rb', line 46 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.
54 55 56 |
# File 'lib/models/security_registry_key_evidence.rb', line 54 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.
61 62 63 |
# File 'lib/models/security_registry_key_evidence.rb', line 61 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.
69 70 71 |
# File 'lib/models/security_registry_key_evidence.rb', line 69 def registry_key=(value) @registry_key = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
77 78 79 80 81 82 |
# File 'lib/models/security_registry_key_evidence.rb', line 77 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("registryHive", @registry_hive) writer.write_string_value("registryKey", @registry_key) end |