summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/CreateActionType.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/CreateActionType.php')
-rw-r--r--modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/CreateActionType.php53
1 files changed, 53 insertions, 0 deletions
diff --git a/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/CreateActionType.php b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/CreateActionType.php
new file mode 100644
index 00000000..29dd5d0c
--- /dev/null
+++ b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration/CreateActionType.php
@@ -0,0 +1,53 @@
+<?php
+/**
+ * Contains \jamesiarmes\PhpEws\Enumeration\CreateActionType.
+ */
+
+namespace jamesiarmes\PhpEws\Enumeration;
+
+use \jamesiarmes\PhpEws\Enumeration;
+
+/**
+ * Defines the action for uploading an item into a mailbox.
+ *
+ * @package php-ews\Enumeration
+ */
+class CreateActionType extends Enumeration
+{
+ /**
+ * Indicates that a new copy of the original item is uploaded to the
+ * mailbox.
+ *
+ * The ItemId element must not be present if the CreateNew value is used.
+ * The new item identifier is returned in the response.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var string
+ */
+ const CREATE = 'CreateNew';
+
+ /**
+ * Specifies that the item indicated by the ItemId element will be updated.
+ *
+ * An error is returned if the ItemId element is not present or if the item
+ * does not exist in the folder identified by the ParentFolderId element.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var string
+ */
+ const UPDATE = 'Update';
+
+ /**
+ * Indicates that an attempt is first made to update the item.
+ *
+ * If the item does not exist in the folder specified by the ParentFolderId
+ * element, a new item is created.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var string
+ */
+ const UPDATE_OR_CREATE = 'UpdateOrCreate';
+}