summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/ItemIdType.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/ItemIdType.php')
-rw-r--r--modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/ItemIdType.php47
1 files changed, 47 insertions, 0 deletions
diff --git a/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/ItemIdType.php b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/ItemIdType.php
new file mode 100644
index 00000000..0d549331
--- /dev/null
+++ b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/ItemIdType.php
@@ -0,0 +1,47 @@
+<?php
+/**
+ * Contains \jamesiarmes\PhpEws\Type\ItemIdType.
+ */
+
+namespace jamesiarmes\PhpEws\Type;
+
+/**
+ * Contains the unique identifier and change key of an item in the Exchange
+ * store.
+ *
+ * @package php-ews\Type
+ */
+class ItemIdType extends BaseItemIdType
+{
+ /**
+ * Identifies a specific version of an item.
+ *
+ * A ChangeKey is required for the following scenarios:
+ * - The UpdateItem element requires a ChangeKey if the ConflictResolution
+ * attribute is set to AutoResolve. AutoResolve is a default value. If the
+ * ChangeKey attribute is not included, the response will return a
+ * ResponseCode value equal to ErrorChangeKeyRequired.
+ * - The SendItem element requires a ChangeKey to test whether the attempted
+ * operation will act upon the most recent version of an item. If the
+ * ChangeKey attribute is not included in the ItemId or if the ChangeKey
+ * is empty, the response will return a ResponseCode value equal to
+ * ErrorStaleObject.
+ *
+ * @since Exchange 2007
+ *
+ * @var string
+ */
+ public $ChangeKey;
+
+ /**
+ * Identifies a specific item in the Exchange store.
+ *
+ * Id is case-sensitive; therefore, comparisons between Ids must be
+ * case-sensitive or binary.
+ *
+ * @since Exchange 2007
+ *
+ * @var string
+ */
+ public $Id;
+}