_propDict)) { return $this->_propDict["contentData"]; } else { return null; } } /** * Sets the contentData * Base64 encoded .eml email file content. The file content can't fetch back because it isn't stored. * * @param string $val The contentData * * @return EmailFileAssessmentRequest */ public function setContentData($val) { $this->_propDict["contentData"] = $val; return $this; } /** * Gets the destinationRoutingReason * 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. * * @return MailDestinationRoutingReason|null The destinationRoutingReason */ public function getDestinationRoutingReason() { if (array_key_exists("destinationRoutingReason", $this->_propDict)) { if (is_a($this->_propDict["destinationRoutingReason"], "\Microsoft\Graph\Model\MailDestinationRoutingReason") || is_null($this->_propDict["destinationRoutingReason"])) { return $this->_propDict["destinationRoutingReason"]; } else { $this->_propDict["destinationRoutingReason"] = new MailDestinationRoutingReason($this->_propDict["destinationRoutingReason"]); return $this->_propDict["destinationRoutingReason"]; } } return null; } /** * Sets the destinationRoutingReason * 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. * * @param MailDestinationRoutingReason $val The destinationRoutingReason * * @return EmailFileAssessmentRequest */ public function setDestinationRoutingReason($val) { $this->_propDict["destinationRoutingReason"] = $val; return $this; } /** * Gets the recipientEmail * The mail recipient whose policies are used to assess the mail. * * @return string|null The recipientEmail */ public function getRecipientEmail() { if (array_key_exists("recipientEmail", $this->_propDict)) { return $this->_propDict["recipientEmail"]; } else { return null; } } /** * Sets the recipientEmail * The mail recipient whose policies are used to assess the mail. * * @param string $val The recipientEmail * * @return EmailFileAssessmentRequest */ public function setRecipientEmail($val) { $this->_propDict["recipientEmail"] = $val; return $this; } }