1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\FirebaseCloudMessaging;
19
20class AndroidNotification extends \Google\Collection
21{
22  protected $collection_key = 'vibrateTimings';
23  /**
24   * @var string
25   */
26  public $body;
27  /**
28   * @var string[]
29   */
30  public $bodyLocArgs;
31  /**
32   * @var string
33   */
34  public $bodyLocKey;
35  /**
36   * @var bool
37   */
38  public $bypassProxyNotification;
39  /**
40   * @var string
41   */
42  public $channelId;
43  /**
44   * @var string
45   */
46  public $clickAction;
47  /**
48   * @var string
49   */
50  public $color;
51  /**
52   * @var bool
53   */
54  public $defaultLightSettings;
55  /**
56   * @var bool
57   */
58  public $defaultSound;
59  /**
60   * @var bool
61   */
62  public $defaultVibrateTimings;
63  /**
64   * @var string
65   */
66  public $eventTime;
67  /**
68   * @var string
69   */
70  public $icon;
71  /**
72   * @var string
73   */
74  public $image;
75  protected $lightSettingsType = LightSettings::class;
76  protected $lightSettingsDataType = '';
77  /**
78   * @var bool
79   */
80  public $localOnly;
81  /**
82   * @var int
83   */
84  public $notificationCount;
85  /**
86   * @var string
87   */
88  public $notificationPriority;
89  /**
90   * @var string
91   */
92  public $sound;
93  /**
94   * @var bool
95   */
96  public $sticky;
97  /**
98   * @var string
99   */
100  public $tag;
101  /**
102   * @var string
103   */
104  public $ticker;
105  /**
106   * @var string
107   */
108  public $title;
109  /**
110   * @var string[]
111   */
112  public $titleLocArgs;
113  /**
114   * @var string
115   */
116  public $titleLocKey;
117  /**
118   * @var string[]
119   */
120  public $vibrateTimings;
121  /**
122   * @var string
123   */
124  public $visibility;
125
126  /**
127   * @param string
128   */
129  public function setBody($body)
130  {
131    $this->body = $body;
132  }
133  /**
134   * @return string
135   */
136  public function getBody()
137  {
138    return $this->body;
139  }
140  /**
141   * @param string[]
142   */
143  public function setBodyLocArgs($bodyLocArgs)
144  {
145    $this->bodyLocArgs = $bodyLocArgs;
146  }
147  /**
148   * @return string[]
149   */
150  public function getBodyLocArgs()
151  {
152    return $this->bodyLocArgs;
153  }
154  /**
155   * @param string
156   */
157  public function setBodyLocKey($bodyLocKey)
158  {
159    $this->bodyLocKey = $bodyLocKey;
160  }
161  /**
162   * @return string
163   */
164  public function getBodyLocKey()
165  {
166    return $this->bodyLocKey;
167  }
168  /**
169   * @param bool
170   */
171  public function setBypassProxyNotification($bypassProxyNotification)
172  {
173    $this->bypassProxyNotification = $bypassProxyNotification;
174  }
175  /**
176   * @return bool
177   */
178  public function getBypassProxyNotification()
179  {
180    return $this->bypassProxyNotification;
181  }
182  /**
183   * @param string
184   */
185  public function setChannelId($channelId)
186  {
187    $this->channelId = $channelId;
188  }
189  /**
190   * @return string
191   */
192  public function getChannelId()
193  {
194    return $this->channelId;
195  }
196  /**
197   * @param string
198   */
199  public function setClickAction($clickAction)
200  {
201    $this->clickAction = $clickAction;
202  }
203  /**
204   * @return string
205   */
206  public function getClickAction()
207  {
208    return $this->clickAction;
209  }
210  /**
211   * @param string
212   */
213  public function setColor($color)
214  {
215    $this->color = $color;
216  }
217  /**
218   * @return string
219   */
220  public function getColor()
221  {
222    return $this->color;
223  }
224  /**
225   * @param bool
226   */
227  public function setDefaultLightSettings($defaultLightSettings)
228  {
229    $this->defaultLightSettings = $defaultLightSettings;
230  }
231  /**
232   * @return bool
233   */
234  public function getDefaultLightSettings()
235  {
236    return $this->defaultLightSettings;
237  }
238  /**
239   * @param bool
240   */
241  public function setDefaultSound($defaultSound)
242  {
243    $this->defaultSound = $defaultSound;
244  }
245  /**
246   * @return bool
247   */
248  public function getDefaultSound()
249  {
250    return $this->defaultSound;
251  }
252  /**
253   * @param bool
254   */
255  public function setDefaultVibrateTimings($defaultVibrateTimings)
256  {
257    $this->defaultVibrateTimings = $defaultVibrateTimings;
258  }
259  /**
260   * @return bool
261   */
262  public function getDefaultVibrateTimings()
263  {
264    return $this->defaultVibrateTimings;
265  }
266  /**
267   * @param string
268   */
269  public function setEventTime($eventTime)
270  {
271    $this->eventTime = $eventTime;
272  }
273  /**
274   * @return string
275   */
276  public function getEventTime()
277  {
278    return $this->eventTime;
279  }
280  /**
281   * @param string
282   */
283  public function setIcon($icon)
284  {
285    $this->icon = $icon;
286  }
287  /**
288   * @return string
289   */
290  public function getIcon()
291  {
292    return $this->icon;
293  }
294  /**
295   * @param string
296   */
297  public function setImage($image)
298  {
299    $this->image = $image;
300  }
301  /**
302   * @return string
303   */
304  public function getImage()
305  {
306    return $this->image;
307  }
308  /**
309   * @param LightSettings
310   */
311  public function setLightSettings(LightSettings $lightSettings)
312  {
313    $this->lightSettings = $lightSettings;
314  }
315  /**
316   * @return LightSettings
317   */
318  public function getLightSettings()
319  {
320    return $this->lightSettings;
321  }
322  /**
323   * @param bool
324   */
325  public function setLocalOnly($localOnly)
326  {
327    $this->localOnly = $localOnly;
328  }
329  /**
330   * @return bool
331   */
332  public function getLocalOnly()
333  {
334    return $this->localOnly;
335  }
336  /**
337   * @param int
338   */
339  public function setNotificationCount($notificationCount)
340  {
341    $this->notificationCount = $notificationCount;
342  }
343  /**
344   * @return int
345   */
346  public function getNotificationCount()
347  {
348    return $this->notificationCount;
349  }
350  /**
351   * @param string
352   */
353  public function setNotificationPriority($notificationPriority)
354  {
355    $this->notificationPriority = $notificationPriority;
356  }
357  /**
358   * @return string
359   */
360  public function getNotificationPriority()
361  {
362    return $this->notificationPriority;
363  }
364  /**
365   * @param string
366   */
367  public function setSound($sound)
368  {
369    $this->sound = $sound;
370  }
371  /**
372   * @return string
373   */
374  public function getSound()
375  {
376    return $this->sound;
377  }
378  /**
379   * @param bool
380   */
381  public function setSticky($sticky)
382  {
383    $this->sticky = $sticky;
384  }
385  /**
386   * @return bool
387   */
388  public function getSticky()
389  {
390    return $this->sticky;
391  }
392  /**
393   * @param string
394   */
395  public function setTag($tag)
396  {
397    $this->tag = $tag;
398  }
399  /**
400   * @return string
401   */
402  public function getTag()
403  {
404    return $this->tag;
405  }
406  /**
407   * @param string
408   */
409  public function setTicker($ticker)
410  {
411    $this->ticker = $ticker;
412  }
413  /**
414   * @return string
415   */
416  public function getTicker()
417  {
418    return $this->ticker;
419  }
420  /**
421   * @param string
422   */
423  public function setTitle($title)
424  {
425    $this->title = $title;
426  }
427  /**
428   * @return string
429   */
430  public function getTitle()
431  {
432    return $this->title;
433  }
434  /**
435   * @param string[]
436   */
437  public function setTitleLocArgs($titleLocArgs)
438  {
439    $this->titleLocArgs = $titleLocArgs;
440  }
441  /**
442   * @return string[]
443   */
444  public function getTitleLocArgs()
445  {
446    return $this->titleLocArgs;
447  }
448  /**
449   * @param string
450   */
451  public function setTitleLocKey($titleLocKey)
452  {
453    $this->titleLocKey = $titleLocKey;
454  }
455  /**
456   * @return string
457   */
458  public function getTitleLocKey()
459  {
460    return $this->titleLocKey;
461  }
462  /**
463   * @param string[]
464   */
465  public function setVibrateTimings($vibrateTimings)
466  {
467    $this->vibrateTimings = $vibrateTimings;
468  }
469  /**
470   * @return string[]
471   */
472  public function getVibrateTimings()
473  {
474    return $this->vibrateTimings;
475  }
476  /**
477   * @param string
478   */
479  public function setVisibility($visibility)
480  {
481    $this->visibility = $visibility;
482  }
483  /**
484   * @return string
485   */
486  public function getVisibility()
487  {
488    return $this->visibility;
489  }
490}
491
492// Adding a class alias for backwards compatibility with the previous class name.
493class_alias(AndroidNotification::class, 'Google_Service_FirebaseCloudMessaging_AndroidNotification');
494