Class MessageRulePredicates

java.lang.Object
com.microsoft.graph.models.MessageRulePredicates
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class MessageRulePredicates extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • MessageRulePredicates

      public MessageRulePredicates()
      Instantiates a new MessageRulePredicates and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static MessageRulePredicates createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a MessageRulePredicates
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getBodyContains

      @Nullable public List<String> getBodyContains()
      Gets the bodyContains property value. Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply.
      Returns:
      a List<String>
    • getBodyOrSubjectContains

      @Nullable public List<String> getBodyOrSubjectContains()
      Gets the bodyOrSubjectContains property value. Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply.
      Returns:
      a List<String>
    • getCategories

      @Nullable public List<String> getCategories()
      Gets the categories property value. Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply.
      Returns:
      a List<String>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFromAddresses

      @Nullable public List<Recipient> getFromAddresses()
      Gets the fromAddresses property value. Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
      Returns:
      a List<Recipient>
    • getHasAttachments

      @Nullable public Boolean getHasAttachments()
      Gets the hasAttachments property value. Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getHeaderContains

      @Nullable public List<String> getHeaderContains()
      Gets the headerContains property value. Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply.
      Returns:
      a List<String>
    • getImportance

      @Nullable public Importance getImportance()
      Gets the importance property value. The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high.
      Returns:
      a Importance
    • getIsApprovalRequest

      @Nullable public Boolean getIsApprovalRequest()
      Gets the isApprovalRequest property value. Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsAutomaticForward

      @Nullable public Boolean getIsAutomaticForward()
      Gets the isAutomaticForward property value. Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsAutomaticReply

      @Nullable public Boolean getIsAutomaticReply()
      Gets the isAutomaticReply property value. Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsEncrypted

      @Nullable public Boolean getIsEncrypted()
      Gets the isEncrypted property value. Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsMeetingRequest

      @Nullable public Boolean getIsMeetingRequest()
      Gets the isMeetingRequest property value. Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsMeetingResponse

      @Nullable public Boolean getIsMeetingResponse()
      Gets the isMeetingResponse property value. Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsNonDeliveryReport

      @Nullable public Boolean getIsNonDeliveryReport()
      Gets the isNonDeliveryReport property value. Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsPermissionControlled

      @Nullable public Boolean getIsPermissionControlled()
      Gets the isPermissionControlled property value. Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsReadReceipt

      @Nullable public Boolean getIsReadReceipt()
      Gets the isReadReceipt property value. Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsSigned

      @Nullable public Boolean getIsSigned()
      Gets the isSigned property value. Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getIsVoicemail

      @Nullable public Boolean getIsVoicemail()
      Gets the isVoicemail property value. Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
      Returns:
      a Boolean
    • getMessageActionFlag

      @Nullable public MessageActionFlag getMessageActionFlag()
      Gets the messageActionFlag property value. 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.
      Returns:
      a MessageActionFlag
    • getNotSentToMe

      @Nullable public Boolean getNotSentToMe()
      Gets the notSentToMe property value. 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.
      Returns:
      a Boolean
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getRecipientContains

      @Nullable public List<String> getRecipientContains()
      Gets the recipientContains property value. 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.
      Returns:
      a List<String>
    • getSenderContains

      @Nullable public List<String> getSenderContains()
      Gets the senderContains property value. Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply.
      Returns:
      a List<String>
    • getSensitivity

      @Nullable public Sensitivity getSensitivity()
      Gets the sensitivity property value. 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.
      Returns:
      a Sensitivity
    • getSentCcMe

      @Nullable public Boolean getSentCcMe()
      Gets the sentCcMe property value. 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.
      Returns:
      a Boolean
    • getSentOnlyToMe

      @Nullable public Boolean getSentOnlyToMe()
      Gets the sentOnlyToMe property value. 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.
      Returns:
      a Boolean
    • getSentToAddresses

      @Nullable public List<Recipient> getSentToAddresses()
      Gets the sentToAddresses property value. Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply.
      Returns:
      a List<Recipient>
    • getSentToMe

      @Nullable public Boolean getSentToMe()
      Gets the sentToMe property value. 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.
      Returns:
      a Boolean
    • getSentToOrCcMe

      @Nullable public Boolean getSentToOrCcMe()
      Gets the sentToOrCcMe property value. 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.
      Returns:
      a Boolean
    • getSubjectContains

      @Nullable public List<String> getSubjectContains()
      Gets the subjectContains property value. Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply.
      Returns:
      a List<String>
    • getWithinSizeRange

      @Nullable public SizeRange getWithinSizeRange()
      Gets the withinSizeRange property value. 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.
      Returns:
      a SizeRange
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setBodyContains

      public void setBodyContains(@Nullable List<String> value)
      Sets the bodyContains property value. Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the bodyContains property.
    • setBodyOrSubjectContains

      public void setBodyOrSubjectContains(@Nullable List<String> value)
      Sets the bodyOrSubjectContains property value. Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the bodyOrSubjectContains property.
    • setCategories

      public void setCategories(@Nullable List<String> value)
      Sets the categories property value. Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the categories property.
    • setFromAddresses

      public void setFromAddresses(@Nullable List<Recipient> value)
      Sets the fromAddresses property value. Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the fromAddresses property.
    • setHasAttachments

      public void setHasAttachments(@Nullable Boolean value)
      Sets the hasAttachments property value. Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the hasAttachments property.
    • setHeaderContains

      public void setHeaderContains(@Nullable List<String> value)
      Sets the headerContains property value. Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the headerContains property.
    • setImportance

      public void setImportance(@Nullable Importance value)
      Sets the importance property value. The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high.
      Parameters:
      value - Value to set for the importance property.
    • setIsApprovalRequest

      public void setIsApprovalRequest(@Nullable Boolean value)
      Sets the isApprovalRequest property value. Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isApprovalRequest property.
    • setIsAutomaticForward

      public void setIsAutomaticForward(@Nullable Boolean value)
      Sets the isAutomaticForward property value. Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isAutomaticForward property.
    • setIsAutomaticReply

      public void setIsAutomaticReply(@Nullable Boolean value)
      Sets the isAutomaticReply property value. Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isAutomaticReply property.
    • setIsEncrypted

      public void setIsEncrypted(@Nullable Boolean value)
      Sets the isEncrypted property value. Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isEncrypted property.
    • setIsMeetingRequest

      public void setIsMeetingRequest(@Nullable Boolean value)
      Sets the isMeetingRequest property value. Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isMeetingRequest property.
    • setIsMeetingResponse

      public void setIsMeetingResponse(@Nullable Boolean value)
      Sets the isMeetingResponse property value. Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isMeetingResponse property.
    • setIsNonDeliveryReport

      public void setIsNonDeliveryReport(@Nullable Boolean value)
      Sets the isNonDeliveryReport property value. Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isNonDeliveryReport property.
    • setIsPermissionControlled

      public void setIsPermissionControlled(@Nullable Boolean value)
      Sets the isPermissionControlled property value. Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isPermissionControlled property.
    • setIsReadReceipt

      public void setIsReadReceipt(@Nullable Boolean value)
      Sets the isReadReceipt property value. Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isReadReceipt property.
    • setIsSigned

      public void setIsSigned(@Nullable Boolean value)
      Sets the isSigned property value. Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isSigned property.
    • setIsVoicemail

      public void setIsVoicemail(@Nullable Boolean value)
      Sets the isVoicemail property value. Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the isVoicemail property.
    • setMessageActionFlag

      public void setMessageActionFlag(@Nullable MessageActionFlag value)
      Sets the messageActionFlag property value. 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.
      Parameters:
      value - Value to set for the messageActionFlag property.
    • setNotSentToMe

      public void setNotSentToMe(@Nullable Boolean value)
      Sets the notSentToMe property value. 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.
      Parameters:
      value - Value to set for the notSentToMe property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setRecipientContains

      public void setRecipientContains(@Nullable List<String> value)
      Sets the recipientContains property value. 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.
      Parameters:
      value - Value to set for the recipientContains property.
    • setSenderContains

      public void setSenderContains(@Nullable List<String> value)
      Sets the senderContains property value. Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the senderContains property.
    • setSensitivity

      public void setSensitivity(@Nullable Sensitivity value)
      Sets the sensitivity property value. 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.
      Parameters:
      value - Value to set for the sensitivity property.
    • setSentCcMe

      public void setSentCcMe(@Nullable Boolean value)
      Sets the sentCcMe property value. 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.
      Parameters:
      value - Value to set for the sentCcMe property.
    • setSentOnlyToMe

      public void setSentOnlyToMe(@Nullable Boolean value)
      Sets the sentOnlyToMe property value. 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.
      Parameters:
      value - Value to set for the sentOnlyToMe property.
    • setSentToAddresses

      public void setSentToAddresses(@Nullable List<Recipient> value)
      Sets the sentToAddresses property value. Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the sentToAddresses property.
    • setSentToMe

      public void setSentToMe(@Nullable Boolean value)
      Sets the sentToMe property value. 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.
      Parameters:
      value - Value to set for the sentToMe property.
    • setSentToOrCcMe

      public void setSentToOrCcMe(@Nullable Boolean value)
      Sets the sentToOrCcMe property value. 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.
      Parameters:
      value - Value to set for the sentToOrCcMe property.
    • setSubjectContains

      public void setSubjectContains(@Nullable List<String> value)
      Sets the subjectContains property value. Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply.
      Parameters:
      value - Value to set for the subjectContains property.
    • setWithinSizeRange

      public void setWithinSizeRange(@Nullable SizeRange value)
      Sets the withinSizeRange property value. 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.
      Parameters:
      value - Value to set for the withinSizeRange property.