SuggestionQuality::__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 quality of the day for containing quality suggested meeting
9
 * times.
10
 *
11
 * @package php-ews\Enumerations
12
 */
13
class SuggestionQuality extends DataType
14
{
15
    /**
16
     * Indicates that the suggested meeting time is excellent.
17
     *
18
     * @since Exchange 2007
19
     *
20
     * @var string
21
     */
22
    const EXCELLENT = 'Excellent';
23
    /**
24
     * Indicates that the suggested meeting time is fair.
25
     *
26
     * @since Exchange 2007
27
     *
28
     * @var string
29
     */
30
    const FAIR = 'Fair';
31
    /**
32
     * Indicates that the suggested meeting time is good.
33
     *
34
     * @since Exchange 2007
35
     *
36
     * @var string
37
     */
38
    const GOOD = 'Good';
39
    /**
40
     * Indicates that the suggested meeting time is poor.
41
     *
42
     * @since Exchange 2007
43
     *
44
     * @var string
45
     */
46
    const POOR = 'Poor';
47
    /**
48
     * Element value.
49
     *
50
     * @var string
51
     */
52
    public $_;
53
    /**
54
     * Returns the value of this object as a string.
55
     *
56
     * @return string
57
     */
58
    public function __toString()
59
    {
60
        return $this->_;
61
    }
62
}