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
18class Google_Service_Appsactivity_Event extends Google_Collection
19{
20  protected $collection_key = 'permissionChanges';
21  public $additionalEventTypes;
22  public $eventTimeMillis;
23  public $fromUserDeletion;
24  protected $moveType = 'Google_Service_Appsactivity_Move';
25  protected $moveDataType = '';
26  protected $permissionChangesType = 'Google_Service_Appsactivity_PermissionChange';
27  protected $permissionChangesDataType = 'array';
28  public $primaryEventType;
29  protected $renameType = 'Google_Service_Appsactivity_Rename';
30  protected $renameDataType = '';
31  protected $targetType = 'Google_Service_Appsactivity_Target';
32  protected $targetDataType = '';
33  protected $userType = 'Google_Service_Appsactivity_User';
34  protected $userDataType = '';
35
36  public function setAdditionalEventTypes($additionalEventTypes)
37  {
38    $this->additionalEventTypes = $additionalEventTypes;
39  }
40  public function getAdditionalEventTypes()
41  {
42    return $this->additionalEventTypes;
43  }
44  public function setEventTimeMillis($eventTimeMillis)
45  {
46    $this->eventTimeMillis = $eventTimeMillis;
47  }
48  public function getEventTimeMillis()
49  {
50    return $this->eventTimeMillis;
51  }
52  public function setFromUserDeletion($fromUserDeletion)
53  {
54    $this->fromUserDeletion = $fromUserDeletion;
55  }
56  public function getFromUserDeletion()
57  {
58    return $this->fromUserDeletion;
59  }
60  /**
61   * @param Google_Service_Appsactivity_Move
62   */
63  public function setMove(Google_Service_Appsactivity_Move $move)
64  {
65    $this->move = $move;
66  }
67  /**
68   * @return Google_Service_Appsactivity_Move
69   */
70  public function getMove()
71  {
72    return $this->move;
73  }
74  /**
75   * @param Google_Service_Appsactivity_PermissionChange
76   */
77  public function setPermissionChanges($permissionChanges)
78  {
79    $this->permissionChanges = $permissionChanges;
80  }
81  /**
82   * @return Google_Service_Appsactivity_PermissionChange
83   */
84  public function getPermissionChanges()
85  {
86    return $this->permissionChanges;
87  }
88  public function setPrimaryEventType($primaryEventType)
89  {
90    $this->primaryEventType = $primaryEventType;
91  }
92  public function getPrimaryEventType()
93  {
94    return $this->primaryEventType;
95  }
96  /**
97   * @param Google_Service_Appsactivity_Rename
98   */
99  public function setRename(Google_Service_Appsactivity_Rename $rename)
100  {
101    $this->rename = $rename;
102  }
103  /**
104   * @return Google_Service_Appsactivity_Rename
105   */
106  public function getRename()
107  {
108    return $this->rename;
109  }
110  /**
111   * @param Google_Service_Appsactivity_Target
112   */
113  public function setTarget(Google_Service_Appsactivity_Target $target)
114  {
115    $this->target = $target;
116  }
117  /**
118   * @return Google_Service_Appsactivity_Target
119   */
120  public function getTarget()
121  {
122    return $this->target;
123  }
124  /**
125   * @param Google_Service_Appsactivity_User
126   */
127  public function setUser(Google_Service_Appsactivity_User $user)
128  {
129    $this->user = $user;
130  }
131  /**
132   * @return Google_Service_Appsactivity_User
133   */
134  public function getUser()
135  {
136    return $this->user;
137  }
138}
139