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 PieChartSpec extends \Google\Model
21{
22  protected $domainType = ChartData::class;
23  protected $domainDataType = '';
24  /**
25   * @var string
26   */
27  public $legendPosition;
28  public $pieHole;
29  protected $seriesType = ChartData::class;
30  protected $seriesDataType = '';
31  /**
32   * @var bool
33   */
34  public $threeDimensional;
35
36  /**
37   * @param ChartData
38   */
39  public function setDomain(ChartData $domain)
40  {
41    $this->domain = $domain;
42  }
43  /**
44   * @return ChartData
45   */
46  public function getDomain()
47  {
48    return $this->domain;
49  }
50  /**
51   * @param string
52   */
53  public function setLegendPosition($legendPosition)
54  {
55    $this->legendPosition = $legendPosition;
56  }
57  /**
58   * @return string
59   */
60  public function getLegendPosition()
61  {
62    return $this->legendPosition;
63  }
64  public function setPieHole($pieHole)
65  {
66    $this->pieHole = $pieHole;
67  }
68  public function getPieHole()
69  {
70    return $this->pieHole;
71  }
72  /**
73   * @param ChartData
74   */
75  public function setSeries(ChartData $series)
76  {
77    $this->series = $series;
78  }
79  /**
80   * @return ChartData
81   */
82  public function getSeries()
83  {
84    return $this->series;
85  }
86  /**
87   * @param bool
88   */
89  public function setThreeDimensional($threeDimensional)
90  {
91    $this->threeDimensional = $threeDimensional;
92  }
93  /**
94   * @return bool
95   */
96  public function getThreeDimensional()
97  {
98    return $this->threeDimensional;
99  }
100}
101
102// Adding a class alias for backwards compatibility with the previous class name.
103class_alias(PieChartSpec::class, 'Google_Service_Sheets_PieChartSpec');
104