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 ValueTransformation extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $applyHashType = ApplyHash::class;
|
---|
23 | protected $applyHashDataType = '';
|
---|
24 | protected $assignMaxValueType = DatamigrationEmpty::class;
|
---|
25 | protected $assignMaxValueDataType = '';
|
---|
26 | protected $assignMinValueType = DatamigrationEmpty::class;
|
---|
27 | protected $assignMinValueDataType = '';
|
---|
28 | protected $assignNullType = DatamigrationEmpty::class;
|
---|
29 | protected $assignNullDataType = '';
|
---|
30 | protected $assignSpecificValueType = AssignSpecificValue::class;
|
---|
31 | protected $assignSpecificValueDataType = '';
|
---|
32 | protected $doubleComparisonType = DoubleComparisonFilter::class;
|
---|
33 | protected $doubleComparisonDataType = '';
|
---|
34 | protected $intComparisonType = IntComparisonFilter::class;
|
---|
35 | protected $intComparisonDataType = '';
|
---|
36 | protected $isNullType = DatamigrationEmpty::class;
|
---|
37 | protected $isNullDataType = '';
|
---|
38 | protected $roundScaleType = RoundToScale::class;
|
---|
39 | protected $roundScaleDataType = '';
|
---|
40 | protected $valueListType = ValueListFilter::class;
|
---|
41 | protected $valueListDataType = '';
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * @param ApplyHash
|
---|
45 | */
|
---|
46 | public function setApplyHash(ApplyHash $applyHash)
|
---|
47 | {
|
---|
48 | $this->applyHash = $applyHash;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @return ApplyHash
|
---|
52 | */
|
---|
53 | public function getApplyHash()
|
---|
54 | {
|
---|
55 | return $this->applyHash;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @param DatamigrationEmpty
|
---|
59 | */
|
---|
60 | public function setAssignMaxValue(DatamigrationEmpty $assignMaxValue)
|
---|
61 | {
|
---|
62 | $this->assignMaxValue = $assignMaxValue;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return DatamigrationEmpty
|
---|
66 | */
|
---|
67 | public function getAssignMaxValue()
|
---|
68 | {
|
---|
69 | return $this->assignMaxValue;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param DatamigrationEmpty
|
---|
73 | */
|
---|
74 | public function setAssignMinValue(DatamigrationEmpty $assignMinValue)
|
---|
75 | {
|
---|
76 | $this->assignMinValue = $assignMinValue;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return DatamigrationEmpty
|
---|
80 | */
|
---|
81 | public function getAssignMinValue()
|
---|
82 | {
|
---|
83 | return $this->assignMinValue;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param DatamigrationEmpty
|
---|
87 | */
|
---|
88 | public function setAssignNull(DatamigrationEmpty $assignNull)
|
---|
89 | {
|
---|
90 | $this->assignNull = $assignNull;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return DatamigrationEmpty
|
---|
94 | */
|
---|
95 | public function getAssignNull()
|
---|
96 | {
|
---|
97 | return $this->assignNull;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param AssignSpecificValue
|
---|
101 | */
|
---|
102 | public function setAssignSpecificValue(AssignSpecificValue $assignSpecificValue)
|
---|
103 | {
|
---|
104 | $this->assignSpecificValue = $assignSpecificValue;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return AssignSpecificValue
|
---|
108 | */
|
---|
109 | public function getAssignSpecificValue()
|
---|
110 | {
|
---|
111 | return $this->assignSpecificValue;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param DoubleComparisonFilter
|
---|
115 | */
|
---|
116 | public function setDoubleComparison(DoubleComparisonFilter $doubleComparison)
|
---|
117 | {
|
---|
118 | $this->doubleComparison = $doubleComparison;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return DoubleComparisonFilter
|
---|
122 | */
|
---|
123 | public function getDoubleComparison()
|
---|
124 | {
|
---|
125 | return $this->doubleComparison;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param IntComparisonFilter
|
---|
129 | */
|
---|
130 | public function setIntComparison(IntComparisonFilter $intComparison)
|
---|
131 | {
|
---|
132 | $this->intComparison = $intComparison;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return IntComparisonFilter
|
---|
136 | */
|
---|
137 | public function getIntComparison()
|
---|
138 | {
|
---|
139 | return $this->intComparison;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @param DatamigrationEmpty
|
---|
143 | */
|
---|
144 | public function setIsNull(DatamigrationEmpty $isNull)
|
---|
145 | {
|
---|
146 | $this->isNull = $isNull;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @return DatamigrationEmpty
|
---|
150 | */
|
---|
151 | public function getIsNull()
|
---|
152 | {
|
---|
153 | return $this->isNull;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @param RoundToScale
|
---|
157 | */
|
---|
158 | public function setRoundScale(RoundToScale $roundScale)
|
---|
159 | {
|
---|
160 | $this->roundScale = $roundScale;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @return RoundToScale
|
---|
164 | */
|
---|
165 | public function getRoundScale()
|
---|
166 | {
|
---|
167 | return $this->roundScale;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @param ValueListFilter
|
---|
171 | */
|
---|
172 | public function setValueList(ValueListFilter $valueList)
|
---|
173 | {
|
---|
174 | $this->valueList = $valueList;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @return ValueListFilter
|
---|
178 | */
|
---|
179 | public function getValueList()
|
---|
180 | {
|
---|
181 | return $this->valueList;
|
---|
182 | }
|
---|
183 | }
|
---|
184 |
|
---|
185 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
186 | class_alias(ValueTransformation::class, 'Google_Service_DatabaseMigrationService_ValueTransformation');
|
---|