source: vendor/google/apiclient-services/src/DatabaseMigrationService/ColumnEntity.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: 5.6 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 ColumnEntity 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 string
57 */
58 public $defaultValue;
59 /**
60 * @var int
61 */
62 public $fractionalSecondsPrecision;
63 /**
64 * @var string
65 */
66 public $length;
67 /**
68 * @var string
69 */
70 public $name;
71 /**
72 * @var bool
73 */
74 public $nullable;
75 /**
76 * @var int
77 */
78 public $ordinalPosition;
79 /**
80 * @var int
81 */
82 public $precision;
83 /**
84 * @var int
85 */
86 public $scale;
87 /**
88 * @var string[]
89 */
90 public $setValues;
91 /**
92 * @var bool
93 */
94 public $udt;
95
96 /**
97 * @param bool
98 */
99 public function setArray($array)
100 {
101 $this->array = $array;
102 }
103 /**
104 * @return bool
105 */
106 public function getArray()
107 {
108 return $this->array;
109 }
110 /**
111 * @param int
112 */
113 public function setArrayLength($arrayLength)
114 {
115 $this->arrayLength = $arrayLength;
116 }
117 /**
118 * @return int
119 */
120 public function getArrayLength()
121 {
122 return $this->arrayLength;
123 }
124 /**
125 * @param bool
126 */
127 public function setAutoGenerated($autoGenerated)
128 {
129 $this->autoGenerated = $autoGenerated;
130 }
131 /**
132 * @return bool
133 */
134 public function getAutoGenerated()
135 {
136 return $this->autoGenerated;
137 }
138 /**
139 * @param string
140 */
141 public function setCharset($charset)
142 {
143 $this->charset = $charset;
144 }
145 /**
146 * @return string
147 */
148 public function getCharset()
149 {
150 return $this->charset;
151 }
152 /**
153 * @param string
154 */
155 public function setCollation($collation)
156 {
157 $this->collation = $collation;
158 }
159 /**
160 * @return string
161 */
162 public function getCollation()
163 {
164 return $this->collation;
165 }
166 /**
167 * @param string
168 */
169 public function setComment($comment)
170 {
171 $this->comment = $comment;
172 }
173 /**
174 * @return string
175 */
176 public function getComment()
177 {
178 return $this->comment;
179 }
180 /**
181 * @param array[]
182 */
183 public function setCustomFeatures($customFeatures)
184 {
185 $this->customFeatures = $customFeatures;
186 }
187 /**
188 * @return array[]
189 */
190 public function getCustomFeatures()
191 {
192 return $this->customFeatures;
193 }
194 /**
195 * @param string
196 */
197 public function setDataType($dataType)
198 {
199 $this->dataType = $dataType;
200 }
201 /**
202 * @return string
203 */
204 public function getDataType()
205 {
206 return $this->dataType;
207 }
208 /**
209 * @param string
210 */
211 public function setDefaultValue($defaultValue)
212 {
213 $this->defaultValue = $defaultValue;
214 }
215 /**
216 * @return string
217 */
218 public function getDefaultValue()
219 {
220 return $this->defaultValue;
221 }
222 /**
223 * @param int
224 */
225 public function setFractionalSecondsPrecision($fractionalSecondsPrecision)
226 {
227 $this->fractionalSecondsPrecision = $fractionalSecondsPrecision;
228 }
229 /**
230 * @return int
231 */
232 public function getFractionalSecondsPrecision()
233 {
234 return $this->fractionalSecondsPrecision;
235 }
236 /**
237 * @param string
238 */
239 public function setLength($length)
240 {
241 $this->length = $length;
242 }
243 /**
244 * @return string
245 */
246 public function getLength()
247 {
248 return $this->length;
249 }
250 /**
251 * @param string
252 */
253 public function setName($name)
254 {
255 $this->name = $name;
256 }
257 /**
258 * @return string
259 */
260 public function getName()
261 {
262 return $this->name;
263 }
264 /**
265 * @param bool
266 */
267 public function setNullable($nullable)
268 {
269 $this->nullable = $nullable;
270 }
271 /**
272 * @return bool
273 */
274 public function getNullable()
275 {
276 return $this->nullable;
277 }
278 /**
279 * @param int
280 */
281 public function setOrdinalPosition($ordinalPosition)
282 {
283 $this->ordinalPosition = $ordinalPosition;
284 }
285 /**
286 * @return int
287 */
288 public function getOrdinalPosition()
289 {
290 return $this->ordinalPosition;
291 }
292 /**
293 * @param int
294 */
295 public function setPrecision($precision)
296 {
297 $this->precision = $precision;
298 }
299 /**
300 * @return int
301 */
302 public function getPrecision()
303 {
304 return $this->precision;
305 }
306 /**
307 * @param int
308 */
309 public function setScale($scale)
310 {
311 $this->scale = $scale;
312 }
313 /**
314 * @return int
315 */
316 public function getScale()
317 {
318 return $this->scale;
319 }
320 /**
321 * @param string[]
322 */
323 public function setSetValues($setValues)
324 {
325 $this->setValues = $setValues;
326 }
327 /**
328 * @return string[]
329 */
330 public function getSetValues()
331 {
332 return $this->setValues;
333 }
334 /**
335 * @param bool
336 */
337 public function setUdt($udt)
338 {
339 $this->udt = $udt;
340 }
341 /**
342 * @return bool
343 */
344 public function getUdt()
345 {
346 return $this->udt;
347 }
348}
349
350// Adding a class alias for backwards compatibility with the previous class name.
351class_alias(ColumnEntity::class, 'Google_Service_DatabaseMigrationService_ColumnEntity');
Note: See TracBrowser for help on using the repository browser.