wp-database-backup
/
includes
/
admin
/
Destination
/
Google
/
google-api-php-client
/
src
/
contrib
/
Google_MirrorService.php
Google_MirrorService.php in WP Database Backup – Unlimited Database & Files Backup by Backup for WP 6.11, at includes/admin/Destination/Google/google-api-php-client/src/contrib/Google_MirrorService.php
| 1 | <?php |
| 2 | /* |
| 3 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 | * use this file except in compliance with the License. You may obtain a copy of |
| 5 | * the License at |
| 6 | * |
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | * |
| 9 | * Unless required by applicable law or agreed to in writing, software |
| 10 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | * License for the specific language governing permissions and limitations under |
| 13 | * the License. |
| 14 | */ |
| 15 | |
| 16 | |
| 17 | /** |
| 18 | * The "contacts" collection of methods. |
| 19 | * Typical usage is: |
| 20 | * <code> |
| 21 | * $mirrorService = new Google_MirrorService(...); |
| 22 | * $contacts = $mirrorService->contacts; |
| 23 | * </code> |
| 24 | */ |
| 25 | class Google_ContactsServiceResource extends Google_ServiceResource { |
| 26 | |
| 27 | /** |
| 28 | * Deletes a contact. (contacts.delete) |
| 29 | * |
| 30 | * @param string $id The ID of the contact. |
| 31 | * @param array $optParams Optional parameters. |
| 32 | */ |
| 33 | public function delete($id, $optParams = array()) { |
| 34 | $params = array('id' => $id); |
| 35 | $params = array_merge($params, $optParams); |
| 36 | $data = $this->__call('delete', array($params)); |
| 37 | return $data; |
| 38 | } |
| 39 | /** |
| 40 | * Gets a single contact by ID. (contacts.get) |
| 41 | * |
| 42 | * @param string $id The ID of the contact. |
| 43 | * @param array $optParams Optional parameters. |
| 44 | * @return Google_Contact |
| 45 | */ |
| 46 | public function get($id, $optParams = array()) { |
| 47 | $params = array('id' => $id); |
| 48 | $params = array_merge($params, $optParams); |
| 49 | $data = $this->__call('get', array($params)); |
| 50 | if ($this->useObjects()) { |
| 51 | return new Google_Contact($data); |
| 52 | } else { |
| 53 | return $data; |
| 54 | } |
| 55 | } |
| 56 | /** |
| 57 | * Inserts a new contact. (contacts.insert) |
| 58 | * |
| 59 | * @param Google_Contact $postBody |
| 60 | * @param array $optParams Optional parameters. |
| 61 | * @return Google_Contact |
| 62 | */ |
| 63 | public function insert(Google_Contact $postBody, $optParams = array()) { |
| 64 | $params = array('postBody' => $postBody); |
| 65 | $params = array_merge($params, $optParams); |
| 66 | $data = $this->__call('insert', array($params)); |
| 67 | if ($this->useObjects()) { |
| 68 | return new Google_Contact($data); |
| 69 | } else { |
| 70 | return $data; |
| 71 | } |
| 72 | } |
| 73 | /** |
| 74 | * Retrieves a list of contacts for the authenticated user. (contacts.list) |
| 75 | * |
| 76 | * @param array $optParams Optional parameters. |
| 77 | * @return Google_ContactsListResponse |
| 78 | */ |
| 79 | public function listContacts($optParams = array()) { |
| 80 | $params = array(); |
| 81 | $params = array_merge($params, $optParams); |
| 82 | $data = $this->__call('list', array($params)); |
| 83 | if ($this->useObjects()) { |
| 84 | return new Google_ContactsListResponse($data); |
| 85 | } else { |
| 86 | return $data; |
| 87 | } |
| 88 | } |
| 89 | /** |
| 90 | * Updates a contact in place. This method supports patch semantics. (contacts.patch) |
| 91 | * |
| 92 | * @param string $id The ID of the contact. |
| 93 | * @param Google_Contact $postBody |
| 94 | * @param array $optParams Optional parameters. |
| 95 | * @return Google_Contact |
| 96 | */ |
| 97 | public function patch($id, Google_Contact $postBody, $optParams = array()) { |
| 98 | $params = array('id' => $id, 'postBody' => $postBody); |
| 99 | $params = array_merge($params, $optParams); |
| 100 | $data = $this->__call('patch', array($params)); |
| 101 | if ($this->useObjects()) { |
| 102 | return new Google_Contact($data); |
| 103 | } else { |
| 104 | return $data; |
| 105 | } |
| 106 | } |
| 107 | /** |
| 108 | * Updates a contact in place. (contacts.update) |
| 109 | * |
| 110 | * @param string $id The ID of the contact. |
| 111 | * @param Google_Contact $postBody |
| 112 | * @param array $optParams Optional parameters. |
| 113 | * @return Google_Contact |
| 114 | */ |
| 115 | public function update($id, Google_Contact $postBody, $optParams = array()) { |
| 116 | $params = array('id' => $id, 'postBody' => $postBody); |
| 117 | $params = array_merge($params, $optParams); |
| 118 | $data = $this->__call('update', array($params)); |
| 119 | if ($this->useObjects()) { |
| 120 | return new Google_Contact($data); |
| 121 | } else { |
| 122 | return $data; |
| 123 | } |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * The "locations" collection of methods. |
| 129 | * Typical usage is: |
| 130 | * <code> |
| 131 | * $mirrorService = new Google_MirrorService(...); |
| 132 | * $locations = $mirrorService->locations; |
| 133 | * </code> |
| 134 | */ |
| 135 | class Google_LocationsServiceResource extends Google_ServiceResource { |
| 136 | |
| 137 | /** |
| 138 | * Gets a single location by ID. (locations.get) |
| 139 | * |
| 140 | * @param string $id The ID of the location or latest for the last known location. |
| 141 | * @param array $optParams Optional parameters. |
| 142 | * @return Google_Location |
| 143 | */ |
| 144 | public function get($id, $optParams = array()) { |
| 145 | $params = array('id' => $id); |
| 146 | $params = array_merge($params, $optParams); |
| 147 | $data = $this->__call('get', array($params)); |
| 148 | if ($this->useObjects()) { |
| 149 | return new Google_Location($data); |
| 150 | } else { |
| 151 | return $data; |
| 152 | } |
| 153 | } |
| 154 | /** |
| 155 | * Retrieves a list of locations for the user. (locations.list) |
| 156 | * |
| 157 | * @param array $optParams Optional parameters. |
| 158 | * @return Google_LocationsListResponse |
| 159 | */ |
| 160 | public function listLocations($optParams = array()) { |
| 161 | $params = array(); |
| 162 | $params = array_merge($params, $optParams); |
| 163 | $data = $this->__call('list', array($params)); |
| 164 | if ($this->useObjects()) { |
| 165 | return new Google_LocationsListResponse($data); |
| 166 | } else { |
| 167 | return $data; |
| 168 | } |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * The "subscriptions" collection of methods. |
| 174 | * Typical usage is: |
| 175 | * <code> |
| 176 | * $mirrorService = new Google_MirrorService(...); |
| 177 | * $subscriptions = $mirrorService->subscriptions; |
| 178 | * </code> |
| 179 | */ |
| 180 | class Google_SubscriptionsServiceResource extends Google_ServiceResource { |
| 181 | |
| 182 | /** |
| 183 | * Deletes a subscription. (subscriptions.delete) |
| 184 | * |
| 185 | * @param string $id The ID of the subscription. |
| 186 | * @param array $optParams Optional parameters. |
| 187 | */ |
| 188 | public function delete($id, $optParams = array()) { |
| 189 | $params = array('id' => $id); |
| 190 | $params = array_merge($params, $optParams); |
| 191 | $data = $this->__call('delete', array($params)); |
| 192 | return $data; |
| 193 | } |
| 194 | /** |
| 195 | * Creates a new subscription. (subscriptions.insert) |
| 196 | * |
| 197 | * @param Google_Subscription $postBody |
| 198 | * @param array $optParams Optional parameters. |
| 199 | * @return Google_Subscription |
| 200 | */ |
| 201 | public function insert(Google_Subscription $postBody, $optParams = array()) { |
| 202 | $params = array('postBody' => $postBody); |
| 203 | $params = array_merge($params, $optParams); |
| 204 | $data = $this->__call('insert', array($params)); |
| 205 | if ($this->useObjects()) { |
| 206 | return new Google_Subscription($data); |
| 207 | } else { |
| 208 | return $data; |
| 209 | } |
| 210 | } |
| 211 | /** |
| 212 | * Retrieves a list of subscriptions for the authenticated user and service. (subscriptions.list) |
| 213 | * |
| 214 | * @param array $optParams Optional parameters. |
| 215 | * @return Google_SubscriptionsListResponse |
| 216 | */ |
| 217 | public function listSubscriptions($optParams = array()) { |
| 218 | $params = array(); |
| 219 | $params = array_merge($params, $optParams); |
| 220 | $data = $this->__call('list', array($params)); |
| 221 | if ($this->useObjects()) { |
| 222 | return new Google_SubscriptionsListResponse($data); |
| 223 | } else { |
| 224 | return $data; |
| 225 | } |
| 226 | } |
| 227 | /** |
| 228 | * Updates an existing subscription in place. (subscriptions.update) |
| 229 | * |
| 230 | * @param string $id The ID of the subscription. |
| 231 | * @param Google_Subscription $postBody |
| 232 | * @param array $optParams Optional parameters. |
| 233 | * @return Google_Subscription |
| 234 | */ |
| 235 | public function update($id, Google_Subscription $postBody, $optParams = array()) { |
| 236 | $params = array('id' => $id, 'postBody' => $postBody); |
| 237 | $params = array_merge($params, $optParams); |
| 238 | $data = $this->__call('update', array($params)); |
| 239 | if ($this->useObjects()) { |
| 240 | return new Google_Subscription($data); |
| 241 | } else { |
| 242 | return $data; |
| 243 | } |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | /** |
| 248 | * The "timeline" collection of methods. |
| 249 | * Typical usage is: |
| 250 | * <code> |
| 251 | * $mirrorService = new Google_MirrorService(...); |
| 252 | * $timeline = $mirrorService->timeline; |
| 253 | * </code> |
| 254 | */ |
| 255 | class Google_TimelineServiceResource extends Google_ServiceResource { |
| 256 | |
| 257 | /** |
| 258 | * Deletes a timeline item. (timeline.delete) |
| 259 | * |
| 260 | * @param string $id The ID of the timeline item. |
| 261 | * @param array $optParams Optional parameters. |
| 262 | */ |
| 263 | public function delete($id, $optParams = array()) { |
| 264 | $params = array('id' => $id); |
| 265 | $params = array_merge($params, $optParams); |
| 266 | $data = $this->__call('delete', array($params)); |
| 267 | return $data; |
| 268 | } |
| 269 | /** |
| 270 | * Gets a single timeline item by ID. (timeline.get) |
| 271 | * |
| 272 | * @param string $id The ID of the timeline item. |
| 273 | * @param array $optParams Optional parameters. |
| 274 | * @return Google_TimelineItem |
| 275 | */ |
| 276 | public function get($id, $optParams = array()) { |
| 277 | $params = array('id' => $id); |
| 278 | $params = array_merge($params, $optParams); |
| 279 | $data = $this->__call('get', array($params)); |
| 280 | if ($this->useObjects()) { |
| 281 | return new Google_TimelineItem($data); |
| 282 | } else { |
| 283 | return $data; |
| 284 | } |
| 285 | } |
| 286 | /** |
| 287 | * Inserts a new item into the timeline. (timeline.insert) |
| 288 | * |
| 289 | * @param Google_TimelineItem $postBody |
| 290 | * @param array $optParams Optional parameters. |
| 291 | * @return Google_TimelineItem |
| 292 | */ |
| 293 | public function insert(Google_TimelineItem $postBody, $optParams = array()) { |
| 294 | $params = array('postBody' => $postBody); |
| 295 | $params = array_merge($params, $optParams); |
| 296 | $data = $this->__call('insert', array($params)); |
| 297 | if ($this->useObjects()) { |
| 298 | return new Google_TimelineItem($data); |
| 299 | } else { |
| 300 | return $data; |
| 301 | } |
| 302 | } |
| 303 | /** |
| 304 | * Retrieves a list of timeline items for the authenticated user. (timeline.list) |
| 305 | * |
| 306 | * @param array $optParams Optional parameters. |
| 307 | * |
| 308 | * @opt_param string bundleId If provided, only items with the given bundleId will be returned. |
| 309 | * @opt_param bool includeDeleted If true, tombstone records for deleted items will be returned. |
| 310 | * @opt_param string maxResults The maximum number of items to include in the response, used for paging. |
| 311 | * @opt_param string orderBy Controls the order in which timeline items are returned. |
| 312 | * @opt_param string pageToken Token for the page of results to return. |
| 313 | * @opt_param bool pinnedOnly If true, only pinned items will be returned. |
| 314 | * @opt_param string sourceItemId If provided, only items with the given sourceItemId will be returned. |
| 315 | * @return Google_TimelineListResponse |
| 316 | */ |
| 317 | public function listTimeline($optParams = array()) { |
| 318 | $params = array(); |
| 319 | $params = array_merge($params, $optParams); |
| 320 | $data = $this->__call('list', array($params)); |
| 321 | if ($this->useObjects()) { |
| 322 | return new Google_TimelineListResponse($data); |
| 323 | } else { |
| 324 | return $data; |
| 325 | } |
| 326 | } |
| 327 | /** |
| 328 | * Updates a timeline item in place. This method supports patch semantics. (timeline.patch) |
| 329 | * |
| 330 | * @param string $id The ID of the timeline item. |
| 331 | * @param Google_TimelineItem $postBody |
| 332 | * @param array $optParams Optional parameters. |
| 333 | * @return Google_TimelineItem |
| 334 | */ |
| 335 | public function patch($id, Google_TimelineItem $postBody, $optParams = array()) { |
| 336 | $params = array('id' => $id, 'postBody' => $postBody); |
| 337 | $params = array_merge($params, $optParams); |
| 338 | $data = $this->__call('patch', array($params)); |
| 339 | if ($this->useObjects()) { |
| 340 | return new Google_TimelineItem($data); |
| 341 | } else { |
| 342 | return $data; |
| 343 | } |
| 344 | } |
| 345 | /** |
| 346 | * Updates a timeline item in place. (timeline.update) |
| 347 | * |
| 348 | * @param string $id The ID of the timeline item. |
| 349 | * @param Google_TimelineItem $postBody |
| 350 | * @param array $optParams Optional parameters. |
| 351 | * @return Google_TimelineItem |
| 352 | */ |
| 353 | public function update($id, Google_TimelineItem $postBody, $optParams = array()) { |
| 354 | $params = array('id' => $id, 'postBody' => $postBody); |
| 355 | $params = array_merge($params, $optParams); |
| 356 | $data = $this->__call('update', array($params)); |
| 357 | if ($this->useObjects()) { |
| 358 | return new Google_TimelineItem($data); |
| 359 | } else { |
| 360 | return $data; |
| 361 | } |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | /** |
| 366 | * The "attachments" collection of methods. |
| 367 | * Typical usage is: |
| 368 | * <code> |
| 369 | * $mirrorService = new Google_MirrorService(...); |
| 370 | * $attachments = $mirrorService->attachments; |
| 371 | * </code> |
| 372 | */ |
| 373 | class Google_TimelineAttachmentsServiceResource extends Google_ServiceResource { |
| 374 | |
| 375 | /** |
| 376 | * Deletes an attachment from a timeline item. (attachments.delete) |
| 377 | * |
| 378 | * @param string $itemId The ID of the timeline item the attachment belongs to. |
| 379 | * @param string $attachmentId The ID of the attachment. |
| 380 | * @param array $optParams Optional parameters. |
| 381 | */ |
| 382 | public function delete($itemId, $attachmentId, $optParams = array()) { |
| 383 | $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId); |
| 384 | $params = array_merge($params, $optParams); |
| 385 | $data = $this->__call('delete', array($params)); |
| 386 | return $data; |
| 387 | } |
| 388 | /** |
| 389 | * Retrieves an attachment on a timeline item by item ID and attachment ID. (attachments.get) |
| 390 | * |
| 391 | * @param string $itemId The ID of the timeline item the attachment belongs to. |
| 392 | * @param string $attachmentId The ID of the attachment. |
| 393 | * @param array $optParams Optional parameters. |
| 394 | * @return Google_Attachment |
| 395 | */ |
| 396 | public function get($itemId, $attachmentId, $optParams = array()) { |
| 397 | $params = array('itemId' => $itemId, 'attachmentId' => $attachmentId); |
| 398 | $params = array_merge($params, $optParams); |
| 399 | $data = $this->__call('get', array($params)); |
| 400 | if ($this->useObjects()) { |
| 401 | return new Google_Attachment($data); |
| 402 | } else { |
| 403 | return $data; |
| 404 | } |
| 405 | } |
| 406 | /** |
| 407 | * Adds a new attachment to a timeline item. (attachments.insert) |
| 408 | * |
| 409 | * @param string $itemId The ID of the timeline item the attachment belongs to. |
| 410 | * @param array $optParams Optional parameters. |
| 411 | * @return Google_Attachment |
| 412 | */ |
| 413 | public function insert($itemId, $optParams = array()) { |
| 414 | $params = array('itemId' => $itemId); |
| 415 | $params = array_merge($params, $optParams); |
| 416 | $data = $this->__call('insert', array($params)); |
| 417 | if ($this->useObjects()) { |
| 418 | return new Google_Attachment($data); |
| 419 | } else { |
| 420 | return $data; |
| 421 | } |
| 422 | } |
| 423 | /** |
| 424 | * Returns a list of attachments for a timeline item. (attachments.list) |
| 425 | * |
| 426 | * @param string $itemId The ID of the timeline item whose attachments should be listed. |
| 427 | * @param array $optParams Optional parameters. |
| 428 | * @return Google_AttachmentsListResponse |
| 429 | */ |
| 430 | public function listTimelineAttachments($itemId, $optParams = array()) { |
| 431 | $params = array('itemId' => $itemId); |
| 432 | $params = array_merge($params, $optParams); |
| 433 | $data = $this->__call('list', array($params)); |
| 434 | if ($this->useObjects()) { |
| 435 | return new Google_AttachmentsListResponse($data); |
| 436 | } else { |
| 437 | return $data; |
| 438 | } |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * Service definition for Google_Mirror (v1). |
| 444 | * |
| 445 | * <p> |
| 446 | * API for interacting with Glass users via the timeline. |
| 447 | * </p> |
| 448 | * |
| 449 | * <p> |
| 450 | * For more information about this service, see the |
| 451 | * <a href="https://developers.google.com/glass" target="_blank">API Documentation</a> |
| 452 | * </p> |
| 453 | * |
| 454 | * @author Google, Inc. |
| 455 | */ |
| 456 | class Google_MirrorService extends Google_Service { |
| 457 | public $contacts; |
| 458 | public $locations; |
| 459 | public $subscriptions; |
| 460 | public $timeline; |
| 461 | public $timeline_attachments; |
| 462 | /** |
| 463 | * Constructs the internal representation of the Mirror service. |
| 464 | * |
| 465 | * @param Google_Client $client |
| 466 | */ |
| 467 | public function __construct(Google_Client $client) { |
| 468 | $this->servicePath = 'mirror/v1/'; |
| 469 | $this->version = 'v1'; |
| 470 | $this->serviceName = 'mirror'; |
| 471 | |
| 472 | $client->addService($this->serviceName, $this->version); |
| 473 | $this->contacts = new Google_ContactsServiceResource($this, $this->serviceName, 'contacts', json_decode('{"methods": {"delete": {"id": "mirror.contacts.delete", "path": "contacts/{id}", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}}, "get": {"id": "mirror.contacts.get", "path": "contacts/{id}", "httpMethod": "GET", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Contact"}}, "insert": {"id": "mirror.contacts.insert", "path": "contacts", "httpMethod": "POST", "request": {"$ref": "Contact"}, "response": {"$ref": "Contact"}}, "list": {"id": "mirror.contacts.list", "path": "contacts", "httpMethod": "GET", "response": {"$ref": "ContactsListResponse"}}, "patch": {"id": "mirror.contacts.patch", "path": "contacts/{id}", "httpMethod": "PATCH", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Contact"}, "response": {"$ref": "Contact"}}, "update": {"id": "mirror.contacts.update", "path": "contacts/{id}", "httpMethod": "PUT", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Contact"}, "response": {"$ref": "Contact"}}}}', true)); |
| 474 | $this->locations = new Google_LocationsServiceResource($this, $this->serviceName, 'locations', json_decode('{"methods": {"get": {"id": "mirror.locations.get", "path": "locations/{id}", "httpMethod": "GET", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Location"}}, "list": {"id": "mirror.locations.list", "path": "locations", "httpMethod": "GET", "response": {"$ref": "LocationsListResponse"}}}}', true)); |
| 475 | $this->subscriptions = new Google_SubscriptionsServiceResource($this, $this->serviceName, 'subscriptions', json_decode('{"methods": {"delete": {"id": "mirror.subscriptions.delete", "path": "subscriptions/{id}", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}}, "insert": {"id": "mirror.subscriptions.insert", "path": "subscriptions", "httpMethod": "POST", "request": {"$ref": "Subscription"}, "response": {"$ref": "Subscription"}}, "list": {"id": "mirror.subscriptions.list", "path": "subscriptions", "httpMethod": "GET", "response": {"$ref": "SubscriptionsListResponse"}}, "update": {"id": "mirror.subscriptions.update", "path": "subscriptions/{id}", "httpMethod": "PUT", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Subscription"}, "response": {"$ref": "Subscription"}}}}', true)); |
| 476 | $this->timeline = new Google_TimelineServiceResource($this, $this->serviceName, 'timeline', json_decode('{"methods": {"delete": {"id": "mirror.timeline.delete", "path": "timeline/{id}", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}}, "get": {"id": "mirror.timeline.get", "path": "timeline/{id}", "httpMethod": "GET", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "TimelineItem"}}, "insert": {"id": "mirror.timeline.insert", "path": "timeline", "httpMethod": "POST", "request": {"$ref": "TimelineItem"}, "response": {"$ref": "TimelineItem"}, "supportsMediaUpload": true, "mediaUpload": {"accept": ["audio/*", "image/*", "video/*"], "maxSize": "10MB", "protocols": {"simple": {"multipart": true, "path": "/upload/mirror/v1/timeline"}, "resumable": {"multipart": true, "path": "/resumable/upload/mirror/v1/timeline"}}}}, "list": {"id": "mirror.timeline.list", "path": "timeline", "httpMethod": "GET", "parameters": {"bundleId": {"type": "string", "location": "query"}, "includeDeleted": {"type": "boolean", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "location": "query"}, "orderBy": {"type": "string", "enum": ["displayTime", "writeTime"], "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "pinnedOnly": {"type": "boolean", "location": "query"}, "sourceItemId": {"type": "string", "location": "query"}}, "response": {"$ref": "TimelineListResponse"}}, "patch": {"id": "mirror.timeline.patch", "path": "timeline/{id}", "httpMethod": "PATCH", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "TimelineItem"}, "response": {"$ref": "TimelineItem"}}, "update": {"id": "mirror.timeline.update", "path": "timeline/{id}", "httpMethod": "PUT", "parameters": {"id": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "TimelineItem"}, "response": {"$ref": "TimelineItem"}, "supportsMediaUpload": true, "mediaUpload": {"accept": ["audio/*", "image/*", "video/*"], "maxSize": "10MB", "protocols": {"simple": {"multipart": true, "path": "/upload/mirror/v1/timeline/{id}"}, "resumable": {"multipart": true, "path": "/resumable/upload/mirror/v1/timeline/{id}"}}}}}}', true)); |
| 477 | $this->timeline_attachments = new Google_TimelineAttachmentsServiceResource($this, $this->serviceName, 'attachments', json_decode('{"methods": {"delete": {"id": "mirror.timeline.attachments.delete", "path": "timeline/{itemId}/attachments/{attachmentId}", "httpMethod": "DELETE", "parameters": {"attachmentId": {"type": "string", "required": true, "location": "path"}, "itemId": {"type": "string", "required": true, "location": "path"}}}, "get": {"id": "mirror.timeline.attachments.get", "path": "timeline/{itemId}/attachments/{attachmentId}", "httpMethod": "GET", "parameters": {"attachmentId": {"type": "string", "required": true, "location": "path"}, "itemId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Attachment"}, "supportsMediaDownload": true}, "insert": {"id": "mirror.timeline.attachments.insert", "path": "timeline/{itemId}/attachments", "httpMethod": "POST", "parameters": {"itemId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Attachment"}, "supportsMediaUpload": true, "mediaUpload": {"accept": ["audio/*", "image/*", "video/*"], "maxSize": "10MB", "protocols": {"simple": {"multipart": true, "path": "/upload/mirror/v1/timeline/{itemId}/attachments"}, "resumable": {"multipart": true, "path": "/resumable/upload/mirror/v1/timeline/{itemId}/attachments"}}}}, "list": {"id": "mirror.timeline.attachments.list", "path": "timeline/{itemId}/attachments", "httpMethod": "GET", "parameters": {"itemId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "AttachmentsListResponse"}}}}', true)); |
| 478 | |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | |
| 483 | |
| 484 | class Google_Attachment extends Google_Model { |
| 485 | public $contentType; |
| 486 | public $contentUrl; |
| 487 | public $id; |
| 488 | public $isProcessingContent; |
| 489 | public function setContentType( $contentType) { |
| 490 | $this->contentType = $contentType; |
| 491 | } |
| 492 | public function getContentType() { |
| 493 | return $this->contentType; |
| 494 | } |
| 495 | public function setContentUrl( $contentUrl) { |
| 496 | $this->contentUrl = $contentUrl; |
| 497 | } |
| 498 | public function getContentUrl() { |
| 499 | return $this->contentUrl; |
| 500 | } |
| 501 | public function setId( $id) { |
| 502 | $this->id = $id; |
| 503 | } |
| 504 | public function getId() { |
| 505 | return $this->id; |
| 506 | } |
| 507 | public function setIsProcessingContent( $isProcessingContent) { |
| 508 | $this->isProcessingContent = $isProcessingContent; |
| 509 | } |
| 510 | public function getIsProcessingContent() { |
| 511 | return $this->isProcessingContent; |
| 512 | } |
| 513 | } |
| 514 | |
| 515 | class Google_AttachmentsListResponse extends Google_Model { |
| 516 | protected $__itemsType = 'Google_Attachment'; |
| 517 | protected $__itemsDataType = 'array'; |
| 518 | public $items; |
| 519 | public $kind; |
| 520 | public function setItems(/* array(Google_Attachment) */ $items) { |
| 521 | $this->assertIsArray($items, 'Google_Attachment', __METHOD__); |
| 522 | $this->items = $items; |
| 523 | } |
| 524 | public function getItems() { |
| 525 | return $this->items; |
| 526 | } |
| 527 | public function setKind( $kind) { |
| 528 | $this->kind = $kind; |
| 529 | } |
| 530 | public function getKind() { |
| 531 | return $this->kind; |
| 532 | } |
| 533 | } |
| 534 | |
| 535 | class Google_Contact extends Google_Model { |
| 536 | public $acceptTypes; |
| 537 | public $displayName; |
| 538 | public $id; |
| 539 | public $imageUrls; |
| 540 | public $kind; |
| 541 | public $phoneNumber; |
| 542 | public $priority; |
| 543 | public $source; |
| 544 | public $type; |
| 545 | public function setAcceptTypes(/* array(Google_string) */ $acceptTypes) { |
| 546 | $this->assertIsArray($acceptTypes, 'Google_string', __METHOD__); |
| 547 | $this->acceptTypes = $acceptTypes; |
| 548 | } |
| 549 | public function getAcceptTypes() { |
| 550 | return $this->acceptTypes; |
| 551 | } |
| 552 | public function setDisplayName( $displayName) { |
| 553 | $this->displayName = $displayName; |
| 554 | } |
| 555 | public function getDisplayName() { |
| 556 | return $this->displayName; |
| 557 | } |
| 558 | public function setId( $id) { |
| 559 | $this->id = $id; |
| 560 | } |
| 561 | public function getId() { |
| 562 | return $this->id; |
| 563 | } |
| 564 | public function setImageUrls(/* array(Google_string) */ $imageUrls) { |
| 565 | $this->assertIsArray($imageUrls, 'Google_string', __METHOD__); |
| 566 | $this->imageUrls = $imageUrls; |
| 567 | } |
| 568 | public function getImageUrls() { |
| 569 | return $this->imageUrls; |
| 570 | } |
| 571 | public function setKind( $kind) { |
| 572 | $this->kind = $kind; |
| 573 | } |
| 574 | public function getKind() { |
| 575 | return $this->kind; |
| 576 | } |
| 577 | public function setPhoneNumber( $phoneNumber) { |
| 578 | $this->phoneNumber = $phoneNumber; |
| 579 | } |
| 580 | public function getPhoneNumber() { |
| 581 | return $this->phoneNumber; |
| 582 | } |
| 583 | public function setPriority( $priority) { |
| 584 | $this->priority = $priority; |
| 585 | } |
| 586 | public function getPriority() { |
| 587 | return $this->priority; |
| 588 | } |
| 589 | public function setSource( $source) { |
| 590 | $this->source = $source; |
| 591 | } |
| 592 | public function getSource() { |
| 593 | return $this->source; |
| 594 | } |
| 595 | public function setType( $type) { |
| 596 | $this->type = $type; |
| 597 | } |
| 598 | public function getType() { |
| 599 | return $this->type; |
| 600 | } |
| 601 | } |
| 602 | |
| 603 | class Google_ContactsListResponse extends Google_Model { |
| 604 | protected $__itemsType = 'Google_Contact'; |
| 605 | protected $__itemsDataType = 'array'; |
| 606 | public $items; |
| 607 | public $kind; |
| 608 | public function setItems(/* array(Google_Contact) */ $items) { |
| 609 | $this->assertIsArray($items, 'Google_Contact', __METHOD__); |
| 610 | $this->items = $items; |
| 611 | } |
| 612 | public function getItems() { |
| 613 | return $this->items; |
| 614 | } |
| 615 | public function setKind( $kind) { |
| 616 | $this->kind = $kind; |
| 617 | } |
| 618 | public function getKind() { |
| 619 | return $this->kind; |
| 620 | } |
| 621 | } |
| 622 | |
| 623 | class Google_Location extends Google_Model { |
| 624 | public $accuracy; |
| 625 | public $address; |
| 626 | public $displayName; |
| 627 | public $id; |
| 628 | public $kind; |
| 629 | public $latitude; |
| 630 | public $longitude; |
| 631 | public $timestamp; |
| 632 | public function setAccuracy( $accuracy) { |
| 633 | $this->accuracy = $accuracy; |
| 634 | } |
| 635 | public function getAccuracy() { |
| 636 | return $this->accuracy; |
| 637 | } |
| 638 | public function setAddress( $address) { |
| 639 | $this->address = $address; |
| 640 | } |
| 641 | public function getAddress() { |
| 642 | return $this->address; |
| 643 | } |
| 644 | public function setDisplayName( $displayName) { |
| 645 | $this->displayName = $displayName; |
| 646 | } |
| 647 | public function getDisplayName() { |
| 648 | return $this->displayName; |
| 649 | } |
| 650 | public function setId( $id) { |
| 651 | $this->id = $id; |
| 652 | } |
| 653 | public function getId() { |
| 654 | return $this->id; |
| 655 | } |
| 656 | public function setKind( $kind) { |
| 657 | $this->kind = $kind; |
| 658 | } |
| 659 | public function getKind() { |
| 660 | return $this->kind; |
| 661 | } |
| 662 | public function setLatitude( $latitude) { |
| 663 | $this->latitude = $latitude; |
| 664 | } |
| 665 | public function getLatitude() { |
| 666 | return $this->latitude; |
| 667 | } |
| 668 | public function setLongitude( $longitude) { |
| 669 | $this->longitude = $longitude; |
| 670 | } |
| 671 | public function getLongitude() { |
| 672 | return $this->longitude; |
| 673 | } |
| 674 | public function setTimestamp( $timestamp) { |
| 675 | $this->timestamp = $timestamp; |
| 676 | } |
| 677 | public function getTimestamp() { |
| 678 | return $this->timestamp; |
| 679 | } |
| 680 | } |
| 681 | |
| 682 | class Google_LocationsListResponse extends Google_Model { |
| 683 | protected $__itemsType = 'Google_Location'; |
| 684 | protected $__itemsDataType = 'array'; |
| 685 | public $items; |
| 686 | public $kind; |
| 687 | public function setItems(/* array(Google_Location) */ $items) { |
| 688 | $this->assertIsArray($items, 'Google_Location', __METHOD__); |
| 689 | $this->items = $items; |
| 690 | } |
| 691 | public function getItems() { |
| 692 | return $this->items; |
| 693 | } |
| 694 | public function setKind( $kind) { |
| 695 | $this->kind = $kind; |
| 696 | } |
| 697 | public function getKind() { |
| 698 | return $this->kind; |
| 699 | } |
| 700 | } |
| 701 | |
| 702 | class Google_MenuItem extends Google_Model { |
| 703 | public $action; |
| 704 | public $id; |
| 705 | public $removeWhenSelected; |
| 706 | protected $__valuesType = 'Google_MenuValue'; |
| 707 | protected $__valuesDataType = 'array'; |
| 708 | public $values; |
| 709 | public function setAction( $action) { |
| 710 | $this->action = $action; |
| 711 | } |
| 712 | public function getAction() { |
| 713 | return $this->action; |
| 714 | } |
| 715 | public function setId( $id) { |
| 716 | $this->id = $id; |
| 717 | } |
| 718 | public function getId() { |
| 719 | return $this->id; |
| 720 | } |
| 721 | public function setRemoveWhenSelected( $removeWhenSelected) { |
| 722 | $this->removeWhenSelected = $removeWhenSelected; |
| 723 | } |
| 724 | public function getRemoveWhenSelected() { |
| 725 | return $this->removeWhenSelected; |
| 726 | } |
| 727 | public function setValues(/* array(Google_MenuValue) */ $values) { |
| 728 | $this->assertIsArray($values, 'Google_MenuValue', __METHOD__); |
| 729 | $this->values = $values; |
| 730 | } |
| 731 | public function getValues() { |
| 732 | return $this->values; |
| 733 | } |
| 734 | } |
| 735 | |
| 736 | class Google_MenuValue extends Google_Model { |
| 737 | public $displayName; |
| 738 | public $iconUrl; |
| 739 | public $state; |
| 740 | public function setDisplayName( $displayName) { |
| 741 | $this->displayName = $displayName; |
| 742 | } |
| 743 | public function getDisplayName() { |
| 744 | return $this->displayName; |
| 745 | } |
| 746 | public function setIconUrl( $iconUrl) { |
| 747 | $this->iconUrl = $iconUrl; |
| 748 | } |
| 749 | public function getIconUrl() { |
| 750 | return $this->iconUrl; |
| 751 | } |
| 752 | public function setState( $state) { |
| 753 | $this->state = $state; |
| 754 | } |
| 755 | public function getState() { |
| 756 | return $this->state; |
| 757 | } |
| 758 | } |
| 759 | |
| 760 | class Google_Notification extends Google_Model { |
| 761 | public $collection; |
| 762 | public $itemId; |
| 763 | public $operation; |
| 764 | protected $__userActionsType = 'Google_UserAction'; |
| 765 | protected $__userActionsDataType = 'array'; |
| 766 | public $userActions; |
| 767 | public $userToken; |
| 768 | public $verifyToken; |
| 769 | public function setCollection( $collection) { |
| 770 | $this->collection = $collection; |
| 771 | } |
| 772 | public function getCollection() { |
| 773 | return $this->collection; |
| 774 | } |
| 775 | public function setItemId( $itemId) { |
| 776 | $this->itemId = $itemId; |
| 777 | } |
| 778 | public function getItemId() { |
| 779 | return $this->itemId; |
| 780 | } |
| 781 | public function setOperation( $operation) { |
| 782 | $this->operation = $operation; |
| 783 | } |
| 784 | public function getOperation() { |
| 785 | return $this->operation; |
| 786 | } |
| 787 | public function setUserActions(/* array(Google_UserAction) */ $userActions) { |
| 788 | $this->assertIsArray($userActions, 'Google_UserAction', __METHOD__); |
| 789 | $this->userActions = $userActions; |
| 790 | } |
| 791 | public function getUserActions() { |
| 792 | return $this->userActions; |
| 793 | } |
| 794 | public function setUserToken( $userToken) { |
| 795 | $this->userToken = $userToken; |
| 796 | } |
| 797 | public function getUserToken() { |
| 798 | return $this->userToken; |
| 799 | } |
| 800 | public function setVerifyToken( $verifyToken) { |
| 801 | $this->verifyToken = $verifyToken; |
| 802 | } |
| 803 | public function getVerifyToken() { |
| 804 | return $this->verifyToken; |
| 805 | } |
| 806 | } |
| 807 | |
| 808 | class Google_NotificationConfig extends Google_Model { |
| 809 | public $deliveryTime; |
| 810 | public $level; |
| 811 | public function setDeliveryTime( $deliveryTime) { |
| 812 | $this->deliveryTime = $deliveryTime; |
| 813 | } |
| 814 | public function getDeliveryTime() { |
| 815 | return $this->deliveryTime; |
| 816 | } |
| 817 | public function setLevel( $level) { |
| 818 | $this->level = $level; |
| 819 | } |
| 820 | public function getLevel() { |
| 821 | return $this->level; |
| 822 | } |
| 823 | } |
| 824 | |
| 825 | class Google_Subscription extends Google_Model { |
| 826 | public $callbackUrl; |
| 827 | public $collection; |
| 828 | public $id; |
| 829 | public $kind; |
| 830 | protected $__notificationType = 'Google_Notification'; |
| 831 | protected $__notificationDataType = ''; |
| 832 | public $notification; |
| 833 | public $operation; |
| 834 | public $updated; |
| 835 | public $userToken; |
| 836 | public $verifyToken; |
| 837 | public function setCallbackUrl( $callbackUrl) { |
| 838 | $this->callbackUrl = $callbackUrl; |
| 839 | } |
| 840 | public function getCallbackUrl() { |
| 841 | return $this->callbackUrl; |
| 842 | } |
| 843 | public function setCollection( $collection) { |
| 844 | $this->collection = $collection; |
| 845 | } |
| 846 | public function getCollection() { |
| 847 | return $this->collection; |
| 848 | } |
| 849 | public function setId( $id) { |
| 850 | $this->id = $id; |
| 851 | } |
| 852 | public function getId() { |
| 853 | return $this->id; |
| 854 | } |
| 855 | public function setKind( $kind) { |
| 856 | $this->kind = $kind; |
| 857 | } |
| 858 | public function getKind() { |
| 859 | return $this->kind; |
| 860 | } |
| 861 | public function setNotification(Google_Notification $notification) { |
| 862 | $this->notification = $notification; |
| 863 | } |
| 864 | public function getNotification() { |
| 865 | return $this->notification; |
| 866 | } |
| 867 | public function setOperation(/* array(Google_string) */ $operation) { |
| 868 | $this->assertIsArray($operation, 'Google_string', __METHOD__); |
| 869 | $this->operation = $operation; |
| 870 | } |
| 871 | public function getOperation() { |
| 872 | return $this->operation; |
| 873 | } |
| 874 | public function setUpdated( $updated) { |
| 875 | $this->updated = $updated; |
| 876 | } |
| 877 | public function getUpdated() { |
| 878 | return $this->updated; |
| 879 | } |
| 880 | public function setUserToken( $userToken) { |
| 881 | $this->userToken = $userToken; |
| 882 | } |
| 883 | public function getUserToken() { |
| 884 | return $this->userToken; |
| 885 | } |
| 886 | public function setVerifyToken( $verifyToken) { |
| 887 | $this->verifyToken = $verifyToken; |
| 888 | } |
| 889 | public function getVerifyToken() { |
| 890 | return $this->verifyToken; |
| 891 | } |
| 892 | } |
| 893 | |
| 894 | class Google_SubscriptionsListResponse extends Google_Model { |
| 895 | protected $__itemsType = 'Google_Subscription'; |
| 896 | protected $__itemsDataType = 'array'; |
| 897 | public $items; |
| 898 | public $kind; |
| 899 | public function setItems(/* array(Google_Subscription) */ $items) { |
| 900 | $this->assertIsArray($items, 'Google_Subscription', __METHOD__); |
| 901 | $this->items = $items; |
| 902 | } |
| 903 | public function getItems() { |
| 904 | return $this->items; |
| 905 | } |
| 906 | public function setKind( $kind) { |
| 907 | $this->kind = $kind; |
| 908 | } |
| 909 | public function getKind() { |
| 910 | return $this->kind; |
| 911 | } |
| 912 | } |
| 913 | |
| 914 | class Google_TimelineItem extends Google_Model { |
| 915 | protected $__attachmentsType = 'Google_Attachment'; |
| 916 | protected $__attachmentsDataType = 'array'; |
| 917 | public $attachments; |
| 918 | public $bundleId; |
| 919 | public $canonicalUrl; |
| 920 | public $created; |
| 921 | protected $__creatorType = 'Google_Contact'; |
| 922 | protected $__creatorDataType = ''; |
| 923 | public $creator; |
| 924 | public $displayTime; |
| 925 | public $etag; |
| 926 | public $html; |
| 927 | public $htmlPages; |
| 928 | public $id; |
| 929 | public $inReplyTo; |
| 930 | public $isBundleCover; |
| 931 | public $isDeleted; |
| 932 | public $isPinned; |
| 933 | public $kind; |
| 934 | protected $__locationType = 'Google_Location'; |
| 935 | protected $__locationDataType = ''; |
| 936 | public $location; |
| 937 | protected $__menuItemsType = 'Google_MenuItem'; |
| 938 | protected $__menuItemsDataType = 'array'; |
| 939 | public $menuItems; |
| 940 | protected $__notificationType = 'Google_NotificationConfig'; |
| 941 | protected $__notificationDataType = ''; |
| 942 | public $notification; |
| 943 | public $pinScore; |
| 944 | protected $__recipientsType = 'Google_Contact'; |
| 945 | protected $__recipientsDataType = 'array'; |
| 946 | public $recipients; |
| 947 | public $selfLink; |
| 948 | public $sourceItemId; |
| 949 | public $speakableText; |
| 950 | public $speakableType; |
| 951 | public $text; |
| 952 | public $title; |
| 953 | public $updated; |
| 954 | public function setAttachments(/* array(Google_Attachment) */ $attachments) { |
| 955 | $this->assertIsArray($attachments, 'Google_Attachment', __METHOD__); |
| 956 | $this->attachments = $attachments; |
| 957 | } |
| 958 | public function getAttachments() { |
| 959 | return $this->attachments; |
| 960 | } |
| 961 | public function setBundleId( $bundleId) { |
| 962 | $this->bundleId = $bundleId; |
| 963 | } |
| 964 | public function getBundleId() { |
| 965 | return $this->bundleId; |
| 966 | } |
| 967 | public function setCanonicalUrl( $canonicalUrl) { |
| 968 | $this->canonicalUrl = $canonicalUrl; |
| 969 | } |
| 970 | public function getCanonicalUrl() { |
| 971 | return $this->canonicalUrl; |
| 972 | } |
| 973 | public function setCreated( $created) { |
| 974 | $this->created = $created; |
| 975 | } |
| 976 | public function getCreated() { |
| 977 | return $this->created; |
| 978 | } |
| 979 | public function setCreator(Google_Contact $creator) { |
| 980 | $this->creator = $creator; |
| 981 | } |
| 982 | public function getCreator() { |
| 983 | return $this->creator; |
| 984 | } |
| 985 | public function setDisplayTime( $displayTime) { |
| 986 | $this->displayTime = $displayTime; |
| 987 | } |
| 988 | public function getDisplayTime() { |
| 989 | return $this->displayTime; |
| 990 | } |
| 991 | public function setEtag( $etag) { |
| 992 | $this->etag = $etag; |
| 993 | } |
| 994 | public function getEtag() { |
| 995 | return $this->etag; |
| 996 | } |
| 997 | public function setHtml( $html) { |
| 998 | $this->html = $html; |
| 999 | } |
| 1000 | public function getHtml() { |
| 1001 | return $this->html; |
| 1002 | } |
| 1003 | public function setHtmlPages(/* array(Google_string) */ $htmlPages) { |
| 1004 | $this->assertIsArray($htmlPages, 'Google_string', __METHOD__); |
| 1005 | $this->htmlPages = $htmlPages; |
| 1006 | } |
| 1007 | public function getHtmlPages() { |
| 1008 | return $this->htmlPages; |
| 1009 | } |
| 1010 | public function setId( $id) { |
| 1011 | $this->id = $id; |
| 1012 | } |
| 1013 | public function getId() { |
| 1014 | return $this->id; |
| 1015 | } |
| 1016 | public function setInReplyTo( $inReplyTo) { |
| 1017 | $this->inReplyTo = $inReplyTo; |
| 1018 | } |
| 1019 | public function getInReplyTo() { |
| 1020 | return $this->inReplyTo; |
| 1021 | } |
| 1022 | public function setIsBundleCover( $isBundleCover) { |
| 1023 | $this->isBundleCover = $isBundleCover; |
| 1024 | } |
| 1025 | public function getIsBundleCover() { |
| 1026 | return $this->isBundleCover; |
| 1027 | } |
| 1028 | public function setIsDeleted( $isDeleted) { |
| 1029 | $this->isDeleted = $isDeleted; |
| 1030 | } |
| 1031 | public function getIsDeleted() { |
| 1032 | return $this->isDeleted; |
| 1033 | } |
| 1034 | public function setIsPinned( $isPinned) { |
| 1035 | $this->isPinned = $isPinned; |
| 1036 | } |
| 1037 | public function getIsPinned() { |
| 1038 | return $this->isPinned; |
| 1039 | } |
| 1040 | public function setKind( $kind) { |
| 1041 | $this->kind = $kind; |
| 1042 | } |
| 1043 | public function getKind() { |
| 1044 | return $this->kind; |
| 1045 | } |
| 1046 | public function setLocation(Google_Location $location) { |
| 1047 | $this->location = $location; |
| 1048 | } |
| 1049 | public function getLocation() { |
| 1050 | return $this->location; |
| 1051 | } |
| 1052 | public function setMenuItems(/* array(Google_MenuItem) */ $menuItems) { |
| 1053 | $this->assertIsArray($menuItems, 'Google_MenuItem', __METHOD__); |
| 1054 | $this->menuItems = $menuItems; |
| 1055 | } |
| 1056 | public function getMenuItems() { |
| 1057 | return $this->menuItems; |
| 1058 | } |
| 1059 | public function setNotification(Google_NotificationConfig $notification) { |
| 1060 | $this->notification = $notification; |
| 1061 | } |
| 1062 | public function getNotification() { |
| 1063 | return $this->notification; |
| 1064 | } |
| 1065 | public function setPinScore( $pinScore) { |
| 1066 | $this->pinScore = $pinScore; |
| 1067 | } |
| 1068 | public function getPinScore() { |
| 1069 | return $this->pinScore; |
| 1070 | } |
| 1071 | public function setRecipients(/* array(Google_Contact) */ $recipients) { |
| 1072 | $this->assertIsArray($recipients, 'Google_Contact', __METHOD__); |
| 1073 | $this->recipients = $recipients; |
| 1074 | } |
| 1075 | public function getRecipients() { |
| 1076 | return $this->recipients; |
| 1077 | } |
| 1078 | public function setSelfLink( $selfLink) { |
| 1079 | $this->selfLink = $selfLink; |
| 1080 | } |
| 1081 | public function getSelfLink() { |
| 1082 | return $this->selfLink; |
| 1083 | } |
| 1084 | public function setSourceItemId( $sourceItemId) { |
| 1085 | $this->sourceItemId = $sourceItemId; |
| 1086 | } |
| 1087 | public function getSourceItemId() { |
| 1088 | return $this->sourceItemId; |
| 1089 | } |
| 1090 | public function setSpeakableText( $speakableText) { |
| 1091 | $this->speakableText = $speakableText; |
| 1092 | } |
| 1093 | public function getSpeakableText() { |
| 1094 | return $this->speakableText; |
| 1095 | } |
| 1096 | public function setSpeakableType( $speakableType) { |
| 1097 | $this->speakableType = $speakableType; |
| 1098 | } |
| 1099 | public function getSpeakableType() { |
| 1100 | return $this->speakableType; |
| 1101 | } |
| 1102 | public function setText( $text) { |
| 1103 | $this->text = $text; |
| 1104 | } |
| 1105 | public function getText() { |
| 1106 | return $this->text; |
| 1107 | } |
| 1108 | public function setTitle( $title) { |
| 1109 | $this->title = $title; |
| 1110 | } |
| 1111 | public function getTitle() { |
| 1112 | return $this->title; |
| 1113 | } |
| 1114 | public function setUpdated( $updated) { |
| 1115 | $this->updated = $updated; |
| 1116 | } |
| 1117 | public function getUpdated() { |
| 1118 | return $this->updated; |
| 1119 | } |
| 1120 | } |
| 1121 | |
| 1122 | class Google_TimelineListResponse extends Google_Model { |
| 1123 | protected $__itemsType = 'Google_TimelineItem'; |
| 1124 | protected $__itemsDataType = 'array'; |
| 1125 | public $items; |
| 1126 | public $kind; |
| 1127 | public $nextPageToken; |
| 1128 | public function setItems(/* array(Google_TimelineItem) */ $items) { |
| 1129 | $this->assertIsArray($items, 'Google_TimelineItem', __METHOD__); |
| 1130 | $this->items = $items; |
| 1131 | } |
| 1132 | public function getItems() { |
| 1133 | return $this->items; |
| 1134 | } |
| 1135 | public function setKind( $kind) { |
| 1136 | $this->kind = $kind; |
| 1137 | } |
| 1138 | public function getKind() { |
| 1139 | return $this->kind; |
| 1140 | } |
| 1141 | public function setNextPageToken( $nextPageToken) { |
| 1142 | $this->nextPageToken = $nextPageToken; |
| 1143 | } |
| 1144 | public function getNextPageToken() { |
| 1145 | return $this->nextPageToken; |
| 1146 | } |
| 1147 | } |
| 1148 | |
| 1149 | class Google_UserAction extends Google_Model { |
| 1150 | public $payload; |
| 1151 | public $type; |
| 1152 | public function setPayload( $payload) { |
| 1153 | $this->payload = $payload; |
| 1154 | } |
| 1155 | public function getPayload() { |
| 1156 | return $this->payload; |
| 1157 | } |
| 1158 | public function setType( $type) { |
| 1159 | $this->type = $type; |
| 1160 | } |
| 1161 | public function getType() { |
| 1162 | return $this->type; |
| 1163 | } |
| 1164 | } |
| 1165 |