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\Datastream;
19
20class OracleColumn extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $column;
26  /**
27   * @var string
28   */
29  public $dataType;
30  /**
31   * @var string
32   */
33  public $encoding;
34  /**
35   * @var int
36   */
37  public $length;
38  /**
39   * @var bool
40   */
41  public $nullable;
42  /**
43   * @var int
44   */
45  public $ordinalPosition;
46  /**
47   * @var int
48   */
49  public $precision;
50  /**
51   * @var bool
52   */
53  public $primaryKey;
54  /**
55   * @var int
56   */
57  public $scale;
58
59  /**
60   * @param string
61   */
62  public function setColumn($column)
63  {
64    $this->column = $column;
65  }
66  /**
67   * @return string
68   */
69  public function getColumn()
70  {
71    return $this->column;
72  }
73  /**
74   * @param string
75   */
76  public function setDataType($dataType)
77  {
78    $this->dataType = $dataType;
79  }
80  /**
81   * @return string
82   */
83  public function getDataType()
84  {
85    return $this->dataType;
86  }
87  /**
88   * @param string
89   */
90  public function setEncoding($encoding)
91  {
92    $this->encoding = $encoding;
93  }
94  /**
95   * @return string
96   */
97  public function getEncoding()
98  {
99    return $this->encoding;
100  }
101  /**
102   * @param int
103   */
104  public function setLength($length)
105  {
106    $this->length = $length;
107  }
108  /**
109   * @return int
110   */
111  public function getLength()
112  {
113    return $this->length;
114  }
115  /**
116   * @param bool
117   */
118  public function setNullable($nullable)
119  {
120    $this->nullable = $nullable;
121  }
122  /**
123   * @return bool
124   */
125  public function getNullable()
126  {
127    return $this->nullable;
128  }
129  /**
130   * @param int
131   */
132  public function setOrdinalPosition($ordinalPosition)
133  {
134    $this->ordinalPosition = $ordinalPosition;
135  }
136  /**
137   * @return int
138   */
139  public function getOrdinalPosition()
140  {
141    return $this->ordinalPosition;
142  }
143  /**
144   * @param int
145   */
146  public function setPrecision($precision)
147  {
148    $this->precision = $precision;
149  }
150  /**
151   * @return int
152   */
153  public function getPrecision()
154  {
155    return $this->precision;
156  }
157  /**
158   * @param bool
159   */
160  public function setPrimaryKey($primaryKey)
161  {
162    $this->primaryKey = $primaryKey;
163  }
164  /**
165   * @return bool
166   */
167  public function getPrimaryKey()
168  {
169    return $this->primaryKey;
170  }
171  /**
172   * @param int
173   */
174  public function setScale($scale)
175  {
176    $this->scale = $scale;
177  }
178  /**
179   * @return int
180   */
181  public function getScale()
182  {
183    return $this->scale;
184  }
185}
186
187// Adding a class alias for backwards compatibility with the previous class name.
188class_alias(OracleColumn::class, 'Google_Service_Datastream_OracleColumn');
189