|
| 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\Dataform; |
| 19 | + |
| 20 | +class ActionLoadConfig extends \Google\Model |
| 21 | +{ |
| 22 | + protected $appendType = ActionSimpleLoadMode::class; |
| 23 | + protected $appendDataType = ''; |
| 24 | + protected $maximumType = ActionIncrementalLoadMode::class; |
| 25 | + protected $maximumDataType = ''; |
| 26 | + protected $replaceType = ActionSimpleLoadMode::class; |
| 27 | + protected $replaceDataType = ''; |
| 28 | + protected $uniqueType = ActionIncrementalLoadMode::class; |
| 29 | + protected $uniqueDataType = ''; |
| 30 | + |
| 31 | + /** |
| 32 | + * @param ActionSimpleLoadMode |
| 33 | + */ |
| 34 | + public function setAppend(ActionSimpleLoadMode $append) |
| 35 | + { |
| 36 | + $this->append = $append; |
| 37 | + } |
| 38 | + /** |
| 39 | + * @return ActionSimpleLoadMode |
| 40 | + */ |
| 41 | + public function getAppend() |
| 42 | + { |
| 43 | + return $this->append; |
| 44 | + } |
| 45 | + /** |
| 46 | + * @param ActionIncrementalLoadMode |
| 47 | + */ |
| 48 | + public function setMaximum(ActionIncrementalLoadMode $maximum) |
| 49 | + { |
| 50 | + $this->maximum = $maximum; |
| 51 | + } |
| 52 | + /** |
| 53 | + * @return ActionIncrementalLoadMode |
| 54 | + */ |
| 55 | + public function getMaximum() |
| 56 | + { |
| 57 | + return $this->maximum; |
| 58 | + } |
| 59 | + /** |
| 60 | + * @param ActionSimpleLoadMode |
| 61 | + */ |
| 62 | + public function setReplace(ActionSimpleLoadMode $replace) |
| 63 | + { |
| 64 | + $this->replace = $replace; |
| 65 | + } |
| 66 | + /** |
| 67 | + * @return ActionSimpleLoadMode |
| 68 | + */ |
| 69 | + public function getReplace() |
| 70 | + { |
| 71 | + return $this->replace; |
| 72 | + } |
| 73 | + /** |
| 74 | + * @param ActionIncrementalLoadMode |
| 75 | + */ |
| 76 | + public function setUnique(ActionIncrementalLoadMode $unique) |
| 77 | + { |
| 78 | + $this->unique = $unique; |
| 79 | + } |
| 80 | + /** |
| 81 | + * @return ActionIncrementalLoadMode |
| 82 | + */ |
| 83 | + public function getUnique() |
| 84 | + { |
| 85 | + return $this->unique; |
| 86 | + } |
| 87 | +} |
| 88 | + |
| 89 | +// Adding a class alias for backwards compatibility with the previous class name. |
| 90 | +class_alias(ActionLoadConfig::class, 'Google_Service_Dataform_ActionLoadConfig'); |
0 commit comments