1 | <?php |
||
21 | class InvitationResourceModel extends AbstractModel implements ResourceModelInterface |
||
22 | { |
||
23 | /** |
||
24 | * Invitation ID. |
||
25 | * |
||
26 | * Comment: Invitation ID |
||
27 | * |
||
28 | * @SA\Type("string") |
||
29 | * @SA\SerializedName("id") |
||
30 | * |
||
31 | * @var string|null |
||
32 | */ |
||
33 | protected $id; |
||
34 | |||
35 | /** |
||
36 | * Account ID. |
||
37 | * |
||
38 | * Comment: Account ID |
||
39 | * |
||
40 | * @SA\Type("string") |
||
41 | * @SA\SerializedName("accountId") |
||
42 | * |
||
43 | * @var string|null |
||
44 | */ |
||
45 | protected $accountId; |
||
46 | |||
47 | /** |
||
48 | * First name. |
||
49 | * |
||
50 | * @SA\Type("string") |
||
51 | * @SA\SerializedName("firstName") |
||
52 | * |
||
53 | * @var string|null |
||
54 | */ |
||
55 | protected $firstName; |
||
56 | |||
57 | /** |
||
58 | * Last name. |
||
59 | * |
||
60 | * @SA\Type("string") |
||
61 | * @SA\SerializedName("lastName") |
||
62 | * |
||
63 | * @var string|null |
||
64 | */ |
||
65 | protected $lastName; |
||
66 | |||
67 | /** |
||
68 | * Invitation Title. |
||
69 | * |
||
70 | * @SA\Type("string") |
||
71 | * @SA\SerializedName("email") |
||
72 | * |
||
73 | * @var string|null |
||
74 | */ |
||
75 | protected $email; |
||
76 | |||
77 | /** |
||
78 | * Status. |
||
79 | * |
||
80 | * Invitation status |
||
81 | * Enum: Pending, Accepted, Declined, Cancelled |
||
82 | * |
||
83 | * @see \Zibios\WrikePhpLibrary\Enum\InvitationStatusEnum |
||
84 | * |
||
85 | * @SA\Type("string") |
||
86 | * @SA\SerializedName("status") |
||
87 | * |
||
88 | * @var string|null |
||
89 | */ |
||
90 | protected $status; |
||
91 | |||
92 | /** |
||
93 | * Inviter Contact ID. |
||
94 | * |
||
95 | * Comment: Contact ID |
||
96 | * |
||
97 | * @SA\Type("string") |
||
98 | * @SA\SerializedName("inviterUserId") |
||
99 | * |
||
100 | * @var string|null |
||
101 | */ |
||
102 | protected $inviterUserId; |
||
103 | |||
104 | /** |
||
105 | * Date when invitation was created. |
||
106 | * |
||
107 | * Format: yyyy-MM-dd'T'HH:mm:ss'Z' |
||
108 | * |
||
109 | * @SA\Type("string") |
||
110 | * @SA\SerializedName("invitationDate") |
||
111 | * |
||
112 | * @var string|null |
||
113 | */ |
||
114 | protected $invitationDate; |
||
115 | |||
116 | /** |
||
117 | * Date when the invitation was resolved. |
||
118 | * |
||
119 | * Format: yyyy-MM-dd'T'HH:mm:ss'Z' |
||
120 | * Comment: Optional |
||
121 | * |
||
122 | * @SA\Type("string") |
||
123 | * @SA\SerializedName("resolvedDate") |
||
124 | * |
||
125 | * @var string|null |
||
126 | */ |
||
127 | protected $resolvedDate; |
||
128 | |||
129 | /** |
||
130 | * Invited user role. |
||
131 | * |
||
132 | * Enum: User, Collaborator |
||
133 | * |
||
134 | * @see \Zibios\WrikePhpLibrary\Enum\UserRoleEnum |
||
135 | * |
||
136 | * @SA\Type("string") |
||
137 | * @SA\SerializedName("role") |
||
138 | * |
||
139 | * @var string|null |
||
140 | */ |
||
141 | protected $role; |
||
142 | |||
143 | /** |
||
144 | * Is user external. |
||
145 | * |
||
146 | * @SA\Type("boolean") |
||
147 | * @SA\SerializedName("external") |
||
148 | * |
||
149 | * @var bool|null |
||
150 | */ |
||
151 | protected $external; |
||
152 | |||
153 | /** |
||
154 | * @return null|string |
||
155 | */ |
||
156 | 1 | public function getId() |
|
160 | |||
161 | /** |
||
162 | * @param null|string $id |
||
163 | * |
||
164 | * @return $this |
||
165 | */ |
||
166 | 1 | public function setId($id) |
|
172 | |||
173 | /** |
||
174 | * @return null|string |
||
175 | */ |
||
176 | 1 | public function getAccountId() |
|
180 | |||
181 | /** |
||
182 | * @param null|string $accountId |
||
183 | * |
||
184 | * @return $this |
||
185 | */ |
||
186 | 1 | public function setAccountId($accountId) |
|
192 | |||
193 | /** |
||
194 | * @return null|string |
||
195 | */ |
||
196 | 1 | public function getFirstName() |
|
200 | |||
201 | /** |
||
202 | * @param null|string $firstName |
||
203 | * |
||
204 | * @return $this |
||
205 | */ |
||
206 | 1 | public function setFirstName($firstName) |
|
212 | |||
213 | /** |
||
214 | * @return null|string |
||
215 | */ |
||
216 | 1 | public function getLastName() |
|
220 | |||
221 | /** |
||
222 | * @param null|string $lastName |
||
223 | * |
||
224 | * @return $this |
||
225 | */ |
||
226 | 1 | public function setLastName($lastName) |
|
232 | |||
233 | /** |
||
234 | * @return null|string |
||
235 | */ |
||
236 | 1 | public function getEmail() |
|
240 | |||
241 | /** |
||
242 | * @param null|string $email |
||
243 | * |
||
244 | * @return $this |
||
245 | */ |
||
246 | 1 | public function setEmail($email) |
|
252 | |||
253 | /** |
||
254 | * @return null|string |
||
255 | */ |
||
256 | 1 | public function getStatus() |
|
260 | |||
261 | /** |
||
262 | * @param null|string $status |
||
263 | * |
||
264 | * @return $this |
||
265 | */ |
||
266 | 1 | public function setStatus($status) |
|
272 | |||
273 | /** |
||
274 | * @return null|string |
||
275 | */ |
||
276 | 1 | public function getInviterUserId() |
|
280 | |||
281 | /** |
||
282 | * @param null|string $inviterUserId |
||
283 | * |
||
284 | * @return $this |
||
285 | */ |
||
286 | 1 | public function setInviterUserId($inviterUserId) |
|
292 | |||
293 | /** |
||
294 | * @return null|string |
||
295 | */ |
||
296 | 1 | public function getInvitationDate() |
|
300 | |||
301 | /** |
||
302 | * @param null|string|string $invitationDate |
||
303 | * |
||
304 | * @return $this |
||
305 | */ |
||
306 | 1 | public function setInvitationDate($invitationDate) |
|
312 | |||
313 | /** |
||
314 | * @return null|string |
||
315 | */ |
||
316 | 1 | public function getResolvedDate() |
|
320 | |||
321 | /** |
||
322 | * @param null|string|string $resolvedDate |
||
323 | * |
||
324 | * @return $this |
||
325 | */ |
||
326 | 1 | public function setResolvedDate($resolvedDate) |
|
332 | |||
333 | /** |
||
334 | * @return null|string |
||
335 | */ |
||
336 | 1 | public function getRole() |
|
340 | |||
341 | /** |
||
342 | * @param null|string $role |
||
343 | * |
||
344 | * @return $this |
||
345 | */ |
||
346 | 1 | public function setRole($role) |
|
352 | |||
353 | /** |
||
354 | * @return bool|null |
||
355 | */ |
||
356 | 1 | public function getExternal() |
|
360 | |||
361 | /** |
||
362 | * @param bool|null $external |
||
363 | * |
||
364 | * @return $this |
||
365 | */ |
||
366 | 1 | public function setExternal($external) |
|
372 | } |
||
373 |