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
  • Constructor Details

    • AnalyzedMessageEvidence

      public AnalyzedMessageEvidence()
      Instantiates a new AnalyzedMessageEvidence and 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

      @Nullable public String 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

      @Nullable public Long getAttachmentsCount()
      Gets the attachmentsCount property value. Number of attachments in the email.
      Returns:
      a Long
    • getDeliveryAction

      @Nullable public String 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

      @Nullable public 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInternetMessageId

      @Nullable public String getInternetMessageId()
      Gets the internetMessageId property value. Public-facing identifier for the email that is set by the sending email system.
      Returns:
      a String
    • getLanguage

      @Nullable public String getLanguage()
      Gets the language property value. Detected language of the email content.
      Returns:
      a String
    • getNetworkMessageId

      @Nullable public String getNetworkMessageId()
      Gets the networkMessageId property value. Unique identifier for the email, generated by Microsoft 365.
      Returns:
      a String
    • getP1Sender

      @Nullable public EmailSender getP1Sender()
      Gets the p1Sender property value. The P1 sender.
      Returns:
      a EmailSender
    • getP2Sender

      @Nullable public EmailSender getP2Sender()
      Gets the p2Sender property value. The P2 sender.
      Returns:
      a EmailSender
    • getReceivedDateTime

      @Nullable public OffsetDateTime getReceivedDateTime()
      Gets the receivedDateTime property value. Date and time when the email was received.
      Returns:
      a OffsetDateTime
    • getRecipientEmailAddress

      @Nullable public String 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

      @Nullable public String getSenderIp()
      Gets the senderIp property value. IP address of the last detected mail server that relayed the message.
      Returns:
      a String
    • getSubject

      @Nullable public String getSubject()
      Gets the subject property value. Subject of the email.
      Returns:
      a String
    • getThreatDetectionMethods

      @Nullable public List<String> getThreatDetectionMethods()
      Gets the threatDetectionMethods property value. Collection of methods used to detect malware, phishing, or other threats found in the email.
      Returns:
      a List<String>
    • getThreats

      @Nullable public List<String> getThreats()
      Gets the threats property value. Collection of detection names for malware or other threats found.
      Returns:
      a List<String>
    • getUrlCount

      @Nullable public Long getUrlCount()
      Gets the urlCount property value. Number of embedded URLs in the email.
      Returns:
      a Long
    • getUrls

      @Nullable public List<String> getUrls()
      Gets the urls property value. Collection of the URLs contained in this email.
      Returns:
      a List<String>
    • getUrn

      @Nullable public String 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAntiSpamDirection

      public void setAntiSpamDirection(@Nullable String value)
      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

      public void setAttachmentsCount(@Nullable Long value)
      Sets the attachmentsCount property value. Number of attachments in the email.
      Parameters:
      value - Value to set for the attachmentsCount property.
    • setDeliveryAction

      public void setDeliveryAction(@Nullable String value)
      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

      public void setDeliveryLocation(@Nullable String value)
      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

      public void setInternetMessageId(@Nullable String value)
      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

      public void setLanguage(@Nullable String value)
      Sets the language property value. Detected language of the email content.
      Parameters:
      value - Value to set for the language property.
    • setNetworkMessageId

      public void setNetworkMessageId(@Nullable String value)
      Sets the networkMessageId property value. Unique identifier for the email, generated by Microsoft 365.
      Parameters:
      value - Value to set for the networkMessageId property.
    • setP1Sender

      public void setP1Sender(@Nullable EmailSender value)
      Sets the p1Sender property value. The P1 sender.
      Parameters:
      value - Value to set for the p1Sender property.
    • setP2Sender

      public void setP2Sender(@Nullable EmailSender value)
      Sets the p2Sender property value. The P2 sender.
      Parameters:
      value - Value to set for the p2Sender property.
    • setReceivedDateTime

      public void setReceivedDateTime(@Nullable OffsetDateTime value)
      Sets the receivedDateTime property value. Date and time when the email was received.
      Parameters:
      value - Value to set for the receivedDateTime property.
    • setRecipientEmailAddress

      public void setRecipientEmailAddress(@Nullable String value)
      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

      public void setSenderIp(@Nullable String value)
      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

      public void setSubject(@Nullable String value)
      Sets the subject property value. Subject of the email.
      Parameters:
      value - Value to set for the subject property.
    • setThreatDetectionMethods

      public void setThreatDetectionMethods(@Nullable List<String> value)
      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

      public void setThreats(@Nullable List<String> value)
      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

      public void setUrlCount(@Nullable Long value)
      Sets the urlCount property value. Number of embedded URLs in the email.
      Parameters:
      value - Value to set for the urlCount property.
    • setUrls

      public void setUrls(@Nullable List<String> value)
      Sets the urls property value. Collection of the URLs contained in this email.
      Parameters:
      value - Value to set for the urls property.
    • setUrn

      public void setUrn(@Nullable String value)
      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.