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\BigQueryDataTransfer; 19 20class DataSourceParameter extends \Google\Collection 21{ 22 protected $collection_key = 'fields'; 23 /** 24 * @var string[] 25 */ 26 public $allowedValues; 27 /** 28 * @var bool 29 */ 30 public $deprecated; 31 /** 32 * @var string 33 */ 34 public $description; 35 /** 36 * @var string 37 */ 38 public $displayName; 39 protected $fieldsType = DataSourceParameter::class; 40 protected $fieldsDataType = 'array'; 41 /** 42 * @var bool 43 */ 44 public $immutable; 45 public $maxValue; 46 public $minValue; 47 /** 48 * @var string 49 */ 50 public $paramId; 51 /** 52 * @var bool 53 */ 54 public $recurse; 55 /** 56 * @var bool 57 */ 58 public $repeated; 59 /** 60 * @var bool 61 */ 62 public $required; 63 /** 64 * @var string 65 */ 66 public $type; 67 /** 68 * @var string 69 */ 70 public $validationDescription; 71 /** 72 * @var string 73 */ 74 public $validationHelpUrl; 75 /** 76 * @var string 77 */ 78 public $validationRegex; 79 80 /** 81 * @param string[] 82 */ 83 public function setAllowedValues($allowedValues) 84 { 85 $this->allowedValues = $allowedValues; 86 } 87 /** 88 * @return string[] 89 */ 90 public function getAllowedValues() 91 { 92 return $this->allowedValues; 93 } 94 /** 95 * @param bool 96 */ 97 public function setDeprecated($deprecated) 98 { 99 $this->deprecated = $deprecated; 100 } 101 /** 102 * @return bool 103 */ 104 public function getDeprecated() 105 { 106 return $this->deprecated; 107 } 108 /** 109 * @param string 110 */ 111 public function setDescription($description) 112 { 113 $this->description = $description; 114 } 115 /** 116 * @return string 117 */ 118 public function getDescription() 119 { 120 return $this->description; 121 } 122 /** 123 * @param string 124 */ 125 public function setDisplayName($displayName) 126 { 127 $this->displayName = $displayName; 128 } 129 /** 130 * @return string 131 */ 132 public function getDisplayName() 133 { 134 return $this->displayName; 135 } 136 /** 137 * @param DataSourceParameter[] 138 */ 139 public function setFields($fields) 140 { 141 $this->fields = $fields; 142 } 143 /** 144 * @return DataSourceParameter[] 145 */ 146 public function getFields() 147 { 148 return $this->fields; 149 } 150 /** 151 * @param bool 152 */ 153 public function setImmutable($immutable) 154 { 155 $this->immutable = $immutable; 156 } 157 /** 158 * @return bool 159 */ 160 public function getImmutable() 161 { 162 return $this->immutable; 163 } 164 public function setMaxValue($maxValue) 165 { 166 $this->maxValue = $maxValue; 167 } 168 public function getMaxValue() 169 { 170 return $this->maxValue; 171 } 172 public function setMinValue($minValue) 173 { 174 $this->minValue = $minValue; 175 } 176 public function getMinValue() 177 { 178 return $this->minValue; 179 } 180 /** 181 * @param string 182 */ 183 public function setParamId($paramId) 184 { 185 $this->paramId = $paramId; 186 } 187 /** 188 * @return string 189 */ 190 public function getParamId() 191 { 192 return $this->paramId; 193 } 194 /** 195 * @param bool 196 */ 197 public function setRecurse($recurse) 198 { 199 $this->recurse = $recurse; 200 } 201 /** 202 * @return bool 203 */ 204 public function getRecurse() 205 { 206 return $this->recurse; 207 } 208 /** 209 * @param bool 210 */ 211 public function setRepeated($repeated) 212 { 213 $this->repeated = $repeated; 214 } 215 /** 216 * @return bool 217 */ 218 public function getRepeated() 219 { 220 return $this->repeated; 221 } 222 /** 223 * @param bool 224 */ 225 public function setRequired($required) 226 { 227 $this->required = $required; 228 } 229 /** 230 * @return bool 231 */ 232 public function getRequired() 233 { 234 return $this->required; 235 } 236 /** 237 * @param string 238 */ 239 public function setType($type) 240 { 241 $this->type = $type; 242 } 243 /** 244 * @return string 245 */ 246 public function getType() 247 { 248 return $this->type; 249 } 250 /** 251 * @param string 252 */ 253 public function setValidationDescription($validationDescription) 254 { 255 $this->validationDescription = $validationDescription; 256 } 257 /** 258 * @return string 259 */ 260 public function getValidationDescription() 261 { 262 return $this->validationDescription; 263 } 264 /** 265 * @param string 266 */ 267 public function setValidationHelpUrl($validationHelpUrl) 268 { 269 $this->validationHelpUrl = $validationHelpUrl; 270 } 271 /** 272 * @return string 273 */ 274 public function getValidationHelpUrl() 275 { 276 return $this->validationHelpUrl; 277 } 278 /** 279 * @param string 280 */ 281 public function setValidationRegex($validationRegex) 282 { 283 $this->validationRegex = $validationRegex; 284 } 285 /** 286 * @return string 287 */ 288 public function getValidationRegex() 289 { 290 return $this->validationRegex; 291 } 292} 293 294// Adding a class alias for backwards compatibility with the previous class name. 295class_alias(DataSourceParameter::class, 'Google_Service_BigQueryDataTransfer_DataSourceParameter'); 296