Package com.microsoft.graph.models
Class MailAssessmentRequest
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ThreatAssessmentRequest
com.microsoft.graph.models.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 Summary
FieldsModifier and TypeFieldDescriptionThe Destination Routing Reason.The Message Uri.The Recipient Email.Fields inherited from class com.microsoft.graph.models.ThreatAssessmentRequest
category, contentType, createdBy, createdDateTime, expectedAssessment, requestSource, results, status
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
destinationRoutingReason
@SerializedName(value="destinationRoutingReason", alternate="DestinationRoutingReason") @Expose @Nullable public MailDestinationRoutingReason destinationRoutingReasonThe 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 messageUriThe Message Uri. The resource URI of the mail message for assessment. -
recipientEmail
@SerializedName(value="recipientEmail", alternate="RecipientEmail") @Expose @Nullable public String recipientEmailThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classThreatAssessmentRequest
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-