diff options
Diffstat (limited to 'modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/BaseSubscriptionRequestType.php')
-rw-r--r-- | modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/BaseSubscriptionRequestType.php | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/BaseSubscriptionRequestType.php b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/BaseSubscriptionRequestType.php new file mode 100644 index 00000000..be987dd9 --- /dev/null +++ b/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Type/BaseSubscriptionRequestType.php @@ -0,0 +1,65 @@ +<?php +/** + * Contains \jamesiarmes\PhpEws\Type\BaseSubscriptionRequestType. + */ + +namespace jamesiarmes\PhpEws\Type; + +use \jamesiarmes\PhpEws\Type; + +/** + * Base class for subscription requests. + * + * @package php-ews\Type + */ +abstract class BaseSubscriptionRequestType extends Type +{ + /** + * Contains a collection of event notifications that are used to create a + * subscription. + * + * @since Exchange 2007 + * + * @var \jamesiarmes\PhpEws\ArrayType\NonEmptyArrayOfNotificationEventTypesType + */ + public $EventTypes; + + /** + * Contains an array of folder identifiers that are used to identify folders + * to monitor for event notifications. + * + * @since Exchange 2007 + * + * @var \jamesiarmes\PhpEws\ArrayType\NonEmptyArrayOfBaseFolderIdsType + */ + public $FolderIds; + + /** + * Indicates whether to subscribe to all available folders. + * + * This attribute is optional. + * + * @since Exchange 2010 + * + * @var boolean + */ + public $SubscribeToAllFolders; + + /** + * Represents an event bookmark in the mailbox events table. + * + * This is used to create a subscription starting at an event represented by + * the watermark. + * + * If the watermark from a Subscribe request is not found, an error response + * will be returned to the client. This may occur if the watermark is older + * than 30 days or if the watermark was never present in the mailbox. + * + * @since Exchange 2007 + * + * @var string + * + * @todo Determine if we need a WatermarkType. + */ + public $Watermark; +} |