summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/MarkAsJunkType.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/MarkAsJunkType.php')
-rw-r--r--modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/MarkAsJunkType.php45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/MarkAsJunkType.php b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/MarkAsJunkType.php
new file mode 100644
index 00000000..979517cd
--- /dev/null
+++ b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/MarkAsJunkType.php
@@ -0,0 +1,45 @@
+<?php
+/**
+ * Contains \jamesiarmes\PhpEws\Request\MarkAsJunkType.
+ */
+
+namespace jamesiarmes\PhpEws\Request;
+
+/**
+ * Defines the request to move an item to the junk mail folder and to add the
+ * sender to the blocked sender list.
+ *
+ * @package php-ews\Request
+ */
+class MarkAsJunkType extends BaseRequestType
+{
+ /**
+ * Whether or not to add the sender to the blocked sender list.
+ *
+ * If false, and the user is already on the blocked sender list, they will
+ * be removed.
+ *
+ * @since Exchange 2013
+ *
+ * @var boolean
+ */
+ public $IsJunk;
+
+ /**
+ * Contains the unique identities of items to be marked as junk.
+ *
+ * @since Exchange 2013
+ *
+ * @var \jamesiarmes\PhpEws\ArrayType\NonEmptyArrayOfBaseItemIdsType
+ */
+ public $ItemIds;
+
+ /**
+ * Whether or not to move the item to the default junk mail folder.
+ *
+ * @since Exchange 2013
+ *
+ * @var boolean
+ */
+ public $MoveItem;
+}