DescribeLayoutSaveOption   A
last analyzed

Complexity

Total Complexity 13

Size/Duplication

Total Lines 156
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 31
c 1
b 0
f 0
dl 0
loc 156
rs 10
wmc 13

13 Methods

Rating   Name   Duplication   Size   Complexity  
A setDefaultValue() 0 4 1
A __construct() 0 8 1
A setName() 0 4 1
A setSoapHeaderName() 0 4 1
A getDefaultValue() 0 3 1
A setIsDisplayed() 0 4 1
A getLabel() 0 3 1
A setLabel() 0 4 1
A getName() 0 3 1
A getIsDisplayed() 0 3 1
A setRestHeaderName() 0 4 1
A getSoapHeaderName() 0 3 1
A getRestHeaderName() 0 3 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeLayoutSaveOption
6
{
7
    /**
8
     * @var boolean
9
     */
10
    protected $defaultValue = null;
11
12
    /**
13
     * @var boolean
14
     */
15
    protected $isDisplayed = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $label = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $name = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $restHeaderName = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $soapHeaderName = null;
36
37
    /**
38
     * @param boolean $defaultValue
39
     * @param boolean $isDisplayed
40
     * @param string $label
41
     * @param string $name
42
     * @param string $restHeaderName
43
     * @param string $soapHeaderName
44
     */
45
    public function __construct($defaultValue = null, $isDisplayed = null, $label = null, $name = null, $restHeaderName = null, $soapHeaderName = null)
46
    {
47
        $this->defaultValue = $defaultValue;
48
        $this->isDisplayed = $isDisplayed;
49
        $this->label = $label;
50
        $this->name = $name;
51
        $this->restHeaderName = $restHeaderName;
52
        $this->soapHeaderName = $soapHeaderName;
53
    }
54
55
    /**
56
     * @return boolean
57
     */
58
    public function getDefaultValue()
59
    {
60
        return $this->defaultValue;
61
    }
62
63
    /**
64
     * @param boolean $defaultValue
65
     * @return \SForce\Wsdl\DescribeLayoutSaveOption
66
     */
67
    public function setDefaultValue($defaultValue)
68
    {
69
        $this->defaultValue = $defaultValue;
70
        return $this;
71
    }
72
73
    /**
74
     * @return boolean
75
     */
76
    public function getIsDisplayed()
77
    {
78
        return $this->isDisplayed;
79
    }
80
81
    /**
82
     * @param boolean $isDisplayed
83
     * @return \SForce\Wsdl\DescribeLayoutSaveOption
84
     */
85
    public function setIsDisplayed($isDisplayed)
86
    {
87
        $this->isDisplayed = $isDisplayed;
88
        return $this;
89
    }
90
91
    /**
92
     * @return string
93
     */
94
    public function getLabel()
95
    {
96
        return $this->label;
97
    }
98
99
    /**
100
     * @param string $label
101
     * @return \SForce\Wsdl\DescribeLayoutSaveOption
102
     */
103
    public function setLabel($label)
104
    {
105
        $this->label = $label;
106
        return $this;
107
    }
108
109
    /**
110
     * @return string
111
     */
112
    public function getName()
113
    {
114
        return $this->name;
115
    }
116
117
    /**
118
     * @param string $name
119
     * @return \SForce\Wsdl\DescribeLayoutSaveOption
120
     */
121
    public function setName($name)
122
    {
123
        $this->name = $name;
124
        return $this;
125
    }
126
127
    /**
128
     * @return string
129
     */
130
    public function getRestHeaderName()
131
    {
132
        return $this->restHeaderName;
133
    }
134
135
    /**
136
     * @param string $restHeaderName
137
     * @return \SForce\Wsdl\DescribeLayoutSaveOption
138
     */
139
    public function setRestHeaderName($restHeaderName)
140
    {
141
        $this->restHeaderName = $restHeaderName;
142
        return $this;
143
    }
144
145
    /**
146
     * @return string
147
     */
148
    public function getSoapHeaderName()
149
    {
150
        return $this->soapHeaderName;
151
    }
152
153
    /**
154
     * @param string $soapHeaderName
155
     * @return \SForce\Wsdl\DescribeLayoutSaveOption
156
     */
157
    public function setSoapHeaderName($soapHeaderName)
158
    {
159
        $this->soapHeaderName = $soapHeaderName;
160
        return $this;
161
    }
162
}
163