summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Request/MarkAsJunkType.php
blob: 979517cd2415db378af048adb8b39a4e656b6cf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
 * Contains \jamesiarmes\PhpEws\Request\MarkAsJunkType.
 */

namespace jamesiarmes\PhpEws\Request;

/**
 * Defines the request to move an item to the junk mail folder and to add the
 * sender to the blocked sender list.
 *
 * @package php-ews\Request
 */
class MarkAsJunkType extends BaseRequestType
{
    /**
     * Whether or not to add the sender to the blocked sender list.
     *
     * If false, and the user is already on the blocked sender list, they will
     * be removed.
     *
     * @since Exchange 2013
     *
     * @var boolean
     */
    public $IsJunk;

    /**
     * Contains the unique identities of items to be marked as junk.
     *
     * @since Exchange 2013
     *
     * @var \jamesiarmes\PhpEws\ArrayType\NonEmptyArrayOfBaseItemIdsType
     */
    public $ItemIds;

    /**
     * Whether or not to move the item to the default junk mail folder.
     *
     * @since Exchange 2013
     *
     * @var boolean
     */
    public $MoveItem;
}