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