source: vendor/google/apiclient-services/src/Sheets/CellData.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.0 KB
Line 
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 CellData extends \Google\Collection
21{
22 protected $collection_key = 'textFormatRuns';
23 protected $dataSourceFormulaType = DataSourceFormula::class;
24 protected $dataSourceFormulaDataType = '';
25 protected $dataSourceTableType = DataSourceTable::class;
26 protected $dataSourceTableDataType = '';
27 protected $dataValidationType = DataValidationRule::class;
28 protected $dataValidationDataType = '';
29 protected $effectiveFormatType = CellFormat::class;
30 protected $effectiveFormatDataType = '';
31 protected $effectiveValueType = ExtendedValue::class;
32 protected $effectiveValueDataType = '';
33 /**
34 * @var string
35 */
36 public $formattedValue;
37 /**
38 * @var string
39 */
40 public $hyperlink;
41 /**
42 * @var string
43 */
44 public $note;
45 protected $pivotTableType = PivotTable::class;
46 protected $pivotTableDataType = '';
47 protected $textFormatRunsType = TextFormatRun::class;
48 protected $textFormatRunsDataType = 'array';
49 protected $userEnteredFormatType = CellFormat::class;
50 protected $userEnteredFormatDataType = '';
51 protected $userEnteredValueType = ExtendedValue::class;
52 protected $userEnteredValueDataType = '';
53
54 /**
55 * @param DataSourceFormula
56 */
57 public function setDataSourceFormula(DataSourceFormula $dataSourceFormula)
58 {
59 $this->dataSourceFormula = $dataSourceFormula;
60 }
61 /**
62 * @return DataSourceFormula
63 */
64 public function getDataSourceFormula()
65 {
66 return $this->dataSourceFormula;
67 }
68 /**
69 * @param DataSourceTable
70 */
71 public function setDataSourceTable(DataSourceTable $dataSourceTable)
72 {
73 $this->dataSourceTable = $dataSourceTable;
74 }
75 /**
76 * @return DataSourceTable
77 */
78 public function getDataSourceTable()
79 {
80 return $this->dataSourceTable;
81 }
82 /**
83 * @param DataValidationRule
84 */
85 public function setDataValidation(DataValidationRule $dataValidation)
86 {
87 $this->dataValidation = $dataValidation;
88 }
89 /**
90 * @return DataValidationRule
91 */
92 public function getDataValidation()
93 {
94 return $this->dataValidation;
95 }
96 /**
97 * @param CellFormat
98 */
99 public function setEffectiveFormat(CellFormat $effectiveFormat)
100 {
101 $this->effectiveFormat = $effectiveFormat;
102 }
103 /**
104 * @return CellFormat
105 */
106 public function getEffectiveFormat()
107 {
108 return $this->effectiveFormat;
109 }
110 /**
111 * @param ExtendedValue
112 */
113 public function setEffectiveValue(ExtendedValue $effectiveValue)
114 {
115 $this->effectiveValue = $effectiveValue;
116 }
117 /**
118 * @return ExtendedValue
119 */
120 public function getEffectiveValue()
121 {
122 return $this->effectiveValue;
123 }
124 /**
125 * @param string
126 */
127 public function setFormattedValue($formattedValue)
128 {
129 $this->formattedValue = $formattedValue;
130 }
131 /**
132 * @return string
133 */
134 public function getFormattedValue()
135 {
136 return $this->formattedValue;
137 }
138 /**
139 * @param string
140 */
141 public function setHyperlink($hyperlink)
142 {
143 $this->hyperlink = $hyperlink;
144 }
145 /**
146 * @return string
147 */
148 public function getHyperlink()
149 {
150 return $this->hyperlink;
151 }
152 /**
153 * @param string
154 */
155 public function setNote($note)
156 {
157 $this->note = $note;
158 }
159 /**
160 * @return string
161 */
162 public function getNote()
163 {
164 return $this->note;
165 }
166 /**
167 * @param PivotTable
168 */
169 public function setPivotTable(PivotTable $pivotTable)
170 {
171 $this->pivotTable = $pivotTable;
172 }
173 /**
174 * @return PivotTable
175 */
176 public function getPivotTable()
177 {
178 return $this->pivotTable;
179 }
180 /**
181 * @param TextFormatRun[]
182 */
183 public function setTextFormatRuns($textFormatRuns)
184 {
185 $this->textFormatRuns = $textFormatRuns;
186 }
187 /**
188 * @return TextFormatRun[]
189 */
190 public function getTextFormatRuns()
191 {
192 return $this->textFormatRuns;
193 }
194 /**
195 * @param CellFormat
196 */
197 public function setUserEnteredFormat(CellFormat $userEnteredFormat)
198 {
199 $this->userEnteredFormat = $userEnteredFormat;
200 }
201 /**
202 * @return CellFormat
203 */
204 public function getUserEnteredFormat()
205 {
206 return $this->userEnteredFormat;
207 }
208 /**
209 * @param ExtendedValue
210 */
211 public function setUserEnteredValue(ExtendedValue $userEnteredValue)
212 {
213 $this->userEnteredValue = $userEnteredValue;
214 }
215 /**
216 * @return ExtendedValue
217 */
218 public function getUserEnteredValue()
219 {
220 return $this->userEnteredValue;
221 }
222}
223
224// Adding a class alias for backwards compatibility with the previous class name.
225class_alias(CellData::class, 'Google_Service_Sheets_CellData');
Note: See TracBrowser for help on using the repository browser.