source: vendor/google/apiclient-services/src/DatabaseMigrationService/MappingRule.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 7.7 KB
Line 
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\DatabaseMigrationService;
19
20class MappingRule extends \Google\Model
21{
22 protected $conditionalColumnSetValueType = ConditionalColumnSetValue::class;
23 protected $conditionalColumnSetValueDataType = '';
24 protected $convertRowidColumnType = ConvertRowIdToColumn::class;
25 protected $convertRowidColumnDataType = '';
26 /**
27 * @var string
28 */
29 public $displayName;
30 protected $entityMoveType = EntityMove::class;
31 protected $entityMoveDataType = '';
32 protected $filterType = MappingRuleFilter::class;
33 protected $filterDataType = '';
34 protected $filterTableColumnsType = FilterTableColumns::class;
35 protected $filterTableColumnsDataType = '';
36 protected $multiColumnDataTypeChangeType = MultiColumnDatatypeChange::class;
37 protected $multiColumnDataTypeChangeDataType = '';
38 protected $multiEntityRenameType = MultiEntityRename::class;
39 protected $multiEntityRenameDataType = '';
40 /**
41 * @var string
42 */
43 public $name;
44 /**
45 * @var string
46 */
47 public $revisionCreateTime;
48 /**
49 * @var string
50 */
51 public $revisionId;
52 /**
53 * @var string
54 */
55 public $ruleOrder;
56 /**
57 * @var string
58 */
59 public $ruleScope;
60 protected $setTablePrimaryKeyType = SetTablePrimaryKey::class;
61 protected $setTablePrimaryKeyDataType = '';
62 protected $singleColumnChangeType = SingleColumnChange::class;
63 protected $singleColumnChangeDataType = '';
64 protected $singleEntityRenameType = SingleEntityRename::class;
65 protected $singleEntityRenameDataType = '';
66 protected $singlePackageChangeType = SinglePackageChange::class;
67 protected $singlePackageChangeDataType = '';
68 protected $sourceSqlChangeType = SourceSqlChange::class;
69 protected $sourceSqlChangeDataType = '';
70 /**
71 * @var string
72 */
73 public $state;
74
75 /**
76 * @param ConditionalColumnSetValue
77 */
78 public function setConditionalColumnSetValue(ConditionalColumnSetValue $conditionalColumnSetValue)
79 {
80 $this->conditionalColumnSetValue = $conditionalColumnSetValue;
81 }
82 /**
83 * @return ConditionalColumnSetValue
84 */
85 public function getConditionalColumnSetValue()
86 {
87 return $this->conditionalColumnSetValue;
88 }
89 /**
90 * @param ConvertRowIdToColumn
91 */
92 public function setConvertRowidColumn(ConvertRowIdToColumn $convertRowidColumn)
93 {
94 $this->convertRowidColumn = $convertRowidColumn;
95 }
96 /**
97 * @return ConvertRowIdToColumn
98 */
99 public function getConvertRowidColumn()
100 {
101 return $this->convertRowidColumn;
102 }
103 /**
104 * @param string
105 */
106 public function setDisplayName($displayName)
107 {
108 $this->displayName = $displayName;
109 }
110 /**
111 * @return string
112 */
113 public function getDisplayName()
114 {
115 return $this->displayName;
116 }
117 /**
118 * @param EntityMove
119 */
120 public function setEntityMove(EntityMove $entityMove)
121 {
122 $this->entityMove = $entityMove;
123 }
124 /**
125 * @return EntityMove
126 */
127 public function getEntityMove()
128 {
129 return $this->entityMove;
130 }
131 /**
132 * @param MappingRuleFilter
133 */
134 public function setFilter(MappingRuleFilter $filter)
135 {
136 $this->filter = $filter;
137 }
138 /**
139 * @return MappingRuleFilter
140 */
141 public function getFilter()
142 {
143 return $this->filter;
144 }
145 /**
146 * @param FilterTableColumns
147 */
148 public function setFilterTableColumns(FilterTableColumns $filterTableColumns)
149 {
150 $this->filterTableColumns = $filterTableColumns;
151 }
152 /**
153 * @return FilterTableColumns
154 */
155 public function getFilterTableColumns()
156 {
157 return $this->filterTableColumns;
158 }
159 /**
160 * @param MultiColumnDatatypeChange
161 */
162 public function setMultiColumnDataTypeChange(MultiColumnDatatypeChange $multiColumnDataTypeChange)
163 {
164 $this->multiColumnDataTypeChange = $multiColumnDataTypeChange;
165 }
166 /**
167 * @return MultiColumnDatatypeChange
168 */
169 public function getMultiColumnDataTypeChange()
170 {
171 return $this->multiColumnDataTypeChange;
172 }
173 /**
174 * @param MultiEntityRename
175 */
176 public function setMultiEntityRename(MultiEntityRename $multiEntityRename)
177 {
178 $this->multiEntityRename = $multiEntityRename;
179 }
180 /**
181 * @return MultiEntityRename
182 */
183 public function getMultiEntityRename()
184 {
185 return $this->multiEntityRename;
186 }
187 /**
188 * @param string
189 */
190 public function setName($name)
191 {
192 $this->name = $name;
193 }
194 /**
195 * @return string
196 */
197 public function getName()
198 {
199 return $this->name;
200 }
201 /**
202 * @param string
203 */
204 public function setRevisionCreateTime($revisionCreateTime)
205 {
206 $this->revisionCreateTime = $revisionCreateTime;
207 }
208 /**
209 * @return string
210 */
211 public function getRevisionCreateTime()
212 {
213 return $this->revisionCreateTime;
214 }
215 /**
216 * @param string
217 */
218 public function setRevisionId($revisionId)
219 {
220 $this->revisionId = $revisionId;
221 }
222 /**
223 * @return string
224 */
225 public function getRevisionId()
226 {
227 return $this->revisionId;
228 }
229 /**
230 * @param string
231 */
232 public function setRuleOrder($ruleOrder)
233 {
234 $this->ruleOrder = $ruleOrder;
235 }
236 /**
237 * @return string
238 */
239 public function getRuleOrder()
240 {
241 return $this->ruleOrder;
242 }
243 /**
244 * @param string
245 */
246 public function setRuleScope($ruleScope)
247 {
248 $this->ruleScope = $ruleScope;
249 }
250 /**
251 * @return string
252 */
253 public function getRuleScope()
254 {
255 return $this->ruleScope;
256 }
257 /**
258 * @param SetTablePrimaryKey
259 */
260 public function setSetTablePrimaryKey(SetTablePrimaryKey $setTablePrimaryKey)
261 {
262 $this->setTablePrimaryKey = $setTablePrimaryKey;
263 }
264 /**
265 * @return SetTablePrimaryKey
266 */
267 public function getSetTablePrimaryKey()
268 {
269 return $this->setTablePrimaryKey;
270 }
271 /**
272 * @param SingleColumnChange
273 */
274 public function setSingleColumnChange(SingleColumnChange $singleColumnChange)
275 {
276 $this->singleColumnChange = $singleColumnChange;
277 }
278 /**
279 * @return SingleColumnChange
280 */
281 public function getSingleColumnChange()
282 {
283 return $this->singleColumnChange;
284 }
285 /**
286 * @param SingleEntityRename
287 */
288 public function setSingleEntityRename(SingleEntityRename $singleEntityRename)
289 {
290 $this->singleEntityRename = $singleEntityRename;
291 }
292 /**
293 * @return SingleEntityRename
294 */
295 public function getSingleEntityRename()
296 {
297 return $this->singleEntityRename;
298 }
299 /**
300 * @param SinglePackageChange
301 */
302 public function setSinglePackageChange(SinglePackageChange $singlePackageChange)
303 {
304 $this->singlePackageChange = $singlePackageChange;
305 }
306 /**
307 * @return SinglePackageChange
308 */
309 public function getSinglePackageChange()
310 {
311 return $this->singlePackageChange;
312 }
313 /**
314 * @param SourceSqlChange
315 */
316 public function setSourceSqlChange(SourceSqlChange $sourceSqlChange)
317 {
318 $this->sourceSqlChange = $sourceSqlChange;
319 }
320 /**
321 * @return SourceSqlChange
322 */
323 public function getSourceSqlChange()
324 {
325 return $this->sourceSqlChange;
326 }
327 /**
328 * @param string
329 */
330 public function setState($state)
331 {
332 $this->state = $state;
333 }
334 /**
335 * @return string
336 */
337 public function getState()
338 {
339 return $this->state;
340 }
341}
342
343// Adding a class alias for backwards compatibility with the previous class name.
344class_alias(MappingRule::class, 'Google_Service_DatabaseMigrationService_MappingRule');
Note: See TracBrowser for help on using the repository browser.