[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\CloudAsset;
|
---|
| 19 |
|
---|
| 20 | class QueryAssetsResponse extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var bool
|
---|
| 24 | */
|
---|
| 25 | public $done;
|
---|
| 26 | protected $errorType = Status::class;
|
---|
| 27 | protected $errorDataType = '';
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $jobReference;
|
---|
| 32 | protected $outputConfigType = QueryAssetsOutputConfig::class;
|
---|
| 33 | protected $outputConfigDataType = '';
|
---|
| 34 | protected $queryResultType = QueryResult::class;
|
---|
| 35 | protected $queryResultDataType = '';
|
---|
| 36 |
|
---|
| 37 | /**
|
---|
| 38 | * @param bool
|
---|
| 39 | */
|
---|
| 40 | public function setDone($done)
|
---|
| 41 | {
|
---|
| 42 | $this->done = $done;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * @return bool
|
---|
| 46 | */
|
---|
| 47 | public function getDone()
|
---|
| 48 | {
|
---|
| 49 | return $this->done;
|
---|
| 50 | }
|
---|
| 51 | /**
|
---|
| 52 | * @param Status
|
---|
| 53 | */
|
---|
| 54 | public function setError(Status $error)
|
---|
| 55 | {
|
---|
| 56 | $this->error = $error;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @return Status
|
---|
| 60 | */
|
---|
| 61 | public function getError()
|
---|
| 62 | {
|
---|
| 63 | return $this->error;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @param string
|
---|
| 67 | */
|
---|
| 68 | public function setJobReference($jobReference)
|
---|
| 69 | {
|
---|
| 70 | $this->jobReference = $jobReference;
|
---|
| 71 | }
|
---|
| 72 | /**
|
---|
| 73 | * @return string
|
---|
| 74 | */
|
---|
| 75 | public function getJobReference()
|
---|
| 76 | {
|
---|
| 77 | return $this->jobReference;
|
---|
| 78 | }
|
---|
| 79 | /**
|
---|
| 80 | * @param QueryAssetsOutputConfig
|
---|
| 81 | */
|
---|
| 82 | public function setOutputConfig(QueryAssetsOutputConfig $outputConfig)
|
---|
| 83 | {
|
---|
| 84 | $this->outputConfig = $outputConfig;
|
---|
| 85 | }
|
---|
| 86 | /**
|
---|
| 87 | * @return QueryAssetsOutputConfig
|
---|
| 88 | */
|
---|
| 89 | public function getOutputConfig()
|
---|
| 90 | {
|
---|
| 91 | return $this->outputConfig;
|
---|
| 92 | }
|
---|
| 93 | /**
|
---|
| 94 | * @param QueryResult
|
---|
| 95 | */
|
---|
| 96 | public function setQueryResult(QueryResult $queryResult)
|
---|
| 97 | {
|
---|
| 98 | $this->queryResult = $queryResult;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @return QueryResult
|
---|
| 102 | */
|
---|
| 103 | public function getQueryResult()
|
---|
| 104 | {
|
---|
| 105 | return $this->queryResult;
|
---|
| 106 | }
|
---|
| 107 | }
|
---|
| 108 |
|
---|
| 109 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 110 | class_alias(QueryAssetsResponse::class, 'Google_Service_CloudAsset_QueryAssetsResponse');
|
---|