blob: 29dd5d0cf7f6c31c7af0774dd33b5775344f2107 (
plain) (
tree)
|
|
<?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';
}
|