source: vendor/google/apiclient-services/src/Solar/SolarPotential.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: 5.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\Solar;
19
20class SolarPotential extends \Google\Collection
21{
22 protected $collection_key = 'solarPanels';
23 protected $buildingStatsType = SizeAndSunshineStats::class;
24 protected $buildingStatsDataType = '';
25 /**
26 * @var float
27 */
28 public $carbonOffsetFactorKgPerMwh;
29 protected $financialAnalysesType = FinancialAnalysis::class;
30 protected $financialAnalysesDataType = 'array';
31 /**
32 * @var float
33 */
34 public $maxArrayAreaMeters2;
35 /**
36 * @var int
37 */
38 public $maxArrayPanelsCount;
39 /**
40 * @var float
41 */
42 public $maxSunshineHoursPerYear;
43 /**
44 * @var float
45 */
46 public $panelCapacityWatts;
47 /**
48 * @var float
49 */
50 public $panelHeightMeters;
51 /**
52 * @var int
53 */
54 public $panelLifetimeYears;
55 /**
56 * @var float
57 */
58 public $panelWidthMeters;
59 protected $roofSegmentStatsType = RoofSegmentSizeAndSunshineStats::class;
60 protected $roofSegmentStatsDataType = 'array';
61 protected $solarPanelConfigsType = SolarPanelConfig::class;
62 protected $solarPanelConfigsDataType = 'array';
63 protected $solarPanelsType = SolarPanel::class;
64 protected $solarPanelsDataType = 'array';
65 protected $wholeRoofStatsType = SizeAndSunshineStats::class;
66 protected $wholeRoofStatsDataType = '';
67
68 /**
69 * @param SizeAndSunshineStats
70 */
71 public function setBuildingStats(SizeAndSunshineStats $buildingStats)
72 {
73 $this->buildingStats = $buildingStats;
74 }
75 /**
76 * @return SizeAndSunshineStats
77 */
78 public function getBuildingStats()
79 {
80 return $this->buildingStats;
81 }
82 /**
83 * @param float
84 */
85 public function setCarbonOffsetFactorKgPerMwh($carbonOffsetFactorKgPerMwh)
86 {
87 $this->carbonOffsetFactorKgPerMwh = $carbonOffsetFactorKgPerMwh;
88 }
89 /**
90 * @return float
91 */
92 public function getCarbonOffsetFactorKgPerMwh()
93 {
94 return $this->carbonOffsetFactorKgPerMwh;
95 }
96 /**
97 * @param FinancialAnalysis[]
98 */
99 public function setFinancialAnalyses($financialAnalyses)
100 {
101 $this->financialAnalyses = $financialAnalyses;
102 }
103 /**
104 * @return FinancialAnalysis[]
105 */
106 public function getFinancialAnalyses()
107 {
108 return $this->financialAnalyses;
109 }
110 /**
111 * @param float
112 */
113 public function setMaxArrayAreaMeters2($maxArrayAreaMeters2)
114 {
115 $this->maxArrayAreaMeters2 = $maxArrayAreaMeters2;
116 }
117 /**
118 * @return float
119 */
120 public function getMaxArrayAreaMeters2()
121 {
122 return $this->maxArrayAreaMeters2;
123 }
124 /**
125 * @param int
126 */
127 public function setMaxArrayPanelsCount($maxArrayPanelsCount)
128 {
129 $this->maxArrayPanelsCount = $maxArrayPanelsCount;
130 }
131 /**
132 * @return int
133 */
134 public function getMaxArrayPanelsCount()
135 {
136 return $this->maxArrayPanelsCount;
137 }
138 /**
139 * @param float
140 */
141 public function setMaxSunshineHoursPerYear($maxSunshineHoursPerYear)
142 {
143 $this->maxSunshineHoursPerYear = $maxSunshineHoursPerYear;
144 }
145 /**
146 * @return float
147 */
148 public function getMaxSunshineHoursPerYear()
149 {
150 return $this->maxSunshineHoursPerYear;
151 }
152 /**
153 * @param float
154 */
155 public function setPanelCapacityWatts($panelCapacityWatts)
156 {
157 $this->panelCapacityWatts = $panelCapacityWatts;
158 }
159 /**
160 * @return float
161 */
162 public function getPanelCapacityWatts()
163 {
164 return $this->panelCapacityWatts;
165 }
166 /**
167 * @param float
168 */
169 public function setPanelHeightMeters($panelHeightMeters)
170 {
171 $this->panelHeightMeters = $panelHeightMeters;
172 }
173 /**
174 * @return float
175 */
176 public function getPanelHeightMeters()
177 {
178 return $this->panelHeightMeters;
179 }
180 /**
181 * @param int
182 */
183 public function setPanelLifetimeYears($panelLifetimeYears)
184 {
185 $this->panelLifetimeYears = $panelLifetimeYears;
186 }
187 /**
188 * @return int
189 */
190 public function getPanelLifetimeYears()
191 {
192 return $this->panelLifetimeYears;
193 }
194 /**
195 * @param float
196 */
197 public function setPanelWidthMeters($panelWidthMeters)
198 {
199 $this->panelWidthMeters = $panelWidthMeters;
200 }
201 /**
202 * @return float
203 */
204 public function getPanelWidthMeters()
205 {
206 return $this->panelWidthMeters;
207 }
208 /**
209 * @param RoofSegmentSizeAndSunshineStats[]
210 */
211 public function setRoofSegmentStats($roofSegmentStats)
212 {
213 $this->roofSegmentStats = $roofSegmentStats;
214 }
215 /**
216 * @return RoofSegmentSizeAndSunshineStats[]
217 */
218 public function getRoofSegmentStats()
219 {
220 return $this->roofSegmentStats;
221 }
222 /**
223 * @param SolarPanelConfig[]
224 */
225 public function setSolarPanelConfigs($solarPanelConfigs)
226 {
227 $this->solarPanelConfigs = $solarPanelConfigs;
228 }
229 /**
230 * @return SolarPanelConfig[]
231 */
232 public function getSolarPanelConfigs()
233 {
234 return $this->solarPanelConfigs;
235 }
236 /**
237 * @param SolarPanel[]
238 */
239 public function setSolarPanels($solarPanels)
240 {
241 $this->solarPanels = $solarPanels;
242 }
243 /**
244 * @return SolarPanel[]
245 */
246 public function getSolarPanels()
247 {
248 return $this->solarPanels;
249 }
250 /**
251 * @param SizeAndSunshineStats
252 */
253 public function setWholeRoofStats(SizeAndSunshineStats $wholeRoofStats)
254 {
255 $this->wholeRoofStats = $wholeRoofStats;
256 }
257 /**
258 * @return SizeAndSunshineStats
259 */
260 public function getWholeRoofStats()
261 {
262 return $this->wholeRoofStats;
263 }
264}
265
266// Adding a class alias for backwards compatibility with the previous class name.
267class_alias(SolarPotential::class, 'Google_Service_Solar_SolarPotential');
Note: See TracBrowser for help on using the repository browser.