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 ScorecardChartSpec extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $aggregateType;
26  protected $baselineValueDataType = ChartData::class;
27  protected $baselineValueDataDataType = '';
28  protected $baselineValueFormatType = BaselineValueFormat::class;
29  protected $baselineValueFormatDataType = '';
30  protected $customFormatOptionsType = ChartCustomNumberFormatOptions::class;
31  protected $customFormatOptionsDataType = '';
32  protected $keyValueDataType = ChartData::class;
33  protected $keyValueDataDataType = '';
34  protected $keyValueFormatType = KeyValueFormat::class;
35  protected $keyValueFormatDataType = '';
36  /**
37   * @var string
38   */
39  public $numberFormatSource;
40  public $scaleFactor;
41
42  /**
43   * @param string
44   */
45  public function setAggregateType($aggregateType)
46  {
47    $this->aggregateType = $aggregateType;
48  }
49  /**
50   * @return string
51   */
52  public function getAggregateType()
53  {
54    return $this->aggregateType;
55  }
56  /**
57   * @param ChartData
58   */
59  public function setBaselineValueData(ChartData $baselineValueData)
60  {
61    $this->baselineValueData = $baselineValueData;
62  }
63  /**
64   * @return ChartData
65   */
66  public function getBaselineValueData()
67  {
68    return $this->baselineValueData;
69  }
70  /**
71   * @param BaselineValueFormat
72   */
73  public function setBaselineValueFormat(BaselineValueFormat $baselineValueFormat)
74  {
75    $this->baselineValueFormat = $baselineValueFormat;
76  }
77  /**
78   * @return BaselineValueFormat
79   */
80  public function getBaselineValueFormat()
81  {
82    return $this->baselineValueFormat;
83  }
84  /**
85   * @param ChartCustomNumberFormatOptions
86   */
87  public function setCustomFormatOptions(ChartCustomNumberFormatOptions $customFormatOptions)
88  {
89    $this->customFormatOptions = $customFormatOptions;
90  }
91  /**
92   * @return ChartCustomNumberFormatOptions
93   */
94  public function getCustomFormatOptions()
95  {
96    return $this->customFormatOptions;
97  }
98  /**
99   * @param ChartData
100   */
101  public function setKeyValueData(ChartData $keyValueData)
102  {
103    $this->keyValueData = $keyValueData;
104  }
105  /**
106   * @return ChartData
107   */
108  public function getKeyValueData()
109  {
110    return $this->keyValueData;
111  }
112  /**
113   * @param KeyValueFormat
114   */
115  public function setKeyValueFormat(KeyValueFormat $keyValueFormat)
116  {
117    $this->keyValueFormat = $keyValueFormat;
118  }
119  /**
120   * @return KeyValueFormat
121   */
122  public function getKeyValueFormat()
123  {
124    return $this->keyValueFormat;
125  }
126  /**
127   * @param string
128   */
129  public function setNumberFormatSource($numberFormatSource)
130  {
131    $this->numberFormatSource = $numberFormatSource;
132  }
133  /**
134   * @return string
135   */
136  public function getNumberFormatSource()
137  {
138    return $this->numberFormatSource;
139  }
140  public function setScaleFactor($scaleFactor)
141  {
142    $this->scaleFactor = $scaleFactor;
143  }
144  public function getScaleFactor()
145  {
146    return $this->scaleFactor;
147  }
148}
149
150// Adding a class alias for backwards compatibility with the previous class name.
151class_alias(ScorecardChartSpec::class, 'Google_Service_Sheets_ScorecardChartSpec');
152