ListUserRequest   A
last analyzed

Complexity

Total Complexity 14

Size/Duplication

Total Lines 170
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 14
lcom 0
cbo 0
dl 0
loc 170
rs 10
c 0
b 0
f 0

14 Methods

Rating   Name   Duplication   Size   Complexity  
A getPage() 0 4 1
A setPage() 0 6 1
A getLimit() 0 4 1
A setLimit() 0 6 1
A getEmail() 0 4 1
A setEmail() 0 6 1
A getPhone() 0 4 1
A setPhone() 0 6 1
A getLanguageId() 0 4 1
A setLanguageId() 0 6 1
A getCustomFields() 0 4 1
A setCustomFields() 0 6 1
A isAmountOfCases() 0 4 1
A setAmountOfCases() 0 6 1
1
<?php
2
namespace OmnideskBundle\Request\User;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class ListUserRequest
8
 * @package OmnideskBundle\Request\User
9
 */
10
class ListUserRequest implements RequestInterface
11
{
12
    /**
13
     * @var int
14
     */
15
    private $page;
16
17
    /**
18
     * @var int
19
     */
20
    private $limit;
21
22
    /**
23
     * @var string
24
     */
25
    private $email;
26
27
    /**
28
     * @var string
29
     */
30
    private $phone;
31
32
    /**
33
     * @var int
34
     */
35
    private $languageId;
36
37
    /**
38
     * @var array
39
     */
40
    private $customFields;
41
42
    /**
43
     * @var boolean
44
     */
45
    private $amountOfCases;
46
47
    /**
48
     * @return int
49
     */
50
    public function getPage()
51
    {
52
        return $this->page;
53
    }
54
55
    /**
56
     * @param int $page
57
     * @return $this
58
     */
59
    public function setPage($page)
60
    {
61
        $this->page = $page;
62
63
        return $this;
64
    }
65
66
    /**
67
     * @return int
68
     */
69
    public function getLimit()
70
    {
71
        return $this->limit;
72
    }
73
74
    /**
75
     * @param int $limit
76
     * @return $this
77
     */
78
    public function setLimit($limit)
79
    {
80
        $this->limit = $limit;
81
82
        return $this;
83
    }
84
85
    /**
86
     * @return string
87
     */
88
    public function getEmail()
89
    {
90
        return $this->email;
91
    }
92
93
    /**
94
     * @param string $email
95
     * @return $this
96
     */
97
    public function setEmail($email)
98
    {
99
        $this->email = $email;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @return string
106
     */
107
    public function getPhone()
108
    {
109
        return $this->phone;
110
    }
111
112
    /**
113
     * @param string $phone
114
     * @return $this
115
     */
116
    public function setPhone($phone)
117
    {
118
        $this->phone = $phone;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @return int
125
     */
126
    public function getLanguageId()
127
    {
128
        return $this->languageId;
129
    }
130
131
    /**
132
     * @param int $languageId
133
     * @return $this
134
     */
135
    public function setLanguageId($languageId)
136
    {
137
        $this->languageId = $languageId;
138
139
        return $this;
140
    }
141
142
    /**
143
     * @return array
144
     */
145
    public function getCustomFields()
146
    {
147
        return $this->customFields;
148
    }
149
150
    /**
151
     * @param array $customFields
152
     * @return $this
153
     */
154
    public function setCustomFields($customFields)
155
    {
156
        $this->customFields = $customFields;
157
158
        return $this;
159
    }
160
161
    /**
162
     * @return bool
163
     */
164
    public function isAmountOfCases()
165
    {
166
        return $this->amountOfCases;
167
    }
168
169
    /**
170
     * @param bool $amountOfCases
171
     * @return $this
172
     */
173
    public function setAmountOfCases($amountOfCases)
174
    {
175
        $this->amountOfCases = $amountOfCases;
176
177
        return $this;
178
    }
179
}
180