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 |
|
---|
18 | namespace Google\Service\Sheets;
|
---|
19 |
|
---|
20 | class SpreadsheetProperties extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $autoRecalc;
|
---|
26 | protected $defaultFormatType = CellFormat::class;
|
---|
27 | protected $defaultFormatDataType = '';
|
---|
28 | /**
|
---|
29 | * @var bool
|
---|
30 | */
|
---|
31 | public $importFunctionsExternalUrlAccessAllowed;
|
---|
32 | protected $iterativeCalculationSettingsType = IterativeCalculationSettings::class;
|
---|
33 | protected $iterativeCalculationSettingsDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $locale;
|
---|
38 | protected $spreadsheetThemeType = SpreadsheetTheme::class;
|
---|
39 | protected $spreadsheetThemeDataType = '';
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $timeZone;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $title;
|
---|
48 |
|
---|
49 | /**
|
---|
50 | * @param string
|
---|
51 | */
|
---|
52 | public function setAutoRecalc($autoRecalc)
|
---|
53 | {
|
---|
54 | $this->autoRecalc = $autoRecalc;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return string
|
---|
58 | */
|
---|
59 | public function getAutoRecalc()
|
---|
60 | {
|
---|
61 | return $this->autoRecalc;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param CellFormat
|
---|
65 | */
|
---|
66 | public function setDefaultFormat(CellFormat $defaultFormat)
|
---|
67 | {
|
---|
68 | $this->defaultFormat = $defaultFormat;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return CellFormat
|
---|
72 | */
|
---|
73 | public function getDefaultFormat()
|
---|
74 | {
|
---|
75 | return $this->defaultFormat;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param bool
|
---|
79 | */
|
---|
80 | public function setImportFunctionsExternalUrlAccessAllowed($importFunctionsExternalUrlAccessAllowed)
|
---|
81 | {
|
---|
82 | $this->importFunctionsExternalUrlAccessAllowed = $importFunctionsExternalUrlAccessAllowed;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return bool
|
---|
86 | */
|
---|
87 | public function getImportFunctionsExternalUrlAccessAllowed()
|
---|
88 | {
|
---|
89 | return $this->importFunctionsExternalUrlAccessAllowed;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param IterativeCalculationSettings
|
---|
93 | */
|
---|
94 | public function setIterativeCalculationSettings(IterativeCalculationSettings $iterativeCalculationSettings)
|
---|
95 | {
|
---|
96 | $this->iterativeCalculationSettings = $iterativeCalculationSettings;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return IterativeCalculationSettings
|
---|
100 | */
|
---|
101 | public function getIterativeCalculationSettings()
|
---|
102 | {
|
---|
103 | return $this->iterativeCalculationSettings;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param string
|
---|
107 | */
|
---|
108 | public function setLocale($locale)
|
---|
109 | {
|
---|
110 | $this->locale = $locale;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return string
|
---|
114 | */
|
---|
115 | public function getLocale()
|
---|
116 | {
|
---|
117 | return $this->locale;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @param SpreadsheetTheme
|
---|
121 | */
|
---|
122 | public function setSpreadsheetTheme(SpreadsheetTheme $spreadsheetTheme)
|
---|
123 | {
|
---|
124 | $this->spreadsheetTheme = $spreadsheetTheme;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @return SpreadsheetTheme
|
---|
128 | */
|
---|
129 | public function getSpreadsheetTheme()
|
---|
130 | {
|
---|
131 | return $this->spreadsheetTheme;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @param string
|
---|
135 | */
|
---|
136 | public function setTimeZone($timeZone)
|
---|
137 | {
|
---|
138 | $this->timeZone = $timeZone;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @return string
|
---|
142 | */
|
---|
143 | public function getTimeZone()
|
---|
144 | {
|
---|
145 | return $this->timeZone;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @param string
|
---|
149 | */
|
---|
150 | public function setTitle($title)
|
---|
151 | {
|
---|
152 | $this->title = $title;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @return string
|
---|
156 | */
|
---|
157 | public function getTitle()
|
---|
158 | {
|
---|
159 | return $this->title;
|
---|
160 | }
|
---|
161 | }
|
---|
162 |
|
---|
163 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
164 | class_alias(SpreadsheetProperties::class, 'Google_Service_Sheets_SpreadsheetProperties');
|
---|