Completed
Push — master ( 33fd23...1adc69 )
by Johnny
05:23
created

User::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
namespace Redbox\Twitch\Entity;
3
4
class User
5
{
6
    /**
7
     * @var string
8
     */
9
    protected $notifications;
10
11
    /**
12
     * @var string
13
     */
14
    protected $display_name;
15
16
    /**
17
     * @var string
18
     */
19
    protected $created_at;
20
21
    /**
22
     * @var string
23
     */
24
    protected $updated_at;
25
26
    /**
27
     * @var string
28
     */
29
    protected $partnered;
30
31
    /**
32
     * @var string
33
     */
34
    protected $type;
35
36
    /**
37
     * @var string
38
     */
39
    protected $name;
40
41
    /**
42
     * @var string
43
     */
44
    protected $logo;
45
46
    /**
47
     * @var string
48
     */
49
    protected $email;
50
51
    /**
52
     * @var string
53
     */
54
    protected $bio;
55
56
    /**
57
     * @var
58
     */
59
    protected $id;
60
61
    /**
62
     * @return string
63
     */
64
    public function getNotifications()
65
    {
66
        return $this->notifications;
67
    }
68
69
    /**
70
     * @param string $notifications
71
     */
72
    public function setNotifications($notifications)
73
    {
74
        $this->notifications = $notifications;
75
    }
76
77
    /**
78
     * @return string
79
     */
80
    public function getDisplayName()
81
    {
82
        return $this->display_name;
83
    }
84
85
    /**
86
     * @param string $display_name
87
     */
88
    public function setDisplayName($display_name)
89
    {
90
        $this->display_name = $display_name;
91
    }
92
93
    /**
94
     * @return string
95
     */
96
    public function getCreatedAt()
97
    {
98
        return $this->created_at;
99
    }
100
101
    /**
102
     * @param string $created_at
103
     */
104
    public function setCreatedAt($created_at)
105
    {
106
        $this->created_at = $created_at;
107
    }
108
109
    /**
110
     * @return string
111
     */
112
    public function getUpdatedAt()
113
    {
114
        return $this->updated_at;
115
    }
116
117
    /**
118
     * @param string $updated_at
119
     */
120
    public function setUpdatedAt($updated_at)
121
    {
122
        $this->updated_at = $updated_at;
123
    }
124
125
    /**
126
     * @return string
127
     */
128
    public function getPartnered()
129
    {
130
        return $this->partnered;
131
    }
132
133
    /**
134
     * @param string $partnered
135
     */
136
    public function setPartnered($partnered)
137
    {
138
        $this->partnered = $partnered;
139
    }
140
141
    /**
142
     * @return string
143
     */
144
    public function getType()
145
    {
146
        return $this->type;
147
    }
148
149
    /**
150
     * @param string $type
151
     */
152
    public function setType($type)
153
    {
154
        $this->type = $type;
155
    }
156
157
    /**
158
     * @return string
159
     */
160
    public function getName()
161
    {
162
        return $this->name;
163
    }
164
165
    /**
166
     * @param string $name
167
     */
168
    public function setName($name)
169
    {
170
        $this->name = $name;
171
    }
172
173
    /**
174
     * @return string
175
     */
176
    public function getLogo()
177
    {
178
        return $this->logo;
179
    }
180
181
    /**
182
     * @param string $logo
183
     */
184
    public function setLogo($logo)
185
    {
186
        $this->logo = $logo;
187
    }
188
189
    /**
190
     * @return string
191
     */
192
    public function getEmail()
193
    {
194
        return $this->email;
195
    }
196
197
    /**
198
     * @param string $email
199
     */
200
    public function setEmail($email)
201
    {
202
        $this->email = $email;
203
    }
204
205
    /**
206
     * @return string
207
     */
208
    public function getBio()
209
    {
210
        return $this->bio;
211
    }
212
213
    /**
214
     * @param string $bio
215
     */
216
    public function setBio($bio)
217
    {
218
        $this->bio = $bio;
219
    }
220
221
    /**
222
     * @return mixed
223
     */
224
    public function getId()
225
    {
226
        return $this->id;
227
    }
228
229
    /**
230
     * @param mixed $id
231
     */
232
    public function setId($id)
233
    {
234
        $this->id = $id;
235
    }
236
237
238
}