source: vendor/google/apiclient-services/src/Sheets/TreemapChartSpec.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: 4.6 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 TreemapChartSpec extends \Google\Model
21{
22 protected $colorDataType = ChartData::class;
23 protected $colorDataDataType = '';
24 protected $colorScaleType = TreemapChartColorScale::class;
25 protected $colorScaleDataType = '';
26 protected $headerColorType = Color::class;
27 protected $headerColorDataType = '';
28 protected $headerColorStyleType = ColorStyle::class;
29 protected $headerColorStyleDataType = '';
30 /**
31 * @var bool
32 */
33 public $hideTooltips;
34 /**
35 * @var int
36 */
37 public $hintedLevels;
38 protected $labelsType = ChartData::class;
39 protected $labelsDataType = '';
40 /**
41 * @var int
42 */
43 public $levels;
44 public $maxValue;
45 public $minValue;
46 protected $parentLabelsType = ChartData::class;
47 protected $parentLabelsDataType = '';
48 protected $sizeDataType = ChartData::class;
49 protected $sizeDataDataType = '';
50 protected $textFormatType = TextFormat::class;
51 protected $textFormatDataType = '';
52
53 /**
54 * @param ChartData
55 */
56 public function setColorData(ChartData $colorData)
57 {
58 $this->colorData = $colorData;
59 }
60 /**
61 * @return ChartData
62 */
63 public function getColorData()
64 {
65 return $this->colorData;
66 }
67 /**
68 * @param TreemapChartColorScale
69 */
70 public function setColorScale(TreemapChartColorScale $colorScale)
71 {
72 $this->colorScale = $colorScale;
73 }
74 /**
75 * @return TreemapChartColorScale
76 */
77 public function getColorScale()
78 {
79 return $this->colorScale;
80 }
81 /**
82 * @param Color
83 */
84 public function setHeaderColor(Color $headerColor)
85 {
86 $this->headerColor = $headerColor;
87 }
88 /**
89 * @return Color
90 */
91 public function getHeaderColor()
92 {
93 return $this->headerColor;
94 }
95 /**
96 * @param ColorStyle
97 */
98 public function setHeaderColorStyle(ColorStyle $headerColorStyle)
99 {
100 $this->headerColorStyle = $headerColorStyle;
101 }
102 /**
103 * @return ColorStyle
104 */
105 public function getHeaderColorStyle()
106 {
107 return $this->headerColorStyle;
108 }
109 /**
110 * @param bool
111 */
112 public function setHideTooltips($hideTooltips)
113 {
114 $this->hideTooltips = $hideTooltips;
115 }
116 /**
117 * @return bool
118 */
119 public function getHideTooltips()
120 {
121 return $this->hideTooltips;
122 }
123 /**
124 * @param int
125 */
126 public function setHintedLevels($hintedLevels)
127 {
128 $this->hintedLevels = $hintedLevels;
129 }
130 /**
131 * @return int
132 */
133 public function getHintedLevels()
134 {
135 return $this->hintedLevels;
136 }
137 /**
138 * @param ChartData
139 */
140 public function setLabels(ChartData $labels)
141 {
142 $this->labels = $labels;
143 }
144 /**
145 * @return ChartData
146 */
147 public function getLabels()
148 {
149 return $this->labels;
150 }
151 /**
152 * @param int
153 */
154 public function setLevels($levels)
155 {
156 $this->levels = $levels;
157 }
158 /**
159 * @return int
160 */
161 public function getLevels()
162 {
163 return $this->levels;
164 }
165 public function setMaxValue($maxValue)
166 {
167 $this->maxValue = $maxValue;
168 }
169 public function getMaxValue()
170 {
171 return $this->maxValue;
172 }
173 public function setMinValue($minValue)
174 {
175 $this->minValue = $minValue;
176 }
177 public function getMinValue()
178 {
179 return $this->minValue;
180 }
181 /**
182 * @param ChartData
183 */
184 public function setParentLabels(ChartData $parentLabels)
185 {
186 $this->parentLabels = $parentLabels;
187 }
188 /**
189 * @return ChartData
190 */
191 public function getParentLabels()
192 {
193 return $this->parentLabels;
194 }
195 /**
196 * @param ChartData
197 */
198 public function setSizeData(ChartData $sizeData)
199 {
200 $this->sizeData = $sizeData;
201 }
202 /**
203 * @return ChartData
204 */
205 public function getSizeData()
206 {
207 return $this->sizeData;
208 }
209 /**
210 * @param TextFormat
211 */
212 public function setTextFormat(TextFormat $textFormat)
213 {
214 $this->textFormat = $textFormat;
215 }
216 /**
217 * @return TextFormat
218 */
219 public function getTextFormat()
220 {
221 return $this->textFormat;
222 }
223}
224
225// Adding a class alias for backwards compatibility with the previous class name.
226class_alias(TreemapChartSpec::class, 'Google_Service_Sheets_TreemapChartSpec');
Note: See TracBrowser for help on using the repository browser.