EditCasesRequest   A
last analyzed

Complexity

Total Complexity 20

Size/Duplication

Total Lines 242
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 20
lcom 0
cbo 0
dl 0
loc 242
rs 10
c 0
b 0
f 0

20 Methods

Rating   Name   Duplication   Size   Complexity  
A getCaseId() 0 4 1
A setCaseId() 0 6 1
A getSubject() 0 4 1
A setSubject() 0 6 1
A getGroupId() 0 4 1
A setGroupId() 0 6 1
A getStaffId() 0 4 1
A setStaffId() 0 6 1
A getStatus() 0 4 1
A setStatus() 0 6 1
A getPriority() 0 4 1
A setPriority() 0 6 1
A getLanguageId() 0 4 1
A setLanguageId() 0 6 1
A getCustomFields() 0 4 1
A setCustomFields() 0 6 1
A getAddLabels() 0 4 1
A setAddLabels() 0 6 1
A getDeleteLabels() 0 4 1
A setDeleteLabels() 0 6 1
1
<?php
2
namespace OmnideskBundle\Request\Cases;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class EditCasesRequest
8
 * @package OmnideskBundle\Request\Cases
9
 */
10
class EditCasesRequest implements RequestInterface
11
{
12
    /**
13
     * @var int
14
     */
15
    private $caseId;
16
17
    /**
18
     * @var string
19
     */
20
    private $subject;
21
22
    /**
23
     * @var int
24
     */
25
    private $groupId;
26
27
    /**
28
     * @var int
29
     */
30
    private $staffId;
31
32
    /**
33
     * @var string
34
     */
35
    private $status;
36
37
    /**
38
     * @var string
39
     */
40
    private $priority;
41
42
    /**
43
     * @var int
44
     */
45
    private $languageId;
46
47
    /**
48
     * @var array
49
     */
50
    private $customFields;
51
52
    /**
53
     * @var array
54
     */
55
    private $addLabels;
56
57
    /**
58
     * @var array
59
     */
60
    private $deleteLabels;
61
62
    /**
63
     * @return int
64
     */
65
    public function getCaseId()
66
    {
67
        return $this->caseId;
68
    }
69
70
    /**
71
     * @param int $caseId
72
     * @return $this
73
     */
74
    public function setCaseId($caseId)
75
    {
76
        $this->caseId = $caseId;
77
78
        return $this;
79
    }
80
81
    /**
82
     * @return string
83
     */
84
    public function getSubject()
85
    {
86
        return $this->subject;
87
    }
88
89
    /**
90
     * @param string $subject
91
     * @return $this
92
     */
93
    public function setSubject($subject)
94
    {
95
        $this->subject = $subject;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return int
102
     */
103
    public function getGroupId()
104
    {
105
        return $this->groupId;
106
    }
107
108
    /**
109
     * @param int $groupId
110
     * @return $this
111
     */
112
    public function setGroupId($groupId)
113
    {
114
        $this->groupId = $groupId;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @return int
121
     */
122
    public function getStaffId()
123
    {
124
        return $this->staffId;
125
    }
126
127
    /**
128
     * @param int $staffId
129
     * @return $this
130
     */
131
    public function setStaffId($staffId)
132
    {
133
        $this->staffId = $staffId;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @return string
140
     */
141
    public function getStatus()
142
    {
143
        return $this->status;
144
    }
145
146
    /**
147
     * @param string $status
148
     * @return $this
149
     */
150
    public function setStatus($status)
151
    {
152
        $this->status = $status;
153
154
        return $this;
155
    }
156
157
    /**
158
     * @return string
159
     */
160
    public function getPriority()
161
    {
162
        return $this->priority;
163
    }
164
165
    /**
166
     * @param string $priority
167
     * @return $this
168
     */
169
    public function setPriority($priority)
170
    {
171
        $this->priority = $priority;
172
173
        return $this;
174
    }
175
176
    /**
177
     * @return int
178
     */
179
    public function getLanguageId()
180
    {
181
        return $this->languageId;
182
    }
183
184
    /**
185
     * @param int $languageId
186
     * @return $this
187
     */
188
    public function setLanguageId($languageId)
189
    {
190
        $this->languageId = $languageId;
191
192
        return $this;
193
    }
194
195
    /**
196
     * @return array
197
     */
198
    public function getCustomFields()
199
    {
200
        return $this->customFields;
201
    }
202
203
    /**
204
     * @param array $customFields
205
     * @return $this
206
     */
207
    public function setCustomFields($customFields)
208
    {
209
        $this->customFields = $customFields;
210
211
        return $this;
212
    }
213
214
    /**
215
     * @return array
216
     */
217
    public function getAddLabels()
218
    {
219
        return $this->addLabels;
220
    }
221
222
    /**
223
     * @param array $addLabels
224
     * @return $this
225
     */
226
    public function setAddLabels($addLabels)
227
    {
228
        $this->addLabels = $addLabels;
229
230
        return $this;
231
    }
232
233
    /**
234
     * @return array
235
     */
236
    public function getDeleteLabels()
237
    {
238
        return $this->deleteLabels;
239
    }
240
241
    /**
242
     * @param array $deleteLabels
243
     * @return $this
244
     */
245
    public function setDeleteLabels($deleteLabels)
246
    {
247
        $this->deleteLabels = $deleteLabels;
248
249
        return $this;
250
    }
251
}
252