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 Value extends \Google\Model 21{ 22 /** 23 * @var bool 24 */ 25 public $booleanValue; 26 protected $dateValueType = Date::class; 27 protected $dateValueDataType = ''; 28 public $doubleValue; 29 /** 30 * @var string 31 */ 32 public $integerValue; 33 /** 34 * @var string 35 */ 36 public $stringValue; 37 /** 38 * @var string 39 */ 40 public $timestampValue; 41 42 /** 43 * @param bool 44 */ 45 public function setBooleanValue($booleanValue) 46 { 47 $this->booleanValue = $booleanValue; 48 } 49 /** 50 * @return bool 51 */ 52 public function getBooleanValue() 53 { 54 return $this->booleanValue; 55 } 56 /** 57 * @param Date 58 */ 59 public function setDateValue(Date $dateValue) 60 { 61 $this->dateValue = $dateValue; 62 } 63 /** 64 * @return Date 65 */ 66 public function getDateValue() 67 { 68 return $this->dateValue; 69 } 70 public function setDoubleValue($doubleValue) 71 { 72 $this->doubleValue = $doubleValue; 73 } 74 public function getDoubleValue() 75 { 76 return $this->doubleValue; 77 } 78 /** 79 * @param string 80 */ 81 public function setIntegerValue($integerValue) 82 { 83 $this->integerValue = $integerValue; 84 } 85 /** 86 * @return string 87 */ 88 public function getIntegerValue() 89 { 90 return $this->integerValue; 91 } 92 /** 93 * @param string 94 */ 95 public function setStringValue($stringValue) 96 { 97 $this->stringValue = $stringValue; 98 } 99 /** 100 * @return string 101 */ 102 public function getStringValue() 103 { 104 return $this->stringValue; 105 } 106 /** 107 * @param string 108 */ 109 public function setTimestampValue($timestampValue) 110 { 111 $this->timestampValue = $timestampValue; 112 } 113 /** 114 * @return string 115 */ 116 public function getTimestampValue() 117 { 118 return $this->timestampValue; 119 } 120} 121 122// Adding a class alias for backwards compatibility with the previous class name. 123class_alias(Value::class, 'Google_Service_CloudSearch_Value'); 124