[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\Vision;
|
---|
| 19 |
|
---|
| 20 | class AsyncBatchAnnotateImagesRequest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'requests';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $labels;
|
---|
| 27 | protected $outputConfigType = OutputConfig::class;
|
---|
| 28 | protected $outputConfigDataType = '';
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $parent;
|
---|
| 33 | protected $requestsType = AnnotateImageRequest::class;
|
---|
| 34 | protected $requestsDataType = 'array';
|
---|
| 35 |
|
---|
| 36 | /**
|
---|
| 37 | * @param string[]
|
---|
| 38 | */
|
---|
| 39 | public function setLabels($labels)
|
---|
| 40 | {
|
---|
| 41 | $this->labels = $labels;
|
---|
| 42 | }
|
---|
| 43 | /**
|
---|
| 44 | * @return string[]
|
---|
| 45 | */
|
---|
| 46 | public function getLabels()
|
---|
| 47 | {
|
---|
| 48 | return $this->labels;
|
---|
| 49 | }
|
---|
| 50 | /**
|
---|
| 51 | * @param OutputConfig
|
---|
| 52 | */
|
---|
| 53 | public function setOutputConfig(OutputConfig $outputConfig)
|
---|
| 54 | {
|
---|
| 55 | $this->outputConfig = $outputConfig;
|
---|
| 56 | }
|
---|
| 57 | /**
|
---|
| 58 | * @return OutputConfig
|
---|
| 59 | */
|
---|
| 60 | public function getOutputConfig()
|
---|
| 61 | {
|
---|
| 62 | return $this->outputConfig;
|
---|
| 63 | }
|
---|
| 64 | /**
|
---|
| 65 | * @param string
|
---|
| 66 | */
|
---|
| 67 | public function setParent($parent)
|
---|
| 68 | {
|
---|
| 69 | $this->parent = $parent;
|
---|
| 70 | }
|
---|
| 71 | /**
|
---|
| 72 | * @return string
|
---|
| 73 | */
|
---|
| 74 | public function getParent()
|
---|
| 75 | {
|
---|
| 76 | return $this->parent;
|
---|
| 77 | }
|
---|
| 78 | /**
|
---|
| 79 | * @param AnnotateImageRequest[]
|
---|
| 80 | */
|
---|
| 81 | public function setRequests($requests)
|
---|
| 82 | {
|
---|
| 83 | $this->requests = $requests;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @return AnnotateImageRequest[]
|
---|
| 87 | */
|
---|
| 88 | public function getRequests()
|
---|
| 89 | {
|
---|
| 90 | return $this->requests;
|
---|
| 91 | }
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 95 | class_alias(AsyncBatchAnnotateImagesRequest::class, 'Google_Service_Vision_AsyncBatchAnnotateImagesRequest');
|
---|