Class EmailFileAssessmentRequest

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class EmailFileAssessmentRequest extends ThreatAssessmentRequest implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Email File Assessment Request.
  • Field Details

    • contentData

      @SerializedName(value="contentData", alternate="ContentData") @Expose @Nullable public String contentData
      The Content Data. Base64 encoded .eml email file content. The file content cannot fetch back because it isn't stored.
    • destinationRoutingReason

      @SerializedName(value="destinationRoutingReason", alternate="DestinationRoutingReason") @Expose @Nullable public MailDestinationRoutingReason destinationRoutingReason
      The Destination Routing Reason. The reason for mail routed to its destination. Possible values are: none, mailFlowRule, safeSender, blockedSender, advancedSpamFiltering, domainAllowList, domainBlockList, notInAddressBook, firstTimeSender, autoPurgeToInbox, autoPurgeToJunk, autoPurgeToDeleted, outbound, notJunk, junk.
    • recipientEmail

      @SerializedName(value="recipientEmail", alternate="RecipientEmail") @Expose @Nullable public String recipientEmail
      The Recipient Email. The mail recipient whose policies are used to assess the mail.
  • Constructor Details

    • EmailFileAssessmentRequest

      public EmailFileAssessmentRequest()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class ThreatAssessmentRequest
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to