ResponseTypeType::__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 0
Metric Value
c 1
b 0
f 0
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
 * Definition of the ResponseTypeType type
9
 */
10
class ResponseTypeType extends DataType
11
{
12
    /**
13
     * Response type indicating that a request has been accepted.
14
     *
15
     * @var string
16
     */
17
    const ACCEPT = 'Accept';
18
19
    /**
20
     * Response type indicating that a request has been declined.
21
     *
22
     * @var string
23
     */
24
    const DECLNE = 'Decline';
25
26
    /**
27
     * Response type indicating that no reponse has been received.
28
     *
29
     * @var string
30
     */
31
    const NONE = 'NoResponseReceived';
32
33
    /**
34
     * Response type indicating that the attendee is the organizer.
35
     *
36
     * @var string
37
     */
38
    const ORGANIZER = 'Organizer';
39
40
    /**
41
     * Response type indicating that a request has been tentatively accepted.
42
     *
43
     * @var string
44
     */
45
    const TENTATIVE = 'Tentative';
46
47
    /**
48
     * Response type indicating that the reponse is unknown.
49
     *
50
     * @var string
51
     */
52
    const UNKNOWN = 'Unknown';
53
54
    /**
55
     * Value of the element.
56
     *
57
     * @var string
58
     */
59
    public $_;
60
61
    /**
62
     * Returns the value of this object as a string.
63
     *
64
     * @return string
65
     */
66
    public function __toString()
67
    {
68
        return $this->_;
69
    }
70
}
71