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 BandingProperties extends \Google\Model
21{
22  protected $firstBandColorType = Color::class;
23  protected $firstBandColorDataType = '';
24  protected $firstBandColorStyleType = ColorStyle::class;
25  protected $firstBandColorStyleDataType = '';
26  protected $footerColorType = Color::class;
27  protected $footerColorDataType = '';
28  protected $footerColorStyleType = ColorStyle::class;
29  protected $footerColorStyleDataType = '';
30  protected $headerColorType = Color::class;
31  protected $headerColorDataType = '';
32  protected $headerColorStyleType = ColorStyle::class;
33  protected $headerColorStyleDataType = '';
34  protected $secondBandColorType = Color::class;
35  protected $secondBandColorDataType = '';
36  protected $secondBandColorStyleType = ColorStyle::class;
37  protected $secondBandColorStyleDataType = '';
38
39  /**
40   * @param Color
41   */
42  public function setFirstBandColor(Color $firstBandColor)
43  {
44    $this->firstBandColor = $firstBandColor;
45  }
46  /**
47   * @return Color
48   */
49  public function getFirstBandColor()
50  {
51    return $this->firstBandColor;
52  }
53  /**
54   * @param ColorStyle
55   */
56  public function setFirstBandColorStyle(ColorStyle $firstBandColorStyle)
57  {
58    $this->firstBandColorStyle = $firstBandColorStyle;
59  }
60  /**
61   * @return ColorStyle
62   */
63  public function getFirstBandColorStyle()
64  {
65    return $this->firstBandColorStyle;
66  }
67  /**
68   * @param Color
69   */
70  public function setFooterColor(Color $footerColor)
71  {
72    $this->footerColor = $footerColor;
73  }
74  /**
75   * @return Color
76   */
77  public function getFooterColor()
78  {
79    return $this->footerColor;
80  }
81  /**
82   * @param ColorStyle
83   */
84  public function setFooterColorStyle(ColorStyle $footerColorStyle)
85  {
86    $this->footerColorStyle = $footerColorStyle;
87  }
88  /**
89   * @return ColorStyle
90   */
91  public function getFooterColorStyle()
92  {
93    return $this->footerColorStyle;
94  }
95  /**
96   * @param Color
97   */
98  public function setHeaderColor(Color $headerColor)
99  {
100    $this->headerColor = $headerColor;
101  }
102  /**
103   * @return Color
104   */
105  public function getHeaderColor()
106  {
107    return $this->headerColor;
108  }
109  /**
110   * @param ColorStyle
111   */
112  public function setHeaderColorStyle(ColorStyle $headerColorStyle)
113  {
114    $this->headerColorStyle = $headerColorStyle;
115  }
116  /**
117   * @return ColorStyle
118   */
119  public function getHeaderColorStyle()
120  {
121    return $this->headerColorStyle;
122  }
123  /**
124   * @param Color
125   */
126  public function setSecondBandColor(Color $secondBandColor)
127  {
128    $this->secondBandColor = $secondBandColor;
129  }
130  /**
131   * @return Color
132   */
133  public function getSecondBandColor()
134  {
135    return $this->secondBandColor;
136  }
137  /**
138   * @param ColorStyle
139   */
140  public function setSecondBandColorStyle(ColorStyle $secondBandColorStyle)
141  {
142    $this->secondBandColorStyle = $secondBandColorStyle;
143  }
144  /**
145   * @return ColorStyle
146   */
147  public function getSecondBandColorStyle()
148  {
149    return $this->secondBandColorStyle;
150  }
151}
152
153// Adding a class alias for backwards compatibility with the previous class name.
154class_alias(BandingProperties::class, 'Google_Service_Sheets_BandingProperties');
155