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\Sheets;
19
20class ExtendedValue extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $boolValue;
26  protected $errorValueType = ErrorValue::class;
27  protected $errorValueDataType = '';
28  /**
29   * @var string
30   */
31  public $formulaValue;
32  public $numberValue;
33  /**
34   * @var string
35   */
36  public $stringValue;
37
38  /**
39   * @param bool
40   */
41  public function setBoolValue($boolValue)
42  {
43    $this->boolValue = $boolValue;
44  }
45  /**
46   * @return bool
47   */
48  public function getBoolValue()
49  {
50    return $this->boolValue;
51  }
52  /**
53   * @param ErrorValue
54   */
55  public function setErrorValue(ErrorValue $errorValue)
56  {
57    $this->errorValue = $errorValue;
58  }
59  /**
60   * @return ErrorValue
61   */
62  public function getErrorValue()
63  {
64    return $this->errorValue;
65  }
66  /**
67   * @param string
68   */
69  public function setFormulaValue($formulaValue)
70  {
71    $this->formulaValue = $formulaValue;
72  }
73  /**
74   * @return string
75   */
76  public function getFormulaValue()
77  {
78    return $this->formulaValue;
79  }
80  public function setNumberValue($numberValue)
81  {
82    $this->numberValue = $numberValue;
83  }
84  public function getNumberValue()
85  {
86    return $this->numberValue;
87  }
88  /**
89   * @param string
90   */
91  public function setStringValue($stringValue)
92  {
93    $this->stringValue = $stringValue;
94  }
95  /**
96   * @return string
97   */
98  public function getStringValue()
99  {
100    return $this->stringValue;
101  }
102}
103
104// Adding a class alias for backwards compatibility with the previous class name.
105class_alias(ExtendedValue::class, 'Google_Service_Sheets_ExtendedValue');
106