Class MessageRulePredicates

java.lang.Object
com.microsoft.graph.models.MessageRulePredicates
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class MessageRulePredicates extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Message Rule Predicates.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • bodyContains

      @SerializedName(value="bodyContains", alternate="BodyContains") @Expose @Nullable public List<String> bodyContains
      The Body Contains. Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply.
    • bodyOrSubjectContains

      @SerializedName(value="bodyOrSubjectContains", alternate="BodyOrSubjectContains") @Expose @Nullable public List<String> bodyOrSubjectContains
      The Body Or Subject Contains. Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply.
    • categories

      @SerializedName(value="categories", alternate="Categories") @Expose @Nullable public List<String> categories
      The Categories. Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply.
    • fromAddresses

      @SerializedName(value="fromAddresses", alternate="FromAddresses") @Expose @Nullable public List<Recipient> fromAddresses
      The From Addresses. Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
    • hasAttachments

      @SerializedName(value="hasAttachments", alternate="HasAttachments") @Expose @Nullable public Boolean hasAttachments
      The Has Attachments. Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
    • headerContains

      @SerializedName(value="headerContains", alternate="HeaderContains") @Expose @Nullable public List<String> headerContains
      The Header Contains. Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply.
    • importance

      @SerializedName(value="importance", alternate="Importance") @Expose @Nullable public Importance importance
      The Importance. The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high.
    • isApprovalRequest

      @SerializedName(value="isApprovalRequest", alternate="IsApprovalRequest") @Expose @Nullable public Boolean isApprovalRequest
      The Is Approval Request. Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
    • isAutomaticForward

      @SerializedName(value="isAutomaticForward", alternate="IsAutomaticForward") @Expose @Nullable public Boolean isAutomaticForward
      The Is Automatic Forward. Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
    • isAutomaticReply

      @SerializedName(value="isAutomaticReply", alternate="IsAutomaticReply") @Expose @Nullable public Boolean isAutomaticReply
      The Is Automatic Reply. Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
    • isEncrypted

      @SerializedName(value="isEncrypted", alternate="IsEncrypted") @Expose @Nullable public Boolean isEncrypted
      The Is Encrypted. Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
    • isMeetingRequest

      @SerializedName(value="isMeetingRequest", alternate="IsMeetingRequest") @Expose @Nullable public Boolean isMeetingRequest
      The Is Meeting Request. Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
    • isMeetingResponse

      @SerializedName(value="isMeetingResponse", alternate="IsMeetingResponse") @Expose @Nullable public Boolean isMeetingResponse
      The Is Meeting Response. Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
    • isNonDeliveryReport

      @SerializedName(value="isNonDeliveryReport", alternate="IsNonDeliveryReport") @Expose @Nullable public Boolean isNonDeliveryReport
      The Is Non Delivery Report. Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply.
    • isPermissionControlled

      @SerializedName(value="isPermissionControlled", alternate="IsPermissionControlled") @Expose @Nullable public Boolean isPermissionControlled
      The Is Permission Controlled. Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply.
    • isReadReceipt

      @SerializedName(value="isReadReceipt", alternate="IsReadReceipt") @Expose @Nullable public Boolean isReadReceipt
      The Is Read Receipt. Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
    • isSigned

      @SerializedName(value="isSigned", alternate="IsSigned") @Expose @Nullable public Boolean isSigned
      The Is Signed. Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
    • isVoicemail

      @SerializedName(value="isVoicemail", alternate="IsVoicemail") @Expose @Nullable public Boolean isVoicemail
      The Is Voicemail. Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
    • messageActionFlag

      @SerializedName(value="messageActionFlag", alternate="MessageActionFlag") @Expose @Nullable public MessageActionFlag messageActionFlag
      The Message Action Flag. Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review.
    • notSentToMe

      @SerializedName(value="notSentToMe", alternate="NotSentToMe") @Expose @Nullable public Boolean notSentToMe
      The Not Sent To Me. Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply.
    • recipientContains

      @SerializedName(value="recipientContains", alternate="RecipientContains") @Expose @Nullable public List<String> recipientContains
      The Recipient Contains. Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply.
    • senderContains

      @SerializedName(value="senderContains", alternate="SenderContains") @Expose @Nullable public List<String> senderContains
      The Sender Contains. Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply.
    • sensitivity

      @SerializedName(value="sensitivity", alternate="Sensitivity") @Expose @Nullable public Sensitivity sensitivity
      The Sensitivity. Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential.
    • sentCcMe

      @SerializedName(value="sentCcMe", alternate="SentCcMe") @Expose @Nullable public Boolean sentCcMe
      The Sent Cc Me. Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply.
    • sentOnlyToMe

      @SerializedName(value="sentOnlyToMe", alternate="SentOnlyToMe") @Expose @Nullable public Boolean sentOnlyToMe
      The Sent Only To Me. Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply.
    • sentToAddresses

      @SerializedName(value="sentToAddresses", alternate="SentToAddresses") @Expose @Nullable public List<Recipient> sentToAddresses
      The Sent To Addresses. Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply.
    • sentToMe

      @SerializedName(value="sentToMe", alternate="SentToMe") @Expose @Nullable public Boolean sentToMe
      The Sent To Me. Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply.
    • sentToOrCcMe

      @SerializedName(value="sentToOrCcMe", alternate="SentToOrCcMe") @Expose @Nullable public Boolean sentToOrCcMe
      The Sent To Or Cc Me. Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply.
    • subjectContains

      @SerializedName(value="subjectContains", alternate="SubjectContains") @Expose @Nullable public List<String> subjectContains
      The Subject Contains. Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply.
    • withinSizeRange

      @SerializedName(value="withinSizeRange", alternate="WithinSizeRange") @Expose @Nullable public SizeRange withinSizeRange
      The Within Size Range. Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply.
  • Constructor Details

    • MessageRulePredicates

      public MessageRulePredicates()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • 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
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to