MeetingAttendeeType::__toString()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace PhpEws\DataType;
4
5
use PhpEws\DataType;
6
7
/**
8
 * Represents the type of attendee that is identified in the Email element.
9
 *
10
 * @package php-ews\Enumerations
11
 */
12
class MeetingAttendeeType extends DataType
13
{
14
    /**
15
     * A mailbox user who is an optional attendee to the meeting.
16
     *
17
     * @since Exchange 2007
18
     *
19
     * @var string
20
     */
21
    const OPTIONAL = 'Optional';
22
    /**
23
     * The mailbox user and attendee who created the calendar item.
24
     *
25
     * @since Exchange 2007
26
     *
27
     * @var string
28
     */
29
    const ORGANIZER = 'Organizer';
30
    /**
31
     * A mailbox user who is a required attendee to the meeting.
32
     *
33
     * @since Exchange 2007
34
     *
35
     * @var string
36
     */
37
    const REQUIRED = 'Required';
38
    /**
39
     * A resource such as a TV or projector that is scheduled for use in the meeting.
40
     *
41
     * @since Exchange 2007
42
     *
43
     * @var string
44
     */
45
    const RESOURCE = 'Resource';
46
    /**
47
     * A mailbox entity that represents a room resource used for the meeting.
48
     *
49
     * @since Exchange 2007
50
     *
51
     * @var string
52
     */
53
    const ROOM = 'Room';
54
    /**
55
     * Element value.
56
     *
57
     * @var string
58
     */
59
    public $_;
60
    /**
61
     * Returns the value of this object as a string.
62
     *
63
     * @return string
64
     */
65
    public function __toString()
66
    {
67
        return $this->_;
68
    }
69
}