Class MailAssessmentRequest

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

public class MailAssessmentRequest extends ThreatAssessmentRequest implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Mail Assessment Request.
  • Field Details

    • 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.
    • messageUri

      @SerializedName(value="messageUri", alternate="MessageUri") @Expose @Nullable public String messageUri
      The Message Uri. The resource URI of the mail message for assessment.
    • 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

    • MailAssessmentRequest

      public MailAssessmentRequest()
  • 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