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 OrgChartSpec extends \Google\Model
21{
22  protected $labelsType = ChartData::class;
23  protected $labelsDataType = '';
24  protected $nodeColorType = Color::class;
25  protected $nodeColorDataType = '';
26  protected $nodeColorStyleType = ColorStyle::class;
27  protected $nodeColorStyleDataType = '';
28  /**
29   * @var string
30   */
31  public $nodeSize;
32  protected $parentLabelsType = ChartData::class;
33  protected $parentLabelsDataType = '';
34  protected $selectedNodeColorType = Color::class;
35  protected $selectedNodeColorDataType = '';
36  protected $selectedNodeColorStyleType = ColorStyle::class;
37  protected $selectedNodeColorStyleDataType = '';
38  protected $tooltipsType = ChartData::class;
39  protected $tooltipsDataType = '';
40
41  /**
42   * @param ChartData
43   */
44  public function setLabels(ChartData $labels)
45  {
46    $this->labels = $labels;
47  }
48  /**
49   * @return ChartData
50   */
51  public function getLabels()
52  {
53    return $this->labels;
54  }
55  /**
56   * @param Color
57   */
58  public function setNodeColor(Color $nodeColor)
59  {
60    $this->nodeColor = $nodeColor;
61  }
62  /**
63   * @return Color
64   */
65  public function getNodeColor()
66  {
67    return $this->nodeColor;
68  }
69  /**
70   * @param ColorStyle
71   */
72  public function setNodeColorStyle(ColorStyle $nodeColorStyle)
73  {
74    $this->nodeColorStyle = $nodeColorStyle;
75  }
76  /**
77   * @return ColorStyle
78   */
79  public function getNodeColorStyle()
80  {
81    return $this->nodeColorStyle;
82  }
83  /**
84   * @param string
85   */
86  public function setNodeSize($nodeSize)
87  {
88    $this->nodeSize = $nodeSize;
89  }
90  /**
91   * @return string
92   */
93  public function getNodeSize()
94  {
95    return $this->nodeSize;
96  }
97  /**
98   * @param ChartData
99   */
100  public function setParentLabels(ChartData $parentLabels)
101  {
102    $this->parentLabels = $parentLabels;
103  }
104  /**
105   * @return ChartData
106   */
107  public function getParentLabels()
108  {
109    return $this->parentLabels;
110  }
111  /**
112   * @param Color
113   */
114  public function setSelectedNodeColor(Color $selectedNodeColor)
115  {
116    $this->selectedNodeColor = $selectedNodeColor;
117  }
118  /**
119   * @return Color
120   */
121  public function getSelectedNodeColor()
122  {
123    return $this->selectedNodeColor;
124  }
125  /**
126   * @param ColorStyle
127   */
128  public function setSelectedNodeColorStyle(ColorStyle $selectedNodeColorStyle)
129  {
130    $this->selectedNodeColorStyle = $selectedNodeColorStyle;
131  }
132  /**
133   * @return ColorStyle
134   */
135  public function getSelectedNodeColorStyle()
136  {
137    return $this->selectedNodeColorStyle;
138  }
139  /**
140   * @param ChartData
141   */
142  public function setTooltips(ChartData $tooltips)
143  {
144    $this->tooltips = $tooltips;
145  }
146  /**
147   * @return ChartData
148   */
149  public function getTooltips()
150  {
151    return $this->tooltips;
152  }
153}
154
155// Adding a class alias for backwards compatibility with the previous class name.
156class_alias(OrgChartSpec::class, 'Google_Service_Sheets_OrgChartSpec');
157