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\DatabaseMigrationService;
|
---|
19 |
|
---|
20 | class SingleColumnChange extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'setValues';
|
---|
23 | /**
|
---|
24 | * @var bool
|
---|
25 | */
|
---|
26 | public $array;
|
---|
27 | /**
|
---|
28 | * @var int
|
---|
29 | */
|
---|
30 | public $arrayLength;
|
---|
31 | /**
|
---|
32 | * @var bool
|
---|
33 | */
|
---|
34 | public $autoGenerated;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $charset;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $collation;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $comment;
|
---|
47 | /**
|
---|
48 | * @var array[]
|
---|
49 | */
|
---|
50 | public $customFeatures;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $dataType;
|
---|
55 | /**
|
---|
56 | * @var int
|
---|
57 | */
|
---|
58 | public $fractionalSecondsPrecision;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $length;
|
---|
63 | /**
|
---|
64 | * @var bool
|
---|
65 | */
|
---|
66 | public $nullable;
|
---|
67 | /**
|
---|
68 | * @var int
|
---|
69 | */
|
---|
70 | public $precision;
|
---|
71 | /**
|
---|
72 | * @var int
|
---|
73 | */
|
---|
74 | public $scale;
|
---|
75 | /**
|
---|
76 | * @var string[]
|
---|
77 | */
|
---|
78 | public $setValues;
|
---|
79 | /**
|
---|
80 | * @var bool
|
---|
81 | */
|
---|
82 | public $udt;
|
---|
83 |
|
---|
84 | /**
|
---|
85 | * @param bool
|
---|
86 | */
|
---|
87 | public function setArray($array)
|
---|
88 | {
|
---|
89 | $this->array = $array;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return bool
|
---|
93 | */
|
---|
94 | public function getArray()
|
---|
95 | {
|
---|
96 | return $this->array;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param int
|
---|
100 | */
|
---|
101 | public function setArrayLength($arrayLength)
|
---|
102 | {
|
---|
103 | $this->arrayLength = $arrayLength;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return int
|
---|
107 | */
|
---|
108 | public function getArrayLength()
|
---|
109 | {
|
---|
110 | return $this->arrayLength;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param bool
|
---|
114 | */
|
---|
115 | public function setAutoGenerated($autoGenerated)
|
---|
116 | {
|
---|
117 | $this->autoGenerated = $autoGenerated;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return bool
|
---|
121 | */
|
---|
122 | public function getAutoGenerated()
|
---|
123 | {
|
---|
124 | return $this->autoGenerated;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param string
|
---|
128 | */
|
---|
129 | public function setCharset($charset)
|
---|
130 | {
|
---|
131 | $this->charset = $charset;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return string
|
---|
135 | */
|
---|
136 | public function getCharset()
|
---|
137 | {
|
---|
138 | return $this->charset;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param string
|
---|
142 | */
|
---|
143 | public function setCollation($collation)
|
---|
144 | {
|
---|
145 | $this->collation = $collation;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return string
|
---|
149 | */
|
---|
150 | public function getCollation()
|
---|
151 | {
|
---|
152 | return $this->collation;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param string
|
---|
156 | */
|
---|
157 | public function setComment($comment)
|
---|
158 | {
|
---|
159 | $this->comment = $comment;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return string
|
---|
163 | */
|
---|
164 | public function getComment()
|
---|
165 | {
|
---|
166 | return $this->comment;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param array[]
|
---|
170 | */
|
---|
171 | public function setCustomFeatures($customFeatures)
|
---|
172 | {
|
---|
173 | $this->customFeatures = $customFeatures;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return array[]
|
---|
177 | */
|
---|
178 | public function getCustomFeatures()
|
---|
179 | {
|
---|
180 | return $this->customFeatures;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param string
|
---|
184 | */
|
---|
185 | public function setDataType($dataType)
|
---|
186 | {
|
---|
187 | $this->dataType = $dataType;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return string
|
---|
191 | */
|
---|
192 | public function getDataType()
|
---|
193 | {
|
---|
194 | return $this->dataType;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param int
|
---|
198 | */
|
---|
199 | public function setFractionalSecondsPrecision($fractionalSecondsPrecision)
|
---|
200 | {
|
---|
201 | $this->fractionalSecondsPrecision = $fractionalSecondsPrecision;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return int
|
---|
205 | */
|
---|
206 | public function getFractionalSecondsPrecision()
|
---|
207 | {
|
---|
208 | return $this->fractionalSecondsPrecision;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param string
|
---|
212 | */
|
---|
213 | public function setLength($length)
|
---|
214 | {
|
---|
215 | $this->length = $length;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return string
|
---|
219 | */
|
---|
220 | public function getLength()
|
---|
221 | {
|
---|
222 | return $this->length;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param bool
|
---|
226 | */
|
---|
227 | public function setNullable($nullable)
|
---|
228 | {
|
---|
229 | $this->nullable = $nullable;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return bool
|
---|
233 | */
|
---|
234 | public function getNullable()
|
---|
235 | {
|
---|
236 | return $this->nullable;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param int
|
---|
240 | */
|
---|
241 | public function setPrecision($precision)
|
---|
242 | {
|
---|
243 | $this->precision = $precision;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return int
|
---|
247 | */
|
---|
248 | public function getPrecision()
|
---|
249 | {
|
---|
250 | return $this->precision;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param int
|
---|
254 | */
|
---|
255 | public function setScale($scale)
|
---|
256 | {
|
---|
257 | $this->scale = $scale;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return int
|
---|
261 | */
|
---|
262 | public function getScale()
|
---|
263 | {
|
---|
264 | return $this->scale;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param string[]
|
---|
268 | */
|
---|
269 | public function setSetValues($setValues)
|
---|
270 | {
|
---|
271 | $this->setValues = $setValues;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return string[]
|
---|
275 | */
|
---|
276 | public function getSetValues()
|
---|
277 | {
|
---|
278 | return $this->setValues;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @param bool
|
---|
282 | */
|
---|
283 | public function setUdt($udt)
|
---|
284 | {
|
---|
285 | $this->udt = $udt;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @return bool
|
---|
289 | */
|
---|
290 | public function getUdt()
|
---|
291 | {
|
---|
292 | return $this->udt;
|
---|
293 | }
|
---|
294 | }
|
---|
295 |
|
---|
296 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
297 | class_alias(SingleColumnChange::class, 'Google_Service_DatabaseMigrationService_SingleColumnChange');
|
---|