source: vendor/google/apiclient-services/src/Sheets/SlicerSpec.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Upload project files

  • Property mode set to 100644
File size: 3.7 KB
RevLine 
[e3d4e0a]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 SlicerSpec extends \Google\Model
21{
22 /**
23 * @var bool
24 */
25 public $applyToPivotTables;
26 protected $backgroundColorType = Color::class;
27 protected $backgroundColorDataType = '';
28 protected $backgroundColorStyleType = ColorStyle::class;
29 protected $backgroundColorStyleDataType = '';
30 /**
31 * @var int
32 */
33 public $columnIndex;
34 protected $dataRangeType = GridRange::class;
35 protected $dataRangeDataType = '';
36 protected $filterCriteriaType = FilterCriteria::class;
37 protected $filterCriteriaDataType = '';
38 /**
39 * @var string
40 */
41 public $horizontalAlignment;
42 protected $textFormatType = TextFormat::class;
43 protected $textFormatDataType = '';
44 /**
45 * @var string
46 */
47 public $title;
48
49 /**
50 * @param bool
51 */
52 public function setApplyToPivotTables($applyToPivotTables)
53 {
54 $this->applyToPivotTables = $applyToPivotTables;
55 }
56 /**
57 * @return bool
58 */
59 public function getApplyToPivotTables()
60 {
61 return $this->applyToPivotTables;
62 }
63 /**
64 * @param Color
65 */
66 public function setBackgroundColor(Color $backgroundColor)
67 {
68 $this->backgroundColor = $backgroundColor;
69 }
70 /**
71 * @return Color
72 */
73 public function getBackgroundColor()
74 {
75 return $this->backgroundColor;
76 }
77 /**
78 * @param ColorStyle
79 */
80 public function setBackgroundColorStyle(ColorStyle $backgroundColorStyle)
81 {
82 $this->backgroundColorStyle = $backgroundColorStyle;
83 }
84 /**
85 * @return ColorStyle
86 */
87 public function getBackgroundColorStyle()
88 {
89 return $this->backgroundColorStyle;
90 }
91 /**
92 * @param int
93 */
94 public function setColumnIndex($columnIndex)
95 {
96 $this->columnIndex = $columnIndex;
97 }
98 /**
99 * @return int
100 */
101 public function getColumnIndex()
102 {
103 return $this->columnIndex;
104 }
105 /**
106 * @param GridRange
107 */
108 public function setDataRange(GridRange $dataRange)
109 {
110 $this->dataRange = $dataRange;
111 }
112 /**
113 * @return GridRange
114 */
115 public function getDataRange()
116 {
117 return $this->dataRange;
118 }
119 /**
120 * @param FilterCriteria
121 */
122 public function setFilterCriteria(FilterCriteria $filterCriteria)
123 {
124 $this->filterCriteria = $filterCriteria;
125 }
126 /**
127 * @return FilterCriteria
128 */
129 public function getFilterCriteria()
130 {
131 return $this->filterCriteria;
132 }
133 /**
134 * @param string
135 */
136 public function setHorizontalAlignment($horizontalAlignment)
137 {
138 $this->horizontalAlignment = $horizontalAlignment;
139 }
140 /**
141 * @return string
142 */
143 public function getHorizontalAlignment()
144 {
145 return $this->horizontalAlignment;
146 }
147 /**
148 * @param TextFormat
149 */
150 public function setTextFormat(TextFormat $textFormat)
151 {
152 $this->textFormat = $textFormat;
153 }
154 /**
155 * @return TextFormat
156 */
157 public function getTextFormat()
158 {
159 return $this->textFormat;
160 }
161 /**
162 * @param string
163 */
164 public function setTitle($title)
165 {
166 $this->title = $title;
167 }
168 /**
169 * @return string
170 */
171 public function getTitle()
172 {
173 return $this->title;
174 }
175}
176
177// Adding a class alias for backwards compatibility with the previous class name.
178class_alias(SlicerSpec::class, 'Google_Service_Sheets_SlicerSpec');
Note: See TracBrowser for help on using the repository browser.