Class: MicrosoftGraph::Models::SecurityMailClusterEvidence
- Inherits:
-
SecurityAlertEvidence
- Object
- SecurityAlertEvidence
- MicrosoftGraph::Models::SecurityMailClusterEvidence
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_mail_cluster_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
-
#cluster_by ⇒ Object
Gets the clusterBy property value.
-
#cluster_by=(value) ⇒ Object
Sets the clusterBy property value.
-
#cluster_by_value ⇒ Object
Gets the clusterByValue property value.
-
#cluster_by_value=(value) ⇒ Object
Sets the clusterByValue property value.
-
#email_count ⇒ Object
Gets the emailCount property value.
-
#email_count=(value) ⇒ Object
Sets the emailCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new securityMailClusterEvidence and sets the default values.
-
#network_message_ids ⇒ Object
Gets the networkMessageIds property value.
-
#network_message_ids=(value) ⇒ Object
Sets the networkMessageIds property value.
-
#query ⇒ Object
Gets the query property value.
-
#query=(value) ⇒ Object
Sets the query property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#urn ⇒ Object
Gets the urn property value.
-
#urn=(value) ⇒ Object
Sets the urn property value.
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 securityMailClusterEvidence and sets the default values.
61 62 63 64 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 61 def initialize() super @odata_type = "#microsoft.graph.security.mailClusterEvidence" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
70 71 72 73 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 70 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityMailClusterEvidence.new end |
Instance Method Details
#cluster_by ⇒ Object
Gets the clusterBy property value. The clustering logic of the emails inside the cluster.
31 32 33 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 31 def cluster_by return @cluster_by end |
#cluster_by=(value) ⇒ Object
Sets the clusterBy property value. The clustering logic of the emails inside the cluster.
39 40 41 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 39 def cluster_by=(value) @cluster_by = value end |
#cluster_by_value ⇒ Object
Gets the clusterByValue property value. The value utilized to cluster the similar emails.
46 47 48 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 46 def cluster_by_value return @cluster_by_value end |
#cluster_by_value=(value) ⇒ Object
Sets the clusterByValue property value. The value utilized to cluster the similar emails.
54 55 56 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 54 def cluster_by_value=(value) @cluster_by_value = value end |
#email_count ⇒ Object
Gets the emailCount property value. Count of emails in the email cluster.
78 79 80 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 78 def email_count return @email_count end |
#email_count=(value) ⇒ Object
Sets the emailCount property value. Count of emails in the email cluster.
86 87 88 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 86 def email_count=(value) @email_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
93 94 95 96 97 98 99 100 101 102 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 93 def get_field_deserializers() return super.merge({ "clusterBy" => lambda {|n| @cluster_by = n.get_string_value() }, "clusterByValue" => lambda {|n| @cluster_by_value = n.get_string_value() }, "emailCount" => lambda {|n| @email_count = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "networkMessageIds" => lambda {|n| = n.get_collection_of_primitive_values(String) }, "query" => lambda {|n| @query = n.get_string_value() }, "urn" => lambda {|n| @urn = n.get_string_value() }, }) end |
#network_message_ids ⇒ Object
Gets the networkMessageIds property value. Unique identifiers for the emails in the cluster, generated by Microsoft 365.
107 108 109 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 107 def return end |
#network_message_ids=(value) ⇒ Object
Sets the networkMessageIds property value. Unique identifiers for the emails in the cluster, generated by Microsoft 365.
115 116 117 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 115 def (value) = value end |
#query ⇒ Object
Gets the query property value. The query used to identify the email cluster.
122 123 124 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 122 def query return @query end |
#query=(value) ⇒ Object
Sets the query property value. The query used to identify the email cluster.
130 131 132 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 130 def query=(value) @query = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
138 139 140 141 142 143 144 145 146 147 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 138 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("clusterBy", @cluster_by) writer.write_string_value("clusterByValue", @cluster_by_value) writer.write_object_value("emailCount", @email_count) writer.write_collection_of_primitive_values("networkMessageIds", ) writer.write_string_value("query", @query) writer.write_string_value("urn", @urn) end |
#urn ⇒ Object
Gets the urn property value. Uniform resource name (URN) of the automated investigation where the cluster was identified.
152 153 154 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 152 def urn return @urn end |
#urn=(value) ⇒ Object
Sets the urn property value. Uniform resource name (URN) of the automated investigation where the cluster was identified.
160 161 162 |
# File 'lib/models/security_mail_cluster_evidence.rb', line 160 def urn=(value) @urn = value end |