DescribeTab::setIcons()   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
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeTab
6
{
7
    /**
8
     * @var DescribeColor[]
9
     */
10
    protected $colors = null;
11
12
    /**
13
     * @var boolean
14
     */
15
    protected $custom = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $iconUrl = null;
21
22
    /**
23
     * @var DescribeIcon[]
24
     */
25
    protected $icons = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $label = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $miniIconUrl = null;
36
37
    /**
38
     * @var string
39
     */
40
    protected $name = null;
41
42
    /**
43
     * @var string
44
     */
45
    protected $sobjectName = null;
46
47
    /**
48
     * @var string
49
     */
50
    protected $url = null;
51
52
    /**
53
     * @param boolean $custom
54
     * @param string $iconUrl
55
     * @param string $label
56
     * @param string $miniIconUrl
57
     * @param string $name
58
     * @param string $url
59
     */
60
    public function __construct($custom = null, $iconUrl = null, $label = null, $miniIconUrl = null, $name = null, $url = null)
61
    {
62
        $this->custom = $custom;
63
        $this->iconUrl = $iconUrl;
64
        $this->label = $label;
65
        $this->miniIconUrl = $miniIconUrl;
66
        $this->name = $name;
67
        $this->url = $url;
68
    }
69
70
    /**
71
     * @return DescribeColor[]
72
     */
73
    public function getColors()
74
    {
75
        return $this->colors;
76
    }
77
78
    /**
79
     * @param DescribeColor[] $colors
80
     * @return \SForce\Wsdl\DescribeTab
81
     */
82
    public function setColors(array $colors = null)
83
    {
84
        $this->colors = $colors;
85
        return $this;
86
    }
87
88
    /**
89
     * @return boolean
90
     */
91
    public function getCustom()
92
    {
93
        return $this->custom;
94
    }
95
96
    /**
97
     * @param boolean $custom
98
     * @return \SForce\Wsdl\DescribeTab
99
     */
100
    public function setCustom($custom)
101
    {
102
        $this->custom = $custom;
103
        return $this;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getIconUrl()
110
    {
111
        return $this->iconUrl;
112
    }
113
114
    /**
115
     * @param string $iconUrl
116
     * @return \SForce\Wsdl\DescribeTab
117
     */
118
    public function setIconUrl($iconUrl)
119
    {
120
        $this->iconUrl = $iconUrl;
121
        return $this;
122
    }
123
124
    /**
125
     * @return DescribeIcon[]
126
     */
127
    public function getIcons()
128
    {
129
        return $this->icons;
130
    }
131
132
    /**
133
     * @param DescribeIcon[] $icons
134
     * @return \SForce\Wsdl\DescribeTab
135
     */
136
    public function setIcons(array $icons = null)
137
    {
138
        $this->icons = $icons;
139
        return $this;
140
    }
141
142
    /**
143
     * @return string
144
     */
145
    public function getLabel()
146
    {
147
        return $this->label;
148
    }
149
150
    /**
151
     * @param string $label
152
     * @return \SForce\Wsdl\DescribeTab
153
     */
154
    public function setLabel($label)
155
    {
156
        $this->label = $label;
157
        return $this;
158
    }
159
160
    /**
161
     * @return string
162
     */
163
    public function getMiniIconUrl()
164
    {
165
        return $this->miniIconUrl;
166
    }
167
168
    /**
169
     * @param string $miniIconUrl
170
     * @return \SForce\Wsdl\DescribeTab
171
     */
172
    public function setMiniIconUrl($miniIconUrl)
173
    {
174
        $this->miniIconUrl = $miniIconUrl;
175
        return $this;
176
    }
177
178
    /**
179
     * @return string
180
     */
181
    public function getName()
182
    {
183
        return $this->name;
184
    }
185
186
    /**
187
     * @param string $name
188
     * @return \SForce\Wsdl\DescribeTab
189
     */
190
    public function setName($name)
191
    {
192
        $this->name = $name;
193
        return $this;
194
    }
195
196
    /**
197
     * @return string
198
     */
199
    public function getSobjectName()
200
    {
201
        return $this->sobjectName;
202
    }
203
204
    /**
205
     * @param string $sobjectName
206
     * @return \SForce\Wsdl\DescribeTab
207
     */
208
    public function setSobjectName($sobjectName)
209
    {
210
        $this->sobjectName = $sobjectName;
211
        return $this;
212
    }
213
214
    /**
215
     * @return string
216
     */
217
    public function getUrl()
218
    {
219
        return $this->url;
220
    }
221
222
    /**
223
     * @param string $url
224
     * @return \SForce\Wsdl\DescribeTab
225
     */
226
    public function setUrl($url)
227
    {
228
        $this->url = $url;
229
        return $this;
230
    }
231
}
232