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 QueryOperator extends \Google\Collection
21{
22  protected $collection_key = 'enumValues';
23  /**
24   * @var string
25   */
26  public $displayName;
27  /**
28   * @var string[]
29   */
30  public $enumValues;
31  /**
32   * @var string
33   */
34  public $greaterThanOperatorName;
35  /**
36   * @var bool
37   */
38  public $isFacetable;
39  /**
40   * @var bool
41   */
42  public $isRepeatable;
43  /**
44   * @var bool
45   */
46  public $isReturnable;
47  /**
48   * @var bool
49   */
50  public $isSortable;
51  /**
52   * @var bool
53   */
54  public $isSuggestable;
55  /**
56   * @var string
57   */
58  public $lessThanOperatorName;
59  /**
60   * @var string
61   */
62  public $objectType;
63  /**
64   * @var string
65   */
66  public $operatorName;
67  /**
68   * @var string
69   */
70  public $type;
71
72  /**
73   * @param string
74   */
75  public function setDisplayName($displayName)
76  {
77    $this->displayName = $displayName;
78  }
79  /**
80   * @return string
81   */
82  public function getDisplayName()
83  {
84    return $this->displayName;
85  }
86  /**
87   * @param string[]
88   */
89  public function setEnumValues($enumValues)
90  {
91    $this->enumValues = $enumValues;
92  }
93  /**
94   * @return string[]
95   */
96  public function getEnumValues()
97  {
98    return $this->enumValues;
99  }
100  /**
101   * @param string
102   */
103  public function setGreaterThanOperatorName($greaterThanOperatorName)
104  {
105    $this->greaterThanOperatorName = $greaterThanOperatorName;
106  }
107  /**
108   * @return string
109   */
110  public function getGreaterThanOperatorName()
111  {
112    return $this->greaterThanOperatorName;
113  }
114  /**
115   * @param bool
116   */
117  public function setIsFacetable($isFacetable)
118  {
119    $this->isFacetable = $isFacetable;
120  }
121  /**
122   * @return bool
123   */
124  public function getIsFacetable()
125  {
126    return $this->isFacetable;
127  }
128  /**
129   * @param bool
130   */
131  public function setIsRepeatable($isRepeatable)
132  {
133    $this->isRepeatable = $isRepeatable;
134  }
135  /**
136   * @return bool
137   */
138  public function getIsRepeatable()
139  {
140    return $this->isRepeatable;
141  }
142  /**
143   * @param bool
144   */
145  public function setIsReturnable($isReturnable)
146  {
147    $this->isReturnable = $isReturnable;
148  }
149  /**
150   * @return bool
151   */
152  public function getIsReturnable()
153  {
154    return $this->isReturnable;
155  }
156  /**
157   * @param bool
158   */
159  public function setIsSortable($isSortable)
160  {
161    $this->isSortable = $isSortable;
162  }
163  /**
164   * @return bool
165   */
166  public function getIsSortable()
167  {
168    return $this->isSortable;
169  }
170  /**
171   * @param bool
172   */
173  public function setIsSuggestable($isSuggestable)
174  {
175    $this->isSuggestable = $isSuggestable;
176  }
177  /**
178   * @return bool
179   */
180  public function getIsSuggestable()
181  {
182    return $this->isSuggestable;
183  }
184  /**
185   * @param string
186   */
187  public function setLessThanOperatorName($lessThanOperatorName)
188  {
189    $this->lessThanOperatorName = $lessThanOperatorName;
190  }
191  /**
192   * @return string
193   */
194  public function getLessThanOperatorName()
195  {
196    return $this->lessThanOperatorName;
197  }
198  /**
199   * @param string
200   */
201  public function setObjectType($objectType)
202  {
203    $this->objectType = $objectType;
204  }
205  /**
206   * @return string
207   */
208  public function getObjectType()
209  {
210    return $this->objectType;
211  }
212  /**
213   * @param string
214   */
215  public function setOperatorName($operatorName)
216  {
217    $this->operatorName = $operatorName;
218  }
219  /**
220   * @return string
221   */
222  public function getOperatorName()
223  {
224    return $this->operatorName;
225  }
226  /**
227   * @param string
228   */
229  public function setType($type)
230  {
231    $this->type = $type;
232  }
233  /**
234   * @return string
235   */
236  public function getType()
237  {
238    return $this->type;
239  }
240}
241
242// Adding a class alias for backwards compatibility with the previous class name.
243class_alias(QueryOperator::class, 'Google_Service_CloudSearch_QueryOperator');
244