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\DriveActivity;
19
20class ActionDetail extends \Google\Model
21{
22  protected $commentType = Comment::class;
23  protected $commentDataType = '';
24  protected $createType = Create::class;
25  protected $createDataType = '';
26  protected $deleteType = Delete::class;
27  protected $deleteDataType = '';
28  protected $dlpChangeType = DataLeakPreventionChange::class;
29  protected $dlpChangeDataType = '';
30  protected $editType = Edit::class;
31  protected $editDataType = '';
32  protected $moveType = Move::class;
33  protected $moveDataType = '';
34  protected $permissionChangeType = PermissionChange::class;
35  protected $permissionChangeDataType = '';
36  protected $referenceType = ApplicationReference::class;
37  protected $referenceDataType = '';
38  protected $renameType = Rename::class;
39  protected $renameDataType = '';
40  protected $restoreType = Restore::class;
41  protected $restoreDataType = '';
42  protected $settingsChangeType = SettingsChange::class;
43  protected $settingsChangeDataType = '';
44
45  /**
46   * @param Comment
47   */
48  public function setComment(Comment $comment)
49  {
50    $this->comment = $comment;
51  }
52  /**
53   * @return Comment
54   */
55  public function getComment()
56  {
57    return $this->comment;
58  }
59  /**
60   * @param Create
61   */
62  public function setCreate(Create $create)
63  {
64    $this->create = $create;
65  }
66  /**
67   * @return Create
68   */
69  public function getCreate()
70  {
71    return $this->create;
72  }
73  /**
74   * @param Delete
75   */
76  public function setDelete(Delete $delete)
77  {
78    $this->delete = $delete;
79  }
80  /**
81   * @return Delete
82   */
83  public function getDelete()
84  {
85    return $this->delete;
86  }
87  /**
88   * @param DataLeakPreventionChange
89   */
90  public function setDlpChange(DataLeakPreventionChange $dlpChange)
91  {
92    $this->dlpChange = $dlpChange;
93  }
94  /**
95   * @return DataLeakPreventionChange
96   */
97  public function getDlpChange()
98  {
99    return $this->dlpChange;
100  }
101  /**
102   * @param Edit
103   */
104  public function setEdit(Edit $edit)
105  {
106    $this->edit = $edit;
107  }
108  /**
109   * @return Edit
110   */
111  public function getEdit()
112  {
113    return $this->edit;
114  }
115  /**
116   * @param Move
117   */
118  public function setMove(Move $move)
119  {
120    $this->move = $move;
121  }
122  /**
123   * @return Move
124   */
125  public function getMove()
126  {
127    return $this->move;
128  }
129  /**
130   * @param PermissionChange
131   */
132  public function setPermissionChange(PermissionChange $permissionChange)
133  {
134    $this->permissionChange = $permissionChange;
135  }
136  /**
137   * @return PermissionChange
138   */
139  public function getPermissionChange()
140  {
141    return $this->permissionChange;
142  }
143  /**
144   * @param ApplicationReference
145   */
146  public function setReference(ApplicationReference $reference)
147  {
148    $this->reference = $reference;
149  }
150  /**
151   * @return ApplicationReference
152   */
153  public function getReference()
154  {
155    return $this->reference;
156  }
157  /**
158   * @param Rename
159   */
160  public function setRename(Rename $rename)
161  {
162    $this->rename = $rename;
163  }
164  /**
165   * @return Rename
166   */
167  public function getRename()
168  {
169    return $this->rename;
170  }
171  /**
172   * @param Restore
173   */
174  public function setRestore(Restore $restore)
175  {
176    $this->restore = $restore;
177  }
178  /**
179   * @return Restore
180   */
181  public function getRestore()
182  {
183    return $this->restore;
184  }
185  /**
186   * @param SettingsChange
187   */
188  public function setSettingsChange(SettingsChange $settingsChange)
189  {
190    $this->settingsChange = $settingsChange;
191  }
192  /**
193   * @return SettingsChange
194   */
195  public function getSettingsChange()
196  {
197    return $this->settingsChange;
198  }
199}
200
201// Adding a class alias for backwards compatibility with the previous class name.
202class_alias(ActionDetail::class, 'Google_Service_DriveActivity_ActionDetail');
203