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