Class: MicrosoftGraph::Models::SecurityModelModelModelModelModelModelModel
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::SecurityModelModelModelModelModelModelModel
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_model_model_model_model_model_model_model.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
-
#alerts ⇒ Object
Gets the alerts property value.
-
#alerts=(value) ⇒ Object
Sets the alerts property value.
-
#alerts_v2 ⇒ Object
Gets the alerts_v2 property value.
-
#alerts_v2=(value) ⇒ Object
Sets the alerts_v2 property value.
-
#attack_simulation ⇒ Object
Gets the attackSimulation property value.
-
#attack_simulation=(value) ⇒ Object
Sets the attackSimulation property value.
-
#cases ⇒ Object
Gets the cases property value.
-
#cases=(value) ⇒ Object
Sets the cases property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#incidents ⇒ Object
Gets the incidents property value.
-
#incidents=(value) ⇒ Object
Sets the incidents property value.
-
#initialize ⇒ Object
constructor
Instantiates a new securityModelModelModelModelModelModelModel and sets the default values.
-
#secure_score_control_profiles ⇒ Object
Gets the secureScoreControlProfiles property value.
-
#secure_score_control_profiles=(value) ⇒ Object
Sets the secureScoreControlProfiles property value.
-
#secure_scores ⇒ Object
Gets the secureScores property value.
-
#secure_scores=(value) ⇒ Object
Sets the secureScores property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#threat_intelligence ⇒ Object
Gets the threatIntelligence property value.
-
#threat_intelligence=(value) ⇒ Object
Sets the threatIntelligence property value.
-
#trigger_types ⇒ Object
Gets the triggerTypes property value.
-
#trigger_types=(value) ⇒ Object
Sets the triggerTypes property value.
-
#triggers ⇒ Object
Gets the triggers property value.
-
#triggers=(value) ⇒ Object
Sets the triggers property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityModelModelModelModelModelModelModel and sets the default values.
103 104 105 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 103 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
111 112 113 114 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 111 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityModelModelModelModelModelModelModel.new end |
Instance Method Details
#alerts ⇒ Object
Gets the alerts property value. The alerts property
43 44 45 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 43 def alerts return @alerts end |
#alerts=(value) ⇒ Object
Sets the alerts property value. The alerts property
51 52 53 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 51 def alerts=(value) @alerts = value end |
#alerts_v2 ⇒ Object
Gets the alerts_v2 property value. A collection of alerts in Microsoft 365 Defender.
58 59 60 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 58 def alerts_v2 return @alerts_v2 end |
#alerts_v2=(value) ⇒ Object
Sets the alerts_v2 property value. A collection of alerts in Microsoft 365 Defender.
66 67 68 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 66 def alerts_v2=(value) @alerts_v2 = value end |
#attack_simulation ⇒ Object
Gets the attackSimulation property value. The attackSimulation property
73 74 75 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 73 def attack_simulation return @attack_simulation end |
#attack_simulation=(value) ⇒ Object
Sets the attackSimulation property value. The attackSimulation property
81 82 83 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 81 def attack_simulation=(value) @attack_simulation = value end |
#cases ⇒ Object
Gets the cases property value. The cases property
88 89 90 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 88 def cases return @cases end |
#cases=(value) ⇒ Object
Sets the cases property value. The cases property
96 97 98 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 96 def cases=(value) @cases = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 119 def get_field_deserializers() return super.merge({ "alerts" => lambda {|n| @alerts = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Alert.create_from_discriminator_value(pn) }) }, "alerts_v2" => lambda {|n| @alerts_v2 = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityAlert.create_from_discriminator_value(pn) }) }, "attackSimulation" => lambda {|n| @attack_simulation = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::AttackSimulationRoot.create_from_discriminator_value(pn) }) }, "cases" => lambda {|n| @cases = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityCasesRoot.create_from_discriminator_value(pn) }) }, "incidents" => lambda {|n| @incidents = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityIncident.create_from_discriminator_value(pn) }) }, "secureScoreControlProfiles" => lambda {|n| @secure_score_control_profiles = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecureScoreControlProfile.create_from_discriminator_value(pn) }) }, "secureScores" => lambda {|n| @secure_scores = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecureScore.create_from_discriminator_value(pn) }) }, "threatIntelligence" => lambda {|n| @threat_intelligence = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityThreatIntelligence.create_from_discriminator_value(pn) }) }, "triggerTypes" => lambda {|n| @trigger_types = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityTriggerTypesRoot.create_from_discriminator_value(pn) }) }, "triggers" => lambda {|n| @triggers = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityTriggersRoot.create_from_discriminator_value(pn) }) }, }) end |
#incidents ⇒ Object
Gets the incidents property value. A collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack.
137 138 139 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 137 def incidents return @incidents end |
#incidents=(value) ⇒ Object
Sets the incidents property value. A collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack.
145 146 147 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 145 def incidents=(value) @incidents = value end |
#secure_score_control_profiles ⇒ Object
Gets the secureScoreControlProfiles property value. The secureScoreControlProfiles property
152 153 154 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 152 def secure_score_control_profiles return @secure_score_control_profiles end |
#secure_score_control_profiles=(value) ⇒ Object
Sets the secureScoreControlProfiles property value. The secureScoreControlProfiles property
160 161 162 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 160 def secure_score_control_profiles=(value) @secure_score_control_profiles = value end |
#secure_scores ⇒ Object
Gets the secureScores property value. The secureScores property
167 168 169 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 167 def secure_scores return @secure_scores end |
#secure_scores=(value) ⇒ Object
Sets the secureScores property value. The secureScores property
175 176 177 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 175 def secure_scores=(value) @secure_scores = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
183 184 185 186 187 188 189 190 191 192 193 194 195 196 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 183 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("alerts", @alerts) writer.write_collection_of_object_values("alerts_v2", @alerts_v2) writer.write_object_value("attackSimulation", @attack_simulation) writer.write_object_value("cases", @cases) writer.write_collection_of_object_values("incidents", @incidents) writer.write_collection_of_object_values("secureScoreControlProfiles", @secure_score_control_profiles) writer.write_collection_of_object_values("secureScores", @secure_scores) writer.write_object_value("threatIntelligence", @threat_intelligence) writer.write_object_value("triggerTypes", @trigger_types) writer.write_object_value("triggers", @triggers) end |
#threat_intelligence ⇒ Object
Gets the threatIntelligence property value. The threatIntelligence property
201 202 203 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 201 def threat_intelligence return @threat_intelligence end |
#threat_intelligence=(value) ⇒ Object
Sets the threatIntelligence property value. The threatIntelligence property
209 210 211 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 209 def threat_intelligence=(value) @threat_intelligence = value end |
#trigger_types ⇒ Object
Gets the triggerTypes property value. The triggerTypes property
216 217 218 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 216 def trigger_types return @trigger_types end |
#trigger_types=(value) ⇒ Object
Sets the triggerTypes property value. The triggerTypes property
224 225 226 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 224 def trigger_types=(value) @trigger_types = value end |
#triggers ⇒ Object
Gets the triggers property value. The triggers property
231 232 233 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 231 def triggers return @triggers end |
#triggers=(value) ⇒ Object
Sets the triggers property value. The triggers property
239 240 241 |
# File 'lib/models/security_model_model_model_model_model_model_model.rb', line 239 def triggers=(value) @triggers = value end |