diff options
Diffstat (limited to 'modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/CreateAttachmentType.php')
-rw-r--r-- | modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/CreateAttachmentType.php | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/CreateAttachmentType.php b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/CreateAttachmentType.php new file mode 100644 index 00000000..b629698e --- /dev/null +++ b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/CreateAttachmentType.php @@ -0,0 +1,52 @@ +<?php +/** + * Contains \jamesiarmes\PhpEws\Request\CreateAttachmentType. + */ + +namespace jamesiarmes\PhpEws\Request; + +/** + * Defines a request to create an attachment to an item in the Exchange store. + * + * @package php-ews\Request + */ +class CreateAttachmentType extends BaseRequestType +{ + /** + * Contains the items or files to attach to an item in the Exchange store. + * + * @since Exchange 2007 + * + * @var \jamesiarmes\PhpEws\ArrayType\ArrayOfAttachmentsType + */ + public $Attachments; + + /** + * Identifies the parent Exchange store item that contains the created + * attachment. + * + * The ParentItemId element must provide the ID of a real Exchange store + * item. Real store items can be retrieved by using the GetItem operation; + * attachments are retrieved by using the GetAttachment operation. An error + * occurs if the ParentItemId is passed the ID of a file attachment. If the + * ParentItemId represents the ID of an existing item attachment, the + * CreateAttachment operation adds the new attachment to the existing + * attachment. + * + * This element is required. + * + * The following item attachments can be created: + * - Item + * - Message + * - CalendarItem + * - Contact + * - Task + * - MeetingMessage + * - MeetingRequest + * + * @since Exchange 2007 + * + * @var \jamesiarmes\PhpEws\Type\ItemIdType + */ + public $ParentItemId; +} |