[e3d4e0a] | 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\Aiplatform;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudAiplatformV1Schema extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'required';
|
---|
| 23 | protected $anyOfType = GoogleCloudAiplatformV1Schema::class;
|
---|
| 24 | protected $anyOfDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var array
|
---|
| 27 | */
|
---|
| 28 | public $default;
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $description;
|
---|
| 33 | /**
|
---|
| 34 | * @var string[]
|
---|
| 35 | */
|
---|
| 36 | public $enum;
|
---|
| 37 | /**
|
---|
| 38 | * @var array
|
---|
| 39 | */
|
---|
| 40 | public $example;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $format;
|
---|
| 45 | protected $itemsType = GoogleCloudAiplatformV1Schema::class;
|
---|
| 46 | protected $itemsDataType = '';
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $maxItems;
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $maxLength;
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $maxProperties;
|
---|
| 59 | public $maximum;
|
---|
| 60 | /**
|
---|
| 61 | * @var string
|
---|
| 62 | */
|
---|
| 63 | public $minItems;
|
---|
| 64 | /**
|
---|
| 65 | * @var string
|
---|
| 66 | */
|
---|
| 67 | public $minLength;
|
---|
| 68 | /**
|
---|
| 69 | * @var string
|
---|
| 70 | */
|
---|
| 71 | public $minProperties;
|
---|
| 72 | public $minimum;
|
---|
| 73 | /**
|
---|
| 74 | * @var bool
|
---|
| 75 | */
|
---|
| 76 | public $nullable;
|
---|
| 77 | /**
|
---|
| 78 | * @var string
|
---|
| 79 | */
|
---|
| 80 | public $pattern;
|
---|
| 81 | protected $propertiesType = GoogleCloudAiplatformV1Schema::class;
|
---|
| 82 | protected $propertiesDataType = 'map';
|
---|
| 83 | /**
|
---|
| 84 | * @var string[]
|
---|
| 85 | */
|
---|
| 86 | public $propertyOrdering;
|
---|
| 87 | /**
|
---|
| 88 | * @var string[]
|
---|
| 89 | */
|
---|
| 90 | public $required;
|
---|
| 91 | /**
|
---|
| 92 | * @var string
|
---|
| 93 | */
|
---|
| 94 | public $title;
|
---|
| 95 | /**
|
---|
| 96 | * @var string
|
---|
| 97 | */
|
---|
| 98 | public $type;
|
---|
| 99 |
|
---|
| 100 | /**
|
---|
| 101 | * @param GoogleCloudAiplatformV1Schema[]
|
---|
| 102 | */
|
---|
| 103 | public function setAnyOf($anyOf)
|
---|
| 104 | {
|
---|
| 105 | $this->anyOf = $anyOf;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @return GoogleCloudAiplatformV1Schema[]
|
---|
| 109 | */
|
---|
| 110 | public function getAnyOf()
|
---|
| 111 | {
|
---|
| 112 | return $this->anyOf;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @param array
|
---|
| 116 | */
|
---|
| 117 | public function setDefault($default)
|
---|
| 118 | {
|
---|
| 119 | $this->default = $default;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @return array
|
---|
| 123 | */
|
---|
| 124 | public function getDefault()
|
---|
| 125 | {
|
---|
| 126 | return $this->default;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @param string
|
---|
| 130 | */
|
---|
| 131 | public function setDescription($description)
|
---|
| 132 | {
|
---|
| 133 | $this->description = $description;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @return string
|
---|
| 137 | */
|
---|
| 138 | public function getDescription()
|
---|
| 139 | {
|
---|
| 140 | return $this->description;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @param string[]
|
---|
| 144 | */
|
---|
| 145 | public function setEnum($enum)
|
---|
| 146 | {
|
---|
| 147 | $this->enum = $enum;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @return string[]
|
---|
| 151 | */
|
---|
| 152 | public function getEnum()
|
---|
| 153 | {
|
---|
| 154 | return $this->enum;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @param array
|
---|
| 158 | */
|
---|
| 159 | public function setExample($example)
|
---|
| 160 | {
|
---|
| 161 | $this->example = $example;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @return array
|
---|
| 165 | */
|
---|
| 166 | public function getExample()
|
---|
| 167 | {
|
---|
| 168 | return $this->example;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @param string
|
---|
| 172 | */
|
---|
| 173 | public function setFormat($format)
|
---|
| 174 | {
|
---|
| 175 | $this->format = $format;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @return string
|
---|
| 179 | */
|
---|
| 180 | public function getFormat()
|
---|
| 181 | {
|
---|
| 182 | return $this->format;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @param GoogleCloudAiplatformV1Schema
|
---|
| 186 | */
|
---|
| 187 | public function setItems(GoogleCloudAiplatformV1Schema $items)
|
---|
| 188 | {
|
---|
| 189 | $this->items = $items;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @return GoogleCloudAiplatformV1Schema
|
---|
| 193 | */
|
---|
| 194 | public function getItems()
|
---|
| 195 | {
|
---|
| 196 | return $this->items;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @param string
|
---|
| 200 | */
|
---|
| 201 | public function setMaxItems($maxItems)
|
---|
| 202 | {
|
---|
| 203 | $this->maxItems = $maxItems;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @return string
|
---|
| 207 | */
|
---|
| 208 | public function getMaxItems()
|
---|
| 209 | {
|
---|
| 210 | return $this->maxItems;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @param string
|
---|
| 214 | */
|
---|
| 215 | public function setMaxLength($maxLength)
|
---|
| 216 | {
|
---|
| 217 | $this->maxLength = $maxLength;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @return string
|
---|
| 221 | */
|
---|
| 222 | public function getMaxLength()
|
---|
| 223 | {
|
---|
| 224 | return $this->maxLength;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @param string
|
---|
| 228 | */
|
---|
| 229 | public function setMaxProperties($maxProperties)
|
---|
| 230 | {
|
---|
| 231 | $this->maxProperties = $maxProperties;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @return string
|
---|
| 235 | */
|
---|
| 236 | public function getMaxProperties()
|
---|
| 237 | {
|
---|
| 238 | return $this->maxProperties;
|
---|
| 239 | }
|
---|
| 240 | public function setMaximum($maximum)
|
---|
| 241 | {
|
---|
| 242 | $this->maximum = $maximum;
|
---|
| 243 | }
|
---|
| 244 | public function getMaximum()
|
---|
| 245 | {
|
---|
| 246 | return $this->maximum;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @param string
|
---|
| 250 | */
|
---|
| 251 | public function setMinItems($minItems)
|
---|
| 252 | {
|
---|
| 253 | $this->minItems = $minItems;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @return string
|
---|
| 257 | */
|
---|
| 258 | public function getMinItems()
|
---|
| 259 | {
|
---|
| 260 | return $this->minItems;
|
---|
| 261 | }
|
---|
| 262 | /**
|
---|
| 263 | * @param string
|
---|
| 264 | */
|
---|
| 265 | public function setMinLength($minLength)
|
---|
| 266 | {
|
---|
| 267 | $this->minLength = $minLength;
|
---|
| 268 | }
|
---|
| 269 | /**
|
---|
| 270 | * @return string
|
---|
| 271 | */
|
---|
| 272 | public function getMinLength()
|
---|
| 273 | {
|
---|
| 274 | return $this->minLength;
|
---|
| 275 | }
|
---|
| 276 | /**
|
---|
| 277 | * @param string
|
---|
| 278 | */
|
---|
| 279 | public function setMinProperties($minProperties)
|
---|
| 280 | {
|
---|
| 281 | $this->minProperties = $minProperties;
|
---|
| 282 | }
|
---|
| 283 | /**
|
---|
| 284 | * @return string
|
---|
| 285 | */
|
---|
| 286 | public function getMinProperties()
|
---|
| 287 | {
|
---|
| 288 | return $this->minProperties;
|
---|
| 289 | }
|
---|
| 290 | public function setMinimum($minimum)
|
---|
| 291 | {
|
---|
| 292 | $this->minimum = $minimum;
|
---|
| 293 | }
|
---|
| 294 | public function getMinimum()
|
---|
| 295 | {
|
---|
| 296 | return $this->minimum;
|
---|
| 297 | }
|
---|
| 298 | /**
|
---|
| 299 | * @param bool
|
---|
| 300 | */
|
---|
| 301 | public function setNullable($nullable)
|
---|
| 302 | {
|
---|
| 303 | $this->nullable = $nullable;
|
---|
| 304 | }
|
---|
| 305 | /**
|
---|
| 306 | * @return bool
|
---|
| 307 | */
|
---|
| 308 | public function getNullable()
|
---|
| 309 | {
|
---|
| 310 | return $this->nullable;
|
---|
| 311 | }
|
---|
| 312 | /**
|
---|
| 313 | * @param string
|
---|
| 314 | */
|
---|
| 315 | public function setPattern($pattern)
|
---|
| 316 | {
|
---|
| 317 | $this->pattern = $pattern;
|
---|
| 318 | }
|
---|
| 319 | /**
|
---|
| 320 | * @return string
|
---|
| 321 | */
|
---|
| 322 | public function getPattern()
|
---|
| 323 | {
|
---|
| 324 | return $this->pattern;
|
---|
| 325 | }
|
---|
| 326 | /**
|
---|
| 327 | * @param GoogleCloudAiplatformV1Schema[]
|
---|
| 328 | */
|
---|
| 329 | public function setProperties($properties)
|
---|
| 330 | {
|
---|
| 331 | $this->properties = $properties;
|
---|
| 332 | }
|
---|
| 333 | /**
|
---|
| 334 | * @return GoogleCloudAiplatformV1Schema[]
|
---|
| 335 | */
|
---|
| 336 | public function getProperties()
|
---|
| 337 | {
|
---|
| 338 | return $this->properties;
|
---|
| 339 | }
|
---|
| 340 | /**
|
---|
| 341 | * @param string[]
|
---|
| 342 | */
|
---|
| 343 | public function setPropertyOrdering($propertyOrdering)
|
---|
| 344 | {
|
---|
| 345 | $this->propertyOrdering = $propertyOrdering;
|
---|
| 346 | }
|
---|
| 347 | /**
|
---|
| 348 | * @return string[]
|
---|
| 349 | */
|
---|
| 350 | public function getPropertyOrdering()
|
---|
| 351 | {
|
---|
| 352 | return $this->propertyOrdering;
|
---|
| 353 | }
|
---|
| 354 | /**
|
---|
| 355 | * @param string[]
|
---|
| 356 | */
|
---|
| 357 | public function setRequired($required)
|
---|
| 358 | {
|
---|
| 359 | $this->required = $required;
|
---|
| 360 | }
|
---|
| 361 | /**
|
---|
| 362 | * @return string[]
|
---|
| 363 | */
|
---|
| 364 | public function getRequired()
|
---|
| 365 | {
|
---|
| 366 | return $this->required;
|
---|
| 367 | }
|
---|
| 368 | /**
|
---|
| 369 | * @param string
|
---|
| 370 | */
|
---|
| 371 | public function setTitle($title)
|
---|
| 372 | {
|
---|
| 373 | $this->title = $title;
|
---|
| 374 | }
|
---|
| 375 | /**
|
---|
| 376 | * @return string
|
---|
| 377 | */
|
---|
| 378 | public function getTitle()
|
---|
| 379 | {
|
---|
| 380 | return $this->title;
|
---|
| 381 | }
|
---|
| 382 | /**
|
---|
| 383 | * @param string
|
---|
| 384 | */
|
---|
| 385 | public function setType($type)
|
---|
| 386 | {
|
---|
| 387 | $this->type = $type;
|
---|
| 388 | }
|
---|
| 389 | /**
|
---|
| 390 | * @return string
|
---|
| 391 | */
|
---|
| 392 | public function getType()
|
---|
| 393 | {
|
---|
| 394 | return $this->type;
|
---|
| 395 | }
|
---|
| 396 | }
|
---|
| 397 |
|
---|
| 398 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 399 | class_alias(GoogleCloudAiplatformV1Schema::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Schema');
|
---|