Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageRulePredicatescreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the bodyContains property value.Gets the bodyOrSubjectContains property value.Gets the categories property value.The deserialization information for the current modelGets the fromAddresses property value.Gets the hasAttachments property value.Gets the headerContains property value.Gets the importance property value.Gets the isApprovalRequest property value.Gets the isAutomaticForward property value.Gets the isAutomaticReply property value.Gets the isEncrypted property value.Gets the isMeetingRequest property value.Gets the isMeetingResponse property value.Gets the isNonDeliveryReport property value.Gets the isPermissionControlled property value.Gets the isReadReceipt property value.Gets the isSigned property value.Gets the isVoicemail property value.Gets the messageActionFlag property value.Gets the notSentToMe property value.Gets the @odata.type property value.Gets the recipientContains property value.Gets the senderContains property value.Gets the sensitivity property value.Gets the sentCcMe property value.Gets the sentOnlyToMe property value.Gets the sentToAddresses property value.Gets the sentToMe property value.Gets the sentToOrCcMe property value.Gets the subjectContains property value.Gets the withinSizeRange property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetBodyContains(List<String> value) Sets the bodyContains property value.voidsetBodyOrSubjectContains(List<String> value) Sets the bodyOrSubjectContains property value.voidsetCategories(List<String> value) Sets the categories property value.voidsetFromAddresses(List<Recipient> value) Sets the fromAddresses property value.voidsetHasAttachments(Boolean value) Sets the hasAttachments property value.voidsetHeaderContains(List<String> value) Sets the headerContains property value.voidsetImportance(Importance value) Sets the importance property value.voidsetIsApprovalRequest(Boolean value) Sets the isApprovalRequest property value.voidsetIsAutomaticForward(Boolean value) Sets the isAutomaticForward property value.voidsetIsAutomaticReply(Boolean value) Sets the isAutomaticReply property value.voidsetIsEncrypted(Boolean value) Sets the isEncrypted property value.voidsetIsMeetingRequest(Boolean value) Sets the isMeetingRequest property value.voidsetIsMeetingResponse(Boolean value) Sets the isMeetingResponse property value.voidsetIsNonDeliveryReport(Boolean value) Sets the isNonDeliveryReport property value.voidsetIsPermissionControlled(Boolean value) Sets the isPermissionControlled property value.voidsetIsReadReceipt(Boolean value) Sets the isReadReceipt property value.voidsetIsSigned(Boolean value) Sets the isSigned property value.voidsetIsVoicemail(Boolean value) Sets the isVoicemail property value.voidSets the messageActionFlag property value.voidsetNotSentToMe(Boolean value) Sets the notSentToMe property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetRecipientContains(List<String> value) Sets the recipientContains property value.voidsetSenderContains(List<String> value) Sets the senderContains property value.voidsetSensitivity(Sensitivity value) Sets the sensitivity property value.voidsetSentCcMe(Boolean value) Sets the sentCcMe property value.voidsetSentOnlyToMe(Boolean value) Sets the sentOnlyToMe property value.voidsetSentToAddresses(List<Recipient> value) Sets the sentToAddresses property value.voidsetSentToMe(Boolean value) Sets the sentToMe property value.voidsetSentToOrCcMe(Boolean value) Sets the sentToOrCcMe property value.voidsetSubjectContains(List<String> value) Sets the subjectContains property value.voidsetWithinSizeRange(SizeRange value) Sets the withinSizeRange property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
MessageRulePredicates
public MessageRulePredicates()Instantiates a newMessageRulePredicatesand 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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
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. -
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. -
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. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
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. -
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
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. -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gets the @odata.type property value. The OdataType property- Returns:
- a
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. -
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. -
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
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
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
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. -
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
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
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. -
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setRecipientContains
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
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
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
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
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
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
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
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
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
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.
-