source: vendor/google/apiclient-services/src/CloudSearch/PropertyDefinition.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: 7.2 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 PropertyDefinition extends \Google\Model
21{
22 protected $booleanPropertyOptionsType = BooleanPropertyOptions::class;
23 protected $booleanPropertyOptionsDataType = '';
24 protected $datePropertyOptionsType = DatePropertyOptions::class;
25 protected $datePropertyOptionsDataType = '';
26 protected $displayOptionsType = PropertyDisplayOptions::class;
27 protected $displayOptionsDataType = '';
28 protected $doublePropertyOptionsType = DoublePropertyOptions::class;
29 protected $doublePropertyOptionsDataType = '';
30 protected $enumPropertyOptionsType = EnumPropertyOptions::class;
31 protected $enumPropertyOptionsDataType = '';
32 protected $htmlPropertyOptionsType = HtmlPropertyOptions::class;
33 protected $htmlPropertyOptionsDataType = '';
34 protected $integerPropertyOptionsType = IntegerPropertyOptions::class;
35 protected $integerPropertyOptionsDataType = '';
36 /**
37 * @var bool
38 */
39 public $isFacetable;
40 /**
41 * @var bool
42 */
43 public $isRepeatable;
44 /**
45 * @var bool
46 */
47 public $isReturnable;
48 /**
49 * @var bool
50 */
51 public $isSortable;
52 /**
53 * @var bool
54 */
55 public $isSuggestable;
56 /**
57 * @var bool
58 */
59 public $isWildcardSearchable;
60 /**
61 * @var string
62 */
63 public $name;
64 protected $objectPropertyOptionsType = ObjectPropertyOptions::class;
65 protected $objectPropertyOptionsDataType = '';
66 protected $textPropertyOptionsType = TextPropertyOptions::class;
67 protected $textPropertyOptionsDataType = '';
68 protected $timestampPropertyOptionsType = TimestampPropertyOptions::class;
69 protected $timestampPropertyOptionsDataType = '';
70
71 /**
72 * @param BooleanPropertyOptions
73 */
74 public function setBooleanPropertyOptions(BooleanPropertyOptions $booleanPropertyOptions)
75 {
76 $this->booleanPropertyOptions = $booleanPropertyOptions;
77 }
78 /**
79 * @return BooleanPropertyOptions
80 */
81 public function getBooleanPropertyOptions()
82 {
83 return $this->booleanPropertyOptions;
84 }
85 /**
86 * @param DatePropertyOptions
87 */
88 public function setDatePropertyOptions(DatePropertyOptions $datePropertyOptions)
89 {
90 $this->datePropertyOptions = $datePropertyOptions;
91 }
92 /**
93 * @return DatePropertyOptions
94 */
95 public function getDatePropertyOptions()
96 {
97 return $this->datePropertyOptions;
98 }
99 /**
100 * @param PropertyDisplayOptions
101 */
102 public function setDisplayOptions(PropertyDisplayOptions $displayOptions)
103 {
104 $this->displayOptions = $displayOptions;
105 }
106 /**
107 * @return PropertyDisplayOptions
108 */
109 public function getDisplayOptions()
110 {
111 return $this->displayOptions;
112 }
113 /**
114 * @param DoublePropertyOptions
115 */
116 public function setDoublePropertyOptions(DoublePropertyOptions $doublePropertyOptions)
117 {
118 $this->doublePropertyOptions = $doublePropertyOptions;
119 }
120 /**
121 * @return DoublePropertyOptions
122 */
123 public function getDoublePropertyOptions()
124 {
125 return $this->doublePropertyOptions;
126 }
127 /**
128 * @param EnumPropertyOptions
129 */
130 public function setEnumPropertyOptions(EnumPropertyOptions $enumPropertyOptions)
131 {
132 $this->enumPropertyOptions = $enumPropertyOptions;
133 }
134 /**
135 * @return EnumPropertyOptions
136 */
137 public function getEnumPropertyOptions()
138 {
139 return $this->enumPropertyOptions;
140 }
141 /**
142 * @param HtmlPropertyOptions
143 */
144 public function setHtmlPropertyOptions(HtmlPropertyOptions $htmlPropertyOptions)
145 {
146 $this->htmlPropertyOptions = $htmlPropertyOptions;
147 }
148 /**
149 * @return HtmlPropertyOptions
150 */
151 public function getHtmlPropertyOptions()
152 {
153 return $this->htmlPropertyOptions;
154 }
155 /**
156 * @param IntegerPropertyOptions
157 */
158 public function setIntegerPropertyOptions(IntegerPropertyOptions $integerPropertyOptions)
159 {
160 $this->integerPropertyOptions = $integerPropertyOptions;
161 }
162 /**
163 * @return IntegerPropertyOptions
164 */
165 public function getIntegerPropertyOptions()
166 {
167 return $this->integerPropertyOptions;
168 }
169 /**
170 * @param bool
171 */
172 public function setIsFacetable($isFacetable)
173 {
174 $this->isFacetable = $isFacetable;
175 }
176 /**
177 * @return bool
178 */
179 public function getIsFacetable()
180 {
181 return $this->isFacetable;
182 }
183 /**
184 * @param bool
185 */
186 public function setIsRepeatable($isRepeatable)
187 {
188 $this->isRepeatable = $isRepeatable;
189 }
190 /**
191 * @return bool
192 */
193 public function getIsRepeatable()
194 {
195 return $this->isRepeatable;
196 }
197 /**
198 * @param bool
199 */
200 public function setIsReturnable($isReturnable)
201 {
202 $this->isReturnable = $isReturnable;
203 }
204 /**
205 * @return bool
206 */
207 public function getIsReturnable()
208 {
209 return $this->isReturnable;
210 }
211 /**
212 * @param bool
213 */
214 public function setIsSortable($isSortable)
215 {
216 $this->isSortable = $isSortable;
217 }
218 /**
219 * @return bool
220 */
221 public function getIsSortable()
222 {
223 return $this->isSortable;
224 }
225 /**
226 * @param bool
227 */
228 public function setIsSuggestable($isSuggestable)
229 {
230 $this->isSuggestable = $isSuggestable;
231 }
232 /**
233 * @return bool
234 */
235 public function getIsSuggestable()
236 {
237 return $this->isSuggestable;
238 }
239 /**
240 * @param bool
241 */
242 public function setIsWildcardSearchable($isWildcardSearchable)
243 {
244 $this->isWildcardSearchable = $isWildcardSearchable;
245 }
246 /**
247 * @return bool
248 */
249 public function getIsWildcardSearchable()
250 {
251 return $this->isWildcardSearchable;
252 }
253 /**
254 * @param string
255 */
256 public function setName($name)
257 {
258 $this->name = $name;
259 }
260 /**
261 * @return string
262 */
263 public function getName()
264 {
265 return $this->name;
266 }
267 /**
268 * @param ObjectPropertyOptions
269 */
270 public function setObjectPropertyOptions(ObjectPropertyOptions $objectPropertyOptions)
271 {
272 $this->objectPropertyOptions = $objectPropertyOptions;
273 }
274 /**
275 * @return ObjectPropertyOptions
276 */
277 public function getObjectPropertyOptions()
278 {
279 return $this->objectPropertyOptions;
280 }
281 /**
282 * @param TextPropertyOptions
283 */
284 public function setTextPropertyOptions(TextPropertyOptions $textPropertyOptions)
285 {
286 $this->textPropertyOptions = $textPropertyOptions;
287 }
288 /**
289 * @return TextPropertyOptions
290 */
291 public function getTextPropertyOptions()
292 {
293 return $this->textPropertyOptions;
294 }
295 /**
296 * @param TimestampPropertyOptions
297 */
298 public function setTimestampPropertyOptions(TimestampPropertyOptions $timestampPropertyOptions)
299 {
300 $this->timestampPropertyOptions = $timestampPropertyOptions;
301 }
302 /**
303 * @return TimestampPropertyOptions
304 */
305 public function getTimestampPropertyOptions()
306 {
307 return $this->timestampPropertyOptions;
308 }
309}
310
311// Adding a class alias for backwards compatibility with the previous class name.
312class_alias(PropertyDefinition::class, 'Google_Service_CloudSearch_PropertyDefinition');
Note: See TracBrowser for help on using the repository browser.