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