Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Acl extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $etag;
protected $itemsType = AclRule::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $nextSyncToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param AclRule[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return AclRule[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setNextSyncToken($nextSyncToken)
{
$this->nextSyncToken = $nextSyncToken;
}
/**
* @return string
*/
public function getNextSyncToken()
{
return $this->nextSyncToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Acl::class, 'Google_Service_Calendar_Acl');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class AclRule extends \Google\Model
{
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $role;
protected $scopeType = AclRuleScope::class;
protected $scopeDataType = '';
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
/**
* @param AclRuleScope
*/
public function setScope(AclRuleScope $scope)
{
$this->scope = $scope;
}
/**
* @return AclRuleScope
*/
public function getScope()
{
return $this->scope;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AclRule::class, 'Google_Service_Calendar_AclRule');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class AclRuleScope extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AclRuleScope::class, 'Google_Service_Calendar_AclRuleScope');
@@ -0,0 +1,168 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Calendar extends \Google\Model
{
protected $conferencePropertiesType = ConferenceProperties::class;
protected $conferencePropertiesDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $summary;
/**
* @var string
*/
public $timeZone;
/**
* @param ConferenceProperties
*/
public function setConferenceProperties(ConferenceProperties $conferenceProperties)
{
$this->conferenceProperties = $conferenceProperties;
}
/**
* @return ConferenceProperties
*/
public function getConferenceProperties()
{
return $this->conferenceProperties;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setSummary($summary)
{
$this->summary = $summary;
}
/**
* @return string
*/
public function getSummary()
{
return $this->summary;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Calendar::class, 'Google_Service_Calendar_Calendar');
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class CalendarList extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $etag;
protected $itemsType = CalendarListEntry::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $nextSyncToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param CalendarListEntry[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return CalendarListEntry[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setNextSyncToken($nextSyncToken)
{
$this->nextSyncToken = $nextSyncToken;
}
/**
* @return string
*/
public function getNextSyncToken()
{
return $this->nextSyncToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarList::class, 'Google_Service_Calendar_CalendarList');
@@ -0,0 +1,363 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class CalendarListEntry extends \Google\Collection
{
protected $collection_key = 'defaultReminders';
/**
* @var string
*/
public $accessRole;
/**
* @var string
*/
public $backgroundColor;
/**
* @var string
*/
public $colorId;
protected $conferencePropertiesType = ConferenceProperties::class;
protected $conferencePropertiesDataType = '';
protected $defaultRemindersType = EventReminder::class;
protected $defaultRemindersDataType = 'array';
/**
* @var bool
*/
public $deleted;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $foregroundColor;
/**
* @var bool
*/
public $hidden;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $location;
protected $notificationSettingsType = CalendarListEntryNotificationSettings::class;
protected $notificationSettingsDataType = '';
/**
* @var bool
*/
public $primary;
/**
* @var bool
*/
public $selected;
/**
* @var string
*/
public $summary;
/**
* @var string
*/
public $summaryOverride;
/**
* @var string
*/
public $timeZone;
/**
* @param string
*/
public function setAccessRole($accessRole)
{
$this->accessRole = $accessRole;
}
/**
* @return string
*/
public function getAccessRole()
{
return $this->accessRole;
}
/**
* @param string
*/
public function setBackgroundColor($backgroundColor)
{
$this->backgroundColor = $backgroundColor;
}
/**
* @return string
*/
public function getBackgroundColor()
{
return $this->backgroundColor;
}
/**
* @param string
*/
public function setColorId($colorId)
{
$this->colorId = $colorId;
}
/**
* @return string
*/
public function getColorId()
{
return $this->colorId;
}
/**
* @param ConferenceProperties
*/
public function setConferenceProperties(ConferenceProperties $conferenceProperties)
{
$this->conferenceProperties = $conferenceProperties;
}
/**
* @return ConferenceProperties
*/
public function getConferenceProperties()
{
return $this->conferenceProperties;
}
/**
* @param EventReminder[]
*/
public function setDefaultReminders($defaultReminders)
{
$this->defaultReminders = $defaultReminders;
}
/**
* @return EventReminder[]
*/
public function getDefaultReminders()
{
return $this->defaultReminders;
}
/**
* @param bool
*/
public function setDeleted($deleted)
{
$this->deleted = $deleted;
}
/**
* @return bool
*/
public function getDeleted()
{
return $this->deleted;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setForegroundColor($foregroundColor)
{
$this->foregroundColor = $foregroundColor;
}
/**
* @return string
*/
public function getForegroundColor()
{
return $this->foregroundColor;
}
/**
* @param bool
*/
public function setHidden($hidden)
{
$this->hidden = $hidden;
}
/**
* @return bool
*/
public function getHidden()
{
return $this->hidden;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param CalendarListEntryNotificationSettings
*/
public function setNotificationSettings(CalendarListEntryNotificationSettings $notificationSettings)
{
$this->notificationSettings = $notificationSettings;
}
/**
* @return CalendarListEntryNotificationSettings
*/
public function getNotificationSettings()
{
return $this->notificationSettings;
}
/**
* @param bool
*/
public function setPrimary($primary)
{
$this->primary = $primary;
}
/**
* @return bool
*/
public function getPrimary()
{
return $this->primary;
}
/**
* @param bool
*/
public function setSelected($selected)
{
$this->selected = $selected;
}
/**
* @return bool
*/
public function getSelected()
{
return $this->selected;
}
/**
* @param string
*/
public function setSummary($summary)
{
$this->summary = $summary;
}
/**
* @return string
*/
public function getSummary()
{
return $this->summary;
}
/**
* @param string
*/
public function setSummaryOverride($summaryOverride)
{
$this->summaryOverride = $summaryOverride;
}
/**
* @return string
*/
public function getSummaryOverride()
{
return $this->summaryOverride;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarListEntry::class, 'Google_Service_Calendar_CalendarListEntry');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class CalendarListEntryNotificationSettings extends \Google\Collection
{
protected $collection_key = 'notifications';
protected $notificationsType = CalendarNotification::class;
protected $notificationsDataType = 'array';
/**
* @param CalendarNotification[]
*/
public function setNotifications($notifications)
{
$this->notifications = $notifications;
}
/**
* @return CalendarNotification[]
*/
public function getNotifications()
{
return $this->notifications;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarListEntryNotificationSettings::class, 'Google_Service_Calendar_CalendarListEntryNotificationSettings');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class CalendarNotification extends \Google\Model
{
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarNotification::class, 'Google_Service_Calendar_CalendarNotification');
@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Channel extends \Google\Model
{
/**
* @var string
*/
public $address;
/**
* @var string
*/
public $expiration;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string[]
*/
public $params;
/**
* @var bool
*/
public $payload;
/**
* @var string
*/
public $resourceId;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $token;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* @param string
*/
public function setExpiration($expiration)
{
$this->expiration = $expiration;
}
/**
* @return string
*/
public function getExpiration()
{
return $this->expiration;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string[]
*/
public function setParams($params)
{
$this->params = $params;
}
/**
* @return string[]
*/
public function getParams()
{
return $this->params;
}
/**
* @param bool
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return bool
*/
public function getPayload()
{
return $this->payload;
}
/**
* @param string
*/
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return string
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Channel::class, 'Google_Service_Calendar_Channel');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ColorDefinition extends \Google\Model
{
/**
* @var string
*/
public $background;
/**
* @var string
*/
public $foreground;
/**
* @param string
*/
public function setBackground($background)
{
$this->background = $background;
}
/**
* @return string
*/
public function getBackground()
{
return $this->background;
}
/**
* @param string
*/
public function setForeground($foreground)
{
$this->foreground = $foreground;
}
/**
* @return string
*/
public function getForeground()
{
return $this->foreground;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ColorDefinition::class, 'Google_Service_Calendar_ColorDefinition');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Colors extends \Google\Model
{
protected $calendarType = ColorDefinition::class;
protected $calendarDataType = 'map';
protected $eventType = ColorDefinition::class;
protected $eventDataType = 'map';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $updated;
/**
* @param ColorDefinition[]
*/
public function setCalendar($calendar)
{
$this->calendar = $calendar;
}
/**
* @return ColorDefinition[]
*/
public function getCalendar()
{
return $this->calendar;
}
/**
* @param ColorDefinition[]
*/
public function setEvent($event)
{
$this->event = $event;
}
/**
* @return ColorDefinition[]
*/
public function getEvent()
{
return $this->event;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Colors::class, 'Google_Service_Calendar_Colors');
@@ -0,0 +1,145 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ConferenceData extends \Google\Collection
{
protected $collection_key = 'entryPoints';
/**
* @var string
*/
public $conferenceId;
protected $conferenceSolutionType = ConferenceSolution::class;
protected $conferenceSolutionDataType = '';
protected $createRequestType = CreateConferenceRequest::class;
protected $createRequestDataType = '';
protected $entryPointsType = EntryPoint::class;
protected $entryPointsDataType = 'array';
/**
* @var string
*/
public $notes;
protected $parametersType = ConferenceParameters::class;
protected $parametersDataType = '';
/**
* @var string
*/
public $signature;
/**
* @param string
*/
public function setConferenceId($conferenceId)
{
$this->conferenceId = $conferenceId;
}
/**
* @return string
*/
public function getConferenceId()
{
return $this->conferenceId;
}
/**
* @param ConferenceSolution
*/
public function setConferenceSolution(ConferenceSolution $conferenceSolution)
{
$this->conferenceSolution = $conferenceSolution;
}
/**
* @return ConferenceSolution
*/
public function getConferenceSolution()
{
return $this->conferenceSolution;
}
/**
* @param CreateConferenceRequest
*/
public function setCreateRequest(CreateConferenceRequest $createRequest)
{
$this->createRequest = $createRequest;
}
/**
* @return CreateConferenceRequest
*/
public function getCreateRequest()
{
return $this->createRequest;
}
/**
* @param EntryPoint[]
*/
public function setEntryPoints($entryPoints)
{
$this->entryPoints = $entryPoints;
}
/**
* @return EntryPoint[]
*/
public function getEntryPoints()
{
return $this->entryPoints;
}
/**
* @param string
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return string
*/
public function getNotes()
{
return $this->notes;
}
/**
* @param ConferenceParameters
*/
public function setParameters(ConferenceParameters $parameters)
{
$this->parameters = $parameters;
}
/**
* @return ConferenceParameters
*/
public function getParameters()
{
return $this->parameters;
}
/**
* @param string
*/
public function setSignature($signature)
{
$this->signature = $signature;
}
/**
* @return string
*/
public function getSignature()
{
return $this->signature;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConferenceData::class, 'Google_Service_Calendar_ConferenceData');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ConferenceParameters extends \Google\Model
{
protected $addOnParametersType = ConferenceParametersAddOnParameters::class;
protected $addOnParametersDataType = '';
/**
* @param ConferenceParametersAddOnParameters
*/
public function setAddOnParameters(ConferenceParametersAddOnParameters $addOnParameters)
{
$this->addOnParameters = $addOnParameters;
}
/**
* @return ConferenceParametersAddOnParameters
*/
public function getAddOnParameters()
{
return $this->addOnParameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConferenceParameters::class, 'Google_Service_Calendar_ConferenceParameters');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ConferenceParametersAddOnParameters extends \Google\Model
{
/**
* @var string[]
*/
public $parameters;
/**
* @param string[]
*/
public function setParameters($parameters)
{
$this->parameters = $parameters;
}
/**
* @return string[]
*/
public function getParameters()
{
return $this->parameters;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConferenceParametersAddOnParameters::class, 'Google_Service_Calendar_ConferenceParametersAddOnParameters');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ConferenceProperties extends \Google\Collection
{
protected $collection_key = 'allowedConferenceSolutionTypes';
/**
* @var string[]
*/
public $allowedConferenceSolutionTypes;
/**
* @param string[]
*/
public function setAllowedConferenceSolutionTypes($allowedConferenceSolutionTypes)
{
$this->allowedConferenceSolutionTypes = $allowedConferenceSolutionTypes;
}
/**
* @return string[]
*/
public function getAllowedConferenceSolutionTypes()
{
return $this->allowedConferenceSolutionTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConferenceProperties::class, 'Google_Service_Calendar_ConferenceProperties');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ConferenceRequestStatus extends \Google\Model
{
/**
* @var string
*/
public $statusCode;
/**
* @param string
*/
public function setStatusCode($statusCode)
{
$this->statusCode = $statusCode;
}
/**
* @return string
*/
public function getStatusCode()
{
return $this->statusCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConferenceRequestStatus::class, 'Google_Service_Calendar_ConferenceRequestStatus');
@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ConferenceSolution extends \Google\Model
{
/**
* @var string
*/
public $iconUri;
protected $keyType = ConferenceSolutionKey::class;
protected $keyDataType = '';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setIconUri($iconUri)
{
$this->iconUri = $iconUri;
}
/**
* @return string
*/
public function getIconUri()
{
return $this->iconUri;
}
/**
* @param ConferenceSolutionKey
*/
public function setKey(ConferenceSolutionKey $key)
{
$this->key = $key;
}
/**
* @return ConferenceSolutionKey
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConferenceSolution::class, 'Google_Service_Calendar_ConferenceSolution');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class ConferenceSolutionKey extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConferenceSolutionKey::class, 'Google_Service_Calendar_ConferenceSolutionKey');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class CreateConferenceRequest extends \Google\Model
{
protected $conferenceSolutionKeyType = ConferenceSolutionKey::class;
protected $conferenceSolutionKeyDataType = '';
/**
* @var string
*/
public $requestId;
protected $statusType = ConferenceRequestStatus::class;
protected $statusDataType = '';
/**
* @param ConferenceSolutionKey
*/
public function setConferenceSolutionKey(ConferenceSolutionKey $conferenceSolutionKey)
{
$this->conferenceSolutionKey = $conferenceSolutionKey;
}
/**
* @return ConferenceSolutionKey
*/
public function getConferenceSolutionKey()
{
return $this->conferenceSolutionKey;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param ConferenceRequestStatus
*/
public function setStatus(ConferenceRequestStatus $status)
{
$this->status = $status;
}
/**
* @return ConferenceRequestStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateConferenceRequest::class, 'Google_Service_Calendar_CreateConferenceRequest');
@@ -0,0 +1,207 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EntryPoint extends \Google\Collection
{
protected $collection_key = 'entryPointFeatures';
/**
* @var string
*/
public $accessCode;
/**
* @var string[]
*/
public $entryPointFeatures;
/**
* @var string
*/
public $entryPointType;
/**
* @var string
*/
public $label;
/**
* @var string
*/
public $meetingCode;
/**
* @var string
*/
public $passcode;
/**
* @var string
*/
public $password;
/**
* @var string
*/
public $pin;
/**
* @var string
*/
public $regionCode;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setAccessCode($accessCode)
{
$this->accessCode = $accessCode;
}
/**
* @return string
*/
public function getAccessCode()
{
return $this->accessCode;
}
/**
* @param string[]
*/
public function setEntryPointFeatures($entryPointFeatures)
{
$this->entryPointFeatures = $entryPointFeatures;
}
/**
* @return string[]
*/
public function getEntryPointFeatures()
{
return $this->entryPointFeatures;
}
/**
* @param string
*/
public function setEntryPointType($entryPointType)
{
$this->entryPointType = $entryPointType;
}
/**
* @return string
*/
public function getEntryPointType()
{
return $this->entryPointType;
}
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param string
*/
public function setMeetingCode($meetingCode)
{
$this->meetingCode = $meetingCode;
}
/**
* @return string
*/
public function getMeetingCode()
{
return $this->meetingCode;
}
/**
* @param string
*/
public function setPasscode($passcode)
{
$this->passcode = $passcode;
}
/**
* @return string
*/
public function getPasscode()
{
return $this->passcode;
}
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param string
*/
public function setPin($pin)
{
$this->pin = $pin;
}
/**
* @return string
*/
public function getPin()
{
return $this->pin;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntryPoint::class, 'Google_Service_Calendar_EntryPoint');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Error extends \Google\Model
{
/**
* @var string
*/
public $domain;
/**
* @var string
*/
public $reason;
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Error::class, 'Google_Service_Calendar_Error');
@@ -0,0 +1,769 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Event extends \Google\Collection
{
protected $collection_key = 'recurrence';
/**
* @var bool
*/
public $anyoneCanAddSelf;
protected $attachmentsType = EventAttachment::class;
protected $attachmentsDataType = 'array';
protected $attendeesType = EventAttendee::class;
protected $attendeesDataType = 'array';
/**
* @var bool
*/
public $attendeesOmitted;
protected $birthdayPropertiesType = EventBirthdayProperties::class;
protected $birthdayPropertiesDataType = '';
/**
* @var string
*/
public $colorId;
protected $conferenceDataType = ConferenceData::class;
protected $conferenceDataDataType = '';
/**
* @var string
*/
public $created;
protected $creatorType = EventCreator::class;
protected $creatorDataType = '';
/**
* @var string
*/
public $description;
protected $endType = EventDateTime::class;
protected $endDataType = '';
/**
* @var bool
*/
public $endTimeUnspecified;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $eventType;
protected $extendedPropertiesType = EventExtendedProperties::class;
protected $extendedPropertiesDataType = '';
protected $focusTimePropertiesType = EventFocusTimeProperties::class;
protected $focusTimePropertiesDataType = '';
protected $gadgetType = EventGadget::class;
protected $gadgetDataType = '';
/**
* @var bool
*/
public $guestsCanInviteOthers;
/**
* @var bool
*/
public $guestsCanModify;
/**
* @var bool
*/
public $guestsCanSeeOtherGuests;
/**
* @var string
*/
public $hangoutLink;
/**
* @var string
*/
public $htmlLink;
/**
* @var string
*/
public $iCalUID;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $location;
/**
* @var bool
*/
public $locked;
protected $organizerType = EventOrganizer::class;
protected $organizerDataType = '';
protected $originalStartTimeType = EventDateTime::class;
protected $originalStartTimeDataType = '';
protected $outOfOfficePropertiesType = EventOutOfOfficeProperties::class;
protected $outOfOfficePropertiesDataType = '';
/**
* @var bool
*/
public $privateCopy;
/**
* @var string[]
*/
public $recurrence;
/**
* @var string
*/
public $recurringEventId;
protected $remindersType = EventReminders::class;
protected $remindersDataType = '';
/**
* @var int
*/
public $sequence;
protected $sourceType = EventSource::class;
protected $sourceDataType = '';
protected $startType = EventDateTime::class;
protected $startDataType = '';
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $summary;
/**
* @var string
*/
public $transparency;
/**
* @var string
*/
public $updated;
/**
* @var string
*/
public $visibility;
protected $workingLocationPropertiesType = EventWorkingLocationProperties::class;
protected $workingLocationPropertiesDataType = '';
/**
* @param bool
*/
public function setAnyoneCanAddSelf($anyoneCanAddSelf)
{
$this->anyoneCanAddSelf = $anyoneCanAddSelf;
}
/**
* @return bool
*/
public function getAnyoneCanAddSelf()
{
return $this->anyoneCanAddSelf;
}
/**
* @param EventAttachment[]
*/
public function setAttachments($attachments)
{
$this->attachments = $attachments;
}
/**
* @return EventAttachment[]
*/
public function getAttachments()
{
return $this->attachments;
}
/**
* @param EventAttendee[]
*/
public function setAttendees($attendees)
{
$this->attendees = $attendees;
}
/**
* @return EventAttendee[]
*/
public function getAttendees()
{
return $this->attendees;
}
/**
* @param bool
*/
public function setAttendeesOmitted($attendeesOmitted)
{
$this->attendeesOmitted = $attendeesOmitted;
}
/**
* @return bool
*/
public function getAttendeesOmitted()
{
return $this->attendeesOmitted;
}
/**
* @param EventBirthdayProperties
*/
public function setBirthdayProperties(EventBirthdayProperties $birthdayProperties)
{
$this->birthdayProperties = $birthdayProperties;
}
/**
* @return EventBirthdayProperties
*/
public function getBirthdayProperties()
{
return $this->birthdayProperties;
}
/**
* @param string
*/
public function setColorId($colorId)
{
$this->colorId = $colorId;
}
/**
* @return string
*/
public function getColorId()
{
return $this->colorId;
}
/**
* @param ConferenceData
*/
public function setConferenceData(ConferenceData $conferenceData)
{
$this->conferenceData = $conferenceData;
}
/**
* @return ConferenceData
*/
public function getConferenceData()
{
return $this->conferenceData;
}
/**
* @param string
*/
public function setCreated($created)
{
$this->created = $created;
}
/**
* @return string
*/
public function getCreated()
{
return $this->created;
}
/**
* @param EventCreator
*/
public function setCreator(EventCreator $creator)
{
$this->creator = $creator;
}
/**
* @return EventCreator
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param EventDateTime
*/
public function setEnd(EventDateTime $end)
{
$this->end = $end;
}
/**
* @return EventDateTime
*/
public function getEnd()
{
return $this->end;
}
/**
* @param bool
*/
public function setEndTimeUnspecified($endTimeUnspecified)
{
$this->endTimeUnspecified = $endTimeUnspecified;
}
/**
* @return bool
*/
public function getEndTimeUnspecified()
{
return $this->endTimeUnspecified;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
/**
* @return string
*/
public function getEventType()
{
return $this->eventType;
}
/**
* @param EventExtendedProperties
*/
public function setExtendedProperties(EventExtendedProperties $extendedProperties)
{
$this->extendedProperties = $extendedProperties;
}
/**
* @return EventExtendedProperties
*/
public function getExtendedProperties()
{
return $this->extendedProperties;
}
/**
* @param EventFocusTimeProperties
*/
public function setFocusTimeProperties(EventFocusTimeProperties $focusTimeProperties)
{
$this->focusTimeProperties = $focusTimeProperties;
}
/**
* @return EventFocusTimeProperties
*/
public function getFocusTimeProperties()
{
return $this->focusTimeProperties;
}
/**
* @param EventGadget
*/
public function setGadget(EventGadget $gadget)
{
$this->gadget = $gadget;
}
/**
* @return EventGadget
*/
public function getGadget()
{
return $this->gadget;
}
/**
* @param bool
*/
public function setGuestsCanInviteOthers($guestsCanInviteOthers)
{
$this->guestsCanInviteOthers = $guestsCanInviteOthers;
}
/**
* @return bool
*/
public function getGuestsCanInviteOthers()
{
return $this->guestsCanInviteOthers;
}
/**
* @param bool
*/
public function setGuestsCanModify($guestsCanModify)
{
$this->guestsCanModify = $guestsCanModify;
}
/**
* @return bool
*/
public function getGuestsCanModify()
{
return $this->guestsCanModify;
}
/**
* @param bool
*/
public function setGuestsCanSeeOtherGuests($guestsCanSeeOtherGuests)
{
$this->guestsCanSeeOtherGuests = $guestsCanSeeOtherGuests;
}
/**
* @return bool
*/
public function getGuestsCanSeeOtherGuests()
{
return $this->guestsCanSeeOtherGuests;
}
/**
* @param string
*/
public function setHangoutLink($hangoutLink)
{
$this->hangoutLink = $hangoutLink;
}
/**
* @return string
*/
public function getHangoutLink()
{
return $this->hangoutLink;
}
/**
* @param string
*/
public function setHtmlLink($htmlLink)
{
$this->htmlLink = $htmlLink;
}
/**
* @return string
*/
public function getHtmlLink()
{
return $this->htmlLink;
}
/**
* @param string
*/
public function setICalUID($iCalUID)
{
$this->iCalUID = $iCalUID;
}
/**
* @return string
*/
public function getICalUID()
{
return $this->iCalUID;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param bool
*/
public function setLocked($locked)
{
$this->locked = $locked;
}
/**
* @return bool
*/
public function getLocked()
{
return $this->locked;
}
/**
* @param EventOrganizer
*/
public function setOrganizer(EventOrganizer $organizer)
{
$this->organizer = $organizer;
}
/**
* @return EventOrganizer
*/
public function getOrganizer()
{
return $this->organizer;
}
/**
* @param EventDateTime
*/
public function setOriginalStartTime(EventDateTime $originalStartTime)
{
$this->originalStartTime = $originalStartTime;
}
/**
* @return EventDateTime
*/
public function getOriginalStartTime()
{
return $this->originalStartTime;
}
/**
* @param EventOutOfOfficeProperties
*/
public function setOutOfOfficeProperties(EventOutOfOfficeProperties $outOfOfficeProperties)
{
$this->outOfOfficeProperties = $outOfOfficeProperties;
}
/**
* @return EventOutOfOfficeProperties
*/
public function getOutOfOfficeProperties()
{
return $this->outOfOfficeProperties;
}
/**
* @param bool
*/
public function setPrivateCopy($privateCopy)
{
$this->privateCopy = $privateCopy;
}
/**
* @return bool
*/
public function getPrivateCopy()
{
return $this->privateCopy;
}
/**
* @param string[]
*/
public function setRecurrence($recurrence)
{
$this->recurrence = $recurrence;
}
/**
* @return string[]
*/
public function getRecurrence()
{
return $this->recurrence;
}
/**
* @param string
*/
public function setRecurringEventId($recurringEventId)
{
$this->recurringEventId = $recurringEventId;
}
/**
* @return string
*/
public function getRecurringEventId()
{
return $this->recurringEventId;
}
/**
* @param EventReminders
*/
public function setReminders(EventReminders $reminders)
{
$this->reminders = $reminders;
}
/**
* @return EventReminders
*/
public function getReminders()
{
return $this->reminders;
}
/**
* @param int
*/
public function setSequence($sequence)
{
$this->sequence = $sequence;
}
/**
* @return int
*/
public function getSequence()
{
return $this->sequence;
}
/**
* @param EventSource
*/
public function setSource(EventSource $source)
{
$this->source = $source;
}
/**
* @return EventSource
*/
public function getSource()
{
return $this->source;
}
/**
* @param EventDateTime
*/
public function setStart(EventDateTime $start)
{
$this->start = $start;
}
/**
* @return EventDateTime
*/
public function getStart()
{
return $this->start;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setSummary($summary)
{
$this->summary = $summary;
}
/**
* @return string
*/
public function getSummary()
{
return $this->summary;
}
/**
* @param string
*/
public function setTransparency($transparency)
{
$this->transparency = $transparency;
}
/**
* @return string
*/
public function getTransparency()
{
return $this->transparency;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
/**
* @param string
*/
public function setVisibility($visibility)
{
$this->visibility = $visibility;
}
/**
* @return string
*/
public function getVisibility()
{
return $this->visibility;
}
/**
* @param EventWorkingLocationProperties
*/
public function setWorkingLocationProperties(EventWorkingLocationProperties $workingLocationProperties)
{
$this->workingLocationProperties = $workingLocationProperties;
}
/**
* @return EventWorkingLocationProperties
*/
public function getWorkingLocationProperties()
{
return $this->workingLocationProperties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Event::class, 'Google_Service_Calendar_Event');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventAttachment extends \Google\Model
{
/**
* @var string
*/
public $fileId;
/**
* @var string
*/
public $fileUrl;
/**
* @var string
*/
public $iconLink;
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setFileId($fileId)
{
$this->fileId = $fileId;
}
/**
* @return string
*/
public function getFileId()
{
return $this->fileId;
}
/**
* @param string
*/
public function setFileUrl($fileUrl)
{
$this->fileUrl = $fileUrl;
}
/**
* @return string
*/
public function getFileUrl()
{
return $this->fileUrl;
}
/**
* @param string
*/
public function setIconLink($iconLink)
{
$this->iconLink = $iconLink;
}
/**
* @return string
*/
public function getIconLink()
{
return $this->iconLink;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventAttachment::class, 'Google_Service_Calendar_EventAttachment');
@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventAttendee extends \Google\Model
{
/**
* @var int
*/
public $additionalGuests;
/**
* @var string
*/
public $comment;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $optional;
/**
* @var bool
*/
public $organizer;
/**
* @var bool
*/
public $resource;
/**
* @var string
*/
public $responseStatus;
/**
* @var bool
*/
public $self;
/**
* @param int
*/
public function setAdditionalGuests($additionalGuests)
{
$this->additionalGuests = $additionalGuests;
}
/**
* @return int
*/
public function getAdditionalGuests()
{
return $this->additionalGuests;
}
/**
* @param string
*/
public function setComment($comment)
{
$this->comment = $comment;
}
/**
* @return string
*/
public function getComment()
{
return $this->comment;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setOptional($optional)
{
$this->optional = $optional;
}
/**
* @return bool
*/
public function getOptional()
{
return $this->optional;
}
/**
* @param bool
*/
public function setOrganizer($organizer)
{
$this->organizer = $organizer;
}
/**
* @return bool
*/
public function getOrganizer()
{
return $this->organizer;
}
/**
* @param bool
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return bool
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResponseStatus($responseStatus)
{
$this->responseStatus = $responseStatus;
}
/**
* @return string
*/
public function getResponseStatus()
{
return $this->responseStatus;
}
/**
* @param bool
*/
public function setSelf($self)
{
$this->self = $self;
}
/**
* @return bool
*/
public function getSelf()
{
return $this->self;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventAttendee::class, 'Google_Service_Calendar_EventAttendee');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventBirthdayProperties extends \Google\Model
{
/**
* @var string
*/
public $contact;
/**
* @var string
*/
public $customTypeName;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setContact($contact)
{
$this->contact = $contact;
}
/**
* @return string
*/
public function getContact()
{
return $this->contact;
}
/**
* @param string
*/
public function setCustomTypeName($customTypeName)
{
$this->customTypeName = $customTypeName;
}
/**
* @return string
*/
public function getCustomTypeName()
{
return $this->customTypeName;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventBirthdayProperties::class, 'Google_Service_Calendar_EventBirthdayProperties');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventCreator extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $self;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setSelf($self)
{
$this->self = $self;
}
/**
* @return bool
*/
public function getSelf()
{
return $this->self;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventCreator::class, 'Google_Service_Calendar_EventCreator');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventDateTime extends \Google\Model
{
/**
* @var string
*/
public $date;
/**
* @var string
*/
public $dateTime;
/**
* @var string
*/
public $timeZone;
/**
* @param string
*/
public function setDate($date)
{
$this->date = $date;
}
/**
* @return string
*/
public function getDate()
{
return $this->date;
}
/**
* @param string
*/
public function setDateTime($dateTime)
{
$this->dateTime = $dateTime;
}
/**
* @return string
*/
public function getDateTime()
{
return $this->dateTime;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventDateTime::class, 'Google_Service_Calendar_EventDateTime');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventExtendedProperties extends \Google\Model
{
/**
* @var string[]
*/
public $private;
/**
* @var string[]
*/
public $shared;
/**
* @param string[]
*/
public function setPrivate($private)
{
$this->private = $private;
}
/**
* @return string[]
*/
public function getPrivate()
{
return $this->private;
}
/**
* @param string[]
*/
public function setShared($shared)
{
$this->shared = $shared;
}
/**
* @return string[]
*/
public function getShared()
{
return $this->shared;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventExtendedProperties::class, 'Google_Service_Calendar_EventExtendedProperties');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventFocusTimeProperties extends \Google\Model
{
/**
* @var string
*/
public $autoDeclineMode;
/**
* @var string
*/
public $chatStatus;
/**
* @var string
*/
public $declineMessage;
/**
* @param string
*/
public function setAutoDeclineMode($autoDeclineMode)
{
$this->autoDeclineMode = $autoDeclineMode;
}
/**
* @return string
*/
public function getAutoDeclineMode()
{
return $this->autoDeclineMode;
}
/**
* @param string
*/
public function setChatStatus($chatStatus)
{
$this->chatStatus = $chatStatus;
}
/**
* @return string
*/
public function getChatStatus()
{
return $this->chatStatus;
}
/**
* @param string
*/
public function setDeclineMessage($declineMessage)
{
$this->declineMessage = $declineMessage;
}
/**
* @return string
*/
public function getDeclineMessage()
{
return $this->declineMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventFocusTimeProperties::class, 'Google_Service_Calendar_EventFocusTimeProperties');
@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventGadget extends \Google\Model
{
/**
* @var string
*/
public $display;
/**
* @var int
*/
public $height;
/**
* @var string
*/
public $iconLink;
/**
* @var string
*/
public $link;
/**
* @var string[]
*/
public $preferences;
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $type;
/**
* @var int
*/
public $width;
/**
* @param string
*/
public function setDisplay($display)
{
$this->display = $display;
}
/**
* @return string
*/
public function getDisplay()
{
return $this->display;
}
/**
* @param int
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* @param string
*/
public function setIconLink($iconLink)
{
$this->iconLink = $iconLink;
}
/**
* @return string
*/
public function getIconLink()
{
return $this->iconLink;
}
/**
* @param string
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return string
*/
public function getLink()
{
return $this->link;
}
/**
* @param string[]
*/
public function setPreferences($preferences)
{
$this->preferences = $preferences;
}
/**
* @return string[]
*/
public function getPreferences()
{
return $this->preferences;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param int
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return int
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventGadget::class, 'Google_Service_Calendar_EventGadget');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventOrganizer extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $id;
/**
* @var bool
*/
public $self;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param bool
*/
public function setSelf($self)
{
$this->self = $self;
}
/**
* @return bool
*/
public function getSelf()
{
return $this->self;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventOrganizer::class, 'Google_Service_Calendar_EventOrganizer');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventOutOfOfficeProperties extends \Google\Model
{
/**
* @var string
*/
public $autoDeclineMode;
/**
* @var string
*/
public $declineMessage;
/**
* @param string
*/
public function setAutoDeclineMode($autoDeclineMode)
{
$this->autoDeclineMode = $autoDeclineMode;
}
/**
* @return string
*/
public function getAutoDeclineMode()
{
return $this->autoDeclineMode;
}
/**
* @param string
*/
public function setDeclineMessage($declineMessage)
{
$this->declineMessage = $declineMessage;
}
/**
* @return string
*/
public function getDeclineMessage()
{
return $this->declineMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventOutOfOfficeProperties::class, 'Google_Service_Calendar_EventOutOfOfficeProperties');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventReminder extends \Google\Model
{
/**
* @var string
*/
public $method;
/**
* @var int
*/
public $minutes;
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param int
*/
public function setMinutes($minutes)
{
$this->minutes = $minutes;
}
/**
* @return int
*/
public function getMinutes()
{
return $this->minutes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventReminder::class, 'Google_Service_Calendar_EventReminder');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventReminders extends \Google\Collection
{
protected $collection_key = 'overrides';
protected $overridesType = EventReminder::class;
protected $overridesDataType = 'array';
/**
* @var bool
*/
public $useDefault;
/**
* @param EventReminder[]
*/
public function setOverrides($overrides)
{
$this->overrides = $overrides;
}
/**
* @return EventReminder[]
*/
public function getOverrides()
{
return $this->overrides;
}
/**
* @param bool
*/
public function setUseDefault($useDefault)
{
$this->useDefault = $useDefault;
}
/**
* @return bool
*/
public function getUseDefault()
{
return $this->useDefault;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventReminders::class, 'Google_Service_Calendar_EventReminders');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventSource extends \Google\Model
{
/**
* @var string
*/
public $title;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventSource::class, 'Google_Service_Calendar_EventSource');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventWorkingLocationProperties extends \Google\Model
{
protected $customLocationType = EventWorkingLocationPropertiesCustomLocation::class;
protected $customLocationDataType = '';
/**
* @var array
*/
public $homeOffice;
protected $officeLocationType = EventWorkingLocationPropertiesOfficeLocation::class;
protected $officeLocationDataType = '';
/**
* @var string
*/
public $type;
/**
* @param EventWorkingLocationPropertiesCustomLocation
*/
public function setCustomLocation(EventWorkingLocationPropertiesCustomLocation $customLocation)
{
$this->customLocation = $customLocation;
}
/**
* @return EventWorkingLocationPropertiesCustomLocation
*/
public function getCustomLocation()
{
return $this->customLocation;
}
/**
* @param array
*/
public function setHomeOffice($homeOffice)
{
$this->homeOffice = $homeOffice;
}
/**
* @return array
*/
public function getHomeOffice()
{
return $this->homeOffice;
}
/**
* @param EventWorkingLocationPropertiesOfficeLocation
*/
public function setOfficeLocation(EventWorkingLocationPropertiesOfficeLocation $officeLocation)
{
$this->officeLocation = $officeLocation;
}
/**
* @return EventWorkingLocationPropertiesOfficeLocation
*/
public function getOfficeLocation()
{
return $this->officeLocation;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventWorkingLocationProperties::class, 'Google_Service_Calendar_EventWorkingLocationProperties');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventWorkingLocationPropertiesCustomLocation extends \Google\Model
{
/**
* @var string
*/
public $label;
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventWorkingLocationPropertiesCustomLocation::class, 'Google_Service_Calendar_EventWorkingLocationPropertiesCustomLocation');
@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class EventWorkingLocationPropertiesOfficeLocation extends \Google\Model
{
/**
* @var string
*/
public $buildingId;
/**
* @var string
*/
public $deskId;
/**
* @var string
*/
public $floorId;
/**
* @var string
*/
public $floorSectionId;
/**
* @var string
*/
public $label;
/**
* @param string
*/
public function setBuildingId($buildingId)
{
$this->buildingId = $buildingId;
}
/**
* @return string
*/
public function getBuildingId()
{
return $this->buildingId;
}
/**
* @param string
*/
public function setDeskId($deskId)
{
$this->deskId = $deskId;
}
/**
* @return string
*/
public function getDeskId()
{
return $this->deskId;
}
/**
* @param string
*/
public function setFloorId($floorId)
{
$this->floorId = $floorId;
}
/**
* @return string
*/
public function getFloorId()
{
return $this->floorId;
}
/**
* @param string
*/
public function setFloorSectionId($floorSectionId)
{
$this->floorSectionId = $floorSectionId;
}
/**
* @return string
*/
public function getFloorSectionId()
{
return $this->floorSectionId;
}
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventWorkingLocationPropertiesOfficeLocation::class, 'Google_Service_Calendar_EventWorkingLocationPropertiesOfficeLocation');
@@ -0,0 +1,221 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Events extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $accessRole;
protected $defaultRemindersType = EventReminder::class;
protected $defaultRemindersDataType = 'array';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
protected $itemsType = Event::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $nextSyncToken;
/**
* @var string
*/
public $summary;
/**
* @var string
*/
public $timeZone;
/**
* @var string
*/
public $updated;
/**
* @param string
*/
public function setAccessRole($accessRole)
{
$this->accessRole = $accessRole;
}
/**
* @return string
*/
public function getAccessRole()
{
return $this->accessRole;
}
/**
* @param EventReminder[]
*/
public function setDefaultReminders($defaultReminders)
{
$this->defaultReminders = $defaultReminders;
}
/**
* @return EventReminder[]
*/
public function getDefaultReminders()
{
return $this->defaultReminders;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Event[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Event[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setNextSyncToken($nextSyncToken)
{
$this->nextSyncToken = $nextSyncToken;
}
/**
* @return string
*/
public function getNextSyncToken()
{
return $this->nextSyncToken;
}
/**
* @param string
*/
public function setSummary($summary)
{
$this->summary = $summary;
}
/**
* @return string
*/
public function getSummary()
{
return $this->summary;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
/**
* @param string
*/
public function setUpdated($updated)
{
$this->updated = $updated;
}
/**
* @return string
*/
public function getUpdated()
{
return $this->updated;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Events::class, 'Google_Service_Calendar_Events');
@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class FreeBusyCalendar extends \Google\Collection
{
protected $collection_key = 'errors';
protected $busyType = TimePeriod::class;
protected $busyDataType = 'array';
protected $errorsType = Error::class;
protected $errorsDataType = 'array';
/**
* @param TimePeriod[]
*/
public function setBusy($busy)
{
$this->busy = $busy;
}
/**
* @return TimePeriod[]
*/
public function getBusy()
{
return $this->busy;
}
/**
* @param Error[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return Error[]
*/
public function getErrors()
{
return $this->errors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FreeBusyCalendar::class, 'Google_Service_Calendar_FreeBusyCalendar');
@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class FreeBusyGroup extends \Google\Collection
{
protected $collection_key = 'errors';
/**
* @var string[]
*/
public $calendars;
protected $errorsType = Error::class;
protected $errorsDataType = 'array';
/**
* @param string[]
*/
public function setCalendars($calendars)
{
$this->calendars = $calendars;
}
/**
* @return string[]
*/
public function getCalendars()
{
return $this->calendars;
}
/**
* @param Error[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return Error[]
*/
public function getErrors()
{
return $this->errors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FreeBusyGroup::class, 'Google_Service_Calendar_FreeBusyGroup');
@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class FreeBusyRequest extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var int
*/
public $calendarExpansionMax;
/**
* @var int
*/
public $groupExpansionMax;
protected $itemsType = FreeBusyRequestItem::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $timeMax;
/**
* @var string
*/
public $timeMin;
/**
* @var string
*/
public $timeZone;
/**
* @param int
*/
public function setCalendarExpansionMax($calendarExpansionMax)
{
$this->calendarExpansionMax = $calendarExpansionMax;
}
/**
* @return int
*/
public function getCalendarExpansionMax()
{
return $this->calendarExpansionMax;
}
/**
* @param int
*/
public function setGroupExpansionMax($groupExpansionMax)
{
$this->groupExpansionMax = $groupExpansionMax;
}
/**
* @return int
*/
public function getGroupExpansionMax()
{
return $this->groupExpansionMax;
}
/**
* @param FreeBusyRequestItem[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return FreeBusyRequestItem[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setTimeMax($timeMax)
{
$this->timeMax = $timeMax;
}
/**
* @return string
*/
public function getTimeMax()
{
return $this->timeMax;
}
/**
* @param string
*/
public function setTimeMin($timeMin)
{
$this->timeMin = $timeMin;
}
/**
* @return string
*/
public function getTimeMin()
{
return $this->timeMin;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FreeBusyRequest::class, 'Google_Service_Calendar_FreeBusyRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class FreeBusyRequestItem extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FreeBusyRequestItem::class, 'Google_Service_Calendar_FreeBusyRequestItem');
@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class FreeBusyResponse extends \Google\Model
{
protected $calendarsType = FreeBusyCalendar::class;
protected $calendarsDataType = 'map';
protected $groupsType = FreeBusyGroup::class;
protected $groupsDataType = 'map';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $timeMax;
/**
* @var string
*/
public $timeMin;
/**
* @param FreeBusyCalendar[]
*/
public function setCalendars($calendars)
{
$this->calendars = $calendars;
}
/**
* @return FreeBusyCalendar[]
*/
public function getCalendars()
{
return $this->calendars;
}
/**
* @param FreeBusyGroup[]
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return FreeBusyGroup[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setTimeMax($timeMax)
{
$this->timeMax = $timeMax;
}
/**
* @return string
*/
public function getTimeMax()
{
return $this->timeMax;
}
/**
* @param string
*/
public function setTimeMin($timeMin)
{
$this->timeMin = $timeMin;
}
/**
* @return string
*/
public function getTimeMin()
{
return $this->timeMin;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FreeBusyResponse::class, 'Google_Service_Calendar_FreeBusyResponse');
@@ -0,0 +1,204 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\Acl as AclModel;
use Google\Service\Calendar\AclRule;
use Google\Service\Calendar\Channel;
/**
* The "acl" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $acl = $calendarService->acl;
* </code>
*/
class Acl extends \Google\Service\Resource
{
/**
* Deletes an access control rule. (acl.delete)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $ruleId ACL rule identifier.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($calendarId, $ruleId, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'ruleId' => $ruleId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Returns an access control rule. (acl.get)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $ruleId ACL rule identifier.
* @param array $optParams Optional parameters.
* @return AclRule
* @throws \Google\Service\Exception
*/
public function get($calendarId, $ruleId, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'ruleId' => $ruleId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AclRule::class);
}
/**
* Creates an access control rule. (acl.insert)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param AclRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool sendNotifications Whether to send notifications about the
* calendar sharing change. Optional. The default is True.
* @return AclRule
* @throws \Google\Service\Exception
*/
public function insert($calendarId, AclRule $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], AclRule::class);
}
/**
* Returns the rules in the access control list for the calendar. (acl.listAcl)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of entries returned on one result
* page. By default the value is 100 entries. The page size can never be larger
* than 250 entries. Optional.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param bool showDeleted Whether to include deleted ACLs in the result.
* Deleted ACLs are represented by role equal to "none". Deleted ACLs will
* always be included if syncToken is provided. Optional. The default is False.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. All entries deleted since the previous list request will always be in
* the result set and it is not allowed to set showDeleted to False. If the
* syncToken expires, the server will respond with a 410 GONE response code and
* the client should clear its storage and perform a full synchronization
* without any syncToken. Learn more about incremental synchronization.
* Optional. The default is to return all entries.
* @return AclModel
* @throws \Google\Service\Exception
*/
public function listAcl($calendarId, $optParams = [])
{
$params = ['calendarId' => $calendarId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], AclModel::class);
}
/**
* Updates an access control rule. This method supports patch semantics.
* (acl.patch)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $ruleId ACL rule identifier.
* @param AclRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool sendNotifications Whether to send notifications about the
* calendar sharing change. Note that there are no notifications on access
* removal. Optional. The default is True.
* @return AclRule
* @throws \Google\Service\Exception
*/
public function patch($calendarId, $ruleId, AclRule $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], AclRule::class);
}
/**
* Updates an access control rule. (acl.update)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $ruleId ACL rule identifier.
* @param AclRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool sendNotifications Whether to send notifications about the
* calendar sharing change. Note that there are no notifications on access
* removal. Optional. The default is True.
* @return AclRule
* @throws \Google\Service\Exception
*/
public function update($calendarId, $ruleId, AclRule $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'ruleId' => $ruleId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], AclRule::class);
}
/**
* Watch for changes to ACL resources. (acl.watch)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param Channel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of entries returned on one result
* page. By default the value is 100 entries. The page size can never be larger
* than 250 entries. Optional.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param bool showDeleted Whether to include deleted ACLs in the result.
* Deleted ACLs are represented by role equal to "none". Deleted ACLs will
* always be included if syncToken is provided. Optional. The default is False.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. All entries deleted since the previous list request will always be in
* the result set and it is not allowed to set showDeleted to False. If the
* syncToken expires, the server will respond with a 410 GONE response code and
* the client should clear its storage and perform a full synchronization
* without any syncToken. Learn more about incremental synchronization.
* Optional. The default is to return all entries.
* @return Channel
* @throws \Google\Service\Exception
*/
public function watch($calendarId, Channel $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('watch', [$params], Channel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Acl::class, 'Google_Service_Calendar_Resource_Acl');
@@ -0,0 +1,210 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\CalendarList as CalendarListModel;
use Google\Service\Calendar\CalendarListEntry;
use Google\Service\Calendar\Channel;
/**
* The "calendarList" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $calendarList = $calendarService->calendarList;
* </code>
*/
class CalendarList extends \Google\Service\Resource
{
/**
* Removes a calendar from the user's calendar list. (calendarList.delete)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($calendarId, $optParams = [])
{
$params = ['calendarId' => $calendarId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Returns a calendar from the user's calendar list. (calendarList.get)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param array $optParams Optional parameters.
* @return CalendarListEntry
* @throws \Google\Service\Exception
*/
public function get($calendarId, $optParams = [])
{
$params = ['calendarId' => $calendarId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CalendarListEntry::class);
}
/**
* Inserts an existing calendar into the user's calendar list.
* (calendarList.insert)
*
* @param CalendarListEntry $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool colorRgbFormat Whether to use the foregroundColor and
* backgroundColor fields to write the calendar colors (RGB). If this feature is
* used, the index-based colorId field will be set to the best matching option
* automatically. Optional. The default is False.
* @return CalendarListEntry
* @throws \Google\Service\Exception
*/
public function insert(CalendarListEntry $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], CalendarListEntry::class);
}
/**
* Returns the calendars on the user's calendar list.
* (calendarList.listCalendarList)
*
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of entries returned on one result
* page. By default the value is 100 entries. The page size can never be larger
* than 250 entries. Optional.
* @opt_param string minAccessRole The minimum access role for the user in the
* returned entries. Optional. The default is no restriction.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param bool showDeleted Whether to include deleted calendar list entries
* in the result. Optional. The default is False.
* @opt_param bool showHidden Whether to show hidden entries. Optional. The
* default is False.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. If only read-only fields such as calendar properties or ACLs have
* changed, the entry won't be returned. All entries deleted and hidden since
* the previous list request will always be in the result set and it is not
* allowed to set showDeleted neither showHidden to False. To ensure client
* state consistency minAccessRole query parameter cannot be specified together
* with nextSyncToken. If the syncToken expires, the server will respond with a
* 410 GONE response code and the client should clear its storage and perform a
* full synchronization without any syncToken. Learn more about incremental
* synchronization. Optional. The default is to return all entries.
* @return CalendarListModel
* @throws \Google\Service\Exception
*/
public function listCalendarList($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], CalendarListModel::class);
}
/**
* Updates an existing calendar on the user's calendar list. This method
* supports patch semantics. (calendarList.patch)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param CalendarListEntry $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool colorRgbFormat Whether to use the foregroundColor and
* backgroundColor fields to write the calendar colors (RGB). If this feature is
* used, the index-based colorId field will be set to the best matching option
* automatically. Optional. The default is False.
* @return CalendarListEntry
* @throws \Google\Service\Exception
*/
public function patch($calendarId, CalendarListEntry $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], CalendarListEntry::class);
}
/**
* Updates an existing calendar on the user's calendar list.
* (calendarList.update)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param CalendarListEntry $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool colorRgbFormat Whether to use the foregroundColor and
* backgroundColor fields to write the calendar colors (RGB). If this feature is
* used, the index-based colorId field will be set to the best matching option
* automatically. Optional. The default is False.
* @return CalendarListEntry
* @throws \Google\Service\Exception
*/
public function update($calendarId, CalendarListEntry $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], CalendarListEntry::class);
}
/**
* Watch for changes to CalendarList resources. (calendarList.watch)
*
* @param Channel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of entries returned on one result
* page. By default the value is 100 entries. The page size can never be larger
* than 250 entries. Optional.
* @opt_param string minAccessRole The minimum access role for the user in the
* returned entries. Optional. The default is no restriction.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param bool showDeleted Whether to include deleted calendar list entries
* in the result. Optional. The default is False.
* @opt_param bool showHidden Whether to show hidden entries. Optional. The
* default is False.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. If only read-only fields such as calendar properties or ACLs have
* changed, the entry won't be returned. All entries deleted and hidden since
* the previous list request will always be in the result set and it is not
* allowed to set showDeleted neither showHidden to False. To ensure client
* state consistency minAccessRole query parameter cannot be specified together
* with nextSyncToken. If the syncToken expires, the server will respond with a
* 410 GONE response code and the client should clear its storage and perform a
* full synchronization without any syncToken. Learn more about incremental
* synchronization. Optional. The default is to return all entries.
* @return Channel
* @throws \Google\Service\Exception
*/
public function watch(Channel $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('watch', [$params], Channel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarList::class, 'Google_Service_Calendar_Resource_CalendarList');
@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\Calendar;
/**
* The "calendars" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $calendars = $calendarService->calendars;
* </code>
*/
class Calendars extends \Google\Service\Resource
{
/**
* Clears a primary calendar. This operation deletes all events associated with
* the primary calendar of an account. (calendars.clear)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function clear($calendarId, $optParams = [])
{
$params = ['calendarId' => $calendarId];
$params = array_merge($params, $optParams);
return $this->call('clear', [$params]);
}
/**
* Deletes a secondary calendar. Use calendars.clear for clearing all events on
* primary calendars. (calendars.delete)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($calendarId, $optParams = [])
{
$params = ['calendarId' => $calendarId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Returns metadata for a calendar. (calendars.get)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param array $optParams Optional parameters.
* @return Calendar
* @throws \Google\Service\Exception
*/
public function get($calendarId, $optParams = [])
{
$params = ['calendarId' => $calendarId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Calendar::class);
}
/**
* Creates a secondary calendar. (calendars.insert)
*
* @param Calendar $postBody
* @param array $optParams Optional parameters.
* @return Calendar
* @throws \Google\Service\Exception
*/
public function insert(Calendar $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], Calendar::class);
}
/**
* Updates metadata for a calendar. This method supports patch semantics.
* (calendars.patch)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param Calendar $postBody
* @param array $optParams Optional parameters.
* @return Calendar
* @throws \Google\Service\Exception
*/
public function patch($calendarId, Calendar $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Calendar::class);
}
/**
* Updates metadata for a calendar. (calendars.update)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param Calendar $postBody
* @param array $optParams Optional parameters.
* @return Calendar
* @throws \Google\Service\Exception
*/
public function update($calendarId, Calendar $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Calendar::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Calendars::class, 'Google_Service_Calendar_Resource_Calendars');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\Channel;
/**
* The "channels" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $channels = $calendarService->channels;
* </code>
*/
class Channels extends \Google\Service\Resource
{
/**
* Stop watching resources through this channel (channels.stop)
*
* @param Channel $postBody
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function stop(Channel $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stop', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Channels::class, 'Google_Service_Calendar_Resource_Channels');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\Colors as ColorsModel;
/**
* The "colors" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $colors = $calendarService->colors;
* </code>
*/
class Colors extends \Google\Service\Resource
{
/**
* Returns the color definitions for calendars and events. (colors.get)
*
* @param array $optParams Optional parameters.
* @return ColorsModel
* @throws \Google\Service\Exception
*/
public function get($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ColorsModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Colors::class, 'Google_Service_Calendar_Resource_Colors');
@@ -0,0 +1,537 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\Channel;
use Google\Service\Calendar\Event;
use Google\Service\Calendar\Events as EventsModel;
/**
* The "events" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $events = $calendarService->events;
* </code>
*/
class Events extends \Google\Service\Resource
{
/**
* Deletes an event. (events.delete)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $eventId Event identifier.
* @param array $optParams Optional parameters.
*
* @opt_param bool sendNotifications Deprecated. Please use sendUpdates instead.
*
* Whether to send notifications about the deletion of the event. Note that some
* emails might still be sent even if you set the value to false. The default is
* false.
* @opt_param string sendUpdates Guests who should receive notifications about
* the deletion of the event.
* @throws \Google\Service\Exception
*/
public function delete($calendarId, $eventId, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'eventId' => $eventId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Returns an event based on its Google Calendar ID. To retrieve an event using
* its iCalendar ID, call the events.list method using the iCalUID parameter.
* (events.get)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $eventId Event identifier.
* @param array $optParams Optional parameters.
*
* @opt_param bool alwaysIncludeEmail Deprecated and ignored. A value will
* always be returned in the email field for the organizer, creator and
* attendees, even if no real email address is available (i.e. a generated, non-
* working value will be provided).
* @opt_param int maxAttendees The maximum number of attendees to include in the
* response. If there are more than the specified number of attendees, only the
* participant is returned. Optional.
* @opt_param string timeZone Time zone used in the response. Optional. The
* default is the time zone of the calendar.
* @return Event
* @throws \Google\Service\Exception
*/
public function get($calendarId, $eventId, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'eventId' => $eventId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Event::class);
}
/**
* Imports an event. This operation is used to add a private copy of an existing
* event to a calendar. Only events with an eventType of default may be
* imported. Deprecated behavior: If a non-default event is imported, its type
* will be changed to default and any event-type-specific properties it may have
* will be dropped. (events.import)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param Event $postBody
* @param array $optParams Optional parameters.
*
* @opt_param int conferenceDataVersion Version number of conference data
* supported by the API client. Version 0 assumes no conference data support and
* ignores conference data in the event's body. Version 1 enables support for
* copying of ConferenceData as well as for creating new conferences using the
* createRequest field of conferenceData. The default is 0.
* @opt_param bool supportsAttachments Whether API client performing operation
* supports event attachments. Optional. The default is False.
* @return Event
* @throws \Google\Service\Exception
*/
public function import($calendarId, Event $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('import', [$params], Event::class);
}
/**
* Creates an event. (events.insert)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param Event $postBody
* @param array $optParams Optional parameters.
*
* @opt_param int conferenceDataVersion Version number of conference data
* supported by the API client. Version 0 assumes no conference data support and
* ignores conference data in the event's body. Version 1 enables support for
* copying of ConferenceData as well as for creating new conferences using the
* createRequest field of conferenceData. The default is 0.
* @opt_param int maxAttendees The maximum number of attendees to include in the
* response. If there are more than the specified number of attendees, only the
* participant is returned. Optional.
* @opt_param bool sendNotifications Deprecated. Please use sendUpdates instead.
*
* Whether to send notifications about the creation of the new event. Note that
* some emails might still be sent even if you set the value to false. The
* default is false.
* @opt_param string sendUpdates Whether to send notifications about the
* creation of the new event. Note that some emails might still be sent. The
* default is false.
* @opt_param bool supportsAttachments Whether API client performing operation
* supports event attachments. Optional. The default is False.
* @return Event
* @throws \Google\Service\Exception
*/
public function insert($calendarId, Event $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], Event::class);
}
/**
* Returns instances of the specified recurring event. (events.instances)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $eventId Recurring event identifier.
* @param array $optParams Optional parameters.
*
* @opt_param bool alwaysIncludeEmail Deprecated and ignored. A value will
* always be returned in the email field for the organizer, creator and
* attendees, even if no real email address is available (i.e. a generated, non-
* working value will be provided).
* @opt_param int maxAttendees The maximum number of attendees to include in the
* response. If there are more than the specified number of attendees, only the
* participant is returned. Optional.
* @opt_param int maxResults Maximum number of events returned on one result
* page. By default the value is 250 events. The page size can never be larger
* than 2500 events. Optional.
* @opt_param string originalStart The original start time of the instance in
* the result. Optional.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param bool showDeleted Whether to include deleted events (with status
* equals "cancelled") in the result. Cancelled instances of recurring events
* will still be included if singleEvents is False. Optional. The default is
* False.
* @opt_param string timeMax Upper bound (exclusive) for an event's start time
* to filter by. Optional. The default is not to filter by start time. Must be
* an RFC3339 timestamp with mandatory time zone offset.
* @opt_param string timeMin Lower bound (inclusive) for an event's end time to
* filter by. Optional. The default is not to filter by end time. Must be an
* RFC3339 timestamp with mandatory time zone offset.
* @opt_param string timeZone Time zone used in the response. Optional. The
* default is the time zone of the calendar.
* @return EventsModel
* @throws \Google\Service\Exception
*/
public function instances($calendarId, $eventId, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'eventId' => $eventId];
$params = array_merge($params, $optParams);
return $this->call('instances', [$params], EventsModel::class);
}
/**
* Returns events on the specified calendar. (events.listEvents)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param array $optParams Optional parameters.
*
* @opt_param bool alwaysIncludeEmail Deprecated and ignored.
* @opt_param string eventTypes Event types to return. Optional. This parameter
* can be repeated multiple times to return events of different types. If unset,
* returns all event types.
* @opt_param string iCalUID Specifies an event ID in the iCalendar format to be
* provided in the response. Optional. Use this if you want to search for an
* event by its iCalendar ID.
* @opt_param int maxAttendees The maximum number of attendees to include in the
* response. If there are more than the specified number of attendees, only the
* participant is returned. Optional.
* @opt_param int maxResults Maximum number of events returned on one result
* page. The number of events in the resulting page may be less than this value,
* or none at all, even if there are more events matching the query. Incomplete
* pages can be detected by a non-empty nextPageToken field in the response. By
* default the value is 250 events. The page size can never be larger than 2500
* events. Optional.
* @opt_param string orderBy The order of the events returned in the result.
* Optional. The default is an unspecified, stable order.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param string privateExtendedProperty Extended properties constraint
* specified as propertyName=value. Matches only private properties. This
* parameter might be repeated multiple times to return events that match all
* given constraints.
* @opt_param string q Free text search terms to find events that match these
* terms in the following fields:
*
* - summary - description - location - attendee's displayName - attendee's
* email - organizer's displayName - organizer's email -
* workingLocationProperties.officeLocation.buildingId -
* workingLocationProperties.officeLocation.deskId -
* workingLocationProperties.officeLocation.label -
* workingLocationProperties.customLocation.label These search terms also match
* predefined keywords against all display title translations of working
* location, out-of-office, and focus-time events. For example, searching for
* "Office" or "Bureau" returns working location events of type officeLocation,
* whereas searching for "Out of office" or "Abwesend" returns out-of-office
* events. Optional.
* @opt_param string sharedExtendedProperty Extended properties constraint
* specified as propertyName=value. Matches only shared properties. This
* parameter might be repeated multiple times to return events that match all
* given constraints.
* @opt_param bool showDeleted Whether to include deleted events (with status
* equals "cancelled") in the result. Cancelled instances of recurring events
* (but not the underlying recurring event) will still be included if
* showDeleted and singleEvents are both False. If showDeleted and singleEvents
* are both True, only single instances of deleted events (but not the
* underlying recurring events) are returned. Optional. The default is False.
* @opt_param bool showHiddenInvitations Whether to include hidden invitations
* in the result. Optional. The default is False.
* @opt_param bool singleEvents Whether to expand recurring events into
* instances and only return single one-off events and instances of recurring
* events, but not the underlying recurring events themselves. Optional. The
* default is False.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. All events deleted since the previous list request will always be in
* the result set and it is not allowed to set showDeleted to False. There are
* several query parameters that cannot be specified together with nextSyncToken
* to ensure consistency of the client state.
*
* These are: - iCalUID - orderBy - privateExtendedProperty - q -
* sharedExtendedProperty - timeMin - timeMax - updatedMin All other query
* parameters should be the same as for the initial synchronization to avoid
* undefined behavior. If the syncToken expires, the server will respond with a
* 410 GONE response code and the client should clear its storage and perform a
* full synchronization without any syncToken. Learn more about incremental
* synchronization. Optional. The default is to return all entries.
* @opt_param string timeMax Upper bound (exclusive) for an event's start time
* to filter by. Optional. The default is not to filter by start time. Must be
* an RFC3339 timestamp with mandatory time zone offset, for example,
* 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
* but are ignored. If timeMin is set, timeMax must be greater than timeMin.
* @opt_param string timeMin Lower bound (exclusive) for an event's end time to
* filter by. Optional. The default is not to filter by end time. Must be an
* RFC3339 timestamp with mandatory time zone offset, for example,
* 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
* but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
* @opt_param string timeZone Time zone used in the response. Optional. The
* default is the time zone of the calendar.
* @opt_param string updatedMin Lower bound for an event's last modification
* time (as a RFC3339 timestamp) to filter by. When specified, entries deleted
* since this time will always be included regardless of showDeleted. Optional.
* The default is not to filter by last modification time.
* @return EventsModel
* @throws \Google\Service\Exception
*/
public function listEvents($calendarId, $optParams = [])
{
$params = ['calendarId' => $calendarId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], EventsModel::class);
}
/**
* Moves an event to another calendar, i.e. changes an event's organizer. Note
* that only default events can be moved; birthday, focusTime, fromGmail,
* outOfOffice and workingLocation events cannot be moved. (events.move)
*
* @param string $calendarId Calendar identifier of the source calendar where
* the event currently is on.
* @param string $eventId Event identifier.
* @param string $destination Calendar identifier of the target calendar where
* the event is to be moved to.
* @param array $optParams Optional parameters.
*
* @opt_param bool sendNotifications Deprecated. Please use sendUpdates instead.
*
* Whether to send notifications about the change of the event's organizer. Note
* that some emails might still be sent even if you set the value to false. The
* default is false.
* @opt_param string sendUpdates Guests who should receive notifications about
* the change of the event's organizer.
* @return Event
* @throws \Google\Service\Exception
*/
public function move($calendarId, $eventId, $destination, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'eventId' => $eventId, 'destination' => $destination];
$params = array_merge($params, $optParams);
return $this->call('move', [$params], Event::class);
}
/**
* Updates an event. This method supports patch semantics. (events.patch)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $eventId Event identifier.
* @param Event $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool alwaysIncludeEmail Deprecated and ignored. A value will
* always be returned in the email field for the organizer, creator and
* attendees, even if no real email address is available (i.e. a generated, non-
* working value will be provided).
* @opt_param int conferenceDataVersion Version number of conference data
* supported by the API client. Version 0 assumes no conference data support and
* ignores conference data in the event's body. Version 1 enables support for
* copying of ConferenceData as well as for creating new conferences using the
* createRequest field of conferenceData. The default is 0.
* @opt_param int maxAttendees The maximum number of attendees to include in the
* response. If there are more than the specified number of attendees, only the
* participant is returned. Optional.
* @opt_param bool sendNotifications Deprecated. Please use sendUpdates instead.
*
* Whether to send notifications about the event update (for example,
* description changes, etc.). Note that some emails might still be sent even if
* you set the value to false. The default is false.
* @opt_param string sendUpdates Guests who should receive notifications about
* the event update (for example, title changes, etc.).
* @opt_param bool supportsAttachments Whether API client performing operation
* supports event attachments. Optional. The default is False.
* @return Event
* @throws \Google\Service\Exception
*/
public function patch($calendarId, $eventId, Event $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Event::class);
}
/**
* Creates an event based on a simple text string. (events.quickAdd)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $text The text describing the event to be created.
* @param array $optParams Optional parameters.
*
* @opt_param bool sendNotifications Deprecated. Please use sendUpdates instead.
*
* Whether to send notifications about the creation of the event. Note that some
* emails might still be sent even if you set the value to false. The default is
* false.
* @opt_param string sendUpdates Guests who should receive notifications about
* the creation of the new event.
* @return Event
* @throws \Google\Service\Exception
*/
public function quickAdd($calendarId, $text, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'text' => $text];
$params = array_merge($params, $optParams);
return $this->call('quickAdd', [$params], Event::class);
}
/**
* Updates an event. (events.update)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param string $eventId Event identifier.
* @param Event $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool alwaysIncludeEmail Deprecated and ignored. A value will
* always be returned in the email field for the organizer, creator and
* attendees, even if no real email address is available (i.e. a generated, non-
* working value will be provided).
* @opt_param int conferenceDataVersion Version number of conference data
* supported by the API client. Version 0 assumes no conference data support and
* ignores conference data in the event's body. Version 1 enables support for
* copying of ConferenceData as well as for creating new conferences using the
* createRequest field of conferenceData. The default is 0.
* @opt_param int maxAttendees The maximum number of attendees to include in the
* response. If there are more than the specified number of attendees, only the
* participant is returned. Optional.
* @opt_param bool sendNotifications Deprecated. Please use sendUpdates instead.
*
* Whether to send notifications about the event update (for example,
* description changes, etc.). Note that some emails might still be sent even if
* you set the value to false. The default is false.
* @opt_param string sendUpdates Guests who should receive notifications about
* the event update (for example, title changes, etc.).
* @opt_param bool supportsAttachments Whether API client performing operation
* supports event attachments. Optional. The default is False.
* @return Event
* @throws \Google\Service\Exception
*/
public function update($calendarId, $eventId, Event $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'eventId' => $eventId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Event::class);
}
/**
* Watch for changes to Events resources. (events.watch)
*
* @param string $calendarId Calendar identifier. To retrieve calendar IDs call
* the calendarList.list method. If you want to access the primary calendar of
* the currently logged in user, use the "primary" keyword.
* @param Channel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool alwaysIncludeEmail Deprecated and ignored.
* @opt_param string eventTypes Event types to return. Optional. This parameter
* can be repeated multiple times to return events of different types. If unset,
* returns all event types.
* @opt_param string iCalUID Specifies an event ID in the iCalendar format to be
* provided in the response. Optional. Use this if you want to search for an
* event by its iCalendar ID.
* @opt_param int maxAttendees The maximum number of attendees to include in the
* response. If there are more than the specified number of attendees, only the
* participant is returned. Optional.
* @opt_param int maxResults Maximum number of events returned on one result
* page. The number of events in the resulting page may be less than this value,
* or none at all, even if there are more events matching the query. Incomplete
* pages can be detected by a non-empty nextPageToken field in the response. By
* default the value is 250 events. The page size can never be larger than 2500
* events. Optional.
* @opt_param string orderBy The order of the events returned in the result.
* Optional. The default is an unspecified, stable order.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param string privateExtendedProperty Extended properties constraint
* specified as propertyName=value. Matches only private properties. This
* parameter might be repeated multiple times to return events that match all
* given constraints.
* @opt_param string q Free text search terms to find events that match these
* terms in the following fields:
*
* - summary - description - location - attendee's displayName - attendee's
* email - organizer's displayName - organizer's email -
* workingLocationProperties.officeLocation.buildingId -
* workingLocationProperties.officeLocation.deskId -
* workingLocationProperties.officeLocation.label -
* workingLocationProperties.customLocation.label These search terms also match
* predefined keywords against all display title translations of working
* location, out-of-office, and focus-time events. For example, searching for
* "Office" or "Bureau" returns working location events of type officeLocation,
* whereas searching for "Out of office" or "Abwesend" returns out-of-office
* events. Optional.
* @opt_param string sharedExtendedProperty Extended properties constraint
* specified as propertyName=value. Matches only shared properties. This
* parameter might be repeated multiple times to return events that match all
* given constraints.
* @opt_param bool showDeleted Whether to include deleted events (with status
* equals "cancelled") in the result. Cancelled instances of recurring events
* (but not the underlying recurring event) will still be included if
* showDeleted and singleEvents are both False. If showDeleted and singleEvents
* are both True, only single instances of deleted events (but not the
* underlying recurring events) are returned. Optional. The default is False.
* @opt_param bool showHiddenInvitations Whether to include hidden invitations
* in the result. Optional. The default is False.
* @opt_param bool singleEvents Whether to expand recurring events into
* instances and only return single one-off events and instances of recurring
* events, but not the underlying recurring events themselves. Optional. The
* default is False.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. All events deleted since the previous list request will always be in
* the result set and it is not allowed to set showDeleted to False. There are
* several query parameters that cannot be specified together with nextSyncToken
* to ensure consistency of the client state.
*
* These are: - iCalUID - orderBy - privateExtendedProperty - q -
* sharedExtendedProperty - timeMin - timeMax - updatedMin All other query
* parameters should be the same as for the initial synchronization to avoid
* undefined behavior. If the syncToken expires, the server will respond with a
* 410 GONE response code and the client should clear its storage and perform a
* full synchronization without any syncToken. Learn more about incremental
* synchronization. Optional. The default is to return all entries.
* @opt_param string timeMax Upper bound (exclusive) for an event's start time
* to filter by. Optional. The default is not to filter by start time. Must be
* an RFC3339 timestamp with mandatory time zone offset, for example,
* 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
* but are ignored. If timeMin is set, timeMax must be greater than timeMin.
* @opt_param string timeMin Lower bound (exclusive) for an event's end time to
* filter by. Optional. The default is not to filter by end time. Must be an
* RFC3339 timestamp with mandatory time zone offset, for example,
* 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided
* but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
* @opt_param string timeZone Time zone used in the response. Optional. The
* default is the time zone of the calendar.
* @opt_param string updatedMin Lower bound for an event's last modification
* time (as a RFC3339 timestamp) to filter by. When specified, entries deleted
* since this time will always be included regardless of showDeleted. Optional.
* The default is not to filter by last modification time.
* @return Channel
* @throws \Google\Service\Exception
*/
public function watch($calendarId, Channel $postBody, $optParams = [])
{
$params = ['calendarId' => $calendarId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('watch', [$params], Channel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Events::class, 'Google_Service_Calendar_Resource_Events');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\FreeBusyRequest;
use Google\Service\Calendar\FreeBusyResponse;
/**
* The "freebusy" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $freebusy = $calendarService->freebusy;
* </code>
*/
class Freebusy extends \Google\Service\Resource
{
/**
* Returns free/busy information for a set of calendars. (freebusy.query)
*
* @param FreeBusyRequest $postBody
* @param array $optParams Optional parameters.
* @return FreeBusyResponse
* @throws \Google\Service\Exception
*/
public function query(FreeBusyRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('query', [$params], FreeBusyResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Freebusy::class, 'Google_Service_Calendar_Resource_Freebusy');
@@ -0,0 +1,104 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar\Resource;
use Google\Service\Calendar\Channel;
use Google\Service\Calendar\Setting;
use Google\Service\Calendar\Settings as SettingsModel;
/**
* The "settings" collection of methods.
* Typical usage is:
* <code>
* $calendarService = new Google\Service\Calendar(...);
* $settings = $calendarService->settings;
* </code>
*/
class Settings extends \Google\Service\Resource
{
/**
* Returns a single user setting. (settings.get)
*
* @param string $setting The id of the user setting.
* @param array $optParams Optional parameters.
* @return Setting
* @throws \Google\Service\Exception
*/
public function get($setting, $optParams = [])
{
$params = ['setting' => $setting];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Setting::class);
}
/**
* Returns all user settings for the authenticated user. (settings.listSettings)
*
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of entries returned on one result
* page. By default the value is 100 entries. The page size can never be larger
* than 250 entries. Optional.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. If the syncToken expires, the server will respond with a 410 GONE
* response code and the client should clear its storage and perform a full
* synchronization without any syncToken. Learn more about incremental
* synchronization. Optional. The default is to return all entries.
* @return SettingsModel
* @throws \Google\Service\Exception
*/
public function listSettings($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], SettingsModel::class);
}
/**
* Watch for changes to Settings resources. (settings.watch)
*
* @param Channel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of entries returned on one result
* page. By default the value is 100 entries. The page size can never be larger
* than 250 entries. Optional.
* @opt_param string pageToken Token specifying which result page to return.
* Optional.
* @opt_param string syncToken Token obtained from the nextSyncToken field
* returned on the last page of results from the previous list request. It makes
* the result of this list request contain only entries that have changed since
* then. If the syncToken expires, the server will respond with a 410 GONE
* response code and the client should clear its storage and perform a full
* synchronization without any syncToken. Learn more about incremental
* synchronization. Optional. The default is to return all entries.
* @return Channel
* @throws \Google\Service\Exception
*/
public function watch(Channel $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('watch', [$params], Channel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Settings::class, 'Google_Service_Calendar_Resource_Settings');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Setting extends \Google\Model
{
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Setting::class, 'Google_Service_Calendar_Setting');
@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class Settings extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $etag;
protected $itemsType = Setting::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $nextSyncToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Setting[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Setting[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setNextSyncToken($nextSyncToken)
{
$this->nextSyncToken = $nextSyncToken;
}
/**
* @return string
*/
public function getNextSyncToken()
{
return $this->nextSyncToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Settings::class, 'Google_Service_Calendar_Settings');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Calendar;
class TimePeriod extends \Google\Model
{
/**
* @var string
*/
public $end;
/**
* @var string
*/
public $start;
/**
* @param string
*/
public function setEnd($end)
{
$this->end = $end;
}
/**
* @return string
*/
public function getEnd()
{
return $this->end;
}
/**
* @param string
*/
public function setStart($start)
{
$this->start = $start;
}
/**
* @return string
*/
public function getStart()
{
return $this->start;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TimePeriod::class, 'Google_Service_Calendar_TimePeriod');