GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 3b033a...7f82f7 )
by Dragos
14:20
created

Manager::getEmail()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Speicher210\KontaktIO\Model;
4
5
use JMS\Serializer\Annotation as JMS;
6
7
/**
8
 * Model representing a manager.
9
 */
10
class Manager
11
{
12
    const ROLE_SUPERUSER = 'SUPERUSER';
13
    const ROLE_ADMIN = 'ADMIN';
14
    const ROLE_OPERATOR = 'OPERATOR';
15
16
    /**
17
     * The manager ID.
18
     *
19
     * @var string
20
     *
21
     * @JMS\Type("string")
22
     * @JMS\SerializedName("id")
23
     */
24
    protected $id;
25
26
    /**
27
     * The manager unique ID.
28
     *
29
     * @var string
30
     *
31
     * @JMS\Type("string")
32
     * @JMS\SerializedName("uniqueId")
33
     */
34
    protected $uniqueId;
35
36
    /**
37
     * First name.
38
     *
39
     * @var string
40
     *
41
     * @JMS\Type("string")
42
     * @JMS\SerializedName("firstName")
43
     */
44
    protected $firstName;
45
46
    /**
47
     * Last name.
48
     *
49
     * @var string
50
     *
51
     * @JMS\Type("string")
52
     * @JMS\SerializedName("lastName")
53
     */
54
    protected $lastName;
55
56
    /**
57
     * Manager role. One of the ROLE_* constants.
58
     *
59
     * @var string
60
     *
61
     * @JMS\Type("string")
62
     * @JMS\SerializedName("role")
63
     */
64
    protected $role;
65
66
    /**
67
     * Email address.
68
     *
69
     * @var string
70
     *
71
     * @JMS\Type("string")
72
     * @JMS\SerializedName("email")
73
     */
74
    protected $email;
75
76
    /**
77
     * Get the ID.
78
     *
79
     * @return string
80
     */
81
    public function getId()
82
    {
83
        return $this->id;
84
    }
85
86
    /**
87
     * Set the ID.
88
     *
89
     * @param string $id The ID.
90
     * @return Manager
91
     */
92
    public function setId($id)
93
    {
94
        $this->id = $id;
95
96
        return $this;
97
    }
98
99
    /**
100
     * Get the unique ID.
101
     *
102
     * @return string
103
     */
104
    public function getUniqueId()
105
    {
106
        return $this->uniqueId;
107
    }
108
109
    /**
110
     * Set the unique ID.
111
     *
112
     * @param string $uniqueId The unique ID.
113
     * @return Manager
114
     */
115
    public function setUniqueId($uniqueId)
116
    {
117
        $this->uniqueId = $uniqueId;
118
119
        return $this;
120
    }
121
122
    /**
123
     * Get the first name.
124
     *
125
     * @return string
126
     */
127
    public function getFirstName()
128
    {
129
        return $this->firstName;
130
    }
131
132
    /**
133
     * Set the first name.
134
     *
135
     * @param string $firstName The first name.
136
     * @return Manager
137
     */
138
    public function setFirstName($firstName)
139
    {
140
        $this->firstName = $firstName;
141
142
        return $this;
143
    }
144
145
    /**
146
     * Get the last name.
147
     *
148
     * @return string
149
     */
150
    public function getLastName()
151
    {
152
        return $this->lastName;
153
    }
154
155
    /**
156
     * Set the last name.
157
     *
158
     * @param string $lastName The last name.
159
     * @return Manager
160
     */
161
    public function setLastName($lastName)
162
    {
163
        $this->lastName = $lastName;
164
165
        return $this;
166
    }
167
168
    /**
169
     * Get the role.
170
     *
171
     * @return string
172
     */
173
    public function getRole()
174
    {
175
        return $this->role;
176
    }
177
178
    /**
179
     * Set the role.
180
     *
181
     * @param string $role The role. One of the ROLE_* constants.
182
     * @return Manager
183
     */
184
    public function setRole($role)
185
    {
186
        $this->role = $role;
187
188
        return $this;
189
    }
190
191
    /**
192
     * Get the email address.
193
     *
194
     * @return string
195
     */
196
    public function getEmail()
197
    {
198
        return $this->email;
199
    }
200
201
    /**
202
     * Set the email address.
203
     *
204
     * @param string $email The email address.
205
     * @return Manager
206
     */
207
    public function setEmail($email)
208
    {
209
        $this->email = $email;
210
211
        return $this;
212
    }
213
}
214