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 NamedProperty extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $booleanValue;
26  protected $dateValuesType = DateValues::class;
27  protected $dateValuesDataType = '';
28  protected $doubleValuesType = DoubleValues::class;
29  protected $doubleValuesDataType = '';
30  protected $enumValuesType = EnumValues::class;
31  protected $enumValuesDataType = '';
32  protected $htmlValuesType = HtmlValues::class;
33  protected $htmlValuesDataType = '';
34  protected $integerValuesType = IntegerValues::class;
35  protected $integerValuesDataType = '';
36  /**
37   * @var string
38   */
39  public $name;
40  protected $objectValuesType = ObjectValues::class;
41  protected $objectValuesDataType = '';
42  protected $textValuesType = TextValues::class;
43  protected $textValuesDataType = '';
44  protected $timestampValuesType = TimestampValues::class;
45  protected $timestampValuesDataType = '';
46
47  /**
48   * @param bool
49   */
50  public function setBooleanValue($booleanValue)
51  {
52    $this->booleanValue = $booleanValue;
53  }
54  /**
55   * @return bool
56   */
57  public function getBooleanValue()
58  {
59    return $this->booleanValue;
60  }
61  /**
62   * @param DateValues
63   */
64  public function setDateValues(DateValues $dateValues)
65  {
66    $this->dateValues = $dateValues;
67  }
68  /**
69   * @return DateValues
70   */
71  public function getDateValues()
72  {
73    return $this->dateValues;
74  }
75  /**
76   * @param DoubleValues
77   */
78  public function setDoubleValues(DoubleValues $doubleValues)
79  {
80    $this->doubleValues = $doubleValues;
81  }
82  /**
83   * @return DoubleValues
84   */
85  public function getDoubleValues()
86  {
87    return $this->doubleValues;
88  }
89  /**
90   * @param EnumValues
91   */
92  public function setEnumValues(EnumValues $enumValues)
93  {
94    $this->enumValues = $enumValues;
95  }
96  /**
97   * @return EnumValues
98   */
99  public function getEnumValues()
100  {
101    return $this->enumValues;
102  }
103  /**
104   * @param HtmlValues
105   */
106  public function setHtmlValues(HtmlValues $htmlValues)
107  {
108    $this->htmlValues = $htmlValues;
109  }
110  /**
111   * @return HtmlValues
112   */
113  public function getHtmlValues()
114  {
115    return $this->htmlValues;
116  }
117  /**
118   * @param IntegerValues
119   */
120  public function setIntegerValues(IntegerValues $integerValues)
121  {
122    $this->integerValues = $integerValues;
123  }
124  /**
125   * @return IntegerValues
126   */
127  public function getIntegerValues()
128  {
129    return $this->integerValues;
130  }
131  /**
132   * @param string
133   */
134  public function setName($name)
135  {
136    $this->name = $name;
137  }
138  /**
139   * @return string
140   */
141  public function getName()
142  {
143    return $this->name;
144  }
145  /**
146   * @param ObjectValues
147   */
148  public function setObjectValues(ObjectValues $objectValues)
149  {
150    $this->objectValues = $objectValues;
151  }
152  /**
153   * @return ObjectValues
154   */
155  public function getObjectValues()
156  {
157    return $this->objectValues;
158  }
159  /**
160   * @param TextValues
161   */
162  public function setTextValues(TextValues $textValues)
163  {
164    $this->textValues = $textValues;
165  }
166  /**
167   * @return TextValues
168   */
169  public function getTextValues()
170  {
171    return $this->textValues;
172  }
173  /**
174   * @param TimestampValues
175   */
176  public function setTimestampValues(TimestampValues $timestampValues)
177  {
178    $this->timestampValues = $timestampValues;
179  }
180  /**
181   * @return TimestampValues
182   */
183  public function getTimestampValues()
184  {
185    return $this->timestampValues;
186  }
187}
188
189// Adding a class alias for backwards compatibility with the previous class name.
190class_alias(NamedProperty::class, 'Google_Service_CloudSearch_NamedProperty');
191