Class: MicrosoftGraph::Models::MessageRulePredicates
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::MessageRulePredicates
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/message_rule_predicates.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#body_contains ⇒ Object
Gets the bodyContains property value.
-
#body_contains=(value) ⇒ Object
Sets the bodyContains property value.
-
#body_or_subject_contains ⇒ Object
Gets the bodyOrSubjectContains property value.
-
#body_or_subject_contains=(value) ⇒ Object
Sets the bodyOrSubjectContains property value.
-
#categories ⇒ Object
Gets the categories property value.
-
#categories=(value) ⇒ Object
Sets the categories property value.
-
#from_addresses ⇒ Object
Gets the fromAddresses property value.
-
#from_addresses=(value) ⇒ Object
Sets the fromAddresses property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#has_attachments ⇒ Object
Gets the hasAttachments property value.
-
#has_attachments=(value) ⇒ Object
Sets the hasAttachments property value.
-
#header_contains ⇒ Object
Gets the headerContains property value.
-
#header_contains=(value) ⇒ Object
Sets the headerContains property value.
-
#importance ⇒ Object
Gets the importance property value.
-
#importance=(value) ⇒ Object
Sets the importance property value.
-
#initialize ⇒ Object
constructor
Instantiates a new messageRulePredicates and sets the default values.
-
#is_approval_request ⇒ Object
Gets the isApprovalRequest property value.
-
#is_approval_request=(value) ⇒ Object
Sets the isApprovalRequest property value.
-
#is_automatic_forward ⇒ Object
Gets the isAutomaticForward property value.
-
#is_automatic_forward=(value) ⇒ Object
Sets the isAutomaticForward property value.
-
#is_automatic_reply ⇒ Object
Gets the isAutomaticReply property value.
-
#is_automatic_reply=(value) ⇒ Object
Sets the isAutomaticReply property value.
-
#is_encrypted ⇒ Object
Gets the isEncrypted property value.
-
#is_encrypted=(value) ⇒ Object
Sets the isEncrypted property value.
-
#is_meeting_request ⇒ Object
Gets the isMeetingRequest property value.
-
#is_meeting_request=(value) ⇒ Object
Sets the isMeetingRequest property value.
-
#is_meeting_response ⇒ Object
Gets the isMeetingResponse property value.
-
#is_meeting_response=(value) ⇒ Object
Sets the isMeetingResponse property value.
-
#is_non_delivery_report ⇒ Object
Gets the isNonDeliveryReport property value.
-
#is_non_delivery_report=(value) ⇒ Object
Sets the isNonDeliveryReport property value.
-
#is_permission_controlled ⇒ Object
Gets the isPermissionControlled property value.
-
#is_permission_controlled=(value) ⇒ Object
Sets the isPermissionControlled property value.
-
#is_read_receipt ⇒ Object
Gets the isReadReceipt property value.
-
#is_read_receipt=(value) ⇒ Object
Sets the isReadReceipt property value.
-
#is_signed ⇒ Object
Gets the isSigned property value.
-
#is_signed=(value) ⇒ Object
Sets the isSigned property value.
-
#is_voicemail ⇒ Object
Gets the isVoicemail property value.
-
#is_voicemail=(value) ⇒ Object
Sets the isVoicemail property value.
-
#message_action_flag ⇒ Object
Gets the messageActionFlag property value.
-
#message_action_flag=(value) ⇒ Object
Sets the messageActionFlag property value.
-
#not_sent_to_me ⇒ Object
Gets the notSentToMe property value.
-
#not_sent_to_me=(value) ⇒ Object
Sets the notSentToMe property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#recipient_contains ⇒ Object
Gets the recipientContains property value.
-
#recipient_contains=(value) ⇒ Object
Sets the recipientContains property value.
-
#sender_contains ⇒ Object
Gets the senderContains property value.
-
#sender_contains=(value) ⇒ Object
Sets the senderContains property value.
-
#sensitivity ⇒ Object
Gets the sensitivity property value.
-
#sensitivity=(value) ⇒ Object
Sets the sensitivity property value.
-
#sent_cc_me ⇒ Object
Gets the sentCcMe property value.
-
#sent_cc_me=(value) ⇒ Object
Sets the sentCcMe property value.
-
#sent_only_to_me ⇒ Object
Gets the sentOnlyToMe property value.
-
#sent_only_to_me=(value) ⇒ Object
Sets the sentOnlyToMe property value.
-
#sent_to_addresses ⇒ Object
Gets the sentToAddresses property value.
-
#sent_to_addresses=(value) ⇒ Object
Sets the sentToAddresses property value.
-
#sent_to_me ⇒ Object
Gets the sentToMe property value.
-
#sent_to_me=(value) ⇒ Object
Sets the sentToMe property value.
-
#sent_to_or_cc_me ⇒ Object
Gets the sentToOrCcMe property value.
-
#sent_to_or_cc_me=(value) ⇒ Object
Sets the sentToOrCcMe property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#subject_contains ⇒ Object
Gets the subjectContains property value.
-
#subject_contains=(value) ⇒ Object
Sets the subjectContains property value.
-
#within_size_range ⇒ Object
Gets the withinSizeRange property value.
-
#within_size_range=(value) ⇒ Object
Sets the withinSizeRange property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new messageRulePredicates and sets the default values.
169 170 171 |
# File 'lib/models/message_rule_predicates.rb', line 169 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
177 178 179 180 |
# File 'lib/models/message_rule_predicates.rb', line 177 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return MessageRulePredicates.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
109 110 111 |
# File 'lib/models/message_rule_predicates.rb', line 109 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
117 118 119 |
# File 'lib/models/message_rule_predicates.rb', line 117 def additional_data=(value) @additional_data = value end |
#body_contains ⇒ Object
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.
124 125 126 |
# File 'lib/models/message_rule_predicates.rb', line 124 def body_contains return @body_contains end |
#body_contains=(value) ⇒ Object
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.
132 133 134 |
# File 'lib/models/message_rule_predicates.rb', line 132 def body_contains=(value) @body_contains = value end |
#body_or_subject_contains ⇒ Object
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.
139 140 141 |
# File 'lib/models/message_rule_predicates.rb', line 139 def body_or_subject_contains return @body_or_subject_contains end |
#body_or_subject_contains=(value) ⇒ Object
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.
147 148 149 |
# File 'lib/models/message_rule_predicates.rb', line 147 def body_or_subject_contains=(value) @body_or_subject_contains = value end |
#categories ⇒ Object
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.
154 155 156 |
# File 'lib/models/message_rule_predicates.rb', line 154 def categories return @categories end |
#categories=(value) ⇒ Object
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.
162 163 164 |
# File 'lib/models/message_rule_predicates.rb', line 162 def categories=(value) @categories = value end |
#from_addresses ⇒ Object
Gets the fromAddresses property value. Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
185 186 187 |
# File 'lib/models/message_rule_predicates.rb', line 185 def from_addresses return @from_addresses end |
#from_addresses=(value) ⇒ Object
Sets the fromAddresses property value. Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
193 194 195 |
# File 'lib/models/message_rule_predicates.rb', line 193 def from_addresses=(value) @from_addresses = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 |
# File 'lib/models/message_rule_predicates.rb', line 200 def get_field_deserializers() return { "bodyContains" => lambda {|n| @body_contains = n.get_collection_of_primitive_values(String) }, "bodyOrSubjectContains" => lambda {|n| @body_or_subject_contains = n.get_collection_of_primitive_values(String) }, "categories" => lambda {|n| @categories = n.get_collection_of_primitive_values(String) }, "fromAddresses" => lambda {|n| @from_addresses = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) }, "hasAttachments" => lambda {|n| = n.get_boolean_value() }, "headerContains" => lambda {|n| @header_contains = n.get_collection_of_primitive_values(String) }, "importance" => lambda {|n| @importance = n.get_enum_value(MicrosoftGraph::Models::Importance) }, "isApprovalRequest" => lambda {|n| @is_approval_request = n.get_boolean_value() }, "isAutomaticForward" => lambda {|n| @is_automatic_forward = n.get_boolean_value() }, "isAutomaticReply" => lambda {|n| @is_automatic_reply = n.get_boolean_value() }, "isEncrypted" => lambda {|n| @is_encrypted = n.get_boolean_value() }, "isMeetingRequest" => lambda {|n| @is_meeting_request = n.get_boolean_value() }, "isMeetingResponse" => lambda {|n| @is_meeting_response = n.get_boolean_value() }, "isNonDeliveryReport" => lambda {|n| @is_non_delivery_report = n.get_boolean_value() }, "isPermissionControlled" => lambda {|n| = n.get_boolean_value() }, "isReadReceipt" => lambda {|n| @is_read_receipt = n.get_boolean_value() }, "isSigned" => lambda {|n| @is_signed = n.get_boolean_value() }, "isVoicemail" => lambda {|n| @is_voicemail = n.get_boolean_value() }, "messageActionFlag" => lambda {|n| = n.get_enum_value(MicrosoftGraph::Models::MessageActionFlag) }, "notSentToMe" => lambda {|n| @not_sent_to_me = n.get_boolean_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "recipientContains" => lambda {|n| @recipient_contains = n.get_collection_of_primitive_values(String) }, "senderContains" => lambda {|n| @sender_contains = n.get_collection_of_primitive_values(String) }, "sensitivity" => lambda {|n| @sensitivity = n.get_enum_value(MicrosoftGraph::Models::Sensitivity) }, "sentCcMe" => lambda {|n| @sent_cc_me = n.get_boolean_value() }, "sentOnlyToMe" => lambda {|n| @sent_only_to_me = n.get_boolean_value() }, "sentToAddresses" => lambda {|n| @sent_to_addresses = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Recipient.create_from_discriminator_value(pn) }) }, "sentToMe" => lambda {|n| @sent_to_me = n.get_boolean_value() }, "sentToOrCcMe" => lambda {|n| @sent_to_or_cc_me = n.get_boolean_value() }, "subjectContains" => lambda {|n| @subject_contains = n.get_collection_of_primitive_values(String) }, "withinSizeRange" => lambda {|n| @within_size_range = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SizeRange.create_from_discriminator_value(pn) }) }, } end |
#has_attachments ⇒ Object
Gets the hasAttachments property value. Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
239 240 241 |
# File 'lib/models/message_rule_predicates.rb', line 239 def return end |
#has_attachments=(value) ⇒ Object
Sets the hasAttachments property value. Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
247 248 249 |
# File 'lib/models/message_rule_predicates.rb', line 247 def (value) = value end |
#header_contains ⇒ Object
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.
254 255 256 |
# File 'lib/models/message_rule_predicates.rb', line 254 def header_contains return @header_contains end |
#header_contains=(value) ⇒ Object
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.
262 263 264 |
# File 'lib/models/message_rule_predicates.rb', line 262 def header_contains=(value) @header_contains = value end |
#importance ⇒ Object
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.
269 270 271 |
# File 'lib/models/message_rule_predicates.rb', line 269 def importance return @importance end |
#importance=(value) ⇒ Object
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.
277 278 279 |
# File 'lib/models/message_rule_predicates.rb', line 277 def importance=(value) @importance = value end |
#is_approval_request ⇒ Object
Gets the isApprovalRequest property value. Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
284 285 286 |
# File 'lib/models/message_rule_predicates.rb', line 284 def is_approval_request return @is_approval_request end |
#is_approval_request=(value) ⇒ Object
Sets the isApprovalRequest property value. Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
292 293 294 |
# File 'lib/models/message_rule_predicates.rb', line 292 def is_approval_request=(value) @is_approval_request = value end |
#is_automatic_forward ⇒ Object
Gets the isAutomaticForward property value. Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
299 300 301 |
# File 'lib/models/message_rule_predicates.rb', line 299 def is_automatic_forward return @is_automatic_forward end |
#is_automatic_forward=(value) ⇒ Object
Sets the isAutomaticForward property value. Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
307 308 309 |
# File 'lib/models/message_rule_predicates.rb', line 307 def is_automatic_forward=(value) @is_automatic_forward = value end |
#is_automatic_reply ⇒ Object
Gets the isAutomaticReply property value. Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
314 315 316 |
# File 'lib/models/message_rule_predicates.rb', line 314 def is_automatic_reply return @is_automatic_reply end |
#is_automatic_reply=(value) ⇒ Object
Sets the isAutomaticReply property value. Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
322 323 324 |
# File 'lib/models/message_rule_predicates.rb', line 322 def is_automatic_reply=(value) @is_automatic_reply = value end |
#is_encrypted ⇒ Object
Gets the isEncrypted property value. Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
329 330 331 |
# File 'lib/models/message_rule_predicates.rb', line 329 def is_encrypted return @is_encrypted end |
#is_encrypted=(value) ⇒ Object
Sets the isEncrypted property value. Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
337 338 339 |
# File 'lib/models/message_rule_predicates.rb', line 337 def is_encrypted=(value) @is_encrypted = value end |
#is_meeting_request ⇒ Object
Gets the isMeetingRequest property value. Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
344 345 346 |
# File 'lib/models/message_rule_predicates.rb', line 344 def is_meeting_request return @is_meeting_request end |
#is_meeting_request=(value) ⇒ Object
Sets the isMeetingRequest property value. Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
352 353 354 |
# File 'lib/models/message_rule_predicates.rb', line 352 def is_meeting_request=(value) @is_meeting_request = value end |
#is_meeting_response ⇒ Object
Gets the isMeetingResponse property value. Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
359 360 361 |
# File 'lib/models/message_rule_predicates.rb', line 359 def is_meeting_response return @is_meeting_response end |
#is_meeting_response=(value) ⇒ Object
Sets the isMeetingResponse property value. Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
367 368 369 |
# File 'lib/models/message_rule_predicates.rb', line 367 def is_meeting_response=(value) @is_meeting_response = value end |
#is_non_delivery_report ⇒ Object
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.
374 375 376 |
# File 'lib/models/message_rule_predicates.rb', line 374 def is_non_delivery_report return @is_non_delivery_report end |
#is_non_delivery_report=(value) ⇒ Object
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.
382 383 384 |
# File 'lib/models/message_rule_predicates.rb', line 382 def is_non_delivery_report=(value) @is_non_delivery_report = value end |
#is_permission_controlled ⇒ Object
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.
389 390 391 |
# File 'lib/models/message_rule_predicates.rb', line 389 def return end |
#is_permission_controlled=(value) ⇒ Object
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.
397 398 399 |
# File 'lib/models/message_rule_predicates.rb', line 397 def (value) = value end |
#is_read_receipt ⇒ Object
Gets the isReadReceipt property value. Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
404 405 406 |
# File 'lib/models/message_rule_predicates.rb', line 404 def is_read_receipt return @is_read_receipt end |
#is_read_receipt=(value) ⇒ Object
Sets the isReadReceipt property value. Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
412 413 414 |
# File 'lib/models/message_rule_predicates.rb', line 412 def is_read_receipt=(value) @is_read_receipt = value end |
#is_signed ⇒ Object
Gets the isSigned property value. Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
419 420 421 |
# File 'lib/models/message_rule_predicates.rb', line 419 def is_signed return @is_signed end |
#is_signed=(value) ⇒ Object
Sets the isSigned property value. Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
427 428 429 |
# File 'lib/models/message_rule_predicates.rb', line 427 def is_signed=(value) @is_signed = value end |
#is_voicemail ⇒ Object
Gets the isVoicemail property value. Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
434 435 436 |
# File 'lib/models/message_rule_predicates.rb', line 434 def is_voicemail return @is_voicemail end |
#is_voicemail=(value) ⇒ Object
Sets the isVoicemail property value. Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
442 443 444 |
# File 'lib/models/message_rule_predicates.rb', line 442 def is_voicemail=(value) @is_voicemail = value end |
#message_action_flag ⇒ Object
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.
449 450 451 |
# File 'lib/models/message_rule_predicates.rb', line 449 def return end |
#message_action_flag=(value) ⇒ Object
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.
457 458 459 |
# File 'lib/models/message_rule_predicates.rb', line 457 def (value) = value end |
#not_sent_to_me ⇒ Object
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.
464 465 466 |
# File 'lib/models/message_rule_predicates.rb', line 464 def not_sent_to_me return @not_sent_to_me end |
#not_sent_to_me=(value) ⇒ Object
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.
472 473 474 |
# File 'lib/models/message_rule_predicates.rb', line 472 def not_sent_to_me=(value) @not_sent_to_me = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
479 480 481 |
# File 'lib/models/message_rule_predicates.rb', line 479 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
487 488 489 |
# File 'lib/models/message_rule_predicates.rb', line 487 def odata_type=(value) @odata_type = value end |
#recipient_contains ⇒ Object
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.
494 495 496 |
# File 'lib/models/message_rule_predicates.rb', line 494 def recipient_contains return @recipient_contains end |
#recipient_contains=(value) ⇒ Object
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.
502 503 504 |
# File 'lib/models/message_rule_predicates.rb', line 502 def recipient_contains=(value) @recipient_contains = value end |
#sender_contains ⇒ Object
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.
509 510 511 |
# File 'lib/models/message_rule_predicates.rb', line 509 def sender_contains return @sender_contains end |
#sender_contains=(value) ⇒ Object
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.
517 518 519 |
# File 'lib/models/message_rule_predicates.rb', line 517 def sender_contains=(value) @sender_contains = value end |
#sensitivity ⇒ Object
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.
524 525 526 |
# File 'lib/models/message_rule_predicates.rb', line 524 def sensitivity return @sensitivity end |
#sensitivity=(value) ⇒ Object
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.
532 533 534 |
# File 'lib/models/message_rule_predicates.rb', line 532 def sensitivity=(value) @sensitivity = value end |
#sent_cc_me ⇒ Object
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.
539 540 541 |
# File 'lib/models/message_rule_predicates.rb', line 539 def sent_cc_me return @sent_cc_me end |
#sent_cc_me=(value) ⇒ Object
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.
547 548 549 |
# File 'lib/models/message_rule_predicates.rb', line 547 def sent_cc_me=(value) @sent_cc_me = value end |
#sent_only_to_me ⇒ Object
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.
554 555 556 |
# File 'lib/models/message_rule_predicates.rb', line 554 def sent_only_to_me return @sent_only_to_me end |
#sent_only_to_me=(value) ⇒ Object
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.
562 563 564 |
# File 'lib/models/message_rule_predicates.rb', line 562 def sent_only_to_me=(value) @sent_only_to_me = value end |
#sent_to_addresses ⇒ Object
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.
569 570 571 |
# File 'lib/models/message_rule_predicates.rb', line 569 def sent_to_addresses return @sent_to_addresses end |
#sent_to_addresses=(value) ⇒ Object
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.
577 578 579 |
# File 'lib/models/message_rule_predicates.rb', line 577 def sent_to_addresses=(value) @sent_to_addresses = value end |
#sent_to_me ⇒ Object
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.
584 585 586 |
# File 'lib/models/message_rule_predicates.rb', line 584 def sent_to_me return @sent_to_me end |
#sent_to_me=(value) ⇒ Object
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.
592 593 594 |
# File 'lib/models/message_rule_predicates.rb', line 592 def sent_to_me=(value) @sent_to_me = value end |
#sent_to_or_cc_me ⇒ Object
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.
599 600 601 |
# File 'lib/models/message_rule_predicates.rb', line 599 def sent_to_or_cc_me return @sent_to_or_cc_me end |
#sent_to_or_cc_me=(value) ⇒ Object
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.
607 608 609 |
# File 'lib/models/message_rule_predicates.rb', line 607 def sent_to_or_cc_me=(value) @sent_to_or_cc_me = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 |
# File 'lib/models/message_rule_predicates.rb', line 615 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_collection_of_primitive_values("bodyContains", @body_contains) writer.write_collection_of_primitive_values("bodyOrSubjectContains", @body_or_subject_contains) writer.write_collection_of_primitive_values("categories", @categories) writer.write_collection_of_object_values("fromAddresses", @from_addresses) writer.write_boolean_value("hasAttachments", ) writer.write_collection_of_primitive_values("headerContains", @header_contains) writer.write_enum_value("importance", @importance) writer.write_boolean_value("isApprovalRequest", @is_approval_request) writer.write_boolean_value("isAutomaticForward", @is_automatic_forward) writer.write_boolean_value("isAutomaticReply", @is_automatic_reply) writer.write_boolean_value("isEncrypted", @is_encrypted) writer.write_boolean_value("isMeetingRequest", @is_meeting_request) writer.write_boolean_value("isMeetingResponse", @is_meeting_response) writer.write_boolean_value("isNonDeliveryReport", @is_non_delivery_report) writer.write_boolean_value("isPermissionControlled", ) writer.write_boolean_value("isReadReceipt", @is_read_receipt) writer.write_boolean_value("isSigned", @is_signed) writer.write_boolean_value("isVoicemail", @is_voicemail) writer.write_enum_value("messageActionFlag", ) writer.write_boolean_value("notSentToMe", @not_sent_to_me) writer.write_string_value("@odata.type", @odata_type) writer.write_collection_of_primitive_values("recipientContains", @recipient_contains) writer.write_collection_of_primitive_values("senderContains", @sender_contains) writer.write_enum_value("sensitivity", @sensitivity) writer.write_boolean_value("sentCcMe", @sent_cc_me) writer.write_boolean_value("sentOnlyToMe", @sent_only_to_me) writer.write_collection_of_object_values("sentToAddresses", @sent_to_addresses) writer.write_boolean_value("sentToMe", @sent_to_me) writer.write_boolean_value("sentToOrCcMe", @sent_to_or_cc_me) writer.write_collection_of_primitive_values("subjectContains", @subject_contains) writer.write_object_value("withinSizeRange", @within_size_range) writer.write_additional_data(@additional_data) end |
#subject_contains ⇒ Object
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.
654 655 656 |
# File 'lib/models/message_rule_predicates.rb', line 654 def subject_contains return @subject_contains end |
#subject_contains=(value) ⇒ Object
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.
662 663 664 |
# File 'lib/models/message_rule_predicates.rb', line 662 def subject_contains=(value) @subject_contains = value end |
#within_size_range ⇒ Object
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.
669 670 671 |
# File 'lib/models/message_rule_predicates.rb', line 669 def within_size_range return @within_size_range end |
#within_size_range=(value) ⇒ Object
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.
677 678 679 |
# File 'lib/models/message_rule_predicates.rb', line 677 def within_size_range=(value) @within_size_range = value end |