Completed
Push — develop ( e2d101...8d74c2 )
by Mikaël
31:41
created

EwsChangeDescriptionType::setPath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Ews\StructType;
4
5
use \WsdlToPhp\PackageBase\AbstractStructBase;
6
7
/**
8
 * This class stands for ChangeDescriptionType StructType
9
 * @package Ews
10
 * @subpackage Structs
11
 * @author WsdlToPhp <[email protected]>
12
 */
13
abstract class EwsChangeDescriptionType extends AbstractStructBase
14
{
15
    /**
16
     * The FieldURI
17
     * @var \Ews\StructType\EwsPathToUnindexedFieldType
18
     */
19
    public $FieldURI;
20
    /**
21
     * The IndexedFieldURI
22
     * @var \Ews\StructType\EwsPathToIndexedFieldType
23
     */
24
    public $IndexedFieldURI;
25
    /**
26
     * The ExtendedFieldURI
27
     * @var \Ews\StructType\EwsPathToExtendedFieldType
28
     */
29
    public $ExtendedFieldURI;
30
    /**
31
     * Constructor method for ChangeDescriptionType
32
     * @uses EwsChangeDescriptionType::setFieldURI()
33
     * @uses EwsChangeDescriptionType::setIndexedFieldURI()
34
     * @uses EwsChangeDescriptionType::setExtendedFieldURI()
35
     * @param \Ews\StructType\EwsPathToUnindexedFieldType $fieldURI
36
     * @param \Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI
37
     * @param \Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI
38
     */
39
    public function __construct(\Ews\StructType\EwsPathToUnindexedFieldType $fieldURI = null, \Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI = null, \Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI = null)
40
    {
41
        $this
42
            ->setFieldURI($fieldURI)
43
            ->setIndexedFieldURI($indexedFieldURI)
44
            ->setExtendedFieldURI($extendedFieldURI);
45
    }
46
    /**
47
     * Get FieldURI value
48
     * @return \Ews\StructType\EwsPathToUnindexedFieldType|null
49
     */
50
    public function getFieldURI()
51
    {
52
        return $this->FieldURI;
53
    }
54
    /**
55
     * Set FieldURI value
56
     * @param \Ews\StructType\EwsPathToUnindexedFieldType $fieldURI
57
     * @return \Ews\StructType\EwsChangeDescriptionType
58
     */
59
    public function setFieldURI(\Ews\StructType\EwsPathToUnindexedFieldType $fieldURI = null)
60
    {
61
        $this->FieldURI = $fieldURI;
62
        return $this;
63
    }
64
    /**
65
     * Get IndexedFieldURI value
66
     * @return \Ews\StructType\EwsPathToIndexedFieldType|null
67
     */
68
    public function getIndexedFieldURI()
69
    {
70
        return $this->IndexedFieldURI;
71
    }
72
    /**
73
     * Set IndexedFieldURI value
74
     * @param \Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI
75
     * @return \Ews\StructType\EwsChangeDescriptionType
76
     */
77
    public function setIndexedFieldURI(\Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI = null)
78
    {
79
        $this->IndexedFieldURI = $indexedFieldURI;
80
        return $this;
81
    }
82
    /**
83
     * Get ExtendedFieldURI value
84
     * @return \Ews\StructType\EwsPathToExtendedFieldType|null
85
     */
86
    public function getExtendedFieldURI()
87
    {
88
        return $this->ExtendedFieldURI;
89
    }
90
    /**
91
     * Set ExtendedFieldURI value
92
     * @param \Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI
93
     * @return \Ews\StructType\EwsChangeDescriptionType
94
     */
95
    public function setExtendedFieldURI(\Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI = null)
96
    {
97
        $this->ExtendedFieldURI = $extendedFieldURI;
98
        return $this;
99
    }
100
    /**
101
     * Method called when an object has been exported with var_export() functions
102
     * It allows to return an object instantiated with the values
103
     * @see AbstractStructBase::__set_state()
104
     * @uses AbstractStructBase::__set_state()
105
     * @param array $array the exported values
106
     * @return \Ews\StructType\EwsChangeDescriptionType
107
     */
108
    public static function __set_state(array $array)
109
    {
110
        return parent::__set_state($array);
111
    }
112
    /**
113
     * Method returning the class name
114
     * @return string __CLASS__
115
     */
116
    public function __toString()
117
    {
118
        return __CLASS__;
119
    }
120
}
121