Class AnalyzedMessageEvidence
java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.AnalyzedMessageEvidence
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class AnalyzedMessageEvidence
extends AlertEvidence
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.security.AlertEvidence
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnalyzedMessageEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the antiSpamDirection property value.Gets the attachmentsCount property value.Gets the deliveryAction property value.Gets the deliveryLocation property value.The deserialization information for the current modelGets the internetMessageId property value.Gets the language property value.Gets the networkMessageId property value.Gets the p1Sender property value.Gets the p2Sender property value.Gets the receivedDateTime property value.Gets the recipientEmailAddress property value.Gets the senderIp property value.Gets the subject property value.Gets the threatDetectionMethods property value.Gets the threats property value.Gets the urlCount property value.getUrls()Gets the urls property value.getUrn()Gets the urn property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAntiSpamDirection(String value) Sets the antiSpamDirection property value.voidsetAttachmentsCount(Long value) Sets the attachmentsCount property value.voidsetDeliveryAction(String value) Sets the deliveryAction property value.voidsetDeliveryLocation(String value) Sets the deliveryLocation property value.voidsetInternetMessageId(String value) Sets the internetMessageId property value.voidsetLanguage(String value) Sets the language property value.voidsetNetworkMessageId(String value) Sets the networkMessageId property value.voidsetP1Sender(EmailSender value) Sets the p1Sender property value.voidsetP2Sender(EmailSender value) Sets the p2Sender property value.voidSets the receivedDateTime property value.voidsetRecipientEmailAddress(String value) Sets the recipientEmailAddress property value.voidsetSenderIp(String value) Sets the senderIp property value.voidsetSubject(String value) Sets the subject property value.voidsetThreatDetectionMethods(List<String> value) Sets the threatDetectionMethods property value.voidsetThreats(List<String> value) Sets the threats property value.voidsetUrlCount(Long value) Sets the urlCount property value.voidSets the urls property value.voidSets the urn property value.Methods inherited from class com.microsoft.graph.models.security.AlertEvidence
getAdditionalData, getBackingStore, getCreatedDateTime, getDetailedRoles, getOdataType, getRemediationStatus, getRemediationStatusDetails, getRoles, getTags, getVerdict, setAdditionalData, setBackingStore, setCreatedDateTime, setDetailedRoles, setOdataType, setRemediationStatus, setRemediationStatusDetails, setRoles, setTags, setVerdict
-
Constructor Details
-
AnalyzedMessageEvidence
public AnalyzedMessageEvidence()Instantiates a newAnalyzedMessageEvidenceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static AnalyzedMessageEvidence createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
AnalyzedMessageEvidence
-
getAntiSpamDirection
Gets the antiSpamDirection property value. Direction of the email relative to your network. The possible values are: inbound, outbound or intraorg.- Returns:
- a
String
-
getAttachmentsCount
Gets the attachmentsCount property value. Number of attachments in the email.- Returns:
- a
Long
-
getDeliveryAction
Gets the deliveryAction property value. Delivery action of the email. The possible values are: delivered, deliveredAsSpam, junked, blocked, or replaced.- Returns:
- a
String
-
getDeliveryLocation
Gets the deliveryLocation property value. Location where the email was delivered. The possible values are: inbox, external, junkFolder, quarantine, failed, dropped, deletedFolder or forwarded.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAlertEvidence- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInternetMessageId
Gets the internetMessageId property value. Public-facing identifier for the email that is set by the sending email system.- Returns:
- a
String
-
getLanguage
Gets the language property value. Detected language of the email content.- Returns:
- a
String
-
getNetworkMessageId
Gets the networkMessageId property value. Unique identifier for the email, generated by Microsoft 365.- Returns:
- a
String
-
getP1Sender
Gets the p1Sender property value. The P1 sender.- Returns:
- a
EmailSender
-
getP2Sender
Gets the p2Sender property value. The P2 sender.- Returns:
- a
EmailSender
-
getReceivedDateTime
Gets the receivedDateTime property value. Date and time when the email was received.- Returns:
- a
OffsetDateTime
-
getRecipientEmailAddress
Gets the recipientEmailAddress property value. Email address of the recipient, or email address of the recipient after distribution list expansion.- Returns:
- a
String
-
getSenderIp
Gets the senderIp property value. IP address of the last detected mail server that relayed the message.- Returns:
- a
String
-
getSubject
Gets the subject property value. Subject of the email.- Returns:
- a
String
-
getThreatDetectionMethods
Gets the threatDetectionMethods property value. Collection of methods used to detect malware, phishing, or other threats found in the email. -
getThreats
Gets the threats property value. Collection of detection names for malware or other threats found. -
getUrlCount
Gets the urlCount property value. Number of embedded URLs in the email.- Returns:
- a
Long
-
getUrls
Gets the urls property value. Collection of the URLs contained in this email. -
getUrn
Gets the urn property value. Uniform resource name (URN) of the automated investigation where the cluster was identified.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAlertEvidence- Parameters:
writer- Serialization writer to use to serialize this model
-
setAntiSpamDirection
Sets the antiSpamDirection property value. Direction of the email relative to your network. The possible values are: inbound, outbound or intraorg.- Parameters:
value- Value to set for the antiSpamDirection property.
-
setAttachmentsCount
Sets the attachmentsCount property value. Number of attachments in the email.- Parameters:
value- Value to set for the attachmentsCount property.
-
setDeliveryAction
Sets the deliveryAction property value. Delivery action of the email. The possible values are: delivered, deliveredAsSpam, junked, blocked, or replaced.- Parameters:
value- Value to set for the deliveryAction property.
-
setDeliveryLocation
Sets the deliveryLocation property value. Location where the email was delivered. The possible values are: inbox, external, junkFolder, quarantine, failed, dropped, deletedFolder or forwarded.- Parameters:
value- Value to set for the deliveryLocation property.
-
setInternetMessageId
Sets the internetMessageId property value. Public-facing identifier for the email that is set by the sending email system.- Parameters:
value- Value to set for the internetMessageId property.
-
setLanguage
Sets the language property value. Detected language of the email content.- Parameters:
value- Value to set for the language property.
-
setNetworkMessageId
Sets the networkMessageId property value. Unique identifier for the email, generated by Microsoft 365.- Parameters:
value- Value to set for the networkMessageId property.
-
setP1Sender
Sets the p1Sender property value. The P1 sender.- Parameters:
value- Value to set for the p1Sender property.
-
setP2Sender
Sets the p2Sender property value. The P2 sender.- Parameters:
value- Value to set for the p2Sender property.
-
setReceivedDateTime
Sets the receivedDateTime property value. Date and time when the email was received.- Parameters:
value- Value to set for the receivedDateTime property.
-
setRecipientEmailAddress
Sets the recipientEmailAddress property value. Email address of the recipient, or email address of the recipient after distribution list expansion.- Parameters:
value- Value to set for the recipientEmailAddress property.
-
setSenderIp
Sets the senderIp property value. IP address of the last detected mail server that relayed the message.- Parameters:
value- Value to set for the senderIp property.
-
setSubject
Sets the subject property value. Subject of the email.- Parameters:
value- Value to set for the subject property.
-
setThreatDetectionMethods
Sets the threatDetectionMethods property value. Collection of methods used to detect malware, phishing, or other threats found in the email.- Parameters:
value- Value to set for the threatDetectionMethods property.
-
setThreats
Sets the threats property value. Collection of detection names for malware or other threats found.- Parameters:
value- Value to set for the threats property.
-
setUrlCount
Sets the urlCount property value. Number of embedded URLs in the email.- Parameters:
value- Value to set for the urlCount property.
-
setUrls
Sets the urls property value. Collection of the URLs contained in this email.- Parameters:
value- Value to set for the urls property.
-
setUrn
Sets the urn property value. Uniform resource name (URN) of the automated investigation where the cluster was identified.- Parameters:
value- Value to set for the urn property.
-