[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\DiscoveryEngine;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudDiscoveryengineV1betaAnswer extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'steps';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $answerSkippedReasons;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $answerText;
|
---|
| 31 | protected $citationsType = GoogleCloudDiscoveryengineV1betaAnswerCitation::class;
|
---|
| 32 | protected $citationsDataType = 'array';
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $completeTime;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $createTime;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $name;
|
---|
| 45 | protected $queryUnderstandingInfoType = GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo::class;
|
---|
| 46 | protected $queryUnderstandingInfoDataType = '';
|
---|
| 47 | protected $referencesType = GoogleCloudDiscoveryengineV1betaAnswerReference::class;
|
---|
| 48 | protected $referencesDataType = 'array';
|
---|
| 49 | /**
|
---|
| 50 | * @var string[]
|
---|
| 51 | */
|
---|
| 52 | public $relatedQuestions;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $state;
|
---|
| 57 | protected $stepsType = GoogleCloudDiscoveryengineV1betaAnswerStep::class;
|
---|
| 58 | protected $stepsDataType = 'array';
|
---|
| 59 |
|
---|
| 60 | /**
|
---|
| 61 | * @param string[]
|
---|
| 62 | */
|
---|
| 63 | public function setAnswerSkippedReasons($answerSkippedReasons)
|
---|
| 64 | {
|
---|
| 65 | $this->answerSkippedReasons = $answerSkippedReasons;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @return string[]
|
---|
| 69 | */
|
---|
| 70 | public function getAnswerSkippedReasons()
|
---|
| 71 | {
|
---|
| 72 | return $this->answerSkippedReasons;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @param string
|
---|
| 76 | */
|
---|
| 77 | public function setAnswerText($answerText)
|
---|
| 78 | {
|
---|
| 79 | $this->answerText = $answerText;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return string
|
---|
| 83 | */
|
---|
| 84 | public function getAnswerText()
|
---|
| 85 | {
|
---|
| 86 | return $this->answerText;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param GoogleCloudDiscoveryengineV1betaAnswerCitation[]
|
---|
| 90 | */
|
---|
| 91 | public function setCitations($citations)
|
---|
| 92 | {
|
---|
| 93 | $this->citations = $citations;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return GoogleCloudDiscoveryengineV1betaAnswerCitation[]
|
---|
| 97 | */
|
---|
| 98 | public function getCitations()
|
---|
| 99 | {
|
---|
| 100 | return $this->citations;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param string
|
---|
| 104 | */
|
---|
| 105 | public function setCompleteTime($completeTime)
|
---|
| 106 | {
|
---|
| 107 | $this->completeTime = $completeTime;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return string
|
---|
| 111 | */
|
---|
| 112 | public function getCompleteTime()
|
---|
| 113 | {
|
---|
| 114 | return $this->completeTime;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param string
|
---|
| 118 | */
|
---|
| 119 | public function setCreateTime($createTime)
|
---|
| 120 | {
|
---|
| 121 | $this->createTime = $createTime;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return string
|
---|
| 125 | */
|
---|
| 126 | public function getCreateTime()
|
---|
| 127 | {
|
---|
| 128 | return $this->createTime;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param string
|
---|
| 132 | */
|
---|
| 133 | public function setName($name)
|
---|
| 134 | {
|
---|
| 135 | $this->name = $name;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return string
|
---|
| 139 | */
|
---|
| 140 | public function getName()
|
---|
| 141 | {
|
---|
| 142 | return $this->name;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo
|
---|
| 146 | */
|
---|
| 147 | public function setQueryUnderstandingInfo(GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo $queryUnderstandingInfo)
|
---|
| 148 | {
|
---|
| 149 | $this->queryUnderstandingInfo = $queryUnderstandingInfo;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo
|
---|
| 153 | */
|
---|
| 154 | public function getQueryUnderstandingInfo()
|
---|
| 155 | {
|
---|
| 156 | return $this->queryUnderstandingInfo;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param GoogleCloudDiscoveryengineV1betaAnswerReference[]
|
---|
| 160 | */
|
---|
| 161 | public function setReferences($references)
|
---|
| 162 | {
|
---|
| 163 | $this->references = $references;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return GoogleCloudDiscoveryengineV1betaAnswerReference[]
|
---|
| 167 | */
|
---|
| 168 | public function getReferences()
|
---|
| 169 | {
|
---|
| 170 | return $this->references;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @param string[]
|
---|
| 174 | */
|
---|
| 175 | public function setRelatedQuestions($relatedQuestions)
|
---|
| 176 | {
|
---|
| 177 | $this->relatedQuestions = $relatedQuestions;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @return string[]
|
---|
| 181 | */
|
---|
| 182 | public function getRelatedQuestions()
|
---|
| 183 | {
|
---|
| 184 | return $this->relatedQuestions;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @param string
|
---|
| 188 | */
|
---|
| 189 | public function setState($state)
|
---|
| 190 | {
|
---|
| 191 | $this->state = $state;
|
---|
| 192 | }
|
---|
| 193 | /**
|
---|
| 194 | * @return string
|
---|
| 195 | */
|
---|
| 196 | public function getState()
|
---|
| 197 | {
|
---|
| 198 | return $this->state;
|
---|
| 199 | }
|
---|
| 200 | /**
|
---|
| 201 | * @param GoogleCloudDiscoveryengineV1betaAnswerStep[]
|
---|
| 202 | */
|
---|
| 203 | public function setSteps($steps)
|
---|
| 204 | {
|
---|
| 205 | $this->steps = $steps;
|
---|
| 206 | }
|
---|
| 207 | /**
|
---|
| 208 | * @return GoogleCloudDiscoveryengineV1betaAnswerStep[]
|
---|
| 209 | */
|
---|
| 210 | public function getSteps()
|
---|
| 211 | {
|
---|
| 212 | return $this->steps;
|
---|
| 213 | }
|
---|
| 214 | }
|
---|
| 215 |
|
---|
| 216 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 217 | class_alias(GoogleCloudDiscoveryengineV1betaAnswer::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaAnswer');
|
---|