1
|
|
|
<?php |
2
|
|
|
/* |
3
|
|
|
* Copyright 2010 Google Inc. |
4
|
|
|
* |
5
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
6
|
|
|
* use this file except in compliance with the License. You may obtain a copy of |
7
|
|
|
* the License at |
8
|
|
|
* |
9
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
10
|
|
|
* |
11
|
|
|
* Unless required by applicable law or agreed to in writing, software |
12
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
13
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
14
|
|
|
* License for the specific language governing permissions and limitations under |
15
|
|
|
* the License. |
16
|
|
|
*/ |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* Service definition for Plus (v1). |
20
|
|
|
* |
21
|
|
|
* <p> |
22
|
|
|
* The Google+ API enables developers to build on top of the Google+ platform. |
23
|
|
|
* </p> |
24
|
|
|
* |
25
|
|
|
* <p> |
26
|
|
|
* For more information about this service, see the API |
27
|
|
|
* <a href="https://developers.google.com/+/api/" target="_blank">Documentation</a> |
28
|
|
|
* </p> |
29
|
|
|
* |
30
|
|
|
* @author Google, Inc. |
31
|
|
|
*/ |
32
|
|
|
class Google_Service_Plus extends Google_Service |
33
|
|
|
{ |
34
|
|
|
public $activities; |
35
|
|
|
public $comments; |
36
|
|
|
public $moments; |
37
|
|
|
public $people; |
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* Constructs the internal representation of the Plus service. |
41
|
|
|
* |
42
|
|
|
* @param Google_Client $client |
43
|
|
|
*/ |
44
|
|
|
public function __construct(Google_Client $client) |
45
|
|
|
{ |
46
|
|
|
parent::__construct($client); |
47
|
|
|
$this->servicePath = 'plus/v1/'; |
48
|
|
|
$this->version = 'v1'; |
49
|
|
|
|
50
|
|
|
$this->availableScopes = [ |
51
|
|
|
'https://www.googleapis.com/auth/plus.login', |
52
|
|
|
'https://www.googleapis.com/auth/plus.me', |
53
|
|
|
]; |
54
|
|
|
|
55
|
|
|
$this->serviceName = 'plus'; |
|
|
|
|
56
|
|
|
|
57
|
|
|
$client->addService( |
58
|
|
|
$this->serviceName, |
59
|
|
|
$this->version, |
|
|
|
|
60
|
|
|
$this->availableScopes |
61
|
|
|
); |
62
|
|
|
|
63
|
|
|
$this->activities = new Google_Service_Plus_Activities_Resource( |
64
|
|
|
$this, |
65
|
|
|
$this->serviceName, |
66
|
|
|
'activities', |
67
|
|
|
[ |
68
|
|
|
'methods' => [ |
69
|
|
|
'get' => [ |
70
|
|
|
'path' => 'activities/{activityId}', |
71
|
|
|
'httpMethod' => 'GET', |
72
|
|
|
'parameters' => [ |
73
|
|
|
'activityId' => [ |
74
|
|
|
'location' => 'path', |
75
|
|
|
'type' => 'string', |
76
|
|
|
'required' => true, |
77
|
|
|
], |
78
|
|
|
], |
79
|
|
|
], |
80
|
|
|
'list' => [ |
81
|
|
|
'path' => 'people/{userId}/activities/{collection}', |
82
|
|
|
'httpMethod' => 'GET', |
83
|
|
|
'parameters' => [ |
84
|
|
|
'userId' => [ |
85
|
|
|
'location' => 'path', |
86
|
|
|
'type' => 'string', |
87
|
|
|
'required' => true, |
88
|
|
|
], |
89
|
|
|
'collection' => [ |
90
|
|
|
'location' => 'path', |
91
|
|
|
'type' => 'string', |
92
|
|
|
'required' => true, |
93
|
|
|
], |
94
|
|
|
'pageToken' => [ |
95
|
|
|
'location' => 'query', |
96
|
|
|
'type' => 'string', |
97
|
|
|
], |
98
|
|
|
'maxResults' => [ |
99
|
|
|
'location' => 'query', |
100
|
|
|
'type' => 'integer', |
101
|
|
|
], |
102
|
|
|
], |
103
|
|
|
], |
104
|
|
|
'search' => [ |
105
|
|
|
'path' => 'activities', |
106
|
|
|
'httpMethod' => 'GET', |
107
|
|
|
'parameters' => [ |
108
|
|
|
'query' => [ |
109
|
|
|
'location' => 'query', |
110
|
|
|
'type' => 'string', |
111
|
|
|
'required' => true, |
112
|
|
|
], |
113
|
|
|
'orderBy' => [ |
114
|
|
|
'location' => 'query', |
115
|
|
|
'type' => 'string', |
116
|
|
|
], |
117
|
|
|
'pageToken' => [ |
118
|
|
|
'location' => 'query', |
119
|
|
|
'type' => 'string', |
120
|
|
|
], |
121
|
|
|
'maxResults' => [ |
122
|
|
|
'location' => 'query', |
123
|
|
|
'type' => 'integer', |
124
|
|
|
], |
125
|
|
|
'language' => [ |
126
|
|
|
'location' => 'query', |
127
|
|
|
'type' => 'string', |
128
|
|
|
], |
129
|
|
|
], |
130
|
|
|
], |
131
|
|
|
], |
132
|
|
|
] |
133
|
|
|
); |
134
|
|
|
$this->comments = new Google_Service_Plus_Comments_Resource( |
135
|
|
|
$this, |
136
|
|
|
$this->serviceName, |
137
|
|
|
'comments', |
138
|
|
|
[ |
139
|
|
|
'methods' => [ |
140
|
|
|
'get' => [ |
141
|
|
|
'path' => 'comments/{commentId}', |
142
|
|
|
'httpMethod' => 'GET', |
143
|
|
|
'parameters' => [ |
144
|
|
|
'commentId' => [ |
145
|
|
|
'location' => 'path', |
146
|
|
|
'type' => 'string', |
147
|
|
|
'required' => true, |
148
|
|
|
], |
149
|
|
|
], |
150
|
|
|
], |
151
|
|
|
'list' => [ |
152
|
|
|
'path' => 'activities/{activityId}/comments', |
153
|
|
|
'httpMethod' => 'GET', |
154
|
|
|
'parameters' => [ |
155
|
|
|
'activityId' => [ |
156
|
|
|
'location' => 'path', |
157
|
|
|
'type' => 'string', |
158
|
|
|
'required' => true, |
159
|
|
|
], |
160
|
|
|
'pageToken' => [ |
161
|
|
|
'location' => 'query', |
162
|
|
|
'type' => 'string', |
163
|
|
|
], |
164
|
|
|
'sortOrder' => [ |
165
|
|
|
'location' => 'query', |
166
|
|
|
'type' => 'string', |
167
|
|
|
], |
168
|
|
|
'maxResults' => [ |
169
|
|
|
'location' => 'query', |
170
|
|
|
'type' => 'integer', |
171
|
|
|
], |
172
|
|
|
], |
173
|
|
|
], |
174
|
|
|
], |
175
|
|
|
] |
176
|
|
|
); |
177
|
|
|
$this->moments = new Google_Service_Plus_Moments_Resource( |
178
|
|
|
$this, |
179
|
|
|
$this->serviceName, |
180
|
|
|
'moments', |
181
|
|
|
[ |
182
|
|
|
'methods' => [ |
183
|
|
|
'insert' => [ |
184
|
|
|
'path' => 'people/{userId}/moments/{collection}', |
185
|
|
|
'httpMethod' => 'POST', |
186
|
|
|
'parameters' => [ |
187
|
|
|
'userId' => [ |
188
|
|
|
'location' => 'path', |
189
|
|
|
'type' => 'string', |
190
|
|
|
'required' => true, |
191
|
|
|
], |
192
|
|
|
'collection' => [ |
193
|
|
|
'location' => 'path', |
194
|
|
|
'type' => 'string', |
195
|
|
|
'required' => true, |
196
|
|
|
], |
197
|
|
|
'debug' => [ |
198
|
|
|
'location' => 'query', |
199
|
|
|
'type' => 'boolean', |
200
|
|
|
], |
201
|
|
|
], |
202
|
|
|
], |
203
|
|
|
'list' => [ |
204
|
|
|
'path' => 'people/{userId}/moments/{collection}', |
205
|
|
|
'httpMethod' => 'GET', |
206
|
|
|
'parameters' => [ |
207
|
|
|
'userId' => [ |
208
|
|
|
'location' => 'path', |
209
|
|
|
'type' => 'string', |
210
|
|
|
'required' => true, |
211
|
|
|
], |
212
|
|
|
'collection' => [ |
213
|
|
|
'location' => 'path', |
214
|
|
|
'type' => 'string', |
215
|
|
|
'required' => true, |
216
|
|
|
], |
217
|
|
|
'maxResults' => [ |
218
|
|
|
'location' => 'query', |
219
|
|
|
'type' => 'integer', |
220
|
|
|
], |
221
|
|
|
'pageToken' => [ |
222
|
|
|
'location' => 'query', |
223
|
|
|
'type' => 'string', |
224
|
|
|
], |
225
|
|
|
'targetUrl' => [ |
226
|
|
|
'location' => 'query', |
227
|
|
|
'type' => 'string', |
228
|
|
|
], |
229
|
|
|
'type' => [ |
230
|
|
|
'location' => 'query', |
231
|
|
|
'type' => 'string', |
232
|
|
|
], |
233
|
|
|
], |
234
|
|
|
], |
235
|
|
|
'remove' => [ |
236
|
|
|
'path' => 'moments/{id}', |
237
|
|
|
'httpMethod' => 'DELETE', |
238
|
|
|
'parameters' => [ |
239
|
|
|
'id' => [ |
240
|
|
|
'location' => 'path', |
241
|
|
|
'type' => 'string', |
242
|
|
|
'required' => true, |
243
|
|
|
], |
244
|
|
|
], |
245
|
|
|
], |
246
|
|
|
], |
247
|
|
|
] |
248
|
|
|
); |
249
|
|
|
$this->people = new Google_Service_Plus_People_Resource( |
250
|
|
|
$this, |
251
|
|
|
$this->serviceName, |
252
|
|
|
'people', |
253
|
|
|
[ |
254
|
|
|
'methods' => [ |
255
|
|
|
'get' => [ |
256
|
|
|
'path' => 'people/{userId}', |
257
|
|
|
'httpMethod' => 'GET', |
258
|
|
|
'parameters' => [ |
259
|
|
|
'userId' => [ |
260
|
|
|
'location' => 'path', |
261
|
|
|
'type' => 'string', |
262
|
|
|
'required' => true, |
263
|
|
|
], |
264
|
|
|
], |
265
|
|
|
], |
266
|
|
|
'list' => [ |
267
|
|
|
'path' => 'people/{userId}/people/{collection}', |
268
|
|
|
'httpMethod' => 'GET', |
269
|
|
|
'parameters' => [ |
270
|
|
|
'userId' => [ |
271
|
|
|
'location' => 'path', |
272
|
|
|
'type' => 'string', |
273
|
|
|
'required' => true, |
274
|
|
|
], |
275
|
|
|
'collection' => [ |
276
|
|
|
'location' => 'path', |
277
|
|
|
'type' => 'string', |
278
|
|
|
'required' => true, |
279
|
|
|
], |
280
|
|
|
'orderBy' => [ |
281
|
|
|
'location' => 'query', |
282
|
|
|
'type' => 'string', |
283
|
|
|
], |
284
|
|
|
'pageToken' => [ |
285
|
|
|
'location' => 'query', |
286
|
|
|
'type' => 'string', |
287
|
|
|
], |
288
|
|
|
'maxResults' => [ |
289
|
|
|
'location' => 'query', |
290
|
|
|
'type' => 'integer', |
291
|
|
|
], |
292
|
|
|
], |
293
|
|
|
], |
294
|
|
|
'listByActivity' => [ |
295
|
|
|
'path' => 'activities/{activityId}/people/{collection}', |
296
|
|
|
'httpMethod' => 'GET', |
297
|
|
|
'parameters' => [ |
298
|
|
|
'activityId' => [ |
299
|
|
|
'location' => 'path', |
300
|
|
|
'type' => 'string', |
301
|
|
|
'required' => true, |
302
|
|
|
], |
303
|
|
|
'collection' => [ |
304
|
|
|
'location' => 'path', |
305
|
|
|
'type' => 'string', |
306
|
|
|
'required' => true, |
307
|
|
|
], |
308
|
|
|
'pageToken' => [ |
309
|
|
|
'location' => 'query', |
310
|
|
|
'type' => 'string', |
311
|
|
|
], |
312
|
|
|
'maxResults' => [ |
313
|
|
|
'location' => 'query', |
314
|
|
|
'type' => 'integer', |
315
|
|
|
], |
316
|
|
|
], |
317
|
|
|
], |
318
|
|
|
'search' => [ |
319
|
|
|
'path' => 'people', |
320
|
|
|
'httpMethod' => 'GET', |
321
|
|
|
'parameters' => [ |
322
|
|
|
'query' => [ |
323
|
|
|
'location' => 'query', |
324
|
|
|
'type' => 'string', |
325
|
|
|
'required' => true, |
326
|
|
|
], |
327
|
|
|
'pageToken' => [ |
328
|
|
|
'location' => 'query', |
329
|
|
|
'type' => 'string', |
330
|
|
|
], |
331
|
|
|
'maxResults' => [ |
332
|
|
|
'location' => 'query', |
333
|
|
|
'type' => 'integer', |
334
|
|
|
], |
335
|
|
|
'language' => [ |
336
|
|
|
'location' => 'query', |
337
|
|
|
'type' => 'string', |
338
|
|
|
], |
339
|
|
|
], |
340
|
|
|
], |
341
|
|
|
], |
342
|
|
|
] |
343
|
|
|
); |
344
|
|
|
} |
345
|
|
|
} |
346
|
|
|
|
347
|
|
|
/** |
348
|
|
|
* The "activities" collection of methods. |
349
|
|
|
* Typical usage is: |
350
|
|
|
* <code> |
351
|
|
|
* $plusService = new Google_Service_Plus(...); |
352
|
|
|
* $activities = $plusService->activities; |
353
|
|
|
* </code>. |
354
|
|
|
*/ |
355
|
|
|
class Google_Service_Plus_Activities_Resource extends Google_Service_Resource |
356
|
|
|
{ |
357
|
|
|
/** |
358
|
|
|
* Get an activity. (activities.get). |
359
|
|
|
* |
360
|
|
|
* @param string $activityId |
361
|
|
|
* The ID of the activity to get. |
362
|
|
|
* @param array $optParams Optional parameters. |
363
|
|
|
* |
364
|
|
|
* @return Google_Service_Plus_Activity |
365
|
|
|
*/ |
366
|
|
|
public function get($activityId, $optParams = []) |
367
|
|
|
{ |
368
|
|
|
$params = ['activityId' => $activityId]; |
369
|
|
|
$params = array_merge($params, $optParams); |
370
|
|
|
|
371
|
|
|
return $this->call('get', [$params], 'Google_Service_Plus_Activity'); |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
/** |
375
|
|
|
* List all of the activities in the specified collection for a particular user. |
376
|
|
|
* (activities.list). |
377
|
|
|
* |
378
|
|
|
* @param string $userId |
379
|
|
|
* The ID of the user to get activities for. The special value "me" can be used to |
380
|
|
|
* indicate the authenticated user. |
381
|
|
|
* @param string $collection |
382
|
|
|
* The collection of activities to list. |
383
|
|
|
* @param array $optParams Optional parameters. |
384
|
|
|
* |
385
|
|
|
* @opt_param string pageToken |
386
|
|
|
* The continuation token, which is used to page through large result sets. To get the next page of |
387
|
|
|
* results, set this parameter to the value of "nextPageToken" from the previous response. |
388
|
|
|
* @opt_param string maxResults |
389
|
|
|
* The maximum number of activities to include in the response, which is used for paging. For any |
390
|
|
|
* response, the actual number returned might be less than the specified maxResults. |
391
|
|
|
* |
392
|
|
|
* @return Google_Service_Plus_ActivityFeed |
393
|
|
|
*/ |
394
|
|
|
public function listActivities($userId, $collection, $optParams = []) |
395
|
|
|
{ |
396
|
|
|
$params = ['userId' => $userId, 'collection' => $collection]; |
397
|
|
|
$params = array_merge($params, $optParams); |
398
|
|
|
|
399
|
|
|
return $this->call('list', [$params], 'Google_Service_Plus_ActivityFeed'); |
400
|
|
|
} |
401
|
|
|
|
402
|
|
|
/** |
403
|
|
|
* Search public activities. (activities.search). |
404
|
|
|
* |
405
|
|
|
* @param string $query |
406
|
|
|
* Full-text search query string. |
407
|
|
|
* @param array $optParams Optional parameters. |
408
|
|
|
* |
409
|
|
|
* @opt_param string orderBy |
410
|
|
|
* Specifies how to order search results. |
411
|
|
|
* @opt_param string pageToken |
412
|
|
|
* The continuation token, which is used to page through large result sets. To get the next page of |
413
|
|
|
* results, set this parameter to the value of "nextPageToken" from the previous response. This |
414
|
|
|
* token can be of any length. |
415
|
|
|
* @opt_param string maxResults |
416
|
|
|
* The maximum number of activities to include in the response, which is used for paging. For any |
417
|
|
|
* response, the actual number returned might be less than the specified maxResults. |
418
|
|
|
* @opt_param string language |
419
|
|
|
* Specify the preferred language to search with. See search language codes for available values. |
420
|
|
|
* |
421
|
|
|
* @return Google_Service_Plus_ActivityFeed |
422
|
|
|
*/ |
423
|
|
View Code Duplication |
public function search($query, $optParams = []) |
|
|
|
|
424
|
|
|
{ |
425
|
|
|
$params = ['query' => $query]; |
426
|
|
|
$params = array_merge($params, $optParams); |
427
|
|
|
|
428
|
|
|
return $this->call('search', [$params], 'Google_Service_Plus_ActivityFeed'); |
429
|
|
|
} |
430
|
|
|
} |
431
|
|
|
|
432
|
|
|
/** |
433
|
|
|
* The "comments" collection of methods. |
434
|
|
|
* Typical usage is: |
435
|
|
|
* <code> |
436
|
|
|
* $plusService = new Google_Service_Plus(...); |
437
|
|
|
* $comments = $plusService->comments; |
438
|
|
|
* </code>. |
439
|
|
|
*/ |
440
|
|
|
class Google_Service_Plus_Comments_Resource extends Google_Service_Resource |
441
|
|
|
{ |
442
|
|
|
/** |
443
|
|
|
* Get a comment. (comments.get). |
444
|
|
|
* |
445
|
|
|
* @param string $commentId |
446
|
|
|
* The ID of the comment to get. |
447
|
|
|
* @param array $optParams Optional parameters. |
448
|
|
|
* |
449
|
|
|
* @return Google_Service_Plus_Comment |
450
|
|
|
*/ |
451
|
|
|
public function get($commentId, $optParams = []) |
452
|
|
|
{ |
453
|
|
|
$params = ['commentId' => $commentId]; |
454
|
|
|
$params = array_merge($params, $optParams); |
455
|
|
|
|
456
|
|
|
return $this->call('get', [$params], 'Google_Service_Plus_Comment'); |
457
|
|
|
} |
458
|
|
|
|
459
|
|
|
/** |
460
|
|
|
* List all of the comments for an activity. (comments.list). |
461
|
|
|
* |
462
|
|
|
* @param string $activityId |
463
|
|
|
* The ID of the activity to get comments for. |
464
|
|
|
* @param array $optParams Optional parameters. |
465
|
|
|
* |
466
|
|
|
* @opt_param string pageToken |
467
|
|
|
* The continuation token, which is used to page through large result sets. To get the next page of |
468
|
|
|
* results, set this parameter to the value of "nextPageToken" from the previous response. |
469
|
|
|
* @opt_param string sortOrder |
470
|
|
|
* The order in which to sort the list of comments. |
471
|
|
|
* @opt_param string maxResults |
472
|
|
|
* The maximum number of comments to include in the response, which is used for paging. For any |
473
|
|
|
* response, the actual number returned might be less than the specified maxResults. |
474
|
|
|
* |
475
|
|
|
* @return Google_Service_Plus_CommentFeed |
476
|
|
|
*/ |
477
|
|
|
public function listComments($activityId, $optParams = []) |
478
|
|
|
{ |
479
|
|
|
$params = ['activityId' => $activityId]; |
480
|
|
|
$params = array_merge($params, $optParams); |
481
|
|
|
|
482
|
|
|
return $this->call('list', [$params], 'Google_Service_Plus_CommentFeed'); |
483
|
|
|
} |
484
|
|
|
} |
485
|
|
|
|
486
|
|
|
/** |
487
|
|
|
* The "moments" collection of methods. |
488
|
|
|
* Typical usage is: |
489
|
|
|
* <code> |
490
|
|
|
* $plusService = new Google_Service_Plus(...); |
491
|
|
|
* $moments = $plusService->moments; |
492
|
|
|
* </code>. |
493
|
|
|
*/ |
494
|
|
|
class Google_Service_Plus_Moments_Resource extends Google_Service_Resource |
495
|
|
|
{ |
496
|
|
|
/** |
497
|
|
|
* Record a moment representing a user's activity such as making a purchase or |
498
|
|
|
* commenting on a blog. (moments.insert). |
499
|
|
|
* |
500
|
|
|
* @param string $userId |
501
|
|
|
* The ID of the user to record activities for. The only valid values are "me" and |
502
|
|
|
* the ID of the authenticated user. |
503
|
|
|
* @param string $collection |
504
|
|
|
* The collection to which to write moments. |
505
|
|
|
* @param Google_Moment $postBody |
506
|
|
|
* @param array $optParams Optional parameters. |
507
|
|
|
* |
508
|
|
|
* @opt_param bool debug |
509
|
|
|
* Return the moment as written. Should be used only for debugging. |
510
|
|
|
* |
511
|
|
|
* @return Google_Service_Plus_Moment |
512
|
|
|
*/ |
513
|
|
|
public function insert($userId, $collection, Google_Service_Plus_Moment $postBody, $optParams = []) |
514
|
|
|
{ |
515
|
|
|
$params = ['userId' => $userId, 'collection' => $collection, 'postBody' => $postBody]; |
516
|
|
|
$params = array_merge($params, $optParams); |
517
|
|
|
|
518
|
|
|
return $this->call('insert', [$params], 'Google_Service_Plus_Moment'); |
519
|
|
|
} |
520
|
|
|
|
521
|
|
|
/** |
522
|
|
|
* List all of the moments for a particular user. (moments.list). |
523
|
|
|
* |
524
|
|
|
* @param string $userId |
525
|
|
|
* The ID of the user to get moments for. The special value "me" can be used to indicate |
526
|
|
|
* the authenticated user. |
527
|
|
|
* @param string $collection |
528
|
|
|
* The collection of moments to list. |
529
|
|
|
* @param array $optParams Optional parameters. |
530
|
|
|
* |
531
|
|
|
* @opt_param string maxResults |
532
|
|
|
* The maximum number of moments to include in the response, which is used for paging. For any |
533
|
|
|
* response, the actual number returned might be less than the specified maxResults. |
534
|
|
|
* @opt_param string pageToken |
535
|
|
|
* The continuation token, which is used to page through large result sets. To get the next page of |
536
|
|
|
* results, set this parameter to the value of "nextPageToken" from the previous response. |
537
|
|
|
* @opt_param string targetUrl |
538
|
|
|
* Only moments containing this targetUrl will be returned. |
539
|
|
|
* @opt_param string type |
540
|
|
|
* Only moments of this type will be returned. |
541
|
|
|
* |
542
|
|
|
* @return Google_Service_Plus_MomentsFeed |
543
|
|
|
*/ |
544
|
|
|
public function listMoments($userId, $collection, $optParams = []) |
545
|
|
|
{ |
546
|
|
|
$params = ['userId' => $userId, 'collection' => $collection]; |
547
|
|
|
$params = array_merge($params, $optParams); |
548
|
|
|
|
549
|
|
|
return $this->call('list', [$params], 'Google_Service_Plus_MomentsFeed'); |
550
|
|
|
} |
551
|
|
|
|
552
|
|
|
/** |
553
|
|
|
* Delete a moment. (moments.remove). |
554
|
|
|
* |
555
|
|
|
* @param string $id |
556
|
|
|
* The ID of the moment to delete. |
557
|
|
|
* @param array $optParams Optional parameters. |
558
|
|
|
*/ |
559
|
|
|
public function remove($id, $optParams = []) |
560
|
|
|
{ |
561
|
|
|
$params = ['id' => $id]; |
562
|
|
|
$params = array_merge($params, $optParams); |
563
|
|
|
|
564
|
|
|
return $this->call('remove', [$params]); |
565
|
|
|
} |
566
|
|
|
} |
567
|
|
|
|
568
|
|
|
/** |
569
|
|
|
* The "people" collection of methods. |
570
|
|
|
* Typical usage is: |
571
|
|
|
* <code> |
572
|
|
|
* $plusService = new Google_Service_Plus(...); |
573
|
|
|
* $people = $plusService->people; |
574
|
|
|
* </code>. |
575
|
|
|
*/ |
576
|
|
|
class Google_Service_Plus_People_Resource extends Google_Service_Resource |
577
|
|
|
{ |
578
|
|
|
/** |
579
|
|
|
* Get a person's profile. If your app uses scope |
580
|
|
|
* https://www.googleapis.com/auth/plus.login, this method is guaranteed to |
581
|
|
|
* return ageRange and language. (people.get). |
582
|
|
|
* |
583
|
|
|
* @param string $userId |
584
|
|
|
* The ID of the person to get the profile for. The special value "me" can be used to |
585
|
|
|
* indicate the authenticated user. |
586
|
|
|
* @param array $optParams Optional parameters. |
587
|
|
|
* |
588
|
|
|
* @return Google_Service_Plus_Person |
589
|
|
|
*/ |
590
|
|
|
public function get($userId, $optParams = []) |
591
|
|
|
{ |
592
|
|
|
$params = ['userId' => $userId]; |
593
|
|
|
$params = array_merge($params, $optParams); |
594
|
|
|
|
595
|
|
|
return $this->call('get', [$params], 'Google_Service_Plus_Person'); |
596
|
|
|
} |
597
|
|
|
|
598
|
|
|
/** |
599
|
|
|
* List all of the people in the specified collection. (people.list). |
600
|
|
|
* |
601
|
|
|
* @param string $userId |
602
|
|
|
* Get the collection of people for the person identified. Use "me" to indicate the |
603
|
|
|
* authenticated user. |
604
|
|
|
* @param string $collection |
605
|
|
|
* The collection of people to list. |
606
|
|
|
* @param array $optParams Optional parameters. |
607
|
|
|
* |
608
|
|
|
* @opt_param string orderBy |
609
|
|
|
* The order to return people in. |
610
|
|
|
* @opt_param string pageToken |
611
|
|
|
* The continuation token, which is used to page through large result sets. To get the next page of |
612
|
|
|
* results, set this parameter to the value of "nextPageToken" from the previous response. |
613
|
|
|
* @opt_param string maxResults |
614
|
|
|
* The maximum number of people to include in the response, which is used for paging. For any |
615
|
|
|
* response, the actual number returned might be less than the specified maxResults. |
616
|
|
|
* |
617
|
|
|
* @return Google_Service_Plus_PeopleFeed |
618
|
|
|
*/ |
619
|
|
View Code Duplication |
public function listPeople($userId, $collection, $optParams = []) |
|
|
|
|
620
|
|
|
{ |
621
|
|
|
$params = ['userId' => $userId, 'collection' => $collection]; |
622
|
|
|
$params = array_merge($params, $optParams); |
623
|
|
|
|
624
|
|
|
return $this->call('list', [$params], 'Google_Service_Plus_PeopleFeed'); |
625
|
|
|
} |
626
|
|
|
|
627
|
|
|
/** |
628
|
|
|
* List all of the people in the specified collection for a particular activity. |
629
|
|
|
* (people.listByActivity). |
630
|
|
|
* |
631
|
|
|
* @param string $activityId |
632
|
|
|
* The ID of the activity to get the list of people for. |
633
|
|
|
* @param string $collection |
634
|
|
|
* The collection of people to list. |
635
|
|
|
* @param array $optParams Optional parameters. |
636
|
|
|
* |
637
|
|
|
* @opt_param string pageToken |
638
|
|
|
* The continuation token, which is used to page through large result sets. To get the next page of |
639
|
|
|
* results, set this parameter to the value of "nextPageToken" from the previous response. |
640
|
|
|
* @opt_param string maxResults |
641
|
|
|
* The maximum number of people to include in the response, which is used for paging. For any |
642
|
|
|
* response, the actual number returned might be less than the specified maxResults. |
643
|
|
|
* |
644
|
|
|
* @return Google_Service_Plus_PeopleFeed |
645
|
|
|
*/ |
646
|
|
View Code Duplication |
public function listByActivity($activityId, $collection, $optParams = []) |
|
|
|
|
647
|
|
|
{ |
648
|
|
|
$params = ['activityId' => $activityId, 'collection' => $collection]; |
649
|
|
|
$params = array_merge($params, $optParams); |
650
|
|
|
|
651
|
|
|
return $this->call('listByActivity', [$params], 'Google_Service_Plus_PeopleFeed'); |
652
|
|
|
} |
653
|
|
|
|
654
|
|
|
/** |
655
|
|
|
* Search all public profiles. (people.search). |
656
|
|
|
* |
657
|
|
|
* @param string $query |
658
|
|
|
* Specify a query string for full text search of public text in all profiles. |
659
|
|
|
* @param array $optParams Optional parameters. |
660
|
|
|
* |
661
|
|
|
* @opt_param string pageToken |
662
|
|
|
* The continuation token, which is used to page through large result sets. To get the next page of |
663
|
|
|
* results, set this parameter to the value of "nextPageToken" from the previous response. This |
664
|
|
|
* token can be of any length. |
665
|
|
|
* @opt_param string maxResults |
666
|
|
|
* The maximum number of people to include in the response, which is used for paging. For any |
667
|
|
|
* response, the actual number returned might be less than the specified maxResults. |
668
|
|
|
* @opt_param string language |
669
|
|
|
* Specify the preferred language to search with. See search language codes for available values. |
670
|
|
|
* |
671
|
|
|
* @return Google_Service_Plus_PeopleFeed |
672
|
|
|
*/ |
673
|
|
View Code Duplication |
public function search($query, $optParams = []) |
|
|
|
|
674
|
|
|
{ |
675
|
|
|
$params = ['query' => $query]; |
676
|
|
|
$params = array_merge($params, $optParams); |
677
|
|
|
|
678
|
|
|
return $this->call('search', [$params], 'Google_Service_Plus_PeopleFeed'); |
679
|
|
|
} |
680
|
|
|
} |
681
|
|
|
|
682
|
|
|
class Google_Service_Plus_Acl extends Google_Collection |
683
|
|
|
{ |
684
|
|
|
public $description; |
685
|
|
|
protected $itemsType = 'Google_Service_Plus_PlusAclentryResource'; |
686
|
|
|
protected $itemsDataType = 'array'; |
687
|
|
|
public $kind; |
688
|
|
|
|
689
|
|
|
public function setDescription($description) |
690
|
|
|
{ |
691
|
|
|
$this->description = $description; |
692
|
|
|
} |
693
|
|
|
|
694
|
|
|
public function getDescription() |
695
|
|
|
{ |
696
|
|
|
return $this->description; |
697
|
|
|
} |
698
|
|
|
|
699
|
|
|
public function setItems($items) |
700
|
|
|
{ |
701
|
|
|
$this->items = $items; |
|
|
|
|
702
|
|
|
} |
703
|
|
|
|
704
|
|
|
public function getItems() |
705
|
|
|
{ |
706
|
|
|
return $this->items; |
707
|
|
|
} |
708
|
|
|
|
709
|
|
|
public function setKind($kind) |
710
|
|
|
{ |
711
|
|
|
$this->kind = $kind; |
712
|
|
|
} |
713
|
|
|
|
714
|
|
|
public function getKind() |
715
|
|
|
{ |
716
|
|
|
return $this->kind; |
717
|
|
|
} |
718
|
|
|
} |
719
|
|
|
|
720
|
|
|
class Google_Service_Plus_Activity extends Google_Model |
721
|
|
|
{ |
722
|
|
|
protected $accessType = 'Google_Service_Plus_Acl'; |
723
|
|
|
protected $accessDataType = ''; |
724
|
|
|
protected $actorType = 'Google_Service_Plus_ActivityActor'; |
725
|
|
|
protected $actorDataType = ''; |
726
|
|
|
public $address; |
727
|
|
|
public $annotation; |
728
|
|
|
public $crosspostSource; |
729
|
|
|
public $etag; |
730
|
|
|
public $geocode; |
731
|
|
|
public $id; |
732
|
|
|
public $kind; |
733
|
|
|
protected $locationType = 'Google_Service_Plus_Place'; |
734
|
|
|
protected $locationDataType = ''; |
735
|
|
|
protected $objectType = 'Google_Service_Plus_ActivityObject'; |
736
|
|
|
protected $objectDataType = ''; |
737
|
|
|
public $placeId; |
738
|
|
|
public $placeName; |
739
|
|
|
protected $providerType = 'Google_Service_Plus_ActivityProvider'; |
740
|
|
|
protected $providerDataType = ''; |
741
|
|
|
public $published; |
742
|
|
|
public $radius; |
743
|
|
|
public $title; |
744
|
|
|
public $updated; |
745
|
|
|
public $url; |
746
|
|
|
public $verb; |
747
|
|
|
|
748
|
|
|
public function setAccess(Google_Service_Plus_Acl $access) |
749
|
|
|
{ |
750
|
|
|
$this->access = $access; |
|
|
|
|
751
|
|
|
} |
752
|
|
|
|
753
|
|
|
public function getAccess() |
754
|
|
|
{ |
755
|
|
|
return $this->access; |
|
|
|
|
756
|
|
|
} |
757
|
|
|
|
758
|
|
|
public function setActor(Google_Service_Plus_ActivityActor $actor) |
759
|
|
|
{ |
760
|
|
|
$this->actor = $actor; |
|
|
|
|
761
|
|
|
} |
762
|
|
|
|
763
|
|
|
public function getActor() |
764
|
|
|
{ |
765
|
|
|
return $this->actor; |
766
|
|
|
} |
767
|
|
|
|
768
|
|
|
public function setAddress($address) |
769
|
|
|
{ |
770
|
|
|
$this->address = $address; |
771
|
|
|
} |
772
|
|
|
|
773
|
|
|
public function getAddress() |
774
|
|
|
{ |
775
|
|
|
return $this->address; |
776
|
|
|
} |
777
|
|
|
|
778
|
|
|
public function setAnnotation($annotation) |
779
|
|
|
{ |
780
|
|
|
$this->annotation = $annotation; |
781
|
|
|
} |
782
|
|
|
|
783
|
|
|
public function getAnnotation() |
784
|
|
|
{ |
785
|
|
|
return $this->annotation; |
786
|
|
|
} |
787
|
|
|
|
788
|
|
|
public function setCrosspostSource($crosspostSource) |
789
|
|
|
{ |
790
|
|
|
$this->crosspostSource = $crosspostSource; |
791
|
|
|
} |
792
|
|
|
|
793
|
|
|
public function getCrosspostSource() |
794
|
|
|
{ |
795
|
|
|
return $this->crosspostSource; |
796
|
|
|
} |
797
|
|
|
|
798
|
|
|
public function setEtag($etag) |
799
|
|
|
{ |
800
|
|
|
$this->etag = $etag; |
801
|
|
|
} |
802
|
|
|
|
803
|
|
|
public function getEtag() |
804
|
|
|
{ |
805
|
|
|
return $this->etag; |
806
|
|
|
} |
807
|
|
|
|
808
|
|
|
public function setGeocode($geocode) |
809
|
|
|
{ |
810
|
|
|
$this->geocode = $geocode; |
811
|
|
|
} |
812
|
|
|
|
813
|
|
|
public function getGeocode() |
814
|
|
|
{ |
815
|
|
|
return $this->geocode; |
816
|
|
|
} |
817
|
|
|
|
818
|
|
|
public function setId($id) |
819
|
|
|
{ |
820
|
|
|
$this->id = $id; |
821
|
|
|
} |
822
|
|
|
|
823
|
|
|
public function getId() |
824
|
|
|
{ |
825
|
|
|
return $this->id; |
826
|
|
|
} |
827
|
|
|
|
828
|
|
|
public function setKind($kind) |
829
|
|
|
{ |
830
|
|
|
$this->kind = $kind; |
831
|
|
|
} |
832
|
|
|
|
833
|
|
|
public function getKind() |
834
|
|
|
{ |
835
|
|
|
return $this->kind; |
836
|
|
|
} |
837
|
|
|
|
838
|
|
|
public function setLocation(Google_Service_Plus_Place $location) |
839
|
|
|
{ |
840
|
|
|
$this->location = $location; |
|
|
|
|
841
|
|
|
} |
842
|
|
|
|
843
|
|
|
public function getLocation() |
844
|
|
|
{ |
845
|
|
|
return $this->location; |
|
|
|
|
846
|
|
|
} |
847
|
|
|
|
848
|
|
|
public function setObject(Google_Service_Plus_ActivityObject $object) |
849
|
|
|
{ |
850
|
|
|
$this->object = $object; |
|
|
|
|
851
|
|
|
} |
852
|
|
|
|
853
|
|
|
public function getObject() |
854
|
|
|
{ |
855
|
|
|
return $this->object; |
|
|
|
|
856
|
|
|
} |
857
|
|
|
|
858
|
|
|
public function setPlaceId($placeId) |
859
|
|
|
{ |
860
|
|
|
$this->placeId = $placeId; |
861
|
|
|
} |
862
|
|
|
|
863
|
|
|
public function getPlaceId() |
864
|
|
|
{ |
865
|
|
|
return $this->placeId; |
866
|
|
|
} |
867
|
|
|
|
868
|
|
|
public function setPlaceName($placeName) |
869
|
|
|
{ |
870
|
|
|
$this->placeName = $placeName; |
871
|
|
|
} |
872
|
|
|
|
873
|
|
|
public function getPlaceName() |
874
|
|
|
{ |
875
|
|
|
return $this->placeName; |
876
|
|
|
} |
877
|
|
|
|
878
|
|
|
public function setProvider(Google_Service_Plus_ActivityProvider $provider) |
879
|
|
|
{ |
880
|
|
|
$this->provider = $provider; |
|
|
|
|
881
|
|
|
} |
882
|
|
|
|
883
|
|
|
public function getProvider() |
884
|
|
|
{ |
885
|
|
|
return $this->provider; |
|
|
|
|
886
|
|
|
} |
887
|
|
|
|
888
|
|
|
public function setPublished($published) |
889
|
|
|
{ |
890
|
|
|
$this->published = $published; |
891
|
|
|
} |
892
|
|
|
|
893
|
|
|
public function getPublished() |
894
|
|
|
{ |
895
|
|
|
return $this->published; |
896
|
|
|
} |
897
|
|
|
|
898
|
|
|
public function setRadius($radius) |
899
|
|
|
{ |
900
|
|
|
$this->radius = $radius; |
901
|
|
|
} |
902
|
|
|
|
903
|
|
|
public function getRadius() |
904
|
|
|
{ |
905
|
|
|
return $this->radius; |
906
|
|
|
} |
907
|
|
|
|
908
|
|
|
public function setTitle($title) |
909
|
|
|
{ |
910
|
|
|
$this->title = $title; |
911
|
|
|
} |
912
|
|
|
|
913
|
|
|
public function getTitle() |
914
|
|
|
{ |
915
|
|
|
return $this->title; |
916
|
|
|
} |
917
|
|
|
|
918
|
|
|
public function setUpdated($updated) |
919
|
|
|
{ |
920
|
|
|
$this->updated = $updated; |
921
|
|
|
} |
922
|
|
|
|
923
|
|
|
public function getUpdated() |
924
|
|
|
{ |
925
|
|
|
return $this->updated; |
926
|
|
|
} |
927
|
|
|
|
928
|
|
|
public function setUrl($url) |
929
|
|
|
{ |
930
|
|
|
$this->url = $url; |
931
|
|
|
} |
932
|
|
|
|
933
|
|
|
public function getUrl() |
934
|
|
|
{ |
935
|
|
|
return $this->url; |
936
|
|
|
} |
937
|
|
|
|
938
|
|
|
public function setVerb($verb) |
939
|
|
|
{ |
940
|
|
|
$this->verb = $verb; |
941
|
|
|
} |
942
|
|
|
|
943
|
|
|
public function getVerb() |
944
|
|
|
{ |
945
|
|
|
return $this->verb; |
946
|
|
|
} |
947
|
|
|
} |
948
|
|
|
|
949
|
|
|
class Google_Service_Plus_ActivityActor extends Google_Model |
950
|
|
|
{ |
951
|
|
|
public $displayName; |
952
|
|
|
public $id; |
953
|
|
|
protected $imageType = 'Google_Service_Plus_ActivityActorImage'; |
954
|
|
|
protected $imageDataType = ''; |
955
|
|
|
protected $nameType = 'Google_Service_Plus_ActivityActorName'; |
956
|
|
|
protected $nameDataType = ''; |
957
|
|
|
public $url; |
958
|
|
|
|
959
|
|
|
public function setDisplayName($displayName) |
960
|
|
|
{ |
961
|
|
|
$this->displayName = $displayName; |
962
|
|
|
} |
963
|
|
|
|
964
|
|
|
public function getDisplayName() |
965
|
|
|
{ |
966
|
|
|
return $this->displayName; |
967
|
|
|
} |
968
|
|
|
|
969
|
|
|
public function setId($id) |
970
|
|
|
{ |
971
|
|
|
$this->id = $id; |
972
|
|
|
} |
973
|
|
|
|
974
|
|
|
public function getId() |
975
|
|
|
{ |
976
|
|
|
return $this->id; |
977
|
|
|
} |
978
|
|
|
|
979
|
|
|
public function setImage(Google_Service_Plus_ActivityActorImage $image) |
980
|
|
|
{ |
981
|
|
|
$this->image = $image; |
|
|
|
|
982
|
|
|
} |
983
|
|
|
|
984
|
|
|
public function getImage() |
985
|
|
|
{ |
986
|
|
|
return $this->image; |
987
|
|
|
} |
988
|
|
|
|
989
|
|
|
public function setName(Google_Service_Plus_ActivityActorName $name) |
990
|
|
|
{ |
991
|
|
|
$this->name = $name; |
|
|
|
|
992
|
|
|
} |
993
|
|
|
|
994
|
|
|
public function getName() |
995
|
|
|
{ |
996
|
|
|
return $this->name; |
997
|
|
|
} |
998
|
|
|
|
999
|
|
|
public function setUrl($url) |
1000
|
|
|
{ |
1001
|
|
|
$this->url = $url; |
1002
|
|
|
} |
1003
|
|
|
|
1004
|
|
|
public function getUrl() |
1005
|
|
|
{ |
1006
|
|
|
return $this->url; |
1007
|
|
|
} |
1008
|
|
|
} |
1009
|
|
|
|
1010
|
|
|
class Google_Service_Plus_ActivityActorImage extends Google_Model |
1011
|
|
|
{ |
1012
|
|
|
public $url; |
1013
|
|
|
|
1014
|
|
|
public function setUrl($url) |
1015
|
|
|
{ |
1016
|
|
|
$this->url = $url; |
1017
|
|
|
} |
1018
|
|
|
|
1019
|
|
|
public function getUrl() |
1020
|
|
|
{ |
1021
|
|
|
return $this->url; |
1022
|
|
|
} |
1023
|
|
|
} |
1024
|
|
|
|
1025
|
|
|
class Google_Service_Plus_ActivityActorName extends Google_Model |
1026
|
|
|
{ |
1027
|
|
|
public $familyName; |
1028
|
|
|
public $givenName; |
1029
|
|
|
|
1030
|
|
|
public function setFamilyName($familyName) |
1031
|
|
|
{ |
1032
|
|
|
$this->familyName = $familyName; |
1033
|
|
|
} |
1034
|
|
|
|
1035
|
|
|
public function getFamilyName() |
1036
|
|
|
{ |
1037
|
|
|
return $this->familyName; |
1038
|
|
|
} |
1039
|
|
|
|
1040
|
|
|
public function setGivenName($givenName) |
1041
|
|
|
{ |
1042
|
|
|
$this->givenName = $givenName; |
1043
|
|
|
} |
1044
|
|
|
|
1045
|
|
|
public function getGivenName() |
1046
|
|
|
{ |
1047
|
|
|
return $this->givenName; |
1048
|
|
|
} |
1049
|
|
|
} |
1050
|
|
|
|
1051
|
|
|
class Google_Service_Plus_ActivityFeed extends Google_Collection |
1052
|
|
|
{ |
1053
|
|
|
public $etag; |
1054
|
|
|
public $id; |
1055
|
|
|
protected $itemsType = 'Google_Service_Plus_Activity'; |
1056
|
|
|
protected $itemsDataType = 'array'; |
1057
|
|
|
public $kind; |
1058
|
|
|
public $nextLink; |
1059
|
|
|
public $nextPageToken; |
1060
|
|
|
public $selfLink; |
1061
|
|
|
public $title; |
1062
|
|
|
public $updated; |
1063
|
|
|
|
1064
|
|
|
public function setEtag($etag) |
1065
|
|
|
{ |
1066
|
|
|
$this->etag = $etag; |
1067
|
|
|
} |
1068
|
|
|
|
1069
|
|
|
public function getEtag() |
1070
|
|
|
{ |
1071
|
|
|
return $this->etag; |
1072
|
|
|
} |
1073
|
|
|
|
1074
|
|
|
public function setId($id) |
1075
|
|
|
{ |
1076
|
|
|
$this->id = $id; |
1077
|
|
|
} |
1078
|
|
|
|
1079
|
|
|
public function getId() |
1080
|
|
|
{ |
1081
|
|
|
return $this->id; |
1082
|
|
|
} |
1083
|
|
|
|
1084
|
|
|
public function setItems($items) |
1085
|
|
|
{ |
1086
|
|
|
$this->items = $items; |
|
|
|
|
1087
|
|
|
} |
1088
|
|
|
|
1089
|
|
|
public function getItems() |
1090
|
|
|
{ |
1091
|
|
|
return $this->items; |
1092
|
|
|
} |
1093
|
|
|
|
1094
|
|
|
public function setKind($kind) |
1095
|
|
|
{ |
1096
|
|
|
$this->kind = $kind; |
1097
|
|
|
} |
1098
|
|
|
|
1099
|
|
|
public function getKind() |
1100
|
|
|
{ |
1101
|
|
|
return $this->kind; |
1102
|
|
|
} |
1103
|
|
|
|
1104
|
|
|
public function setNextLink($nextLink) |
1105
|
|
|
{ |
1106
|
|
|
$this->nextLink = $nextLink; |
1107
|
|
|
} |
1108
|
|
|
|
1109
|
|
|
public function getNextLink() |
1110
|
|
|
{ |
1111
|
|
|
return $this->nextLink; |
1112
|
|
|
} |
1113
|
|
|
|
1114
|
|
|
public function setNextPageToken($nextPageToken) |
1115
|
|
|
{ |
1116
|
|
|
$this->nextPageToken = $nextPageToken; |
1117
|
|
|
} |
1118
|
|
|
|
1119
|
|
|
public function getNextPageToken() |
1120
|
|
|
{ |
1121
|
|
|
return $this->nextPageToken; |
1122
|
|
|
} |
1123
|
|
|
|
1124
|
|
|
public function setSelfLink($selfLink) |
1125
|
|
|
{ |
1126
|
|
|
$this->selfLink = $selfLink; |
1127
|
|
|
} |
1128
|
|
|
|
1129
|
|
|
public function getSelfLink() |
1130
|
|
|
{ |
1131
|
|
|
return $this->selfLink; |
1132
|
|
|
} |
1133
|
|
|
|
1134
|
|
|
public function setTitle($title) |
1135
|
|
|
{ |
1136
|
|
|
$this->title = $title; |
1137
|
|
|
} |
1138
|
|
|
|
1139
|
|
|
public function getTitle() |
1140
|
|
|
{ |
1141
|
|
|
return $this->title; |
1142
|
|
|
} |
1143
|
|
|
|
1144
|
|
|
public function setUpdated($updated) |
1145
|
|
|
{ |
1146
|
|
|
$this->updated = $updated; |
1147
|
|
|
} |
1148
|
|
|
|
1149
|
|
|
public function getUpdated() |
1150
|
|
|
{ |
1151
|
|
|
return $this->updated; |
1152
|
|
|
} |
1153
|
|
|
} |
1154
|
|
|
|
1155
|
|
|
class Google_Service_Plus_ActivityObject extends Google_Collection |
1156
|
|
|
{ |
1157
|
|
|
protected $actorType = 'Google_Service_Plus_ActivityObjectActor'; |
1158
|
|
|
protected $actorDataType = ''; |
1159
|
|
|
protected $attachmentsType = 'Google_Service_Plus_ActivityObjectAttachments'; |
1160
|
|
|
protected $attachmentsDataType = 'array'; |
1161
|
|
|
public $content; |
1162
|
|
|
public $id; |
1163
|
|
|
public $objectType; |
1164
|
|
|
public $originalContent; |
1165
|
|
|
protected $plusonersType = 'Google_Service_Plus_ActivityObjectPlusoners'; |
1166
|
|
|
protected $plusonersDataType = ''; |
1167
|
|
|
protected $repliesType = 'Google_Service_Plus_ActivityObjectReplies'; |
1168
|
|
|
protected $repliesDataType = ''; |
1169
|
|
|
protected $resharersType = 'Google_Service_Plus_ActivityObjectResharers'; |
1170
|
|
|
protected $resharersDataType = ''; |
1171
|
|
|
public $url; |
1172
|
|
|
|
1173
|
|
|
public function setActor(Google_Service_Plus_ActivityObjectActor $actor) |
1174
|
|
|
{ |
1175
|
|
|
$this->actor = $actor; |
|
|
|
|
1176
|
|
|
} |
1177
|
|
|
|
1178
|
|
|
public function getActor() |
1179
|
|
|
{ |
1180
|
|
|
return $this->actor; |
1181
|
|
|
} |
1182
|
|
|
|
1183
|
|
|
public function setAttachments($attachments) |
1184
|
|
|
{ |
1185
|
|
|
$this->attachments = $attachments; |
|
|
|
|
1186
|
|
|
} |
1187
|
|
|
|
1188
|
|
|
public function getAttachments() |
1189
|
|
|
{ |
1190
|
|
|
return $this->attachments; |
|
|
|
|
1191
|
|
|
} |
1192
|
|
|
|
1193
|
|
|
public function setContent($content) |
1194
|
|
|
{ |
1195
|
|
|
$this->content = $content; |
1196
|
|
|
} |
1197
|
|
|
|
1198
|
|
|
public function getContent() |
1199
|
|
|
{ |
1200
|
|
|
return $this->content; |
1201
|
|
|
} |
1202
|
|
|
|
1203
|
|
|
public function setId($id) |
1204
|
|
|
{ |
1205
|
|
|
$this->id = $id; |
1206
|
|
|
} |
1207
|
|
|
|
1208
|
|
|
public function getId() |
1209
|
|
|
{ |
1210
|
|
|
return $this->id; |
1211
|
|
|
} |
1212
|
|
|
|
1213
|
|
|
public function setObjectType($objectType) |
1214
|
|
|
{ |
1215
|
|
|
$this->objectType = $objectType; |
1216
|
|
|
} |
1217
|
|
|
|
1218
|
|
|
public function getObjectType() |
1219
|
|
|
{ |
1220
|
|
|
return $this->objectType; |
1221
|
|
|
} |
1222
|
|
|
|
1223
|
|
|
public function setOriginalContent($originalContent) |
1224
|
|
|
{ |
1225
|
|
|
$this->originalContent = $originalContent; |
1226
|
|
|
} |
1227
|
|
|
|
1228
|
|
|
public function getOriginalContent() |
1229
|
|
|
{ |
1230
|
|
|
return $this->originalContent; |
1231
|
|
|
} |
1232
|
|
|
|
1233
|
|
|
public function setPlusoners(Google_Service_Plus_ActivityObjectPlusoners $plusoners) |
1234
|
|
|
{ |
1235
|
|
|
$this->plusoners = $plusoners; |
|
|
|
|
1236
|
|
|
} |
1237
|
|
|
|
1238
|
|
|
public function getPlusoners() |
1239
|
|
|
{ |
1240
|
|
|
return $this->plusoners; |
|
|
|
|
1241
|
|
|
} |
1242
|
|
|
|
1243
|
|
|
public function setReplies(Google_Service_Plus_ActivityObjectReplies $replies) |
1244
|
|
|
{ |
1245
|
|
|
$this->replies = $replies; |
|
|
|
|
1246
|
|
|
} |
1247
|
|
|
|
1248
|
|
|
public function getReplies() |
1249
|
|
|
{ |
1250
|
|
|
return $this->replies; |
|
|
|
|
1251
|
|
|
} |
1252
|
|
|
|
1253
|
|
|
public function setResharers(Google_Service_Plus_ActivityObjectResharers $resharers) |
1254
|
|
|
{ |
1255
|
|
|
$this->resharers = $resharers; |
|
|
|
|
1256
|
|
|
} |
1257
|
|
|
|
1258
|
|
|
public function getResharers() |
1259
|
|
|
{ |
1260
|
|
|
return $this->resharers; |
|
|
|
|
1261
|
|
|
} |
1262
|
|
|
|
1263
|
|
|
public function setUrl($url) |
1264
|
|
|
{ |
1265
|
|
|
$this->url = $url; |
1266
|
|
|
} |
1267
|
|
|
|
1268
|
|
|
public function getUrl() |
1269
|
|
|
{ |
1270
|
|
|
return $this->url; |
1271
|
|
|
} |
1272
|
|
|
} |
1273
|
|
|
|
1274
|
|
View Code Duplication |
class Google_Service_Plus_ActivityObjectActor extends Google_Model |
|
|
|
|
1275
|
|
|
{ |
1276
|
|
|
public $displayName; |
1277
|
|
|
public $id; |
1278
|
|
|
protected $imageType = 'Google_Service_Plus_ActivityObjectActorImage'; |
1279
|
|
|
protected $imageDataType = ''; |
1280
|
|
|
public $url; |
1281
|
|
|
|
1282
|
|
|
public function setDisplayName($displayName) |
1283
|
|
|
{ |
1284
|
|
|
$this->displayName = $displayName; |
1285
|
|
|
} |
1286
|
|
|
|
1287
|
|
|
public function getDisplayName() |
1288
|
|
|
{ |
1289
|
|
|
return $this->displayName; |
1290
|
|
|
} |
1291
|
|
|
|
1292
|
|
|
public function setId($id) |
1293
|
|
|
{ |
1294
|
|
|
$this->id = $id; |
1295
|
|
|
} |
1296
|
|
|
|
1297
|
|
|
public function getId() |
1298
|
|
|
{ |
1299
|
|
|
return $this->id; |
1300
|
|
|
} |
1301
|
|
|
|
1302
|
|
|
public function setImage(Google_Service_Plus_ActivityObjectActorImage $image) |
1303
|
|
|
{ |
1304
|
|
|
$this->image = $image; |
|
|
|
|
1305
|
|
|
} |
1306
|
|
|
|
1307
|
|
|
public function getImage() |
1308
|
|
|
{ |
1309
|
|
|
return $this->image; |
1310
|
|
|
} |
1311
|
|
|
|
1312
|
|
|
public function setUrl($url) |
1313
|
|
|
{ |
1314
|
|
|
$this->url = $url; |
1315
|
|
|
} |
1316
|
|
|
|
1317
|
|
|
public function getUrl() |
1318
|
|
|
{ |
1319
|
|
|
return $this->url; |
1320
|
|
|
} |
1321
|
|
|
} |
1322
|
|
|
|
1323
|
|
|
class Google_Service_Plus_ActivityObjectActorImage extends Google_Model |
1324
|
|
|
{ |
1325
|
|
|
public $url; |
1326
|
|
|
|
1327
|
|
|
public function setUrl($url) |
1328
|
|
|
{ |
1329
|
|
|
$this->url = $url; |
1330
|
|
|
} |
1331
|
|
|
|
1332
|
|
|
public function getUrl() |
1333
|
|
|
{ |
1334
|
|
|
return $this->url; |
1335
|
|
|
} |
1336
|
|
|
} |
1337
|
|
|
|
1338
|
|
|
class Google_Service_Plus_ActivityObjectAttachments extends Google_Collection |
1339
|
|
|
{ |
1340
|
|
|
public $content; |
1341
|
|
|
public $displayName; |
1342
|
|
|
protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed'; |
1343
|
|
|
protected $embedDataType = ''; |
1344
|
|
|
protected $fullImageType = 'Google_Service_Plus_ActivityObjectAttachmentsFullImage'; |
1345
|
|
|
protected $fullImageDataType = ''; |
1346
|
|
|
public $id; |
1347
|
|
|
protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsImage'; |
1348
|
|
|
protected $imageDataType = ''; |
1349
|
|
|
public $objectType; |
1350
|
|
|
protected $thumbnailsType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnails'; |
1351
|
|
|
protected $thumbnailsDataType = 'array'; |
1352
|
|
|
public $url; |
1353
|
|
|
|
1354
|
|
|
public function setContent($content) |
1355
|
|
|
{ |
1356
|
|
|
$this->content = $content; |
1357
|
|
|
} |
1358
|
|
|
|
1359
|
|
|
public function getContent() |
1360
|
|
|
{ |
1361
|
|
|
return $this->content; |
1362
|
|
|
} |
1363
|
|
|
|
1364
|
|
|
public function setDisplayName($displayName) |
1365
|
|
|
{ |
1366
|
|
|
$this->displayName = $displayName; |
1367
|
|
|
} |
1368
|
|
|
|
1369
|
|
|
public function getDisplayName() |
1370
|
|
|
{ |
1371
|
|
|
return $this->displayName; |
1372
|
|
|
} |
1373
|
|
|
|
1374
|
|
|
public function setEmbed(Google_Service_Plus_ActivityObjectAttachmentsEmbed $embed) |
1375
|
|
|
{ |
1376
|
|
|
$this->embed = $embed; |
|
|
|
|
1377
|
|
|
} |
1378
|
|
|
|
1379
|
|
|
public function getEmbed() |
1380
|
|
|
{ |
1381
|
|
|
return $this->embed; |
1382
|
|
|
} |
1383
|
|
|
|
1384
|
|
|
public function setFullImage(Google_Service_Plus_ActivityObjectAttachmentsFullImage $fullImage) |
1385
|
|
|
{ |
1386
|
|
|
$this->fullImage = $fullImage; |
|
|
|
|
1387
|
|
|
} |
1388
|
|
|
|
1389
|
|
|
public function getFullImage() |
1390
|
|
|
{ |
1391
|
|
|
return $this->fullImage; |
|
|
|
|
1392
|
|
|
} |
1393
|
|
|
|
1394
|
|
|
public function setId($id) |
1395
|
|
|
{ |
1396
|
|
|
$this->id = $id; |
1397
|
|
|
} |
1398
|
|
|
|
1399
|
|
|
public function getId() |
1400
|
|
|
{ |
1401
|
|
|
return $this->id; |
1402
|
|
|
} |
1403
|
|
|
|
1404
|
|
|
public function setImage(Google_Service_Plus_ActivityObjectAttachmentsImage $image) |
1405
|
|
|
{ |
1406
|
|
|
$this->image = $image; |
|
|
|
|
1407
|
|
|
} |
1408
|
|
|
|
1409
|
|
|
public function getImage() |
1410
|
|
|
{ |
1411
|
|
|
return $this->image; |
1412
|
|
|
} |
1413
|
|
|
|
1414
|
|
|
public function setObjectType($objectType) |
1415
|
|
|
{ |
1416
|
|
|
$this->objectType = $objectType; |
1417
|
|
|
} |
1418
|
|
|
|
1419
|
|
|
public function getObjectType() |
1420
|
|
|
{ |
1421
|
|
|
return $this->objectType; |
1422
|
|
|
} |
1423
|
|
|
|
1424
|
|
|
public function setThumbnails($thumbnails) |
1425
|
|
|
{ |
1426
|
|
|
$this->thumbnails = $thumbnails; |
|
|
|
|
1427
|
|
|
} |
1428
|
|
|
|
1429
|
|
|
public function getThumbnails() |
1430
|
|
|
{ |
1431
|
|
|
return $this->thumbnails; |
|
|
|
|
1432
|
|
|
} |
1433
|
|
|
|
1434
|
|
|
public function setUrl($url) |
1435
|
|
|
{ |
1436
|
|
|
$this->url = $url; |
1437
|
|
|
} |
1438
|
|
|
|
1439
|
|
|
public function getUrl() |
1440
|
|
|
{ |
1441
|
|
|
return $this->url; |
1442
|
|
|
} |
1443
|
|
|
} |
1444
|
|
|
|
1445
|
|
|
class Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Google_Model |
1446
|
|
|
{ |
1447
|
|
|
public $type; |
1448
|
|
|
public $url; |
1449
|
|
|
|
1450
|
|
|
public function setType($type) |
1451
|
|
|
{ |
1452
|
|
|
$this->type = $type; |
1453
|
|
|
} |
1454
|
|
|
|
1455
|
|
|
public function getType() |
1456
|
|
|
{ |
1457
|
|
|
return $this->type; |
1458
|
|
|
} |
1459
|
|
|
|
1460
|
|
|
public function setUrl($url) |
1461
|
|
|
{ |
1462
|
|
|
$this->url = $url; |
1463
|
|
|
} |
1464
|
|
|
|
1465
|
|
|
public function getUrl() |
1466
|
|
|
{ |
1467
|
|
|
return $this->url; |
1468
|
|
|
} |
1469
|
|
|
} |
1470
|
|
|
|
1471
|
|
View Code Duplication |
class Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model |
|
|
|
|
1472
|
|
|
{ |
1473
|
|
|
public $height; |
1474
|
|
|
public $type; |
1475
|
|
|
public $url; |
1476
|
|
|
public $width; |
1477
|
|
|
|
1478
|
|
|
public function setHeight($height) |
1479
|
|
|
{ |
1480
|
|
|
$this->height = $height; |
1481
|
|
|
} |
1482
|
|
|
|
1483
|
|
|
public function getHeight() |
1484
|
|
|
{ |
1485
|
|
|
return $this->height; |
1486
|
|
|
} |
1487
|
|
|
|
1488
|
|
|
public function setType($type) |
1489
|
|
|
{ |
1490
|
|
|
$this->type = $type; |
1491
|
|
|
} |
1492
|
|
|
|
1493
|
|
|
public function getType() |
1494
|
|
|
{ |
1495
|
|
|
return $this->type; |
1496
|
|
|
} |
1497
|
|
|
|
1498
|
|
|
public function setUrl($url) |
1499
|
|
|
{ |
1500
|
|
|
$this->url = $url; |
1501
|
|
|
} |
1502
|
|
|
|
1503
|
|
|
public function getUrl() |
1504
|
|
|
{ |
1505
|
|
|
return $this->url; |
1506
|
|
|
} |
1507
|
|
|
|
1508
|
|
|
public function setWidth($width) |
1509
|
|
|
{ |
1510
|
|
|
$this->width = $width; |
1511
|
|
|
} |
1512
|
|
|
|
1513
|
|
|
public function getWidth() |
1514
|
|
|
{ |
1515
|
|
|
return $this->width; |
1516
|
|
|
} |
1517
|
|
|
} |
1518
|
|
|
|
1519
|
|
View Code Duplication |
class Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model |
|
|
|
|
1520
|
|
|
{ |
1521
|
|
|
public $height; |
1522
|
|
|
public $type; |
1523
|
|
|
public $url; |
1524
|
|
|
public $width; |
1525
|
|
|
|
1526
|
|
|
public function setHeight($height) |
1527
|
|
|
{ |
1528
|
|
|
$this->height = $height; |
1529
|
|
|
} |
1530
|
|
|
|
1531
|
|
|
public function getHeight() |
1532
|
|
|
{ |
1533
|
|
|
return $this->height; |
1534
|
|
|
} |
1535
|
|
|
|
1536
|
|
|
public function setType($type) |
1537
|
|
|
{ |
1538
|
|
|
$this->type = $type; |
1539
|
|
|
} |
1540
|
|
|
|
1541
|
|
|
public function getType() |
1542
|
|
|
{ |
1543
|
|
|
return $this->type; |
1544
|
|
|
} |
1545
|
|
|
|
1546
|
|
|
public function setUrl($url) |
1547
|
|
|
{ |
1548
|
|
|
$this->url = $url; |
1549
|
|
|
} |
1550
|
|
|
|
1551
|
|
|
public function getUrl() |
1552
|
|
|
{ |
1553
|
|
|
return $this->url; |
1554
|
|
|
} |
1555
|
|
|
|
1556
|
|
|
public function setWidth($width) |
1557
|
|
|
{ |
1558
|
|
|
$this->width = $width; |
1559
|
|
|
} |
1560
|
|
|
|
1561
|
|
|
public function getWidth() |
1562
|
|
|
{ |
1563
|
|
|
return $this->width; |
1564
|
|
|
} |
1565
|
|
|
} |
1566
|
|
|
|
1567
|
|
|
class Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Google_Model |
1568
|
|
|
{ |
1569
|
|
|
public $description; |
1570
|
|
|
protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage'; |
1571
|
|
|
protected $imageDataType = ''; |
1572
|
|
|
public $url; |
1573
|
|
|
|
1574
|
|
|
public function setDescription($description) |
1575
|
|
|
{ |
1576
|
|
|
$this->description = $description; |
1577
|
|
|
} |
1578
|
|
|
|
1579
|
|
|
public function getDescription() |
1580
|
|
|
{ |
1581
|
|
|
return $this->description; |
1582
|
|
|
} |
1583
|
|
|
|
1584
|
|
|
public function setImage(Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage $image) |
1585
|
|
|
{ |
1586
|
|
|
$this->image = $image; |
|
|
|
|
1587
|
|
|
} |
1588
|
|
|
|
1589
|
|
|
public function getImage() |
1590
|
|
|
{ |
1591
|
|
|
return $this->image; |
1592
|
|
|
} |
1593
|
|
|
|
1594
|
|
|
public function setUrl($url) |
1595
|
|
|
{ |
1596
|
|
|
$this->url = $url; |
1597
|
|
|
} |
1598
|
|
|
|
1599
|
|
|
public function getUrl() |
1600
|
|
|
{ |
1601
|
|
|
return $this->url; |
1602
|
|
|
} |
1603
|
|
|
} |
1604
|
|
|
|
1605
|
|
View Code Duplication |
class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model |
|
|
|
|
1606
|
|
|
{ |
1607
|
|
|
public $height; |
1608
|
|
|
public $type; |
1609
|
|
|
public $url; |
1610
|
|
|
public $width; |
1611
|
|
|
|
1612
|
|
|
public function setHeight($height) |
1613
|
|
|
{ |
1614
|
|
|
$this->height = $height; |
1615
|
|
|
} |
1616
|
|
|
|
1617
|
|
|
public function getHeight() |
1618
|
|
|
{ |
1619
|
|
|
return $this->height; |
1620
|
|
|
} |
1621
|
|
|
|
1622
|
|
|
public function setType($type) |
1623
|
|
|
{ |
1624
|
|
|
$this->type = $type; |
1625
|
|
|
} |
1626
|
|
|
|
1627
|
|
|
public function getType() |
1628
|
|
|
{ |
1629
|
|
|
return $this->type; |
1630
|
|
|
} |
1631
|
|
|
|
1632
|
|
|
public function setUrl($url) |
1633
|
|
|
{ |
1634
|
|
|
$this->url = $url; |
1635
|
|
|
} |
1636
|
|
|
|
1637
|
|
|
public function getUrl() |
1638
|
|
|
{ |
1639
|
|
|
return $this->url; |
1640
|
|
|
} |
1641
|
|
|
|
1642
|
|
|
public function setWidth($width) |
1643
|
|
|
{ |
1644
|
|
|
$this->width = $width; |
1645
|
|
|
} |
1646
|
|
|
|
1647
|
|
|
public function getWidth() |
1648
|
|
|
{ |
1649
|
|
|
return $this->width; |
1650
|
|
|
} |
1651
|
|
|
} |
1652
|
|
|
|
1653
|
|
View Code Duplication |
class Google_Service_Plus_ActivityObjectPlusoners extends Google_Model |
|
|
|
|
1654
|
|
|
{ |
1655
|
|
|
public $selfLink; |
1656
|
|
|
public $totalItems; |
1657
|
|
|
|
1658
|
|
|
public function setSelfLink($selfLink) |
1659
|
|
|
{ |
1660
|
|
|
$this->selfLink = $selfLink; |
1661
|
|
|
} |
1662
|
|
|
|
1663
|
|
|
public function getSelfLink() |
1664
|
|
|
{ |
1665
|
|
|
return $this->selfLink; |
1666
|
|
|
} |
1667
|
|
|
|
1668
|
|
|
public function setTotalItems($totalItems) |
1669
|
|
|
{ |
1670
|
|
|
$this->totalItems = $totalItems; |
1671
|
|
|
} |
1672
|
|
|
|
1673
|
|
|
public function getTotalItems() |
1674
|
|
|
{ |
1675
|
|
|
return $this->totalItems; |
1676
|
|
|
} |
1677
|
|
|
} |
1678
|
|
|
|
1679
|
|
View Code Duplication |
class Google_Service_Plus_ActivityObjectReplies extends Google_Model |
|
|
|
|
1680
|
|
|
{ |
1681
|
|
|
public $selfLink; |
1682
|
|
|
public $totalItems; |
1683
|
|
|
|
1684
|
|
|
public function setSelfLink($selfLink) |
1685
|
|
|
{ |
1686
|
|
|
$this->selfLink = $selfLink; |
1687
|
|
|
} |
1688
|
|
|
|
1689
|
|
|
public function getSelfLink() |
1690
|
|
|
{ |
1691
|
|
|
return $this->selfLink; |
1692
|
|
|
} |
1693
|
|
|
|
1694
|
|
|
public function setTotalItems($totalItems) |
1695
|
|
|
{ |
1696
|
|
|
$this->totalItems = $totalItems; |
1697
|
|
|
} |
1698
|
|
|
|
1699
|
|
|
public function getTotalItems() |
1700
|
|
|
{ |
1701
|
|
|
return $this->totalItems; |
1702
|
|
|
} |
1703
|
|
|
} |
1704
|
|
|
|
1705
|
|
View Code Duplication |
class Google_Service_Plus_ActivityObjectResharers extends Google_Model |
|
|
|
|
1706
|
|
|
{ |
1707
|
|
|
public $selfLink; |
1708
|
|
|
public $totalItems; |
1709
|
|
|
|
1710
|
|
|
public function setSelfLink($selfLink) |
1711
|
|
|
{ |
1712
|
|
|
$this->selfLink = $selfLink; |
1713
|
|
|
} |
1714
|
|
|
|
1715
|
|
|
public function getSelfLink() |
1716
|
|
|
{ |
1717
|
|
|
return $this->selfLink; |
1718
|
|
|
} |
1719
|
|
|
|
1720
|
|
|
public function setTotalItems($totalItems) |
1721
|
|
|
{ |
1722
|
|
|
$this->totalItems = $totalItems; |
1723
|
|
|
} |
1724
|
|
|
|
1725
|
|
|
public function getTotalItems() |
1726
|
|
|
{ |
1727
|
|
|
return $this->totalItems; |
1728
|
|
|
} |
1729
|
|
|
} |
1730
|
|
|
|
1731
|
|
|
class Google_Service_Plus_ActivityProvider extends Google_Model |
1732
|
|
|
{ |
1733
|
|
|
public $title; |
1734
|
|
|
|
1735
|
|
|
public function setTitle($title) |
1736
|
|
|
{ |
1737
|
|
|
$this->title = $title; |
1738
|
|
|
} |
1739
|
|
|
|
1740
|
|
|
public function getTitle() |
1741
|
|
|
{ |
1742
|
|
|
return $this->title; |
1743
|
|
|
} |
1744
|
|
|
} |
1745
|
|
|
|
1746
|
|
|
class Google_Service_Plus_Comment extends Google_Collection |
1747
|
|
|
{ |
1748
|
|
|
protected $actorType = 'Google_Service_Plus_CommentActor'; |
1749
|
|
|
protected $actorDataType = ''; |
1750
|
|
|
public $etag; |
1751
|
|
|
public $id; |
1752
|
|
|
protected $inReplyToType = 'Google_Service_Plus_CommentInReplyTo'; |
1753
|
|
|
protected $inReplyToDataType = 'array'; |
1754
|
|
|
public $kind; |
1755
|
|
|
protected $objectType = 'Google_Service_Plus_CommentObject'; |
1756
|
|
|
protected $objectDataType = ''; |
1757
|
|
|
protected $plusonersType = 'Google_Service_Plus_CommentPlusoners'; |
1758
|
|
|
protected $plusonersDataType = ''; |
1759
|
|
|
public $published; |
1760
|
|
|
public $selfLink; |
1761
|
|
|
public $updated; |
1762
|
|
|
public $verb; |
1763
|
|
|
|
1764
|
|
|
public function setActor(Google_Service_Plus_CommentActor $actor) |
1765
|
|
|
{ |
1766
|
|
|
$this->actor = $actor; |
|
|
|
|
1767
|
|
|
} |
1768
|
|
|
|
1769
|
|
|
public function getActor() |
1770
|
|
|
{ |
1771
|
|
|
return $this->actor; |
1772
|
|
|
} |
1773
|
|
|
|
1774
|
|
|
public function setEtag($etag) |
1775
|
|
|
{ |
1776
|
|
|
$this->etag = $etag; |
1777
|
|
|
} |
1778
|
|
|
|
1779
|
|
|
public function getEtag() |
1780
|
|
|
{ |
1781
|
|
|
return $this->etag; |
1782
|
|
|
} |
1783
|
|
|
|
1784
|
|
|
public function setId($id) |
1785
|
|
|
{ |
1786
|
|
|
$this->id = $id; |
1787
|
|
|
} |
1788
|
|
|
|
1789
|
|
|
public function getId() |
1790
|
|
|
{ |
1791
|
|
|
return $this->id; |
1792
|
|
|
} |
1793
|
|
|
|
1794
|
|
|
public function setInReplyTo($inReplyTo) |
1795
|
|
|
{ |
1796
|
|
|
$this->inReplyTo = $inReplyTo; |
|
|
|
|
1797
|
|
|
} |
1798
|
|
|
|
1799
|
|
|
public function getInReplyTo() |
1800
|
|
|
{ |
1801
|
|
|
return $this->inReplyTo; |
|
|
|
|
1802
|
|
|
} |
1803
|
|
|
|
1804
|
|
|
public function setKind($kind) |
1805
|
|
|
{ |
1806
|
|
|
$this->kind = $kind; |
1807
|
|
|
} |
1808
|
|
|
|
1809
|
|
|
public function getKind() |
1810
|
|
|
{ |
1811
|
|
|
return $this->kind; |
1812
|
|
|
} |
1813
|
|
|
|
1814
|
|
|
public function setObject(Google_Service_Plus_CommentObject $object) |
1815
|
|
|
{ |
1816
|
|
|
$this->object = $object; |
|
|
|
|
1817
|
|
|
} |
1818
|
|
|
|
1819
|
|
|
public function getObject() |
1820
|
|
|
{ |
1821
|
|
|
return $this->object; |
|
|
|
|
1822
|
|
|
} |
1823
|
|
|
|
1824
|
|
|
public function setPlusoners(Google_Service_Plus_CommentPlusoners $plusoners) |
1825
|
|
|
{ |
1826
|
|
|
$this->plusoners = $plusoners; |
|
|
|
|
1827
|
|
|
} |
1828
|
|
|
|
1829
|
|
|
public function getPlusoners() |
1830
|
|
|
{ |
1831
|
|
|
return $this->plusoners; |
|
|
|
|
1832
|
|
|
} |
1833
|
|
|
|
1834
|
|
|
public function setPublished($published) |
1835
|
|
|
{ |
1836
|
|
|
$this->published = $published; |
1837
|
|
|
} |
1838
|
|
|
|
1839
|
|
|
public function getPublished() |
1840
|
|
|
{ |
1841
|
|
|
return $this->published; |
1842
|
|
|
} |
1843
|
|
|
|
1844
|
|
|
public function setSelfLink($selfLink) |
1845
|
|
|
{ |
1846
|
|
|
$this->selfLink = $selfLink; |
1847
|
|
|
} |
1848
|
|
|
|
1849
|
|
|
public function getSelfLink() |
1850
|
|
|
{ |
1851
|
|
|
return $this->selfLink; |
1852
|
|
|
} |
1853
|
|
|
|
1854
|
|
|
public function setUpdated($updated) |
1855
|
|
|
{ |
1856
|
|
|
$this->updated = $updated; |
1857
|
|
|
} |
1858
|
|
|
|
1859
|
|
|
public function getUpdated() |
1860
|
|
|
{ |
1861
|
|
|
return $this->updated; |
1862
|
|
|
} |
1863
|
|
|
|
1864
|
|
|
public function setVerb($verb) |
1865
|
|
|
{ |
1866
|
|
|
$this->verb = $verb; |
1867
|
|
|
} |
1868
|
|
|
|
1869
|
|
|
public function getVerb() |
1870
|
|
|
{ |
1871
|
|
|
return $this->verb; |
1872
|
|
|
} |
1873
|
|
|
} |
1874
|
|
|
|
1875
|
|
View Code Duplication |
class Google_Service_Plus_CommentActor extends Google_Model |
|
|
|
|
1876
|
|
|
{ |
1877
|
|
|
public $displayName; |
1878
|
|
|
public $id; |
1879
|
|
|
protected $imageType = 'Google_Service_Plus_CommentActorImage'; |
1880
|
|
|
protected $imageDataType = ''; |
1881
|
|
|
public $url; |
1882
|
|
|
|
1883
|
|
|
public function setDisplayName($displayName) |
1884
|
|
|
{ |
1885
|
|
|
$this->displayName = $displayName; |
1886
|
|
|
} |
1887
|
|
|
|
1888
|
|
|
public function getDisplayName() |
1889
|
|
|
{ |
1890
|
|
|
return $this->displayName; |
1891
|
|
|
} |
1892
|
|
|
|
1893
|
|
|
public function setId($id) |
1894
|
|
|
{ |
1895
|
|
|
$this->id = $id; |
1896
|
|
|
} |
1897
|
|
|
|
1898
|
|
|
public function getId() |
1899
|
|
|
{ |
1900
|
|
|
return $this->id; |
1901
|
|
|
} |
1902
|
|
|
|
1903
|
|
|
public function setImage(Google_Service_Plus_CommentActorImage $image) |
1904
|
|
|
{ |
1905
|
|
|
$this->image = $image; |
|
|
|
|
1906
|
|
|
} |
1907
|
|
|
|
1908
|
|
|
public function getImage() |
1909
|
|
|
{ |
1910
|
|
|
return $this->image; |
1911
|
|
|
} |
1912
|
|
|
|
1913
|
|
|
public function setUrl($url) |
1914
|
|
|
{ |
1915
|
|
|
$this->url = $url; |
1916
|
|
|
} |
1917
|
|
|
|
1918
|
|
|
public function getUrl() |
1919
|
|
|
{ |
1920
|
|
|
return $this->url; |
1921
|
|
|
} |
1922
|
|
|
} |
1923
|
|
|
|
1924
|
|
|
class Google_Service_Plus_CommentActorImage extends Google_Model |
1925
|
|
|
{ |
1926
|
|
|
public $url; |
1927
|
|
|
|
1928
|
|
|
public function setUrl($url) |
1929
|
|
|
{ |
1930
|
|
|
$this->url = $url; |
1931
|
|
|
} |
1932
|
|
|
|
1933
|
|
|
public function getUrl() |
1934
|
|
|
{ |
1935
|
|
|
return $this->url; |
1936
|
|
|
} |
1937
|
|
|
} |
1938
|
|
|
|
1939
|
|
View Code Duplication |
class Google_Service_Plus_CommentFeed extends Google_Collection |
|
|
|
|
1940
|
|
|
{ |
1941
|
|
|
public $etag; |
1942
|
|
|
public $id; |
1943
|
|
|
protected $itemsType = 'Google_Service_Plus_Comment'; |
1944
|
|
|
protected $itemsDataType = 'array'; |
1945
|
|
|
public $kind; |
1946
|
|
|
public $nextLink; |
1947
|
|
|
public $nextPageToken; |
1948
|
|
|
public $title; |
1949
|
|
|
public $updated; |
1950
|
|
|
|
1951
|
|
|
public function setEtag($etag) |
1952
|
|
|
{ |
1953
|
|
|
$this->etag = $etag; |
1954
|
|
|
} |
1955
|
|
|
|
1956
|
|
|
public function getEtag() |
1957
|
|
|
{ |
1958
|
|
|
return $this->etag; |
1959
|
|
|
} |
1960
|
|
|
|
1961
|
|
|
public function setId($id) |
1962
|
|
|
{ |
1963
|
|
|
$this->id = $id; |
1964
|
|
|
} |
1965
|
|
|
|
1966
|
|
|
public function getId() |
1967
|
|
|
{ |
1968
|
|
|
return $this->id; |
1969
|
|
|
} |
1970
|
|
|
|
1971
|
|
|
public function setItems($items) |
1972
|
|
|
{ |
1973
|
|
|
$this->items = $items; |
|
|
|
|
1974
|
|
|
} |
1975
|
|
|
|
1976
|
|
|
public function getItems() |
1977
|
|
|
{ |
1978
|
|
|
return $this->items; |
1979
|
|
|
} |
1980
|
|
|
|
1981
|
|
|
public function setKind($kind) |
1982
|
|
|
{ |
1983
|
|
|
$this->kind = $kind; |
1984
|
|
|
} |
1985
|
|
|
|
1986
|
|
|
public function getKind() |
1987
|
|
|
{ |
1988
|
|
|
return $this->kind; |
1989
|
|
|
} |
1990
|
|
|
|
1991
|
|
|
public function setNextLink($nextLink) |
1992
|
|
|
{ |
1993
|
|
|
$this->nextLink = $nextLink; |
1994
|
|
|
} |
1995
|
|
|
|
1996
|
|
|
public function getNextLink() |
1997
|
|
|
{ |
1998
|
|
|
return $this->nextLink; |
1999
|
|
|
} |
2000
|
|
|
|
2001
|
|
|
public function setNextPageToken($nextPageToken) |
2002
|
|
|
{ |
2003
|
|
|
$this->nextPageToken = $nextPageToken; |
2004
|
|
|
} |
2005
|
|
|
|
2006
|
|
|
public function getNextPageToken() |
2007
|
|
|
{ |
2008
|
|
|
return $this->nextPageToken; |
2009
|
|
|
} |
2010
|
|
|
|
2011
|
|
|
public function setTitle($title) |
2012
|
|
|
{ |
2013
|
|
|
$this->title = $title; |
2014
|
|
|
} |
2015
|
|
|
|
2016
|
|
|
public function getTitle() |
2017
|
|
|
{ |
2018
|
|
|
return $this->title; |
2019
|
|
|
} |
2020
|
|
|
|
2021
|
|
|
public function setUpdated($updated) |
2022
|
|
|
{ |
2023
|
|
|
$this->updated = $updated; |
2024
|
|
|
} |
2025
|
|
|
|
2026
|
|
|
public function getUpdated() |
2027
|
|
|
{ |
2028
|
|
|
return $this->updated; |
2029
|
|
|
} |
2030
|
|
|
} |
2031
|
|
|
|
2032
|
|
|
class Google_Service_Plus_CommentInReplyTo extends Google_Model |
2033
|
|
|
{ |
2034
|
|
|
public $id; |
2035
|
|
|
public $url; |
2036
|
|
|
|
2037
|
|
|
public function setId($id) |
2038
|
|
|
{ |
2039
|
|
|
$this->id = $id; |
2040
|
|
|
} |
2041
|
|
|
|
2042
|
|
|
public function getId() |
2043
|
|
|
{ |
2044
|
|
|
return $this->id; |
2045
|
|
|
} |
2046
|
|
|
|
2047
|
|
|
public function setUrl($url) |
2048
|
|
|
{ |
2049
|
|
|
$this->url = $url; |
2050
|
|
|
} |
2051
|
|
|
|
2052
|
|
|
public function getUrl() |
2053
|
|
|
{ |
2054
|
|
|
return $this->url; |
2055
|
|
|
} |
2056
|
|
|
} |
2057
|
|
|
|
2058
|
|
|
class Google_Service_Plus_CommentObject extends Google_Model |
2059
|
|
|
{ |
2060
|
|
|
public $content; |
2061
|
|
|
public $objectType; |
2062
|
|
|
public $originalContent; |
2063
|
|
|
|
2064
|
|
|
public function setContent($content) |
2065
|
|
|
{ |
2066
|
|
|
$this->content = $content; |
2067
|
|
|
} |
2068
|
|
|
|
2069
|
|
|
public function getContent() |
2070
|
|
|
{ |
2071
|
|
|
return $this->content; |
2072
|
|
|
} |
2073
|
|
|
|
2074
|
|
|
public function setObjectType($objectType) |
2075
|
|
|
{ |
2076
|
|
|
$this->objectType = $objectType; |
2077
|
|
|
} |
2078
|
|
|
|
2079
|
|
|
public function getObjectType() |
2080
|
|
|
{ |
2081
|
|
|
return $this->objectType; |
2082
|
|
|
} |
2083
|
|
|
|
2084
|
|
|
public function setOriginalContent($originalContent) |
2085
|
|
|
{ |
2086
|
|
|
$this->originalContent = $originalContent; |
2087
|
|
|
} |
2088
|
|
|
|
2089
|
|
|
public function getOriginalContent() |
2090
|
|
|
{ |
2091
|
|
|
return $this->originalContent; |
2092
|
|
|
} |
2093
|
|
|
} |
2094
|
|
|
|
2095
|
|
|
class Google_Service_Plus_CommentPlusoners extends Google_Model |
2096
|
|
|
{ |
2097
|
|
|
public $totalItems; |
2098
|
|
|
|
2099
|
|
|
public function setTotalItems($totalItems) |
2100
|
|
|
{ |
2101
|
|
|
$this->totalItems = $totalItems; |
2102
|
|
|
} |
2103
|
|
|
|
2104
|
|
|
public function getTotalItems() |
2105
|
|
|
{ |
2106
|
|
|
return $this->totalItems; |
2107
|
|
|
} |
2108
|
|
|
} |
2109
|
|
|
|
2110
|
|
|
class Google_Service_Plus_ItemScope extends Google_Collection |
2111
|
|
|
{ |
2112
|
|
|
protected $aboutType = 'Google_Service_Plus_ItemScope'; |
2113
|
|
|
protected $aboutDataType = ''; |
2114
|
|
|
public $additionalName; |
2115
|
|
|
protected $addressType = 'Google_Service_Plus_ItemScope'; |
2116
|
|
|
protected $addressDataType = ''; |
2117
|
|
|
public $addressCountry; |
2118
|
|
|
public $addressLocality; |
2119
|
|
|
public $addressRegion; |
2120
|
|
|
protected $associated_mediaType = 'Google_Service_Plus_ItemScope'; |
2121
|
|
|
protected $associated_mediaDataType = 'array'; |
2122
|
|
|
public $attendeeCount; |
2123
|
|
|
protected $attendeesType = 'Google_Service_Plus_ItemScope'; |
2124
|
|
|
protected $attendeesDataType = 'array'; |
2125
|
|
|
protected $audioType = 'Google_Service_Plus_ItemScope'; |
2126
|
|
|
protected $audioDataType = ''; |
2127
|
|
|
protected $authorType = 'Google_Service_Plus_ItemScope'; |
2128
|
|
|
protected $authorDataType = 'array'; |
2129
|
|
|
public $bestRating; |
2130
|
|
|
public $birthDate; |
2131
|
|
|
protected $byArtistType = 'Google_Service_Plus_ItemScope'; |
2132
|
|
|
protected $byArtistDataType = ''; |
2133
|
|
|
public $caption; |
2134
|
|
|
public $contentSize; |
2135
|
|
|
public $contentUrl; |
2136
|
|
|
protected $contributorType = 'Google_Service_Plus_ItemScope'; |
2137
|
|
|
protected $contributorDataType = 'array'; |
2138
|
|
|
public $dateCreated; |
2139
|
|
|
public $dateModified; |
2140
|
|
|
public $datePublished; |
2141
|
|
|
public $description; |
2142
|
|
|
public $duration; |
2143
|
|
|
public $embedUrl; |
2144
|
|
|
public $endDate; |
2145
|
|
|
public $familyName; |
2146
|
|
|
public $gender; |
2147
|
|
|
protected $geoType = 'Google_Service_Plus_ItemScope'; |
2148
|
|
|
protected $geoDataType = ''; |
2149
|
|
|
public $givenName; |
2150
|
|
|
public $height; |
2151
|
|
|
public $id; |
2152
|
|
|
public $image; |
2153
|
|
|
protected $inAlbumType = 'Google_Service_Plus_ItemScope'; |
2154
|
|
|
protected $inAlbumDataType = ''; |
2155
|
|
|
public $kind; |
2156
|
|
|
public $latitude; |
2157
|
|
|
protected $locationType = 'Google_Service_Plus_ItemScope'; |
2158
|
|
|
protected $locationDataType = ''; |
2159
|
|
|
public $longitude; |
2160
|
|
|
public $name; |
2161
|
|
|
protected $partOfTVSeriesType = 'Google_Service_Plus_ItemScope'; |
2162
|
|
|
protected $partOfTVSeriesDataType = ''; |
2163
|
|
|
protected $performersType = 'Google_Service_Plus_ItemScope'; |
2164
|
|
|
protected $performersDataType = 'array'; |
2165
|
|
|
public $playerType; |
2166
|
|
|
public $postOfficeBoxNumber; |
2167
|
|
|
public $postalCode; |
2168
|
|
|
public $ratingValue; |
2169
|
|
|
protected $reviewRatingType = 'Google_Service_Plus_ItemScope'; |
2170
|
|
|
protected $reviewRatingDataType = ''; |
2171
|
|
|
public $startDate; |
2172
|
|
|
public $streetAddress; |
2173
|
|
|
public $text; |
2174
|
|
|
protected $thumbnailType = 'Google_Service_Plus_ItemScope'; |
2175
|
|
|
protected $thumbnailDataType = ''; |
2176
|
|
|
public $thumbnailUrl; |
2177
|
|
|
public $tickerSymbol; |
2178
|
|
|
public $type; |
2179
|
|
|
public $url; |
2180
|
|
|
public $width; |
2181
|
|
|
public $worstRating; |
2182
|
|
|
|
2183
|
|
|
public function setAbout(Google_Service_Plus_ItemScope $about) |
2184
|
|
|
{ |
2185
|
|
|
$this->about = $about; |
|
|
|
|
2186
|
|
|
} |
2187
|
|
|
|
2188
|
|
|
public function getAbout() |
2189
|
|
|
{ |
2190
|
|
|
return $this->about; |
2191
|
|
|
} |
2192
|
|
|
|
2193
|
|
|
public function setAdditionalName($additionalName) |
2194
|
|
|
{ |
2195
|
|
|
$this->additionalName = $additionalName; |
2196
|
|
|
} |
2197
|
|
|
|
2198
|
|
|
public function getAdditionalName() |
2199
|
|
|
{ |
2200
|
|
|
return $this->additionalName; |
2201
|
|
|
} |
2202
|
|
|
|
2203
|
|
|
public function setAddress(Google_Service_Plus_ItemScope $address) |
2204
|
|
|
{ |
2205
|
|
|
$this->address = $address; |
|
|
|
|
2206
|
|
|
} |
2207
|
|
|
|
2208
|
|
|
public function getAddress() |
2209
|
|
|
{ |
2210
|
|
|
return $this->address; |
|
|
|
|
2211
|
|
|
} |
2212
|
|
|
|
2213
|
|
|
public function setAddressCountry($addressCountry) |
2214
|
|
|
{ |
2215
|
|
|
$this->addressCountry = $addressCountry; |
2216
|
|
|
} |
2217
|
|
|
|
2218
|
|
|
public function getAddressCountry() |
2219
|
|
|
{ |
2220
|
|
|
return $this->addressCountry; |
2221
|
|
|
} |
2222
|
|
|
|
2223
|
|
|
public function setAddressLocality($addressLocality) |
2224
|
|
|
{ |
2225
|
|
|
$this->addressLocality = $addressLocality; |
2226
|
|
|
} |
2227
|
|
|
|
2228
|
|
|
public function getAddressLocality() |
2229
|
|
|
{ |
2230
|
|
|
return $this->addressLocality; |
2231
|
|
|
} |
2232
|
|
|
|
2233
|
|
|
public function setAddressRegion($addressRegion) |
2234
|
|
|
{ |
2235
|
|
|
$this->addressRegion = $addressRegion; |
2236
|
|
|
} |
2237
|
|
|
|
2238
|
|
|
public function getAddressRegion() |
2239
|
|
|
{ |
2240
|
|
|
return $this->addressRegion; |
2241
|
|
|
} |
2242
|
|
|
|
2243
|
|
|
public function setAssociated_media($associated_media) |
2244
|
|
|
{ |
2245
|
|
|
$this->associated_media = $associated_media; |
|
|
|
|
2246
|
|
|
} |
2247
|
|
|
|
2248
|
|
|
public function getAssociated_media() |
2249
|
|
|
{ |
2250
|
|
|
return $this->associated_media; |
|
|
|
|
2251
|
|
|
} |
2252
|
|
|
|
2253
|
|
|
public function setAttendeeCount($attendeeCount) |
2254
|
|
|
{ |
2255
|
|
|
$this->attendeeCount = $attendeeCount; |
2256
|
|
|
} |
2257
|
|
|
|
2258
|
|
|
public function getAttendeeCount() |
2259
|
|
|
{ |
2260
|
|
|
return $this->attendeeCount; |
2261
|
|
|
} |
2262
|
|
|
|
2263
|
|
|
public function setAttendees($attendees) |
2264
|
|
|
{ |
2265
|
|
|
$this->attendees = $attendees; |
|
|
|
|
2266
|
|
|
} |
2267
|
|
|
|
2268
|
|
|
public function getAttendees() |
2269
|
|
|
{ |
2270
|
|
|
return $this->attendees; |
|
|
|
|
2271
|
|
|
} |
2272
|
|
|
|
2273
|
|
|
public function setAudio(Google_Service_Plus_ItemScope $audio) |
2274
|
|
|
{ |
2275
|
|
|
$this->audio = $audio; |
|
|
|
|
2276
|
|
|
} |
2277
|
|
|
|
2278
|
|
|
public function getAudio() |
2279
|
|
|
{ |
2280
|
|
|
return $this->audio; |
2281
|
|
|
} |
2282
|
|
|
|
2283
|
|
|
public function setAuthor($author) |
2284
|
|
|
{ |
2285
|
|
|
$this->author = $author; |
|
|
|
|
2286
|
|
|
} |
2287
|
|
|
|
2288
|
|
|
public function getAuthor() |
2289
|
|
|
{ |
2290
|
|
|
return $this->author; |
|
|
|
|
2291
|
|
|
} |
2292
|
|
|
|
2293
|
|
|
public function setBestRating($bestRating) |
2294
|
|
|
{ |
2295
|
|
|
$this->bestRating = $bestRating; |
2296
|
|
|
} |
2297
|
|
|
|
2298
|
|
|
public function getBestRating() |
2299
|
|
|
{ |
2300
|
|
|
return $this->bestRating; |
2301
|
|
|
} |
2302
|
|
|
|
2303
|
|
|
public function setBirthDate($birthDate) |
2304
|
|
|
{ |
2305
|
|
|
$this->birthDate = $birthDate; |
2306
|
|
|
} |
2307
|
|
|
|
2308
|
|
|
public function getBirthDate() |
2309
|
|
|
{ |
2310
|
|
|
return $this->birthDate; |
2311
|
|
|
} |
2312
|
|
|
|
2313
|
|
|
public function setByArtist(Google_Service_Plus_ItemScope $byArtist) |
2314
|
|
|
{ |
2315
|
|
|
$this->byArtist = $byArtist; |
|
|
|
|
2316
|
|
|
} |
2317
|
|
|
|
2318
|
|
|
public function getByArtist() |
2319
|
|
|
{ |
2320
|
|
|
return $this->byArtist; |
|
|
|
|
2321
|
|
|
} |
2322
|
|
|
|
2323
|
|
|
public function setCaption($caption) |
2324
|
|
|
{ |
2325
|
|
|
$this->caption = $caption; |
2326
|
|
|
} |
2327
|
|
|
|
2328
|
|
|
public function getCaption() |
2329
|
|
|
{ |
2330
|
|
|
return $this->caption; |
2331
|
|
|
} |
2332
|
|
|
|
2333
|
|
|
public function setContentSize($contentSize) |
2334
|
|
|
{ |
2335
|
|
|
$this->contentSize = $contentSize; |
2336
|
|
|
} |
2337
|
|
|
|
2338
|
|
|
public function getContentSize() |
2339
|
|
|
{ |
2340
|
|
|
return $this->contentSize; |
2341
|
|
|
} |
2342
|
|
|
|
2343
|
|
|
public function setContentUrl($contentUrl) |
2344
|
|
|
{ |
2345
|
|
|
$this->contentUrl = $contentUrl; |
2346
|
|
|
} |
2347
|
|
|
|
2348
|
|
|
public function getContentUrl() |
2349
|
|
|
{ |
2350
|
|
|
return $this->contentUrl; |
2351
|
|
|
} |
2352
|
|
|
|
2353
|
|
|
public function setContributor($contributor) |
2354
|
|
|
{ |
2355
|
|
|
$this->contributor = $contributor; |
|
|
|
|
2356
|
|
|
} |
2357
|
|
|
|
2358
|
|
|
public function getContributor() |
2359
|
|
|
{ |
2360
|
|
|
return $this->contributor; |
|
|
|
|
2361
|
|
|
} |
2362
|
|
|
|
2363
|
|
|
public function setDateCreated($dateCreated) |
2364
|
|
|
{ |
2365
|
|
|
$this->dateCreated = $dateCreated; |
2366
|
|
|
} |
2367
|
|
|
|
2368
|
|
|
public function getDateCreated() |
2369
|
|
|
{ |
2370
|
|
|
return $this->dateCreated; |
2371
|
|
|
} |
2372
|
|
|
|
2373
|
|
|
public function setDateModified($dateModified) |
2374
|
|
|
{ |
2375
|
|
|
$this->dateModified = $dateModified; |
2376
|
|
|
} |
2377
|
|
|
|
2378
|
|
|
public function getDateModified() |
2379
|
|
|
{ |
2380
|
|
|
return $this->dateModified; |
2381
|
|
|
} |
2382
|
|
|
|
2383
|
|
|
public function setDatePublished($datePublished) |
2384
|
|
|
{ |
2385
|
|
|
$this->datePublished = $datePublished; |
2386
|
|
|
} |
2387
|
|
|
|
2388
|
|
|
public function getDatePublished() |
2389
|
|
|
{ |
2390
|
|
|
return $this->datePublished; |
2391
|
|
|
} |
2392
|
|
|
|
2393
|
|
|
public function setDescription($description) |
2394
|
|
|
{ |
2395
|
|
|
$this->description = $description; |
2396
|
|
|
} |
2397
|
|
|
|
2398
|
|
|
public function getDescription() |
2399
|
|
|
{ |
2400
|
|
|
return $this->description; |
2401
|
|
|
} |
2402
|
|
|
|
2403
|
|
|
public function setDuration($duration) |
2404
|
|
|
{ |
2405
|
|
|
$this->duration = $duration; |
2406
|
|
|
} |
2407
|
|
|
|
2408
|
|
|
public function getDuration() |
2409
|
|
|
{ |
2410
|
|
|
return $this->duration; |
2411
|
|
|
} |
2412
|
|
|
|
2413
|
|
|
public function setEmbedUrl($embedUrl) |
2414
|
|
|
{ |
2415
|
|
|
$this->embedUrl = $embedUrl; |
2416
|
|
|
} |
2417
|
|
|
|
2418
|
|
|
public function getEmbedUrl() |
2419
|
|
|
{ |
2420
|
|
|
return $this->embedUrl; |
2421
|
|
|
} |
2422
|
|
|
|
2423
|
|
|
public function setEndDate($endDate) |
2424
|
|
|
{ |
2425
|
|
|
$this->endDate = $endDate; |
2426
|
|
|
} |
2427
|
|
|
|
2428
|
|
|
public function getEndDate() |
2429
|
|
|
{ |
2430
|
|
|
return $this->endDate; |
2431
|
|
|
} |
2432
|
|
|
|
2433
|
|
|
public function setFamilyName($familyName) |
2434
|
|
|
{ |
2435
|
|
|
$this->familyName = $familyName; |
2436
|
|
|
} |
2437
|
|
|
|
2438
|
|
|
public function getFamilyName() |
2439
|
|
|
{ |
2440
|
|
|
return $this->familyName; |
2441
|
|
|
} |
2442
|
|
|
|
2443
|
|
|
public function setGender($gender) |
2444
|
|
|
{ |
2445
|
|
|
$this->gender = $gender; |
2446
|
|
|
} |
2447
|
|
|
|
2448
|
|
|
public function getGender() |
2449
|
|
|
{ |
2450
|
|
|
return $this->gender; |
2451
|
|
|
} |
2452
|
|
|
|
2453
|
|
|
public function setGeo(Google_Service_Plus_ItemScope $geo) |
2454
|
|
|
{ |
2455
|
|
|
$this->geo = $geo; |
|
|
|
|
2456
|
|
|
} |
2457
|
|
|
|
2458
|
|
|
public function getGeo() |
2459
|
|
|
{ |
2460
|
|
|
return $this->geo; |
2461
|
|
|
} |
2462
|
|
|
|
2463
|
|
|
public function setGivenName($givenName) |
2464
|
|
|
{ |
2465
|
|
|
$this->givenName = $givenName; |
2466
|
|
|
} |
2467
|
|
|
|
2468
|
|
|
public function getGivenName() |
2469
|
|
|
{ |
2470
|
|
|
return $this->givenName; |
2471
|
|
|
} |
2472
|
|
|
|
2473
|
|
|
public function setHeight($height) |
2474
|
|
|
{ |
2475
|
|
|
$this->height = $height; |
2476
|
|
|
} |
2477
|
|
|
|
2478
|
|
|
public function getHeight() |
2479
|
|
|
{ |
2480
|
|
|
return $this->height; |
2481
|
|
|
} |
2482
|
|
|
|
2483
|
|
|
public function setId($id) |
2484
|
|
|
{ |
2485
|
|
|
$this->id = $id; |
2486
|
|
|
} |
2487
|
|
|
|
2488
|
|
|
public function getId() |
2489
|
|
|
{ |
2490
|
|
|
return $this->id; |
2491
|
|
|
} |
2492
|
|
|
|
2493
|
|
|
public function setImage($image) |
2494
|
|
|
{ |
2495
|
|
|
$this->image = $image; |
2496
|
|
|
} |
2497
|
|
|
|
2498
|
|
|
public function getImage() |
2499
|
|
|
{ |
2500
|
|
|
return $this->image; |
2501
|
|
|
} |
2502
|
|
|
|
2503
|
|
|
public function setInAlbum(Google_Service_Plus_ItemScope $inAlbum) |
2504
|
|
|
{ |
2505
|
|
|
$this->inAlbum = $inAlbum; |
|
|
|
|
2506
|
|
|
} |
2507
|
|
|
|
2508
|
|
|
public function getInAlbum() |
2509
|
|
|
{ |
2510
|
|
|
return $this->inAlbum; |
|
|
|
|
2511
|
|
|
} |
2512
|
|
|
|
2513
|
|
|
public function setKind($kind) |
2514
|
|
|
{ |
2515
|
|
|
$this->kind = $kind; |
2516
|
|
|
} |
2517
|
|
|
|
2518
|
|
|
public function getKind() |
2519
|
|
|
{ |
2520
|
|
|
return $this->kind; |
2521
|
|
|
} |
2522
|
|
|
|
2523
|
|
|
public function setLatitude($latitude) |
2524
|
|
|
{ |
2525
|
|
|
$this->latitude = $latitude; |
2526
|
|
|
} |
2527
|
|
|
|
2528
|
|
|
public function getLatitude() |
2529
|
|
|
{ |
2530
|
|
|
return $this->latitude; |
2531
|
|
|
} |
2532
|
|
|
|
2533
|
|
|
public function setLocation(Google_Service_Plus_ItemScope $location) |
2534
|
|
|
{ |
2535
|
|
|
$this->location = $location; |
|
|
|
|
2536
|
|
|
} |
2537
|
|
|
|
2538
|
|
|
public function getLocation() |
2539
|
|
|
{ |
2540
|
|
|
return $this->location; |
|
|
|
|
2541
|
|
|
} |
2542
|
|
|
|
2543
|
|
|
public function setLongitude($longitude) |
2544
|
|
|
{ |
2545
|
|
|
$this->longitude = $longitude; |
2546
|
|
|
} |
2547
|
|
|
|
2548
|
|
|
public function getLongitude() |
2549
|
|
|
{ |
2550
|
|
|
return $this->longitude; |
2551
|
|
|
} |
2552
|
|
|
|
2553
|
|
|
public function setName($name) |
2554
|
|
|
{ |
2555
|
|
|
$this->name = $name; |
2556
|
|
|
} |
2557
|
|
|
|
2558
|
|
|
public function getName() |
2559
|
|
|
{ |
2560
|
|
|
return $this->name; |
2561
|
|
|
} |
2562
|
|
|
|
2563
|
|
|
public function setPartOfTVSeries(Google_Service_Plus_ItemScope $partOfTVSeries) |
2564
|
|
|
{ |
2565
|
|
|
$this->partOfTVSeries = $partOfTVSeries; |
|
|
|
|
2566
|
|
|
} |
2567
|
|
|
|
2568
|
|
|
public function getPartOfTVSeries() |
2569
|
|
|
{ |
2570
|
|
|
return $this->partOfTVSeries; |
|
|
|
|
2571
|
|
|
} |
2572
|
|
|
|
2573
|
|
|
public function setPerformers($performers) |
2574
|
|
|
{ |
2575
|
|
|
$this->performers = $performers; |
|
|
|
|
2576
|
|
|
} |
2577
|
|
|
|
2578
|
|
|
public function getPerformers() |
2579
|
|
|
{ |
2580
|
|
|
return $this->performers; |
|
|
|
|
2581
|
|
|
} |
2582
|
|
|
|
2583
|
|
|
public function setPlayerType($playerType) |
2584
|
|
|
{ |
2585
|
|
|
$this->playerType = $playerType; |
2586
|
|
|
} |
2587
|
|
|
|
2588
|
|
|
public function getPlayerType() |
2589
|
|
|
{ |
2590
|
|
|
return $this->playerType; |
2591
|
|
|
} |
2592
|
|
|
|
2593
|
|
|
public function setPostOfficeBoxNumber($postOfficeBoxNumber) |
2594
|
|
|
{ |
2595
|
|
|
$this->postOfficeBoxNumber = $postOfficeBoxNumber; |
2596
|
|
|
} |
2597
|
|
|
|
2598
|
|
|
public function getPostOfficeBoxNumber() |
2599
|
|
|
{ |
2600
|
|
|
return $this->postOfficeBoxNumber; |
2601
|
|
|
} |
2602
|
|
|
|
2603
|
|
|
public function setPostalCode($postalCode) |
2604
|
|
|
{ |
2605
|
|
|
$this->postalCode = $postalCode; |
2606
|
|
|
} |
2607
|
|
|
|
2608
|
|
|
public function getPostalCode() |
2609
|
|
|
{ |
2610
|
|
|
return $this->postalCode; |
2611
|
|
|
} |
2612
|
|
|
|
2613
|
|
|
public function setRatingValue($ratingValue) |
2614
|
|
|
{ |
2615
|
|
|
$this->ratingValue = $ratingValue; |
2616
|
|
|
} |
2617
|
|
|
|
2618
|
|
|
public function getRatingValue() |
2619
|
|
|
{ |
2620
|
|
|
return $this->ratingValue; |
2621
|
|
|
} |
2622
|
|
|
|
2623
|
|
|
public function setReviewRating(Google_Service_Plus_ItemScope $reviewRating) |
2624
|
|
|
{ |
2625
|
|
|
$this->reviewRating = $reviewRating; |
|
|
|
|
2626
|
|
|
} |
2627
|
|
|
|
2628
|
|
|
public function getReviewRating() |
2629
|
|
|
{ |
2630
|
|
|
return $this->reviewRating; |
|
|
|
|
2631
|
|
|
} |
2632
|
|
|
|
2633
|
|
|
public function setStartDate($startDate) |
2634
|
|
|
{ |
2635
|
|
|
$this->startDate = $startDate; |
2636
|
|
|
} |
2637
|
|
|
|
2638
|
|
|
public function getStartDate() |
2639
|
|
|
{ |
2640
|
|
|
return $this->startDate; |
2641
|
|
|
} |
2642
|
|
|
|
2643
|
|
|
public function setStreetAddress($streetAddress) |
2644
|
|
|
{ |
2645
|
|
|
$this->streetAddress = $streetAddress; |
2646
|
|
|
} |
2647
|
|
|
|
2648
|
|
|
public function getStreetAddress() |
2649
|
|
|
{ |
2650
|
|
|
return $this->streetAddress; |
2651
|
|
|
} |
2652
|
|
|
|
2653
|
|
|
public function setText($text) |
2654
|
|
|
{ |
2655
|
|
|
$this->text = $text; |
2656
|
|
|
} |
2657
|
|
|
|
2658
|
|
|
public function getText() |
2659
|
|
|
{ |
2660
|
|
|
return $this->text; |
2661
|
|
|
} |
2662
|
|
|
|
2663
|
|
|
public function setThumbnail(Google_Service_Plus_ItemScope $thumbnail) |
2664
|
|
|
{ |
2665
|
|
|
$this->thumbnail = $thumbnail; |
|
|
|
|
2666
|
|
|
} |
2667
|
|
|
|
2668
|
|
|
public function getThumbnail() |
2669
|
|
|
{ |
2670
|
|
|
return $this->thumbnail; |
|
|
|
|
2671
|
|
|
} |
2672
|
|
|
|
2673
|
|
|
public function setThumbnailUrl($thumbnailUrl) |
2674
|
|
|
{ |
2675
|
|
|
$this->thumbnailUrl = $thumbnailUrl; |
2676
|
|
|
} |
2677
|
|
|
|
2678
|
|
|
public function getThumbnailUrl() |
2679
|
|
|
{ |
2680
|
|
|
return $this->thumbnailUrl; |
2681
|
|
|
} |
2682
|
|
|
|
2683
|
|
|
public function setTickerSymbol($tickerSymbol) |
2684
|
|
|
{ |
2685
|
|
|
$this->tickerSymbol = $tickerSymbol; |
2686
|
|
|
} |
2687
|
|
|
|
2688
|
|
|
public function getTickerSymbol() |
2689
|
|
|
{ |
2690
|
|
|
return $this->tickerSymbol; |
2691
|
|
|
} |
2692
|
|
|
|
2693
|
|
|
public function setType($type) |
2694
|
|
|
{ |
2695
|
|
|
$this->type = $type; |
2696
|
|
|
} |
2697
|
|
|
|
2698
|
|
|
public function getType() |
2699
|
|
|
{ |
2700
|
|
|
return $this->type; |
2701
|
|
|
} |
2702
|
|
|
|
2703
|
|
|
public function setUrl($url) |
2704
|
|
|
{ |
2705
|
|
|
$this->url = $url; |
2706
|
|
|
} |
2707
|
|
|
|
2708
|
|
|
public function getUrl() |
2709
|
|
|
{ |
2710
|
|
|
return $this->url; |
2711
|
|
|
} |
2712
|
|
|
|
2713
|
|
|
public function setWidth($width) |
2714
|
|
|
{ |
2715
|
|
|
$this->width = $width; |
2716
|
|
|
} |
2717
|
|
|
|
2718
|
|
|
public function getWidth() |
2719
|
|
|
{ |
2720
|
|
|
return $this->width; |
2721
|
|
|
} |
2722
|
|
|
|
2723
|
|
|
public function setWorstRating($worstRating) |
2724
|
|
|
{ |
2725
|
|
|
$this->worstRating = $worstRating; |
2726
|
|
|
} |
2727
|
|
|
|
2728
|
|
|
public function getWorstRating() |
2729
|
|
|
{ |
2730
|
|
|
return $this->worstRating; |
2731
|
|
|
} |
2732
|
|
|
} |
2733
|
|
|
|
2734
|
|
|
class Google_Service_Plus_Moment extends Google_Model |
2735
|
|
|
{ |
2736
|
|
|
public $id; |
2737
|
|
|
public $kind; |
2738
|
|
|
protected $resultType = 'Google_Service_Plus_ItemScope'; |
2739
|
|
|
protected $resultDataType = ''; |
2740
|
|
|
public $startDate; |
2741
|
|
|
protected $targetType = 'Google_Service_Plus_ItemScope'; |
2742
|
|
|
protected $targetDataType = ''; |
2743
|
|
|
public $type; |
2744
|
|
|
|
2745
|
|
|
public function setId($id) |
2746
|
|
|
{ |
2747
|
|
|
$this->id = $id; |
2748
|
|
|
} |
2749
|
|
|
|
2750
|
|
|
public function getId() |
2751
|
|
|
{ |
2752
|
|
|
return $this->id; |
2753
|
|
|
} |
2754
|
|
|
|
2755
|
|
|
public function setKind($kind) |
2756
|
|
|
{ |
2757
|
|
|
$this->kind = $kind; |
2758
|
|
|
} |
2759
|
|
|
|
2760
|
|
|
public function getKind() |
2761
|
|
|
{ |
2762
|
|
|
return $this->kind; |
2763
|
|
|
} |
2764
|
|
|
|
2765
|
|
|
public function setResult(Google_Service_Plus_ItemScope $result) |
2766
|
|
|
{ |
2767
|
|
|
$this->result = $result; |
|
|
|
|
2768
|
|
|
} |
2769
|
|
|
|
2770
|
|
|
public function getResult() |
2771
|
|
|
{ |
2772
|
|
|
return $this->result; |
|
|
|
|
2773
|
|
|
} |
2774
|
|
|
|
2775
|
|
|
public function setStartDate($startDate) |
2776
|
|
|
{ |
2777
|
|
|
$this->startDate = $startDate; |
2778
|
|
|
} |
2779
|
|
|
|
2780
|
|
|
public function getStartDate() |
2781
|
|
|
{ |
2782
|
|
|
return $this->startDate; |
2783
|
|
|
} |
2784
|
|
|
|
2785
|
|
|
public function setTarget(Google_Service_Plus_ItemScope $target) |
2786
|
|
|
{ |
2787
|
|
|
$this->target = $target; |
|
|
|
|
2788
|
|
|
} |
2789
|
|
|
|
2790
|
|
|
public function getTarget() |
2791
|
|
|
{ |
2792
|
|
|
return $this->target; |
|
|
|
|
2793
|
|
|
} |
2794
|
|
|
|
2795
|
|
|
public function setType($type) |
2796
|
|
|
{ |
2797
|
|
|
$this->type = $type; |
2798
|
|
|
} |
2799
|
|
|
|
2800
|
|
|
public function getType() |
2801
|
|
|
{ |
2802
|
|
|
return $this->type; |
2803
|
|
|
} |
2804
|
|
|
} |
2805
|
|
|
|
2806
|
|
View Code Duplication |
class Google_Service_Plus_MomentsFeed extends Google_Collection |
|
|
|
|
2807
|
|
|
{ |
2808
|
|
|
public $etag; |
2809
|
|
|
protected $itemsType = 'Google_Service_Plus_Moment'; |
2810
|
|
|
protected $itemsDataType = 'array'; |
2811
|
|
|
public $kind; |
2812
|
|
|
public $nextLink; |
2813
|
|
|
public $nextPageToken; |
2814
|
|
|
public $selfLink; |
2815
|
|
|
public $title; |
2816
|
|
|
public $updated; |
2817
|
|
|
|
2818
|
|
|
public function setEtag($etag) |
2819
|
|
|
{ |
2820
|
|
|
$this->etag = $etag; |
2821
|
|
|
} |
2822
|
|
|
|
2823
|
|
|
public function getEtag() |
2824
|
|
|
{ |
2825
|
|
|
return $this->etag; |
2826
|
|
|
} |
2827
|
|
|
|
2828
|
|
|
public function setItems($items) |
2829
|
|
|
{ |
2830
|
|
|
$this->items = $items; |
|
|
|
|
2831
|
|
|
} |
2832
|
|
|
|
2833
|
|
|
public function getItems() |
2834
|
|
|
{ |
2835
|
|
|
return $this->items; |
2836
|
|
|
} |
2837
|
|
|
|
2838
|
|
|
public function setKind($kind) |
2839
|
|
|
{ |
2840
|
|
|
$this->kind = $kind; |
2841
|
|
|
} |
2842
|
|
|
|
2843
|
|
|
public function getKind() |
2844
|
|
|
{ |
2845
|
|
|
return $this->kind; |
2846
|
|
|
} |
2847
|
|
|
|
2848
|
|
|
public function setNextLink($nextLink) |
2849
|
|
|
{ |
2850
|
|
|
$this->nextLink = $nextLink; |
2851
|
|
|
} |
2852
|
|
|
|
2853
|
|
|
public function getNextLink() |
2854
|
|
|
{ |
2855
|
|
|
return $this->nextLink; |
2856
|
|
|
} |
2857
|
|
|
|
2858
|
|
|
public function setNextPageToken($nextPageToken) |
2859
|
|
|
{ |
2860
|
|
|
$this->nextPageToken = $nextPageToken; |
2861
|
|
|
} |
2862
|
|
|
|
2863
|
|
|
public function getNextPageToken() |
2864
|
|
|
{ |
2865
|
|
|
return $this->nextPageToken; |
2866
|
|
|
} |
2867
|
|
|
|
2868
|
|
|
public function setSelfLink($selfLink) |
2869
|
|
|
{ |
2870
|
|
|
$this->selfLink = $selfLink; |
2871
|
|
|
} |
2872
|
|
|
|
2873
|
|
|
public function getSelfLink() |
2874
|
|
|
{ |
2875
|
|
|
return $this->selfLink; |
2876
|
|
|
} |
2877
|
|
|
|
2878
|
|
|
public function setTitle($title) |
2879
|
|
|
{ |
2880
|
|
|
$this->title = $title; |
2881
|
|
|
} |
2882
|
|
|
|
2883
|
|
|
public function getTitle() |
2884
|
|
|
{ |
2885
|
|
|
return $this->title; |
2886
|
|
|
} |
2887
|
|
|
|
2888
|
|
|
public function setUpdated($updated) |
2889
|
|
|
{ |
2890
|
|
|
$this->updated = $updated; |
2891
|
|
|
} |
2892
|
|
|
|
2893
|
|
|
public function getUpdated() |
2894
|
|
|
{ |
2895
|
|
|
return $this->updated; |
2896
|
|
|
} |
2897
|
|
|
} |
2898
|
|
|
|
2899
|
|
|
class Google_Service_Plus_PeopleFeed extends Google_Collection |
2900
|
|
|
{ |
2901
|
|
|
public $etag; |
2902
|
|
|
protected $itemsType = 'Google_Service_Plus_Person'; |
2903
|
|
|
protected $itemsDataType = 'array'; |
2904
|
|
|
public $kind; |
2905
|
|
|
public $nextPageToken; |
2906
|
|
|
public $selfLink; |
2907
|
|
|
public $title; |
2908
|
|
|
public $totalItems; |
2909
|
|
|
|
2910
|
|
|
public function setEtag($etag) |
2911
|
|
|
{ |
2912
|
|
|
$this->etag = $etag; |
2913
|
|
|
} |
2914
|
|
|
|
2915
|
|
|
public function getEtag() |
2916
|
|
|
{ |
2917
|
|
|
return $this->etag; |
2918
|
|
|
} |
2919
|
|
|
|
2920
|
|
|
public function setItems($items) |
2921
|
|
|
{ |
2922
|
|
|
$this->items = $items; |
|
|
|
|
2923
|
|
|
} |
2924
|
|
|
|
2925
|
|
|
public function getItems() |
2926
|
|
|
{ |
2927
|
|
|
return $this->items; |
2928
|
|
|
} |
2929
|
|
|
|
2930
|
|
|
public function setKind($kind) |
2931
|
|
|
{ |
2932
|
|
|
$this->kind = $kind; |
2933
|
|
|
} |
2934
|
|
|
|
2935
|
|
|
public function getKind() |
2936
|
|
|
{ |
2937
|
|
|
return $this->kind; |
2938
|
|
|
} |
2939
|
|
|
|
2940
|
|
|
public function setNextPageToken($nextPageToken) |
2941
|
|
|
{ |
2942
|
|
|
$this->nextPageToken = $nextPageToken; |
2943
|
|
|
} |
2944
|
|
|
|
2945
|
|
|
public function getNextPageToken() |
2946
|
|
|
{ |
2947
|
|
|
return $this->nextPageToken; |
2948
|
|
|
} |
2949
|
|
|
|
2950
|
|
|
public function setSelfLink($selfLink) |
2951
|
|
|
{ |
2952
|
|
|
$this->selfLink = $selfLink; |
2953
|
|
|
} |
2954
|
|
|
|
2955
|
|
|
public function getSelfLink() |
2956
|
|
|
{ |
2957
|
|
|
return $this->selfLink; |
2958
|
|
|
} |
2959
|
|
|
|
2960
|
|
|
public function setTitle($title) |
2961
|
|
|
{ |
2962
|
|
|
$this->title = $title; |
2963
|
|
|
} |
2964
|
|
|
|
2965
|
|
|
public function getTitle() |
2966
|
|
|
{ |
2967
|
|
|
return $this->title; |
2968
|
|
|
} |
2969
|
|
|
|
2970
|
|
|
public function setTotalItems($totalItems) |
2971
|
|
|
{ |
2972
|
|
|
$this->totalItems = $totalItems; |
2973
|
|
|
} |
2974
|
|
|
|
2975
|
|
|
public function getTotalItems() |
2976
|
|
|
{ |
2977
|
|
|
return $this->totalItems; |
2978
|
|
|
} |
2979
|
|
|
} |
2980
|
|
|
|
2981
|
|
|
class Google_Service_Plus_Person extends Google_Collection |
2982
|
|
|
{ |
2983
|
|
|
public $aboutMe; |
2984
|
|
|
protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange'; |
2985
|
|
|
protected $ageRangeDataType = ''; |
2986
|
|
|
public $birthday; |
2987
|
|
|
public $braggingRights; |
2988
|
|
|
public $circledByCount; |
2989
|
|
|
protected $coverType = 'Google_Service_Plus_PersonCover'; |
2990
|
|
|
protected $coverDataType = ''; |
2991
|
|
|
public $currentLocation; |
2992
|
|
|
public $displayName; |
2993
|
|
|
public $etag; |
2994
|
|
|
public $gender; |
2995
|
|
|
public $id; |
2996
|
|
|
protected $imageType = 'Google_Service_Plus_PersonImage'; |
2997
|
|
|
protected $imageDataType = ''; |
2998
|
|
|
public $isPlusUser; |
2999
|
|
|
public $kind; |
3000
|
|
|
public $language; |
3001
|
|
|
protected $nameType = 'Google_Service_Plus_PersonName'; |
3002
|
|
|
protected $nameDataType = ''; |
3003
|
|
|
public $nickname; |
3004
|
|
|
public $objectType; |
3005
|
|
|
protected $organizationsType = 'Google_Service_Plus_PersonOrganizations'; |
3006
|
|
|
protected $organizationsDataType = 'array'; |
3007
|
|
|
protected $placesLivedType = 'Google_Service_Plus_PersonPlacesLived'; |
3008
|
|
|
protected $placesLivedDataType = 'array'; |
3009
|
|
|
public $plusOneCount; |
3010
|
|
|
public $relationshipStatus; |
3011
|
|
|
public $tagline; |
3012
|
|
|
public $url; |
3013
|
|
|
protected $urlsType = 'Google_Service_Plus_PersonUrls'; |
3014
|
|
|
protected $urlsDataType = 'array'; |
3015
|
|
|
public $verified; |
3016
|
|
|
|
3017
|
|
|
public function setAboutMe($aboutMe) |
3018
|
|
|
{ |
3019
|
|
|
$this->aboutMe = $aboutMe; |
3020
|
|
|
} |
3021
|
|
|
|
3022
|
|
|
public function getAboutMe() |
3023
|
|
|
{ |
3024
|
|
|
return $this->aboutMe; |
3025
|
|
|
} |
3026
|
|
|
|
3027
|
|
|
public function setAgeRange(Google_Service_Plus_PersonAgeRange $ageRange) |
3028
|
|
|
{ |
3029
|
|
|
$this->ageRange = $ageRange; |
|
|
|
|
3030
|
|
|
} |
3031
|
|
|
|
3032
|
|
|
public function getAgeRange() |
3033
|
|
|
{ |
3034
|
|
|
return $this->ageRange; |
|
|
|
|
3035
|
|
|
} |
3036
|
|
|
|
3037
|
|
|
public function setBirthday($birthday) |
3038
|
|
|
{ |
3039
|
|
|
$this->birthday = $birthday; |
3040
|
|
|
} |
3041
|
|
|
|
3042
|
|
|
public function getBirthday() |
3043
|
|
|
{ |
3044
|
|
|
return $this->birthday; |
3045
|
|
|
} |
3046
|
|
|
|
3047
|
|
|
public function setBraggingRights($braggingRights) |
3048
|
|
|
{ |
3049
|
|
|
$this->braggingRights = $braggingRights; |
3050
|
|
|
} |
3051
|
|
|
|
3052
|
|
|
public function getBraggingRights() |
3053
|
|
|
{ |
3054
|
|
|
return $this->braggingRights; |
3055
|
|
|
} |
3056
|
|
|
|
3057
|
|
|
public function setCircledByCount($circledByCount) |
3058
|
|
|
{ |
3059
|
|
|
$this->circledByCount = $circledByCount; |
3060
|
|
|
} |
3061
|
|
|
|
3062
|
|
|
public function getCircledByCount() |
3063
|
|
|
{ |
3064
|
|
|
return $this->circledByCount; |
3065
|
|
|
} |
3066
|
|
|
|
3067
|
|
|
public function setCover(Google_Service_Plus_PersonCover $cover) |
3068
|
|
|
{ |
3069
|
|
|
$this->cover = $cover; |
|
|
|
|
3070
|
|
|
} |
3071
|
|
|
|
3072
|
|
|
public function getCover() |
3073
|
|
|
{ |
3074
|
|
|
return $this->cover; |
3075
|
|
|
} |
3076
|
|
|
|
3077
|
|
|
public function setCurrentLocation($currentLocation) |
3078
|
|
|
{ |
3079
|
|
|
$this->currentLocation = $currentLocation; |
3080
|
|
|
} |
3081
|
|
|
|
3082
|
|
|
public function getCurrentLocation() |
3083
|
|
|
{ |
3084
|
|
|
return $this->currentLocation; |
3085
|
|
|
} |
3086
|
|
|
|
3087
|
|
|
public function setDisplayName($displayName) |
3088
|
|
|
{ |
3089
|
|
|
$this->displayName = $displayName; |
3090
|
|
|
} |
3091
|
|
|
|
3092
|
|
|
public function getDisplayName() |
3093
|
|
|
{ |
3094
|
|
|
return $this->displayName; |
3095
|
|
|
} |
3096
|
|
|
|
3097
|
|
|
public function setEtag($etag) |
3098
|
|
|
{ |
3099
|
|
|
$this->etag = $etag; |
3100
|
|
|
} |
3101
|
|
|
|
3102
|
|
|
public function getEtag() |
3103
|
|
|
{ |
3104
|
|
|
return $this->etag; |
3105
|
|
|
} |
3106
|
|
|
|
3107
|
|
|
public function setGender($gender) |
3108
|
|
|
{ |
3109
|
|
|
$this->gender = $gender; |
3110
|
|
|
} |
3111
|
|
|
|
3112
|
|
|
public function getGender() |
3113
|
|
|
{ |
3114
|
|
|
return $this->gender; |
3115
|
|
|
} |
3116
|
|
|
|
3117
|
|
|
public function setId($id) |
3118
|
|
|
{ |
3119
|
|
|
$this->id = $id; |
3120
|
|
|
} |
3121
|
|
|
|
3122
|
|
|
public function getId() |
3123
|
|
|
{ |
3124
|
|
|
return $this->id; |
3125
|
|
|
} |
3126
|
|
|
|
3127
|
|
|
public function setImage(Google_Service_Plus_PersonImage $image) |
3128
|
|
|
{ |
3129
|
|
|
$this->image = $image; |
|
|
|
|
3130
|
|
|
} |
3131
|
|
|
|
3132
|
|
|
public function getImage() |
3133
|
|
|
{ |
3134
|
|
|
return $this->image; |
3135
|
|
|
} |
3136
|
|
|
|
3137
|
|
|
public function setIsPlusUser($isPlusUser) |
3138
|
|
|
{ |
3139
|
|
|
$this->isPlusUser = $isPlusUser; |
3140
|
|
|
} |
3141
|
|
|
|
3142
|
|
|
public function getIsPlusUser() |
3143
|
|
|
{ |
3144
|
|
|
return $this->isPlusUser; |
3145
|
|
|
} |
3146
|
|
|
|
3147
|
|
|
public function setKind($kind) |
3148
|
|
|
{ |
3149
|
|
|
$this->kind = $kind; |
3150
|
|
|
} |
3151
|
|
|
|
3152
|
|
|
public function getKind() |
3153
|
|
|
{ |
3154
|
|
|
return $this->kind; |
3155
|
|
|
} |
3156
|
|
|
|
3157
|
|
|
public function setLanguage($language) |
3158
|
|
|
{ |
3159
|
|
|
$this->language = $language; |
3160
|
|
|
} |
3161
|
|
|
|
3162
|
|
|
public function getLanguage() |
3163
|
|
|
{ |
3164
|
|
|
return $this->language; |
3165
|
|
|
} |
3166
|
|
|
|
3167
|
|
|
public function setName(Google_Service_Plus_PersonName $name) |
3168
|
|
|
{ |
3169
|
|
|
$this->name = $name; |
|
|
|
|
3170
|
|
|
} |
3171
|
|
|
|
3172
|
|
|
public function getName() |
3173
|
|
|
{ |
3174
|
|
|
return $this->name; |
3175
|
|
|
} |
3176
|
|
|
|
3177
|
|
|
public function setNickname($nickname) |
3178
|
|
|
{ |
3179
|
|
|
$this->nickname = $nickname; |
3180
|
|
|
} |
3181
|
|
|
|
3182
|
|
|
public function getNickname() |
3183
|
|
|
{ |
3184
|
|
|
return $this->nickname; |
3185
|
|
|
} |
3186
|
|
|
|
3187
|
|
|
public function setObjectType($objectType) |
3188
|
|
|
{ |
3189
|
|
|
$this->objectType = $objectType; |
3190
|
|
|
} |
3191
|
|
|
|
3192
|
|
|
public function getObjectType() |
3193
|
|
|
{ |
3194
|
|
|
return $this->objectType; |
3195
|
|
|
} |
3196
|
|
|
|
3197
|
|
|
public function setOrganizations($organizations) |
3198
|
|
|
{ |
3199
|
|
|
$this->organizations = $organizations; |
|
|
|
|
3200
|
|
|
} |
3201
|
|
|
|
3202
|
|
|
public function getOrganizations() |
3203
|
|
|
{ |
3204
|
|
|
return $this->organizations; |
|
|
|
|
3205
|
|
|
} |
3206
|
|
|
|
3207
|
|
|
public function setPlacesLived($placesLived) |
3208
|
|
|
{ |
3209
|
|
|
$this->placesLived = $placesLived; |
|
|
|
|
3210
|
|
|
} |
3211
|
|
|
|
3212
|
|
|
public function getPlacesLived() |
3213
|
|
|
{ |
3214
|
|
|
return $this->placesLived; |
|
|
|
|
3215
|
|
|
} |
3216
|
|
|
|
3217
|
|
|
public function setPlusOneCount($plusOneCount) |
3218
|
|
|
{ |
3219
|
|
|
$this->plusOneCount = $plusOneCount; |
3220
|
|
|
} |
3221
|
|
|
|
3222
|
|
|
public function getPlusOneCount() |
3223
|
|
|
{ |
3224
|
|
|
return $this->plusOneCount; |
3225
|
|
|
} |
3226
|
|
|
|
3227
|
|
|
public function setRelationshipStatus($relationshipStatus) |
3228
|
|
|
{ |
3229
|
|
|
$this->relationshipStatus = $relationshipStatus; |
3230
|
|
|
} |
3231
|
|
|
|
3232
|
|
|
public function getRelationshipStatus() |
3233
|
|
|
{ |
3234
|
|
|
return $this->relationshipStatus; |
3235
|
|
|
} |
3236
|
|
|
|
3237
|
|
|
public function setTagline($tagline) |
3238
|
|
|
{ |
3239
|
|
|
$this->tagline = $tagline; |
3240
|
|
|
} |
3241
|
|
|
|
3242
|
|
|
public function getTagline() |
3243
|
|
|
{ |
3244
|
|
|
return $this->tagline; |
3245
|
|
|
} |
3246
|
|
|
|
3247
|
|
|
public function setUrl($url) |
3248
|
|
|
{ |
3249
|
|
|
$this->url = $url; |
3250
|
|
|
} |
3251
|
|
|
|
3252
|
|
|
public function getUrl() |
3253
|
|
|
{ |
3254
|
|
|
return $this->url; |
3255
|
|
|
} |
3256
|
|
|
|
3257
|
|
|
public function setUrls($urls) |
3258
|
|
|
{ |
3259
|
|
|
$this->urls = $urls; |
|
|
|
|
3260
|
|
|
} |
3261
|
|
|
|
3262
|
|
|
public function getUrls() |
3263
|
|
|
{ |
3264
|
|
|
return $this->urls; |
3265
|
|
|
} |
3266
|
|
|
|
3267
|
|
|
public function setVerified($verified) |
3268
|
|
|
{ |
3269
|
|
|
$this->verified = $verified; |
3270
|
|
|
} |
3271
|
|
|
|
3272
|
|
|
public function getVerified() |
3273
|
|
|
{ |
3274
|
|
|
return $this->verified; |
3275
|
|
|
} |
3276
|
|
|
} |
3277
|
|
|
|
3278
|
|
|
class Google_Service_Plus_PersonAgeRange extends Google_Model |
3279
|
|
|
{ |
3280
|
|
|
public $max; |
3281
|
|
|
public $min; |
3282
|
|
|
|
3283
|
|
|
public function setMax($max) |
3284
|
|
|
{ |
3285
|
|
|
$this->max = $max; |
3286
|
|
|
} |
3287
|
|
|
|
3288
|
|
|
public function getMax() |
3289
|
|
|
{ |
3290
|
|
|
return $this->max; |
3291
|
|
|
} |
3292
|
|
|
|
3293
|
|
|
public function setMin($min) |
3294
|
|
|
{ |
3295
|
|
|
$this->min = $min; |
3296
|
|
|
} |
3297
|
|
|
|
3298
|
|
|
public function getMin() |
3299
|
|
|
{ |
3300
|
|
|
return $this->min; |
3301
|
|
|
} |
3302
|
|
|
} |
3303
|
|
|
|
3304
|
|
|
class Google_Service_Plus_PersonCover extends Google_Model |
3305
|
|
|
{ |
3306
|
|
|
protected $coverInfoType = 'Google_Service_Plus_PersonCoverCoverInfo'; |
3307
|
|
|
protected $coverInfoDataType = ''; |
3308
|
|
|
protected $coverPhotoType = 'Google_Service_Plus_PersonCoverCoverPhoto'; |
3309
|
|
|
protected $coverPhotoDataType = ''; |
3310
|
|
|
public $layout; |
3311
|
|
|
|
3312
|
|
|
public function setCoverInfo(Google_Service_Plus_PersonCoverCoverInfo $coverInfo) |
3313
|
|
|
{ |
3314
|
|
|
$this->coverInfo = $coverInfo; |
|
|
|
|
3315
|
|
|
} |
3316
|
|
|
|
3317
|
|
|
public function getCoverInfo() |
3318
|
|
|
{ |
3319
|
|
|
return $this->coverInfo; |
|
|
|
|
3320
|
|
|
} |
3321
|
|
|
|
3322
|
|
|
public function setCoverPhoto(Google_Service_Plus_PersonCoverCoverPhoto $coverPhoto) |
3323
|
|
|
{ |
3324
|
|
|
$this->coverPhoto = $coverPhoto; |
|
|
|
|
3325
|
|
|
} |
3326
|
|
|
|
3327
|
|
|
public function getCoverPhoto() |
3328
|
|
|
{ |
3329
|
|
|
return $this->coverPhoto; |
|
|
|
|
3330
|
|
|
} |
3331
|
|
|
|
3332
|
|
|
public function setLayout($layout) |
3333
|
|
|
{ |
3334
|
|
|
$this->layout = $layout; |
3335
|
|
|
} |
3336
|
|
|
|
3337
|
|
|
public function getLayout() |
3338
|
|
|
{ |
3339
|
|
|
return $this->layout; |
3340
|
|
|
} |
3341
|
|
|
} |
3342
|
|
|
|
3343
|
|
|
class Google_Service_Plus_PersonCoverCoverInfo extends Google_Model |
3344
|
|
|
{ |
3345
|
|
|
public $leftImageOffset; |
3346
|
|
|
public $topImageOffset; |
3347
|
|
|
|
3348
|
|
|
public function setLeftImageOffset($leftImageOffset) |
3349
|
|
|
{ |
3350
|
|
|
$this->leftImageOffset = $leftImageOffset; |
3351
|
|
|
} |
3352
|
|
|
|
3353
|
|
|
public function getLeftImageOffset() |
3354
|
|
|
{ |
3355
|
|
|
return $this->leftImageOffset; |
3356
|
|
|
} |
3357
|
|
|
|
3358
|
|
|
public function setTopImageOffset($topImageOffset) |
3359
|
|
|
{ |
3360
|
|
|
$this->topImageOffset = $topImageOffset; |
3361
|
|
|
} |
3362
|
|
|
|
3363
|
|
|
public function getTopImageOffset() |
3364
|
|
|
{ |
3365
|
|
|
return $this->topImageOffset; |
3366
|
|
|
} |
3367
|
|
|
} |
3368
|
|
|
|
3369
|
|
|
class Google_Service_Plus_PersonCoverCoverPhoto extends Google_Model |
3370
|
|
|
{ |
3371
|
|
|
public $height; |
3372
|
|
|
public $url; |
3373
|
|
|
public $width; |
3374
|
|
|
|
3375
|
|
|
public function setHeight($height) |
3376
|
|
|
{ |
3377
|
|
|
$this->height = $height; |
3378
|
|
|
} |
3379
|
|
|
|
3380
|
|
|
public function getHeight() |
3381
|
|
|
{ |
3382
|
|
|
return $this->height; |
3383
|
|
|
} |
3384
|
|
|
|
3385
|
|
|
public function setUrl($url) |
3386
|
|
|
{ |
3387
|
|
|
$this->url = $url; |
3388
|
|
|
} |
3389
|
|
|
|
3390
|
|
|
public function getUrl() |
3391
|
|
|
{ |
3392
|
|
|
return $this->url; |
3393
|
|
|
} |
3394
|
|
|
|
3395
|
|
|
public function setWidth($width) |
3396
|
|
|
{ |
3397
|
|
|
$this->width = $width; |
3398
|
|
|
} |
3399
|
|
|
|
3400
|
|
|
public function getWidth() |
3401
|
|
|
{ |
3402
|
|
|
return $this->width; |
3403
|
|
|
} |
3404
|
|
|
} |
3405
|
|
|
|
3406
|
|
|
class Google_Service_Plus_PersonImage extends Google_Model |
3407
|
|
|
{ |
3408
|
|
|
public $url; |
3409
|
|
|
|
3410
|
|
|
public function setUrl($url) |
3411
|
|
|
{ |
3412
|
|
|
$this->url = $url; |
3413
|
|
|
} |
3414
|
|
|
|
3415
|
|
|
public function getUrl() |
3416
|
|
|
{ |
3417
|
|
|
return $this->url; |
3418
|
|
|
} |
3419
|
|
|
} |
3420
|
|
|
|
3421
|
|
|
class Google_Service_Plus_PersonName extends Google_Model |
3422
|
|
|
{ |
3423
|
|
|
public $familyName; |
3424
|
|
|
public $formatted; |
3425
|
|
|
public $givenName; |
3426
|
|
|
public $honorificPrefix; |
3427
|
|
|
public $honorificSuffix; |
3428
|
|
|
public $middleName; |
3429
|
|
|
|
3430
|
|
|
public function setFamilyName($familyName) |
3431
|
|
|
{ |
3432
|
|
|
$this->familyName = $familyName; |
3433
|
|
|
} |
3434
|
|
|
|
3435
|
|
|
public function getFamilyName() |
3436
|
|
|
{ |
3437
|
|
|
return $this->familyName; |
3438
|
|
|
} |
3439
|
|
|
|
3440
|
|
|
public function setFormatted($formatted) |
3441
|
|
|
{ |
3442
|
|
|
$this->formatted = $formatted; |
3443
|
|
|
} |
3444
|
|
|
|
3445
|
|
|
public function getFormatted() |
3446
|
|
|
{ |
3447
|
|
|
return $this->formatted; |
3448
|
|
|
} |
3449
|
|
|
|
3450
|
|
|
public function setGivenName($givenName) |
3451
|
|
|
{ |
3452
|
|
|
$this->givenName = $givenName; |
3453
|
|
|
} |
3454
|
|
|
|
3455
|
|
|
public function getGivenName() |
3456
|
|
|
{ |
3457
|
|
|
return $this->givenName; |
3458
|
|
|
} |
3459
|
|
|
|
3460
|
|
|
public function setHonorificPrefix($honorificPrefix) |
3461
|
|
|
{ |
3462
|
|
|
$this->honorificPrefix = $honorificPrefix; |
3463
|
|
|
} |
3464
|
|
|
|
3465
|
|
|
public function getHonorificPrefix() |
3466
|
|
|
{ |
3467
|
|
|
return $this->honorificPrefix; |
3468
|
|
|
} |
3469
|
|
|
|
3470
|
|
|
public function setHonorificSuffix($honorificSuffix) |
3471
|
|
|
{ |
3472
|
|
|
$this->honorificSuffix = $honorificSuffix; |
3473
|
|
|
} |
3474
|
|
|
|
3475
|
|
|
public function getHonorificSuffix() |
3476
|
|
|
{ |
3477
|
|
|
return $this->honorificSuffix; |
3478
|
|
|
} |
3479
|
|
|
|
3480
|
|
|
public function setMiddleName($middleName) |
3481
|
|
|
{ |
3482
|
|
|
$this->middleName = $middleName; |
3483
|
|
|
} |
3484
|
|
|
|
3485
|
|
|
public function getMiddleName() |
3486
|
|
|
{ |
3487
|
|
|
return $this->middleName; |
3488
|
|
|
} |
3489
|
|
|
} |
3490
|
|
|
|
3491
|
|
|
class Google_Service_Plus_PersonOrganizations extends Google_Model |
3492
|
|
|
{ |
3493
|
|
|
public $department; |
3494
|
|
|
public $description; |
3495
|
|
|
public $endDate; |
3496
|
|
|
public $location; |
3497
|
|
|
public $name; |
3498
|
|
|
public $primary; |
3499
|
|
|
public $startDate; |
3500
|
|
|
public $title; |
3501
|
|
|
public $type; |
3502
|
|
|
|
3503
|
|
|
public function setDepartment($department) |
3504
|
|
|
{ |
3505
|
|
|
$this->department = $department; |
3506
|
|
|
} |
3507
|
|
|
|
3508
|
|
|
public function getDepartment() |
3509
|
|
|
{ |
3510
|
|
|
return $this->department; |
3511
|
|
|
} |
3512
|
|
|
|
3513
|
|
|
public function setDescription($description) |
3514
|
|
|
{ |
3515
|
|
|
$this->description = $description; |
3516
|
|
|
} |
3517
|
|
|
|
3518
|
|
|
public function getDescription() |
3519
|
|
|
{ |
3520
|
|
|
return $this->description; |
3521
|
|
|
} |
3522
|
|
|
|
3523
|
|
|
public function setEndDate($endDate) |
3524
|
|
|
{ |
3525
|
|
|
$this->endDate = $endDate; |
3526
|
|
|
} |
3527
|
|
|
|
3528
|
|
|
public function getEndDate() |
3529
|
|
|
{ |
3530
|
|
|
return $this->endDate; |
3531
|
|
|
} |
3532
|
|
|
|
3533
|
|
|
public function setLocation($location) |
3534
|
|
|
{ |
3535
|
|
|
$this->location = $location; |
3536
|
|
|
} |
3537
|
|
|
|
3538
|
|
|
public function getLocation() |
3539
|
|
|
{ |
3540
|
|
|
return $this->location; |
3541
|
|
|
} |
3542
|
|
|
|
3543
|
|
|
public function setName($name) |
3544
|
|
|
{ |
3545
|
|
|
$this->name = $name; |
3546
|
|
|
} |
3547
|
|
|
|
3548
|
|
|
public function getName() |
3549
|
|
|
{ |
3550
|
|
|
return $this->name; |
3551
|
|
|
} |
3552
|
|
|
|
3553
|
|
|
public function setPrimary($primary) |
3554
|
|
|
{ |
3555
|
|
|
$this->primary = $primary; |
3556
|
|
|
} |
3557
|
|
|
|
3558
|
|
|
public function getPrimary() |
3559
|
|
|
{ |
3560
|
|
|
return $this->primary; |
3561
|
|
|
} |
3562
|
|
|
|
3563
|
|
|
public function setStartDate($startDate) |
3564
|
|
|
{ |
3565
|
|
|
$this->startDate = $startDate; |
3566
|
|
|
} |
3567
|
|
|
|
3568
|
|
|
public function getStartDate() |
3569
|
|
|
{ |
3570
|
|
|
return $this->startDate; |
3571
|
|
|
} |
3572
|
|
|
|
3573
|
|
|
public function setTitle($title) |
3574
|
|
|
{ |
3575
|
|
|
$this->title = $title; |
3576
|
|
|
} |
3577
|
|
|
|
3578
|
|
|
public function getTitle() |
3579
|
|
|
{ |
3580
|
|
|
return $this->title; |
3581
|
|
|
} |
3582
|
|
|
|
3583
|
|
|
public function setType($type) |
3584
|
|
|
{ |
3585
|
|
|
$this->type = $type; |
3586
|
|
|
} |
3587
|
|
|
|
3588
|
|
|
public function getType() |
3589
|
|
|
{ |
3590
|
|
|
return $this->type; |
3591
|
|
|
} |
3592
|
|
|
} |
3593
|
|
|
|
3594
|
|
|
class Google_Service_Plus_PersonPlacesLived extends Google_Model |
3595
|
|
|
{ |
3596
|
|
|
public $primary; |
3597
|
|
|
public $value; |
3598
|
|
|
|
3599
|
|
|
public function setPrimary($primary) |
3600
|
|
|
{ |
3601
|
|
|
$this->primary = $primary; |
3602
|
|
|
} |
3603
|
|
|
|
3604
|
|
|
public function getPrimary() |
3605
|
|
|
{ |
3606
|
|
|
return $this->primary; |
3607
|
|
|
} |
3608
|
|
|
|
3609
|
|
|
public function setValue($value) |
3610
|
|
|
{ |
3611
|
|
|
$this->value = $value; |
3612
|
|
|
} |
3613
|
|
|
|
3614
|
|
|
public function getValue() |
3615
|
|
|
{ |
3616
|
|
|
return $this->value; |
3617
|
|
|
} |
3618
|
|
|
} |
3619
|
|
|
|
3620
|
|
|
class Google_Service_Plus_PersonUrls extends Google_Model |
3621
|
|
|
{ |
3622
|
|
|
public $label; |
3623
|
|
|
public $type; |
3624
|
|
|
public $value; |
3625
|
|
|
|
3626
|
|
|
public function setLabel($label) |
3627
|
|
|
{ |
3628
|
|
|
$this->label = $label; |
3629
|
|
|
} |
3630
|
|
|
|
3631
|
|
|
public function getLabel() |
3632
|
|
|
{ |
3633
|
|
|
return $this->label; |
3634
|
|
|
} |
3635
|
|
|
|
3636
|
|
|
public function setType($type) |
3637
|
|
|
{ |
3638
|
|
|
$this->type = $type; |
3639
|
|
|
} |
3640
|
|
|
|
3641
|
|
|
public function getType() |
3642
|
|
|
{ |
3643
|
|
|
return $this->type; |
3644
|
|
|
} |
3645
|
|
|
|
3646
|
|
|
public function setValue($value) |
3647
|
|
|
{ |
3648
|
|
|
$this->value = $value; |
3649
|
|
|
} |
3650
|
|
|
|
3651
|
|
|
public function getValue() |
3652
|
|
|
{ |
3653
|
|
|
return $this->value; |
3654
|
|
|
} |
3655
|
|
|
} |
3656
|
|
|
|
3657
|
|
|
class Google_Service_Plus_Place extends Google_Model |
3658
|
|
|
{ |
3659
|
|
|
protected $addressType = 'Google_Service_Plus_PlaceAddress'; |
3660
|
|
|
protected $addressDataType = ''; |
3661
|
|
|
public $displayName; |
3662
|
|
|
public $kind; |
3663
|
|
|
protected $positionType = 'Google_Service_Plus_PlacePosition'; |
3664
|
|
|
protected $positionDataType = ''; |
3665
|
|
|
|
3666
|
|
|
public function setAddress(Google_Service_Plus_PlaceAddress $address) |
3667
|
|
|
{ |
3668
|
|
|
$this->address = $address; |
|
|
|
|
3669
|
|
|
} |
3670
|
|
|
|
3671
|
|
|
public function getAddress() |
3672
|
|
|
{ |
3673
|
|
|
return $this->address; |
|
|
|
|
3674
|
|
|
} |
3675
|
|
|
|
3676
|
|
|
public function setDisplayName($displayName) |
3677
|
|
|
{ |
3678
|
|
|
$this->displayName = $displayName; |
3679
|
|
|
} |
3680
|
|
|
|
3681
|
|
|
public function getDisplayName() |
3682
|
|
|
{ |
3683
|
|
|
return $this->displayName; |
3684
|
|
|
} |
3685
|
|
|
|
3686
|
|
|
public function setKind($kind) |
3687
|
|
|
{ |
3688
|
|
|
$this->kind = $kind; |
3689
|
|
|
} |
3690
|
|
|
|
3691
|
|
|
public function getKind() |
3692
|
|
|
{ |
3693
|
|
|
return $this->kind; |
3694
|
|
|
} |
3695
|
|
|
|
3696
|
|
|
public function setPosition(Google_Service_Plus_PlacePosition $position) |
3697
|
|
|
{ |
3698
|
|
|
$this->position = $position; |
|
|
|
|
3699
|
|
|
} |
3700
|
|
|
|
3701
|
|
|
public function getPosition() |
3702
|
|
|
{ |
3703
|
|
|
return $this->position; |
|
|
|
|
3704
|
|
|
} |
3705
|
|
|
} |
3706
|
|
|
|
3707
|
|
|
class Google_Service_Plus_PlaceAddress extends Google_Model |
3708
|
|
|
{ |
3709
|
|
|
public $formatted; |
3710
|
|
|
|
3711
|
|
|
public function setFormatted($formatted) |
3712
|
|
|
{ |
3713
|
|
|
$this->formatted = $formatted; |
3714
|
|
|
} |
3715
|
|
|
|
3716
|
|
|
public function getFormatted() |
3717
|
|
|
{ |
3718
|
|
|
return $this->formatted; |
3719
|
|
|
} |
3720
|
|
|
} |
3721
|
|
|
|
3722
|
|
|
class Google_Service_Plus_PlacePosition extends Google_Model |
3723
|
|
|
{ |
3724
|
|
|
public $latitude; |
3725
|
|
|
public $longitude; |
3726
|
|
|
|
3727
|
|
|
public function setLatitude($latitude) |
3728
|
|
|
{ |
3729
|
|
|
$this->latitude = $latitude; |
3730
|
|
|
} |
3731
|
|
|
|
3732
|
|
|
public function getLatitude() |
3733
|
|
|
{ |
3734
|
|
|
return $this->latitude; |
3735
|
|
|
} |
3736
|
|
|
|
3737
|
|
|
public function setLongitude($longitude) |
3738
|
|
|
{ |
3739
|
|
|
$this->longitude = $longitude; |
3740
|
|
|
} |
3741
|
|
|
|
3742
|
|
|
public function getLongitude() |
3743
|
|
|
{ |
3744
|
|
|
return $this->longitude; |
3745
|
|
|
} |
3746
|
|
|
} |
3747
|
|
|
|
3748
|
|
|
class Google_Service_Plus_PlusAclentryResource extends Google_Model |
3749
|
|
|
{ |
3750
|
|
|
public $displayName; |
3751
|
|
|
public $id; |
3752
|
|
|
public $type; |
3753
|
|
|
|
3754
|
|
|
public function setDisplayName($displayName) |
3755
|
|
|
{ |
3756
|
|
|
$this->displayName = $displayName; |
3757
|
|
|
} |
3758
|
|
|
|
3759
|
|
|
public function getDisplayName() |
3760
|
|
|
{ |
3761
|
|
|
return $this->displayName; |
3762
|
|
|
} |
3763
|
|
|
|
3764
|
|
|
public function setId($id) |
3765
|
|
|
{ |
3766
|
|
|
$this->id = $id; |
3767
|
|
|
} |
3768
|
|
|
|
3769
|
|
|
public function getId() |
3770
|
|
|
{ |
3771
|
|
|
return $this->id; |
3772
|
|
|
} |
3773
|
|
|
|
3774
|
|
|
public function setType($type) |
3775
|
|
|
{ |
3776
|
|
|
$this->type = $type; |
3777
|
|
|
} |
3778
|
|
|
|
3779
|
|
|
public function getType() |
3780
|
|
|
{ |
3781
|
|
|
return $this->type; |
3782
|
|
|
} |
3783
|
|
|
} |
3784
|
|
|
|
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: