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 BubbleChartSpec extends \Google\Model
21{
22  protected $bubbleBorderColorType = Color::class;
23  protected $bubbleBorderColorDataType = '';
24  protected $bubbleBorderColorStyleType = ColorStyle::class;
25  protected $bubbleBorderColorStyleDataType = '';
26  protected $bubbleLabelsType = ChartData::class;
27  protected $bubbleLabelsDataType = '';
28  /**
29   * @var int
30   */
31  public $bubbleMaxRadiusSize;
32  /**
33   * @var int
34   */
35  public $bubbleMinRadiusSize;
36  /**
37   * @var float
38   */
39  public $bubbleOpacity;
40  protected $bubbleSizesType = ChartData::class;
41  protected $bubbleSizesDataType = '';
42  protected $bubbleTextStyleType = TextFormat::class;
43  protected $bubbleTextStyleDataType = '';
44  protected $domainType = ChartData::class;
45  protected $domainDataType = '';
46  protected $groupIdsType = ChartData::class;
47  protected $groupIdsDataType = '';
48  /**
49   * @var string
50   */
51  public $legendPosition;
52  protected $seriesType = ChartData::class;
53  protected $seriesDataType = '';
54
55  /**
56   * @param Color
57   */
58  public function setBubbleBorderColor(Color $bubbleBorderColor)
59  {
60    $this->bubbleBorderColor = $bubbleBorderColor;
61  }
62  /**
63   * @return Color
64   */
65  public function getBubbleBorderColor()
66  {
67    return $this->bubbleBorderColor;
68  }
69  /**
70   * @param ColorStyle
71   */
72  public function setBubbleBorderColorStyle(ColorStyle $bubbleBorderColorStyle)
73  {
74    $this->bubbleBorderColorStyle = $bubbleBorderColorStyle;
75  }
76  /**
77   * @return ColorStyle
78   */
79  public function getBubbleBorderColorStyle()
80  {
81    return $this->bubbleBorderColorStyle;
82  }
83  /**
84   * @param ChartData
85   */
86  public function setBubbleLabels(ChartData $bubbleLabels)
87  {
88    $this->bubbleLabels = $bubbleLabels;
89  }
90  /**
91   * @return ChartData
92   */
93  public function getBubbleLabels()
94  {
95    return $this->bubbleLabels;
96  }
97  /**
98   * @param int
99   */
100  public function setBubbleMaxRadiusSize($bubbleMaxRadiusSize)
101  {
102    $this->bubbleMaxRadiusSize = $bubbleMaxRadiusSize;
103  }
104  /**
105   * @return int
106   */
107  public function getBubbleMaxRadiusSize()
108  {
109    return $this->bubbleMaxRadiusSize;
110  }
111  /**
112   * @param int
113   */
114  public function setBubbleMinRadiusSize($bubbleMinRadiusSize)
115  {
116    $this->bubbleMinRadiusSize = $bubbleMinRadiusSize;
117  }
118  /**
119   * @return int
120   */
121  public function getBubbleMinRadiusSize()
122  {
123    return $this->bubbleMinRadiusSize;
124  }
125  /**
126   * @param float
127   */
128  public function setBubbleOpacity($bubbleOpacity)
129  {
130    $this->bubbleOpacity = $bubbleOpacity;
131  }
132  /**
133   * @return float
134   */
135  public function getBubbleOpacity()
136  {
137    return $this->bubbleOpacity;
138  }
139  /**
140   * @param ChartData
141   */
142  public function setBubbleSizes(ChartData $bubbleSizes)
143  {
144    $this->bubbleSizes = $bubbleSizes;
145  }
146  /**
147   * @return ChartData
148   */
149  public function getBubbleSizes()
150  {
151    return $this->bubbleSizes;
152  }
153  /**
154   * @param TextFormat
155   */
156  public function setBubbleTextStyle(TextFormat $bubbleTextStyle)
157  {
158    $this->bubbleTextStyle = $bubbleTextStyle;
159  }
160  /**
161   * @return TextFormat
162   */
163  public function getBubbleTextStyle()
164  {
165    return $this->bubbleTextStyle;
166  }
167  /**
168   * @param ChartData
169   */
170  public function setDomain(ChartData $domain)
171  {
172    $this->domain = $domain;
173  }
174  /**
175   * @return ChartData
176   */
177  public function getDomain()
178  {
179    return $this->domain;
180  }
181  /**
182   * @param ChartData
183   */
184  public function setGroupIds(ChartData $groupIds)
185  {
186    $this->groupIds = $groupIds;
187  }
188  /**
189   * @return ChartData
190   */
191  public function getGroupIds()
192  {
193    return $this->groupIds;
194  }
195  /**
196   * @param string
197   */
198  public function setLegendPosition($legendPosition)
199  {
200    $this->legendPosition = $legendPosition;
201  }
202  /**
203   * @return string
204   */
205  public function getLegendPosition()
206  {
207    return $this->legendPosition;
208  }
209  /**
210   * @param ChartData
211   */
212  public function setSeries(ChartData $series)
213  {
214    $this->series = $series;
215  }
216  /**
217   * @return ChartData
218   */
219  public function getSeries()
220  {
221    return $this->series;
222  }
223}
224
225// Adding a class alias for backwards compatibility with the previous class name.
226class_alias(BubbleChartSpec::class, 'Google_Service_Sheets_BubbleChartSpec');
227