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\AndroidEnterprise;
19
20class Notification extends \Google\Model
21{
22  protected $appRestrictionsSchemaChangeEventType = AppRestrictionsSchemaChangeEvent::class;
23  protected $appRestrictionsSchemaChangeEventDataType = '';
24  protected $appUpdateEventType = AppUpdateEvent::class;
25  protected $appUpdateEventDataType = '';
26  protected $deviceReportUpdateEventType = DeviceReportUpdateEvent::class;
27  protected $deviceReportUpdateEventDataType = '';
28  /**
29   * @var string
30   */
31  public $enterpriseId;
32  protected $installFailureEventType = InstallFailureEvent::class;
33  protected $installFailureEventDataType = '';
34  protected $newDeviceEventType = NewDeviceEvent::class;
35  protected $newDeviceEventDataType = '';
36  protected $newPermissionsEventType = NewPermissionsEvent::class;
37  protected $newPermissionsEventDataType = '';
38  /**
39   * @var string
40   */
41  public $notificationType;
42  protected $productApprovalEventType = ProductApprovalEvent::class;
43  protected $productApprovalEventDataType = '';
44  protected $productAvailabilityChangeEventType = ProductAvailabilityChangeEvent::class;
45  protected $productAvailabilityChangeEventDataType = '';
46  /**
47   * @var string
48   */
49  public $timestampMillis;
50
51  /**
52   * @param AppRestrictionsSchemaChangeEvent
53   */
54  public function setAppRestrictionsSchemaChangeEvent(AppRestrictionsSchemaChangeEvent $appRestrictionsSchemaChangeEvent)
55  {
56    $this->appRestrictionsSchemaChangeEvent = $appRestrictionsSchemaChangeEvent;
57  }
58  /**
59   * @return AppRestrictionsSchemaChangeEvent
60   */
61  public function getAppRestrictionsSchemaChangeEvent()
62  {
63    return $this->appRestrictionsSchemaChangeEvent;
64  }
65  /**
66   * @param AppUpdateEvent
67   */
68  public function setAppUpdateEvent(AppUpdateEvent $appUpdateEvent)
69  {
70    $this->appUpdateEvent = $appUpdateEvent;
71  }
72  /**
73   * @return AppUpdateEvent
74   */
75  public function getAppUpdateEvent()
76  {
77    return $this->appUpdateEvent;
78  }
79  /**
80   * @param DeviceReportUpdateEvent
81   */
82  public function setDeviceReportUpdateEvent(DeviceReportUpdateEvent $deviceReportUpdateEvent)
83  {
84    $this->deviceReportUpdateEvent = $deviceReportUpdateEvent;
85  }
86  /**
87   * @return DeviceReportUpdateEvent
88   */
89  public function getDeviceReportUpdateEvent()
90  {
91    return $this->deviceReportUpdateEvent;
92  }
93  /**
94   * @param string
95   */
96  public function setEnterpriseId($enterpriseId)
97  {
98    $this->enterpriseId = $enterpriseId;
99  }
100  /**
101   * @return string
102   */
103  public function getEnterpriseId()
104  {
105    return $this->enterpriseId;
106  }
107  /**
108   * @param InstallFailureEvent
109   */
110  public function setInstallFailureEvent(InstallFailureEvent $installFailureEvent)
111  {
112    $this->installFailureEvent = $installFailureEvent;
113  }
114  /**
115   * @return InstallFailureEvent
116   */
117  public function getInstallFailureEvent()
118  {
119    return $this->installFailureEvent;
120  }
121  /**
122   * @param NewDeviceEvent
123   */
124  public function setNewDeviceEvent(NewDeviceEvent $newDeviceEvent)
125  {
126    $this->newDeviceEvent = $newDeviceEvent;
127  }
128  /**
129   * @return NewDeviceEvent
130   */
131  public function getNewDeviceEvent()
132  {
133    return $this->newDeviceEvent;
134  }
135  /**
136   * @param NewPermissionsEvent
137   */
138  public function setNewPermissionsEvent(NewPermissionsEvent $newPermissionsEvent)
139  {
140    $this->newPermissionsEvent = $newPermissionsEvent;
141  }
142  /**
143   * @return NewPermissionsEvent
144   */
145  public function getNewPermissionsEvent()
146  {
147    return $this->newPermissionsEvent;
148  }
149  /**
150   * @param string
151   */
152  public function setNotificationType($notificationType)
153  {
154    $this->notificationType = $notificationType;
155  }
156  /**
157   * @return string
158   */
159  public function getNotificationType()
160  {
161    return $this->notificationType;
162  }
163  /**
164   * @param ProductApprovalEvent
165   */
166  public function setProductApprovalEvent(ProductApprovalEvent $productApprovalEvent)
167  {
168    $this->productApprovalEvent = $productApprovalEvent;
169  }
170  /**
171   * @return ProductApprovalEvent
172   */
173  public function getProductApprovalEvent()
174  {
175    return $this->productApprovalEvent;
176  }
177  /**
178   * @param ProductAvailabilityChangeEvent
179   */
180  public function setProductAvailabilityChangeEvent(ProductAvailabilityChangeEvent $productAvailabilityChangeEvent)
181  {
182    $this->productAvailabilityChangeEvent = $productAvailabilityChangeEvent;
183  }
184  /**
185   * @return ProductAvailabilityChangeEvent
186   */
187  public function getProductAvailabilityChangeEvent()
188  {
189    return $this->productAvailabilityChangeEvent;
190  }
191  /**
192   * @param string
193   */
194  public function setTimestampMillis($timestampMillis)
195  {
196    $this->timestampMillis = $timestampMillis;
197  }
198  /**
199   * @return string
200   */
201  public function getTimestampMillis()
202  {
203    return $this->timestampMillis;
204  }
205}
206
207// Adding a class alias for backwards compatibility with the previous class name.
208class_alias(Notification::class, 'Google_Service_AndroidEnterprise_Notification');
209