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\Script;
19
20class Value extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $boolValue;
26  /**
27   * @var string
28   */
29  public $bytesValue;
30  /**
31   * @var string
32   */
33  public $dateValue;
34  protected $listValueType = ListValue::class;
35  protected $listValueDataType = '';
36  /**
37   * @var string
38   */
39  public $nullValue;
40  public $numberValue;
41  /**
42   * @var array[]
43   */
44  public $protoValue;
45  /**
46   * @var string
47   */
48  public $stringValue;
49  protected $structValueType = Struct::class;
50  protected $structValueDataType = '';
51
52  /**
53   * @param bool
54   */
55  public function setBoolValue($boolValue)
56  {
57    $this->boolValue = $boolValue;
58  }
59  /**
60   * @return bool
61   */
62  public function getBoolValue()
63  {
64    return $this->boolValue;
65  }
66  /**
67   * @param string
68   */
69  public function setBytesValue($bytesValue)
70  {
71    $this->bytesValue = $bytesValue;
72  }
73  /**
74   * @return string
75   */
76  public function getBytesValue()
77  {
78    return $this->bytesValue;
79  }
80  /**
81   * @param string
82   */
83  public function setDateValue($dateValue)
84  {
85    $this->dateValue = $dateValue;
86  }
87  /**
88   * @return string
89   */
90  public function getDateValue()
91  {
92    return $this->dateValue;
93  }
94  /**
95   * @param ListValue
96   */
97  public function setListValue(ListValue $listValue)
98  {
99    $this->listValue = $listValue;
100  }
101  /**
102   * @return ListValue
103   */
104  public function getListValue()
105  {
106    return $this->listValue;
107  }
108  /**
109   * @param string
110   */
111  public function setNullValue($nullValue)
112  {
113    $this->nullValue = $nullValue;
114  }
115  /**
116   * @return string
117   */
118  public function getNullValue()
119  {
120    return $this->nullValue;
121  }
122  public function setNumberValue($numberValue)
123  {
124    $this->numberValue = $numberValue;
125  }
126  public function getNumberValue()
127  {
128    return $this->numberValue;
129  }
130  /**
131   * @param array[]
132   */
133  public function setProtoValue($protoValue)
134  {
135    $this->protoValue = $protoValue;
136  }
137  /**
138   * @return array[]
139   */
140  public function getProtoValue()
141  {
142    return $this->protoValue;
143  }
144  /**
145   * @param string
146   */
147  public function setStringValue($stringValue)
148  {
149    $this->stringValue = $stringValue;
150  }
151  /**
152   * @return string
153   */
154  public function getStringValue()
155  {
156    return $this->stringValue;
157  }
158  /**
159   * @param Struct
160   */
161  public function setStructValue(Struct $structValue)
162  {
163    $this->structValue = $structValue;
164  }
165  /**
166   * @return Struct
167   */
168  public function getStructValue()
169  {
170    return $this->structValue;
171  }
172}
173
174// Adding a class alias for backwards compatibility with the previous class name.
175class_alias(Value::class, 'Google_Service_Script_Value');
176