[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\CloudSearch;
|
---|
| 19 |
|
---|
| 20 | class EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'answer';
|
---|
| 23 | protected $answerType = SafeHtmlProto::class;
|
---|
| 24 | protected $answerDataType = 'array';
|
---|
| 25 | protected $answerTextType = EnterpriseTopazSidekickAnswerAnswerList::class;
|
---|
| 26 | protected $answerTextDataType = '';
|
---|
| 27 | protected $disambiguationInfoType = EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo::class;
|
---|
| 28 | protected $disambiguationInfoDataType = '';
|
---|
| 29 | protected $headerType = EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader::class;
|
---|
| 30 | protected $headerDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $responseStatus;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $statusMessage;
|
---|
| 39 | protected $subjectType = EnterpriseTopazSidekickCommonPerson::class;
|
---|
| 40 | protected $subjectDataType = '';
|
---|
| 41 |
|
---|
| 42 | /**
|
---|
| 43 | * @param SafeHtmlProto[]
|
---|
| 44 | */
|
---|
| 45 | public function setAnswer($answer)
|
---|
| 46 | {
|
---|
| 47 | $this->answer = $answer;
|
---|
| 48 | }
|
---|
| 49 | /**
|
---|
| 50 | * @return SafeHtmlProto[]
|
---|
| 51 | */
|
---|
| 52 | public function getAnswer()
|
---|
| 53 | {
|
---|
| 54 | return $this->answer;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @param EnterpriseTopazSidekickAnswerAnswerList
|
---|
| 58 | */
|
---|
| 59 | public function setAnswerText(EnterpriseTopazSidekickAnswerAnswerList $answerText)
|
---|
| 60 | {
|
---|
| 61 | $this->answerText = $answerText;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @return EnterpriseTopazSidekickAnswerAnswerList
|
---|
| 65 | */
|
---|
| 66 | public function getAnswerText()
|
---|
| 67 | {
|
---|
| 68 | return $this->answerText;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @param EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
|
---|
| 72 | */
|
---|
| 73 | public function setDisambiguationInfo(EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo $disambiguationInfo)
|
---|
| 74 | {
|
---|
| 75 | $this->disambiguationInfo = $disambiguationInfo;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @return EnterpriseTopazSidekickPeopleAnswerDisambiguationInfo
|
---|
| 79 | */
|
---|
| 80 | public function getDisambiguationInfo()
|
---|
| 81 | {
|
---|
| 82 | return $this->disambiguationInfo;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @param EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
|
---|
| 86 | */
|
---|
| 87 | public function setHeader(EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader $header)
|
---|
| 88 | {
|
---|
| 89 | $this->header = $header;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @return EnterpriseTopazSidekickPeopleAnswerPeopleAnswerCardHeader
|
---|
| 93 | */
|
---|
| 94 | public function getHeader()
|
---|
| 95 | {
|
---|
| 96 | return $this->header;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @param string
|
---|
| 100 | */
|
---|
| 101 | public function setResponseStatus($responseStatus)
|
---|
| 102 | {
|
---|
| 103 | $this->responseStatus = $responseStatus;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @return string
|
---|
| 107 | */
|
---|
| 108 | public function getResponseStatus()
|
---|
| 109 | {
|
---|
| 110 | return $this->responseStatus;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @param string
|
---|
| 114 | */
|
---|
| 115 | public function setStatusMessage($statusMessage)
|
---|
| 116 | {
|
---|
| 117 | $this->statusMessage = $statusMessage;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return string
|
---|
| 121 | */
|
---|
| 122 | public function getStatusMessage()
|
---|
| 123 | {
|
---|
| 124 | return $this->statusMessage;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @param EnterpriseTopazSidekickCommonPerson
|
---|
| 128 | */
|
---|
| 129 | public function setSubject(EnterpriseTopazSidekickCommonPerson $subject)
|
---|
| 130 | {
|
---|
| 131 | $this->subject = $subject;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return EnterpriseTopazSidekickCommonPerson
|
---|
| 135 | */
|
---|
| 136 | public function getSubject()
|
---|
| 137 | {
|
---|
| 138 | return $this->subject;
|
---|
| 139 | }
|
---|
| 140 | }
|
---|
| 141 |
|
---|
| 142 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 143 | class_alias(EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard::class, 'Google_Service_CloudSearch_EnterpriseTopazSidekickPeopleAnswerPersonAnswerCard');
|
---|