source: vendor/google/apiclient-services/src/CloudSearch/ItemThread.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.5 KB
Line 
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
18namespace Google\Service\CloudSearch;
19
20class ItemThread extends \Google\Collection
21{
22 protected $collection_key = 'item';
23 protected $clusterInfoType = ClusterInfo::class;
24 protected $clusterInfoDataType = '';
25 protected $itemType = FuseboxItem::class;
26 protected $itemDataType = 'array';
27 /**
28 * @var string
29 */
30 public $lastItemId;
31 protected $matchInfoType = FuseboxItemThreadMatchInfo::class;
32 protected $matchInfoDataType = '';
33 /**
34 * @var string
35 */
36 public $snippet;
37 protected $threadKeyType = MultiKey::class;
38 protected $threadKeyDataType = '';
39 /**
40 * @var string
41 */
42 public $threadLocator;
43 protected $topicStateType = TopicState::class;
44 protected $topicStateDataType = '';
45 /**
46 * @var string
47 */
48 public $version;
49
50 /**
51 * @param ClusterInfo
52 */
53 public function setClusterInfo(ClusterInfo $clusterInfo)
54 {
55 $this->clusterInfo = $clusterInfo;
56 }
57 /**
58 * @return ClusterInfo
59 */
60 public function getClusterInfo()
61 {
62 return $this->clusterInfo;
63 }
64 /**
65 * @param FuseboxItem[]
66 */
67 public function setItem($item)
68 {
69 $this->item = $item;
70 }
71 /**
72 * @return FuseboxItem[]
73 */
74 public function getItem()
75 {
76 return $this->item;
77 }
78 /**
79 * @param string
80 */
81 public function setLastItemId($lastItemId)
82 {
83 $this->lastItemId = $lastItemId;
84 }
85 /**
86 * @return string
87 */
88 public function getLastItemId()
89 {
90 return $this->lastItemId;
91 }
92 /**
93 * @param FuseboxItemThreadMatchInfo
94 */
95 public function setMatchInfo(FuseboxItemThreadMatchInfo $matchInfo)
96 {
97 $this->matchInfo = $matchInfo;
98 }
99 /**
100 * @return FuseboxItemThreadMatchInfo
101 */
102 public function getMatchInfo()
103 {
104 return $this->matchInfo;
105 }
106 /**
107 * @param string
108 */
109 public function setSnippet($snippet)
110 {
111 $this->snippet = $snippet;
112 }
113 /**
114 * @return string
115 */
116 public function getSnippet()
117 {
118 return $this->snippet;
119 }
120 /**
121 * @param MultiKey
122 */
123 public function setThreadKey(MultiKey $threadKey)
124 {
125 $this->threadKey = $threadKey;
126 }
127 /**
128 * @return MultiKey
129 */
130 public function getThreadKey()
131 {
132 return $this->threadKey;
133 }
134 /**
135 * @param string
136 */
137 public function setThreadLocator($threadLocator)
138 {
139 $this->threadLocator = $threadLocator;
140 }
141 /**
142 * @return string
143 */
144 public function getThreadLocator()
145 {
146 return $this->threadLocator;
147 }
148 /**
149 * @param TopicState
150 */
151 public function setTopicState(TopicState $topicState)
152 {
153 $this->topicState = $topicState;
154 }
155 /**
156 * @return TopicState
157 */
158 public function getTopicState()
159 {
160 return $this->topicState;
161 }
162 /**
163 * @param string
164 */
165 public function setVersion($version)
166 {
167 $this->version = $version;
168 }
169 /**
170 * @return string
171 */
172 public function getVersion()
173 {
174 return $this->version;
175 }
176}
177
178// Adding a class alias for backwards compatibility with the previous class name.
179class_alias(ItemThread::class, 'Google_Service_CloudSearch_ItemThread');
Note: See TracBrowser for help on using the repository browser.