summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/UploadItemType.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/UploadItemType.php')
-rw-r--r--modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/UploadItemType.php73
1 files changed, 73 insertions, 0 deletions
diff --git a/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/UploadItemType.php b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/UploadItemType.php
new file mode 100644
index 00000000..ba3a2c80
--- /dev/null
+++ b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/UploadItemType.php
@@ -0,0 +1,73 @@
+<?php
+/**
+ * Contains \jamesiarmes\PhpEws\Type\UploadItemType.
+ */
+
+namespace jamesiarmes\PhpEws\Type;
+
+use \jamesiarmes\PhpEws\Type;
+
+/**
+ * Represents a single item to upload into a mailbox.
+ *
+ * @package php-ews\Type
+ */
+class UploadItemType extends Type
+{
+ /**
+ * Specifies the action for uploading an item into a mailbox.
+ *
+ * This attribute is required.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var string
+ *
+ * @see \jamesiarmes\PhpEws\Enumeration\CreateActionType
+ */
+ public $CreateAction;
+
+ /**
+ * Contains the data of a single item to upload into a mailbox.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var string
+ *
+ * @todo Create a base64 class?
+ */
+ public $Data;
+
+ /**
+ * Specifies whether the uploaded item is a folder associated item.
+ *
+ * A value of true indicates that the item is a folder associated item.
+ *
+ * This attribute is optional.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var boolean
+ */
+ public $IsAssociated;
+
+ /**
+ * Contains the unique identifier and change key of an item to create or
+ * update in the Exchange store.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var \jamesiarmes\PhpEws\Type\ItemIdType
+ */
+ public $ItemId;
+
+ /**
+ * Represents the identifier of the parent folder where a new item is
+ * created or that contains the item to update.
+ *
+ * @since Exchange 2010 SP1
+ *
+ * @var \jamesiarmes\PhpEws\Type\FolderIdType
+ */
+ public $ParentFolderId;
+}