DescribeAppMenuItem   A
last analyzed

Complexity

Total Complexity 15

Size/Duplication

Total Lines 177
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 34
c 1
b 0
f 0
dl 0
loc 177
rs 10
wmc 15

15 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
A setName() 0 4 1
A getContent() 0 3 1
A getColors() 0 3 1
A getIcons() 0 3 1
A setColors() 0 4 1
A setUrl() 0 4 1
A setContent() 0 4 1
A setLabel() 0 4 1
A setIcons() 0 4 1
A getLabel() 0 3 1
A setType() 0 4 1
A getName() 0 3 1
A getType() 0 3 1
A getUrl() 0 3 1
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class DescribeAppMenuItem
6
{
7
    /**
8
     * @var DescribeColor[]
9
     */
10
    protected $colors = null;
11
12
    /**
13
     * @var string
14
     */
15
    protected $content = null;
16
17
    /**
18
     * @var DescribeIcon[]
19
     */
20
    protected $icons = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $label = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $name = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $type = null;
36
37
    /**
38
     * @var string
39
     */
40
    protected $url = null;
41
42
    /**
43
     * @param string $content
44
     * @param string $label
45
     * @param string $name
46
     * @param string $type
47
     * @param string $url
48
     */
49
    public function __construct($content = null, $label = null, $name = null, $type = null, $url = null)
50
    {
51
        $this->content = $content;
52
        $this->label = $label;
53
        $this->name = $name;
54
        $this->type = $type;
55
        $this->url = $url;
56
    }
57
58
    /**
59
     * @return DescribeColor[]
60
     */
61
    public function getColors()
62
    {
63
        return $this->colors;
64
    }
65
66
    /**
67
     * @param DescribeColor[] $colors
68
     * @return \SForce\Wsdl\DescribeAppMenuItem
69
     */
70
    public function setColors(array $colors = null)
71
    {
72
        $this->colors = $colors;
73
        return $this;
74
    }
75
76
    /**
77
     * @return string
78
     */
79
    public function getContent()
80
    {
81
        return $this->content;
82
    }
83
84
    /**
85
     * @param string $content
86
     * @return \SForce\Wsdl\DescribeAppMenuItem
87
     */
88
    public function setContent($content)
89
    {
90
        $this->content = $content;
91
        return $this;
92
    }
93
94
    /**
95
     * @return DescribeIcon[]
96
     */
97
    public function getIcons()
98
    {
99
        return $this->icons;
100
    }
101
102
    /**
103
     * @param DescribeIcon[] $icons
104
     * @return \SForce\Wsdl\DescribeAppMenuItem
105
     */
106
    public function setIcons(array $icons = null)
107
    {
108
        $this->icons = $icons;
109
        return $this;
110
    }
111
112
    /**
113
     * @return string
114
     */
115
    public function getLabel()
116
    {
117
        return $this->label;
118
    }
119
120
    /**
121
     * @param string $label
122
     * @return \SForce\Wsdl\DescribeAppMenuItem
123
     */
124
    public function setLabel($label)
125
    {
126
        $this->label = $label;
127
        return $this;
128
    }
129
130
    /**
131
     * @return string
132
     */
133
    public function getName()
134
    {
135
        return $this->name;
136
    }
137
138
    /**
139
     * @param string $name
140
     * @return \SForce\Wsdl\DescribeAppMenuItem
141
     */
142
    public function setName($name)
143
    {
144
        $this->name = $name;
145
        return $this;
146
    }
147
148
    /**
149
     * @return string
150
     */
151
    public function getType()
152
    {
153
        return $this->type;
154
    }
155
156
    /**
157
     * @param string $type
158
     * @return \SForce\Wsdl\DescribeAppMenuItem
159
     */
160
    public function setType($type)
161
    {
162
        $this->type = $type;
163
        return $this;
164
    }
165
166
    /**
167
     * @return string
168
     */
169
    public function getUrl()
170
    {
171
        return $this->url;
172
    }
173
174
    /**
175
     * @param string $url
176
     * @return \SForce\Wsdl\DescribeAppMenuItem
177
     */
178
    public function setUrl($url)
179
    {
180
        $this->url = $url;
181
        return $this;
182
    }
183
}
184