source: vendor/google/apiclient-services/src/AirQuality/AirQualityIndex.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 2.7 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\AirQuality;
19
20class AirQualityIndex extends \Google\Model
21{
22 /**
23 * @var int
24 */
25 public $aqi;
26 /**
27 * @var string
28 */
29 public $aqiDisplay;
30 /**
31 * @var string
32 */
33 public $category;
34 /**
35 * @var string
36 */
37 public $code;
38 protected $colorType = Color::class;
39 protected $colorDataType = '';
40 /**
41 * @var string
42 */
43 public $displayName;
44 /**
45 * @var string
46 */
47 public $dominantPollutant;
48
49 /**
50 * @param int
51 */
52 public function setAqi($aqi)
53 {
54 $this->aqi = $aqi;
55 }
56 /**
57 * @return int
58 */
59 public function getAqi()
60 {
61 return $this->aqi;
62 }
63 /**
64 * @param string
65 */
66 public function setAqiDisplay($aqiDisplay)
67 {
68 $this->aqiDisplay = $aqiDisplay;
69 }
70 /**
71 * @return string
72 */
73 public function getAqiDisplay()
74 {
75 return $this->aqiDisplay;
76 }
77 /**
78 * @param string
79 */
80 public function setCategory($category)
81 {
82 $this->category = $category;
83 }
84 /**
85 * @return string
86 */
87 public function getCategory()
88 {
89 return $this->category;
90 }
91 /**
92 * @param string
93 */
94 public function setCode($code)
95 {
96 $this->code = $code;
97 }
98 /**
99 * @return string
100 */
101 public function getCode()
102 {
103 return $this->code;
104 }
105 /**
106 * @param Color
107 */
108 public function setColor(Color $color)
109 {
110 $this->color = $color;
111 }
112 /**
113 * @return Color
114 */
115 public function getColor()
116 {
117 return $this->color;
118 }
119 /**
120 * @param string
121 */
122 public function setDisplayName($displayName)
123 {
124 $this->displayName = $displayName;
125 }
126 /**
127 * @return string
128 */
129 public function getDisplayName()
130 {
131 return $this->displayName;
132 }
133 /**
134 * @param string
135 */
136 public function setDominantPollutant($dominantPollutant)
137 {
138 $this->dominantPollutant = $dominantPollutant;
139 }
140 /**
141 * @return string
142 */
143 public function getDominantPollutant()
144 {
145 return $this->dominantPollutant;
146 }
147}
148
149// Adding a class alias for backwards compatibility with the previous class name.
150class_alias(AirQualityIndex::class, 'Google_Service_AirQuality_AirQualityIndex');
Note: See TracBrowser for help on using the repository browser.