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\Calendar; 19 20class CalendarListEntry extends \Google\Collection 21{ 22 protected $collection_key = 'defaultReminders'; 23 /** 24 * @var string 25 */ 26 public $accessRole; 27 /** 28 * @var string 29 */ 30 public $backgroundColor; 31 /** 32 * @var string 33 */ 34 public $colorId; 35 protected $conferencePropertiesType = ConferenceProperties::class; 36 protected $conferencePropertiesDataType = ''; 37 protected $defaultRemindersType = EventReminder::class; 38 protected $defaultRemindersDataType = 'array'; 39 /** 40 * @var bool 41 */ 42 public $deleted; 43 /** 44 * @var string 45 */ 46 public $description; 47 /** 48 * @var string 49 */ 50 public $etag; 51 /** 52 * @var string 53 */ 54 public $foregroundColor; 55 /** 56 * @var bool 57 */ 58 public $hidden; 59 /** 60 * @var string 61 */ 62 public $id; 63 /** 64 * @var string 65 */ 66 public $kind; 67 /** 68 * @var string 69 */ 70 public $location; 71 protected $notificationSettingsType = CalendarListEntryNotificationSettings::class; 72 protected $notificationSettingsDataType = ''; 73 /** 74 * @var bool 75 */ 76 public $primary; 77 /** 78 * @var bool 79 */ 80 public $selected; 81 /** 82 * @var string 83 */ 84 public $summary; 85 /** 86 * @var string 87 */ 88 public $summaryOverride; 89 /** 90 * @var string 91 */ 92 public $timeZone; 93 94 /** 95 * @param string 96 */ 97 public function setAccessRole($accessRole) 98 { 99 $this->accessRole = $accessRole; 100 } 101 /** 102 * @return string 103 */ 104 public function getAccessRole() 105 { 106 return $this->accessRole; 107 } 108 /** 109 * @param string 110 */ 111 public function setBackgroundColor($backgroundColor) 112 { 113 $this->backgroundColor = $backgroundColor; 114 } 115 /** 116 * @return string 117 */ 118 public function getBackgroundColor() 119 { 120 return $this->backgroundColor; 121 } 122 /** 123 * @param string 124 */ 125 public function setColorId($colorId) 126 { 127 $this->colorId = $colorId; 128 } 129 /** 130 * @return string 131 */ 132 public function getColorId() 133 { 134 return $this->colorId; 135 } 136 /** 137 * @param ConferenceProperties 138 */ 139 public function setConferenceProperties(ConferenceProperties $conferenceProperties) 140 { 141 $this->conferenceProperties = $conferenceProperties; 142 } 143 /** 144 * @return ConferenceProperties 145 */ 146 public function getConferenceProperties() 147 { 148 return $this->conferenceProperties; 149 } 150 /** 151 * @param EventReminder[] 152 */ 153 public function setDefaultReminders($defaultReminders) 154 { 155 $this->defaultReminders = $defaultReminders; 156 } 157 /** 158 * @return EventReminder[] 159 */ 160 public function getDefaultReminders() 161 { 162 return $this->defaultReminders; 163 } 164 /** 165 * @param bool 166 */ 167 public function setDeleted($deleted) 168 { 169 $this->deleted = $deleted; 170 } 171 /** 172 * @return bool 173 */ 174 public function getDeleted() 175 { 176 return $this->deleted; 177 } 178 /** 179 * @param string 180 */ 181 public function setDescription($description) 182 { 183 $this->description = $description; 184 } 185 /** 186 * @return string 187 */ 188 public function getDescription() 189 { 190 return $this->description; 191 } 192 /** 193 * @param string 194 */ 195 public function setEtag($etag) 196 { 197 $this->etag = $etag; 198 } 199 /** 200 * @return string 201 */ 202 public function getEtag() 203 { 204 return $this->etag; 205 } 206 /** 207 * @param string 208 */ 209 public function setForegroundColor($foregroundColor) 210 { 211 $this->foregroundColor = $foregroundColor; 212 } 213 /** 214 * @return string 215 */ 216 public function getForegroundColor() 217 { 218 return $this->foregroundColor; 219 } 220 /** 221 * @param bool 222 */ 223 public function setHidden($hidden) 224 { 225 $this->hidden = $hidden; 226 } 227 /** 228 * @return bool 229 */ 230 public function getHidden() 231 { 232 return $this->hidden; 233 } 234 /** 235 * @param string 236 */ 237 public function setId($id) 238 { 239 $this->id = $id; 240 } 241 /** 242 * @return string 243 */ 244 public function getId() 245 { 246 return $this->id; 247 } 248 /** 249 * @param string 250 */ 251 public function setKind($kind) 252 { 253 $this->kind = $kind; 254 } 255 /** 256 * @return string 257 */ 258 public function getKind() 259 { 260 return $this->kind; 261 } 262 /** 263 * @param string 264 */ 265 public function setLocation($location) 266 { 267 $this->location = $location; 268 } 269 /** 270 * @return string 271 */ 272 public function getLocation() 273 { 274 return $this->location; 275 } 276 /** 277 * @param CalendarListEntryNotificationSettings 278 */ 279 public function setNotificationSettings(CalendarListEntryNotificationSettings $notificationSettings) 280 { 281 $this->notificationSettings = $notificationSettings; 282 } 283 /** 284 * @return CalendarListEntryNotificationSettings 285 */ 286 public function getNotificationSettings() 287 { 288 return $this->notificationSettings; 289 } 290 /** 291 * @param bool 292 */ 293 public function setPrimary($primary) 294 { 295 $this->primary = $primary; 296 } 297 /** 298 * @return bool 299 */ 300 public function getPrimary() 301 { 302 return $this->primary; 303 } 304 /** 305 * @param bool 306 */ 307 public function setSelected($selected) 308 { 309 $this->selected = $selected; 310 } 311 /** 312 * @return bool 313 */ 314 public function getSelected() 315 { 316 return $this->selected; 317 } 318 /** 319 * @param string 320 */ 321 public function setSummary($summary) 322 { 323 $this->summary = $summary; 324 } 325 /** 326 * @return string 327 */ 328 public function getSummary() 329 { 330 return $this->summary; 331 } 332 /** 333 * @param string 334 */ 335 public function setSummaryOverride($summaryOverride) 336 { 337 $this->summaryOverride = $summaryOverride; 338 } 339 /** 340 * @return string 341 */ 342 public function getSummaryOverride() 343 { 344 return $this->summaryOverride; 345 } 346 /** 347 * @param string 348 */ 349 public function setTimeZone($timeZone) 350 { 351 $this->timeZone = $timeZone; 352 } 353 /** 354 * @return string 355 */ 356 public function getTimeZone() 357 { 358 return $this->timeZone; 359 } 360} 361 362// Adding a class alias for backwards compatibility with the previous class name. 363class_alias(CalendarListEntry::class, 'Google_Service_Calendar_CalendarListEntry'); 364