source: vendor/google/apiclient-services/src/CloudSearch/HistoryRecord.php

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

Upload project files

  • Property mode set to 100644
File size: 4.1 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 HistoryRecord extends \Google\Model
21{
22 protected $clientContextType = ClientContext::class;
23 protected $clientContextDataType = '';
24 protected $filterUpdateType = FilterUpdate::class;
25 protected $filterUpdateDataType = '';
26 protected $imapUpdateType = ImapUpdate::class;
27 protected $imapUpdateDataType = '';
28 protected $labelUpdateType = LabelUpdate::class;
29 protected $labelUpdateDataType = '';
30 protected $prefUpdateType = PrefUpdate::class;
31 protected $prefUpdateDataType = '';
32 /**
33 * @var string
34 */
35 public $recordId;
36 protected $threadUpdateType = ThreadUpdate::class;
37 protected $threadUpdateDataType = '';
38 protected $transactionContextType = TransactionContext::class;
39 protected $transactionContextDataType = '';
40 protected $txnDebugInfoType = TransactionDebugInfo::class;
41 protected $txnDebugInfoDataType = '';
42 /**
43 * @var string
44 */
45 public $type;
46
47 /**
48 * @param ClientContext
49 */
50 public function setClientContext(ClientContext $clientContext)
51 {
52 $this->clientContext = $clientContext;
53 }
54 /**
55 * @return ClientContext
56 */
57 public function getClientContext()
58 {
59 return $this->clientContext;
60 }
61 /**
62 * @param FilterUpdate
63 */
64 public function setFilterUpdate(FilterUpdate $filterUpdate)
65 {
66 $this->filterUpdate = $filterUpdate;
67 }
68 /**
69 * @return FilterUpdate
70 */
71 public function getFilterUpdate()
72 {
73 return $this->filterUpdate;
74 }
75 /**
76 * @param ImapUpdate
77 */
78 public function setImapUpdate(ImapUpdate $imapUpdate)
79 {
80 $this->imapUpdate = $imapUpdate;
81 }
82 /**
83 * @return ImapUpdate
84 */
85 public function getImapUpdate()
86 {
87 return $this->imapUpdate;
88 }
89 /**
90 * @param LabelUpdate
91 */
92 public function setLabelUpdate(LabelUpdate $labelUpdate)
93 {
94 $this->labelUpdate = $labelUpdate;
95 }
96 /**
97 * @return LabelUpdate
98 */
99 public function getLabelUpdate()
100 {
101 return $this->labelUpdate;
102 }
103 /**
104 * @param PrefUpdate
105 */
106 public function setPrefUpdate(PrefUpdate $prefUpdate)
107 {
108 $this->prefUpdate = $prefUpdate;
109 }
110 /**
111 * @return PrefUpdate
112 */
113 public function getPrefUpdate()
114 {
115 return $this->prefUpdate;
116 }
117 /**
118 * @param string
119 */
120 public function setRecordId($recordId)
121 {
122 $this->recordId = $recordId;
123 }
124 /**
125 * @return string
126 */
127 public function getRecordId()
128 {
129 return $this->recordId;
130 }
131 /**
132 * @param ThreadUpdate
133 */
134 public function setThreadUpdate(ThreadUpdate $threadUpdate)
135 {
136 $this->threadUpdate = $threadUpdate;
137 }
138 /**
139 * @return ThreadUpdate
140 */
141 public function getThreadUpdate()
142 {
143 return $this->threadUpdate;
144 }
145 /**
146 * @param TransactionContext
147 */
148 public function setTransactionContext(TransactionContext $transactionContext)
149 {
150 $this->transactionContext = $transactionContext;
151 }
152 /**
153 * @return TransactionContext
154 */
155 public function getTransactionContext()
156 {
157 return $this->transactionContext;
158 }
159 /**
160 * @param TransactionDebugInfo
161 */
162 public function setTxnDebugInfo(TransactionDebugInfo $txnDebugInfo)
163 {
164 $this->txnDebugInfo = $txnDebugInfo;
165 }
166 /**
167 * @return TransactionDebugInfo
168 */
169 public function getTxnDebugInfo()
170 {
171 return $this->txnDebugInfo;
172 }
173 /**
174 * @param string
175 */
176 public function setType($type)
177 {
178 $this->type = $type;
179 }
180 /**
181 * @return string
182 */
183 public function getType()
184 {
185 return $this->type;
186 }
187}
188
189// Adding a class alias for backwards compatibility with the previous class name.
190class_alias(HistoryRecord::class, 'Google_Service_CloudSearch_HistoryRecord');
Note: See TracBrowser for help on using the repository browser.