source: vendor/google/apiclient-services/src/Sheets/SheetProperties.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 3.8 KB
Line 
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 SheetProperties extends \Google\Model
21{
22 protected $dataSourceSheetPropertiesType = DataSourceSheetProperties::class;
23 protected $dataSourceSheetPropertiesDataType = '';
24 protected $gridPropertiesType = GridProperties::class;
25 protected $gridPropertiesDataType = '';
26 /**
27 * @var bool
28 */
29 public $hidden;
30 /**
31 * @var int
32 */
33 public $index;
34 /**
35 * @var bool
36 */
37 public $rightToLeft;
38 /**
39 * @var int
40 */
41 public $sheetId;
42 /**
43 * @var string
44 */
45 public $sheetType;
46 protected $tabColorType = Color::class;
47 protected $tabColorDataType = '';
48 protected $tabColorStyleType = ColorStyle::class;
49 protected $tabColorStyleDataType = '';
50 /**
51 * @var string
52 */
53 public $title;
54
55 /**
56 * @param DataSourceSheetProperties
57 */
58 public function setDataSourceSheetProperties(DataSourceSheetProperties $dataSourceSheetProperties)
59 {
60 $this->dataSourceSheetProperties = $dataSourceSheetProperties;
61 }
62 /**
63 * @return DataSourceSheetProperties
64 */
65 public function getDataSourceSheetProperties()
66 {
67 return $this->dataSourceSheetProperties;
68 }
69 /**
70 * @param GridProperties
71 */
72 public function setGridProperties(GridProperties $gridProperties)
73 {
74 $this->gridProperties = $gridProperties;
75 }
76 /**
77 * @return GridProperties
78 */
79 public function getGridProperties()
80 {
81 return $this->gridProperties;
82 }
83 /**
84 * @param bool
85 */
86 public function setHidden($hidden)
87 {
88 $this->hidden = $hidden;
89 }
90 /**
91 * @return bool
92 */
93 public function getHidden()
94 {
95 return $this->hidden;
96 }
97 /**
98 * @param int
99 */
100 public function setIndex($index)
101 {
102 $this->index = $index;
103 }
104 /**
105 * @return int
106 */
107 public function getIndex()
108 {
109 return $this->index;
110 }
111 /**
112 * @param bool
113 */
114 public function setRightToLeft($rightToLeft)
115 {
116 $this->rightToLeft = $rightToLeft;
117 }
118 /**
119 * @return bool
120 */
121 public function getRightToLeft()
122 {
123 return $this->rightToLeft;
124 }
125 /**
126 * @param int
127 */
128 public function setSheetId($sheetId)
129 {
130 $this->sheetId = $sheetId;
131 }
132 /**
133 * @return int
134 */
135 public function getSheetId()
136 {
137 return $this->sheetId;
138 }
139 /**
140 * @param string
141 */
142 public function setSheetType($sheetType)
143 {
144 $this->sheetType = $sheetType;
145 }
146 /**
147 * @return string
148 */
149 public function getSheetType()
150 {
151 return $this->sheetType;
152 }
153 /**
154 * @param Color
155 */
156 public function setTabColor(Color $tabColor)
157 {
158 $this->tabColor = $tabColor;
159 }
160 /**
161 * @return Color
162 */
163 public function getTabColor()
164 {
165 return $this->tabColor;
166 }
167 /**
168 * @param ColorStyle
169 */
170 public function setTabColorStyle(ColorStyle $tabColorStyle)
171 {
172 $this->tabColorStyle = $tabColorStyle;
173 }
174 /**
175 * @return ColorStyle
176 */
177 public function getTabColorStyle()
178 {
179 return $this->tabColorStyle;
180 }
181 /**
182 * @param string
183 */
184 public function setTitle($title)
185 {
186 $this->title = $title;
187 }
188 /**
189 * @return string
190 */
191 public function getTitle()
192 {
193 return $this->title;
194 }
195}
196
197// Adding a class alias for backwards compatibility with the previous class name.
198class_alias(SheetProperties::class, 'Google_Service_Sheets_SheetProperties');
Note: See TracBrowser for help on using the repository browser.