Class: MicrosoftGraph::Models::SecurityThreatIntelligence
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_threat_intelligence.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
-
#article_indicators ⇒ Object
Gets the articleIndicators property value.
-
#article_indicators=(value) ⇒ Object
Sets the articleIndicators property value.
-
#articles ⇒ Object
Gets the articles property value.
-
#articles=(value) ⇒ Object
Sets the articles property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#host_components ⇒ Object
Gets the hostComponents property value.
-
#host_components=(value) ⇒ Object
Sets the hostComponents property value.
-
#host_cookies ⇒ Object
Gets the hostCookies property value.
-
#host_cookies=(value) ⇒ Object
Sets the hostCookies property value.
-
#host_trackers ⇒ Object
Gets the hostTrackers property value.
-
#host_trackers=(value) ⇒ Object
Sets the hostTrackers property value.
-
#hosts ⇒ Object
Gets the hosts property value.
-
#hosts=(value) ⇒ Object
Sets the hosts property value.
-
#initialize ⇒ Object
constructor
Instantiates a new securityThreatIntelligence and sets the default values.
-
#intel_profiles ⇒ Object
Gets the intelProfiles property value.
-
#intel_profiles=(value) ⇒ Object
Sets the intelProfiles property value.
-
#intelligence_profile_indicators ⇒ Object
Gets the intelligenceProfileIndicators property value.
-
#intelligence_profile_indicators=(value) ⇒ Object
Sets the intelligenceProfileIndicators property value.
-
#passive_dns_records ⇒ Object
Gets the passiveDnsRecords property value.
-
#passive_dns_records=(value) ⇒ Object
Sets the passiveDnsRecords property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#vulnerabilities ⇒ Object
Gets the vulnerabilities property value.
-
#vulnerabilities=(value) ⇒ Object
Sets the vulnerabilities property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityThreatIntelligence and sets the default values.
73 74 75 |
# File 'lib/models/security_threat_intelligence.rb', line 73 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
81 82 83 84 |
# File 'lib/models/security_threat_intelligence.rb', line 81 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityThreatIntelligence.new end |
Instance Method Details
#article_indicators ⇒ Object
Gets the articleIndicators property value. Refers to indicators of threat or compromise highlighted in an microsoft.graph.security.article.Note: List retrieval is not yet supported.
43 44 45 |
# File 'lib/models/security_threat_intelligence.rb', line 43 def article_indicators return @article_indicators end |
#article_indicators=(value) ⇒ Object
Sets the articleIndicators property value. Refers to indicators of threat or compromise highlighted in an microsoft.graph.security.article.Note: List retrieval is not yet supported.
51 52 53 |
# File 'lib/models/security_threat_intelligence.rb', line 51 def article_indicators=(value) @article_indicators = value end |
#articles ⇒ Object
Gets the articles property value. A list of article objects.
58 59 60 |
# File 'lib/models/security_threat_intelligence.rb', line 58 def articles return @articles end |
#articles=(value) ⇒ Object
Sets the articles property value. A list of article objects.
66 67 68 |
# File 'lib/models/security_threat_intelligence.rb', line 66 def articles=(value) @articles = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/models/security_threat_intelligence.rb', line 89 def get_field_deserializers() return super.merge({ "articleIndicators" => lambda {|n| @article_indicators = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityArticleIndicator.create_from_discriminator_value(pn) }) }, "articles" => lambda {|n| @articles = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityArticle.create_from_discriminator_value(pn) }) }, "hostComponents" => lambda {|n| @host_components = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityHostComponent.create_from_discriminator_value(pn) }) }, "hostCookies" => lambda {|n| @host_cookies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityHostCookie.create_from_discriminator_value(pn) }) }, "hostTrackers" => lambda {|n| @host_trackers = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityHostTracker.create_from_discriminator_value(pn) }) }, "hosts" => lambda {|n| @hosts = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityHost.create_from_discriminator_value(pn) }) }, "intelProfiles" => lambda {|n| @intel_profiles = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityIntelligenceProfile.create_from_discriminator_value(pn) }) }, "intelligenceProfileIndicators" => lambda {|n| @intelligence_profile_indicators = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityIntelligenceProfileIndicator.create_from_discriminator_value(pn) }) }, "passiveDnsRecords" => lambda {|n| @passive_dns_records = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityPassiveDnsRecord.create_from_discriminator_value(pn) }) }, "vulnerabilities" => lambda {|n| @vulnerabilities = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityVulnerability.create_from_discriminator_value(pn) }) }, }) end |
#host_components ⇒ Object
Gets the hostComponents property value. Retrieve details about microsoft.graph.security.hostComponent objects.Note: List retrieval is not yet supported.
107 108 109 |
# File 'lib/models/security_threat_intelligence.rb', line 107 def host_components return @host_components end |
#host_components=(value) ⇒ Object
Sets the hostComponents property value. Retrieve details about microsoft.graph.security.hostComponent objects.Note: List retrieval is not yet supported.
115 116 117 |
# File 'lib/models/security_threat_intelligence.rb', line 115 def host_components=(value) @host_components = value end |
#host_cookies ⇒ Object
Gets the hostCookies property value. Retrieve details about microsoft.graph.security.hostCookie objects.Note: List retrieval is not yet supported.
122 123 124 |
# File 'lib/models/security_threat_intelligence.rb', line 122 def return @host_cookies end |
#host_cookies=(value) ⇒ Object
Sets the hostCookies property value. Retrieve details about microsoft.graph.security.hostCookie objects.Note: List retrieval is not yet supported.
130 131 132 |
# File 'lib/models/security_threat_intelligence.rb', line 130 def (value) @host_cookies = value end |
#host_trackers ⇒ Object
Gets the hostTrackers property value. Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported.
137 138 139 |
# File 'lib/models/security_threat_intelligence.rb', line 137 def host_trackers return @host_trackers end |
#host_trackers=(value) ⇒ Object
Sets the hostTrackers property value. Retrieve details about microsoft.graph.security.hostTracker objects.Note: List retrieval is not yet supported.
145 146 147 |
# File 'lib/models/security_threat_intelligence.rb', line 145 def host_trackers=(value) @host_trackers = value end |
#hosts ⇒ Object
Gets the hosts property value. Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported.
152 153 154 |
# File 'lib/models/security_threat_intelligence.rb', line 152 def hosts return @hosts end |
#hosts=(value) ⇒ Object
Sets the hosts property value. Refers to microsoft.graph.security.host objects that Microsoft Threat Intelligence has observed.Note: List retrieval is not yet supported.
160 161 162 |
# File 'lib/models/security_threat_intelligence.rb', line 160 def hosts=(value) @hosts = value end |
#intel_profiles ⇒ Object
Gets the intelProfiles property value. A list of intelligenceProfile objects.
167 168 169 |
# File 'lib/models/security_threat_intelligence.rb', line 167 def intel_profiles return @intel_profiles end |
#intel_profiles=(value) ⇒ Object
Sets the intelProfiles property value. A list of intelligenceProfile objects.
175 176 177 |
# File 'lib/models/security_threat_intelligence.rb', line 175 def intel_profiles=(value) @intel_profiles = value end |
#intelligence_profile_indicators ⇒ Object
Gets the intelligenceProfileIndicators property value. The intelligenceProfileIndicators property
182 183 184 |
# File 'lib/models/security_threat_intelligence.rb', line 182 def intelligence_profile_indicators return @intelligence_profile_indicators end |
#intelligence_profile_indicators=(value) ⇒ Object
Sets the intelligenceProfileIndicators property value. The intelligenceProfileIndicators property
190 191 192 |
# File 'lib/models/security_threat_intelligence.rb', line 190 def intelligence_profile_indicators=(value) @intelligence_profile_indicators = value end |
#passive_dns_records ⇒ Object
Gets the passiveDnsRecords property value. Retrieve details about microsoft.graph.security.passiveDnsRecord objects.Note: List retrieval is not yet supported.
197 198 199 |
# File 'lib/models/security_threat_intelligence.rb', line 197 def passive_dns_records return @passive_dns_records end |
#passive_dns_records=(value) ⇒ Object
Sets the passiveDnsRecords property value. Retrieve details about microsoft.graph.security.passiveDnsRecord objects.Note: List retrieval is not yet supported.
205 206 207 |
# File 'lib/models/security_threat_intelligence.rb', line 205 def passive_dns_records=(value) @passive_dns_records = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
213 214 215 216 217 218 219 220 221 222 223 224 225 226 |
# File 'lib/models/security_threat_intelligence.rb', line 213 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("articleIndicators", @article_indicators) writer.write_collection_of_object_values("articles", @articles) writer.write_collection_of_object_values("hostComponents", @host_components) writer.write_collection_of_object_values("hostCookies", @host_cookies) writer.write_collection_of_object_values("hostTrackers", @host_trackers) writer.write_collection_of_object_values("hosts", @hosts) writer.write_collection_of_object_values("intelProfiles", @intel_profiles) writer.write_collection_of_object_values("intelligenceProfileIndicators", @intelligence_profile_indicators) writer.write_collection_of_object_values("passiveDnsRecords", @passive_dns_records) writer.write_collection_of_object_values("vulnerabilities", @vulnerabilities) end |
#vulnerabilities ⇒ Object
Gets the vulnerabilities property value. Retrieve details about microsoft.graph.security.vulnerabilities.Note: List retrieval is not yet supported.
231 232 233 |
# File 'lib/models/security_threat_intelligence.rb', line 231 def vulnerabilities return @vulnerabilities end |
#vulnerabilities=(value) ⇒ Object
Sets the vulnerabilities property value. Retrieve details about microsoft.graph.security.vulnerabilities.Note: List retrieval is not yet supported.
239 240 241 |
# File 'lib/models/security_threat_intelligence.rb', line 239 def vulnerabilities=(value) @vulnerabilities = value end |