PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Orkut.php

Orkut.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Orkut.php

4,026 lines 93.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 Orkut (v2).
20 *
21 * <p>
22 * Lets you manage activities, comments and badges in Orkut. More stuff coming in time.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="http://code.google.com/apis/orkut/v2/reference.html" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Orkut extends Google_Service
33 {
34 /** Manage your Orkut activity. */
35 const ORKUT = "https://www.googleapis.com/auth/orkut";
36 /** View your Orkut data. */
37 const ORKUT_READONLY = "https://www.googleapis.com/auth/orkut.readonly";
38
39 public $acl;
40 public $activities;
41 public $activityVisibility;
42 public $badges;
43 public $comments;
44 public $communities;
45 public $communityFollow;
46 public $communityMembers;
47 public $communityMessages;
48 public $communityPollComments;
49 public $communityPollVotes;
50 public $communityPolls;
51 public $communityRelated;
52 public $communityTopics;
53 public $counters;
54 public $scraps;
55
56
57 /**
58 * Constructs the internal representation of the Orkut service.
59 *
60 * @param Google_Client $client
61 */
62 public function __construct(Google_Client $client)
63 {
64 parent::__construct($client);
65 $this->servicePath = 'orkut/v2/';
66 $this->version = 'v2';
67 $this->serviceName = 'orkut';
68
69 $this->acl = new Google_Service_Orkut_Acl_Resource(
70 $this,
71 $this->serviceName,
72 'acl',
73 array(
74 'methods' => array(
75 'delete' => array(
76 'path' => 'activities/{activityId}/acl/{userId}',
77 'httpMethod' => 'DELETE',
78 'parameters' => array(
79 'activityId' => array(
80 'location' => 'path',
81 'type' => 'string',
82 'required' => true,
83 ),
84 'userId' => array(
85 'location' => 'path',
86 'type' => 'string',
87 'required' => true,
88 ),
89 ),
90 ),
91 )
92 )
93 );
94 $this->activities = new Google_Service_Orkut_Activities_Resource(
95 $this,
96 $this->serviceName,
97 'activities',
98 array(
99 'methods' => array(
100 'delete' => array(
101 'path' => 'activities/{activityId}',
102 'httpMethod' => 'DELETE',
103 'parameters' => array(
104 'activityId' => array(
105 'location' => 'path',
106 'type' => 'string',
107 'required' => true,
108 ),
109 ),
110 ),'list' => array(
111 'path' => 'people/{userId}/activities/{collection}',
112 'httpMethod' => 'GET',
113 'parameters' => array(
114 'userId' => array(
115 'location' => 'path',
116 'type' => 'string',
117 'required' => true,
118 ),
119 'collection' => array(
120 'location' => 'path',
121 'type' => 'string',
122 'required' => true,
123 ),
124 'pageToken' => array(
125 'location' => 'query',
126 'type' => 'string',
127 ),
128 'maxResults' => array(
129 'location' => 'query',
130 'type' => 'integer',
131 ),
132 'hl' => array(
133 'location' => 'query',
134 'type' => 'string',
135 ),
136 ),
137 ),
138 )
139 )
140 );
141 $this->activityVisibility = new Google_Service_Orkut_ActivityVisibility_Resource(
142 $this,
143 $this->serviceName,
144 'activityVisibility',
145 array(
146 'methods' => array(
147 'get' => array(
148 'path' => 'activities/{activityId}/visibility',
149 'httpMethod' => 'GET',
150 'parameters' => array(
151 'activityId' => array(
152 'location' => 'path',
153 'type' => 'string',
154 'required' => true,
155 ),
156 ),
157 ),'patch' => array(
158 'path' => 'activities/{activityId}/visibility',
159 'httpMethod' => 'PATCH',
160 'parameters' => array(
161 'activityId' => array(
162 'location' => 'path',
163 'type' => 'string',
164 'required' => true,
165 ),
166 ),
167 ),'update' => array(
168 'path' => 'activities/{activityId}/visibility',
169 'httpMethod' => 'PUT',
170 'parameters' => array(
171 'activityId' => array(
172 'location' => 'path',
173 'type' => 'string',
174 'required' => true,
175 ),
176 ),
177 ),
178 )
179 )
180 );
181 $this->badges = new Google_Service_Orkut_Badges_Resource(
182 $this,
183 $this->serviceName,
184 'badges',
185 array(
186 'methods' => array(
187 'get' => array(
188 'path' => 'people/{userId}/badges/{badgeId}',
189 'httpMethod' => 'GET',
190 'parameters' => array(
191 'userId' => array(
192 'location' => 'path',
193 'type' => 'string',
194 'required' => true,
195 ),
196 'badgeId' => array(
197 'location' => 'path',
198 'type' => 'string',
199 'required' => true,
200 ),
201 ),
202 ),'list' => array(
203 'path' => 'people/{userId}/badges',
204 'httpMethod' => 'GET',
205 'parameters' => array(
206 'userId' => array(
207 'location' => 'path',
208 'type' => 'string',
209 'required' => true,
210 ),
211 ),
212 ),
213 )
214 )
215 );
216 $this->comments = new Google_Service_Orkut_Comments_Resource(
217 $this,
218 $this->serviceName,
219 'comments',
220 array(
221 'methods' => array(
222 'delete' => array(
223 'path' => 'comments/{commentId}',
224 'httpMethod' => 'DELETE',
225 'parameters' => array(
226 'commentId' => array(
227 'location' => 'path',
228 'type' => 'string',
229 'required' => true,
230 ),
231 ),
232 ),'get' => array(
233 'path' => 'comments/{commentId}',
234 'httpMethod' => 'GET',
235 'parameters' => array(
236 'commentId' => array(
237 'location' => 'path',
238 'type' => 'string',
239 'required' => true,
240 ),
241 'hl' => array(
242 'location' => 'query',
243 'type' => 'string',
244 ),
245 ),
246 ),'insert' => array(
247 'path' => 'activities/{activityId}/comments',
248 'httpMethod' => 'POST',
249 'parameters' => array(
250 'activityId' => array(
251 'location' => 'path',
252 'type' => 'string',
253 'required' => true,
254 ),
255 ),
256 ),'list' => array(
257 'path' => 'activities/{activityId}/comments',
258 'httpMethod' => 'GET',
259 'parameters' => array(
260 'activityId' => array(
261 'location' => 'path',
262 'type' => 'string',
263 'required' => true,
264 ),
265 'orderBy' => array(
266 'location' => 'query',
267 'type' => 'string',
268 ),
269 'pageToken' => array(
270 'location' => 'query',
271 'type' => 'string',
272 ),
273 'maxResults' => array(
274 'location' => 'query',
275 'type' => 'integer',
276 ),
277 'hl' => array(
278 'location' => 'query',
279 'type' => 'string',
280 ),
281 ),
282 ),
283 )
284 )
285 );
286 $this->communities = new Google_Service_Orkut_Communities_Resource(
287 $this,
288 $this->serviceName,
289 'communities',
290 array(
291 'methods' => array(
292 'get' => array(
293 'path' => 'communities/{communityId}',
294 'httpMethod' => 'GET',
295 'parameters' => array(
296 'communityId' => array(
297 'location' => 'path',
298 'type' => 'integer',
299 'required' => true,
300 ),
301 'hl' => array(
302 'location' => 'query',
303 'type' => 'string',
304 ),
305 ),
306 ),'list' => array(
307 'path' => 'people/{userId}/communities',
308 'httpMethod' => 'GET',
309 'parameters' => array(
310 'userId' => array(
311 'location' => 'path',
312 'type' => 'string',
313 'required' => true,
314 ),
315 'orderBy' => array(
316 'location' => 'query',
317 'type' => 'string',
318 ),
319 'maxResults' => array(
320 'location' => 'query',
321 'type' => 'integer',
322 ),
323 'hl' => array(
324 'location' => 'query',
325 'type' => 'string',
326 ),
327 ),
328 ),
329 )
330 )
331 );
332 $this->communityFollow = new Google_Service_Orkut_CommunityFollow_Resource(
333 $this,
334 $this->serviceName,
335 'communityFollow',
336 array(
337 'methods' => array(
338 'delete' => array(
339 'path' => 'communities/{communityId}/followers/{userId}',
340 'httpMethod' => 'DELETE',
341 'parameters' => array(
342 'communityId' => array(
343 'location' => 'path',
344 'type' => 'integer',
345 'required' => true,
346 ),
347 'userId' => array(
348 'location' => 'path',
349 'type' => 'string',
350 'required' => true,
351 ),
352 ),
353 ),'insert' => array(
354 'path' => 'communities/{communityId}/followers/{userId}',
355 'httpMethod' => 'POST',
356 'parameters' => array(
357 'communityId' => array(
358 'location' => 'path',
359 'type' => 'integer',
360 'required' => true,
361 ),
362 'userId' => array(
363 'location' => 'path',
364 'type' => 'string',
365 'required' => true,
366 ),
367 ),
368 ),
369 )
370 )
371 );
372 $this->communityMembers = new Google_Service_Orkut_CommunityMembers_Resource(
373 $this,
374 $this->serviceName,
375 'communityMembers',
376 array(
377 'methods' => array(
378 'delete' => array(
379 'path' => 'communities/{communityId}/members/{userId}',
380 'httpMethod' => 'DELETE',
381 'parameters' => array(
382 'communityId' => array(
383 'location' => 'path',
384 'type' => 'integer',
385 'required' => true,
386 ),
387 'userId' => array(
388 'location' => 'path',
389 'type' => 'string',
390 'required' => true,
391 ),
392 ),
393 ),'get' => array(
394 'path' => 'communities/{communityId}/members/{userId}',
395 'httpMethod' => 'GET',
396 'parameters' => array(
397 'communityId' => array(
398 'location' => 'path',
399 'type' => 'integer',
400 'required' => true,
401 ),
402 'userId' => array(
403 'location' => 'path',
404 'type' => 'string',
405 'required' => true,
406 ),
407 'hl' => array(
408 'location' => 'query',
409 'type' => 'string',
410 ),
411 ),
412 ),'insert' => array(
413 'path' => 'communities/{communityId}/members/{userId}',
414 'httpMethod' => 'POST',
415 'parameters' => array(
416 'communityId' => array(
417 'location' => 'path',
418 'type' => 'integer',
419 'required' => true,
420 ),
421 'userId' => array(
422 'location' => 'path',
423 'type' => 'string',
424 'required' => true,
425 ),
426 ),
427 ),'list' => array(
428 'path' => 'communities/{communityId}/members',
429 'httpMethod' => 'GET',
430 'parameters' => array(
431 'communityId' => array(
432 'location' => 'path',
433 'type' => 'integer',
434 'required' => true,
435 ),
436 'pageToken' => array(
437 'location' => 'query',
438 'type' => 'string',
439 ),
440 'friendsOnly' => array(
441 'location' => 'query',
442 'type' => 'boolean',
443 ),
444 'maxResults' => array(
445 'location' => 'query',
446 'type' => 'integer',
447 ),
448 'hl' => array(
449 'location' => 'query',
450 'type' => 'string',
451 ),
452 ),
453 ),
454 )
455 )
456 );
457 $this->communityMessages = new Google_Service_Orkut_CommunityMessages_Resource(
458 $this,
459 $this->serviceName,
460 'communityMessages',
461 array(
462 'methods' => array(
463 'delete' => array(
464 'path' => 'communities/{communityId}/topics/{topicId}/messages/{messageId}',
465 'httpMethod' => 'DELETE',
466 'parameters' => array(
467 'communityId' => array(
468 'location' => 'path',
469 'type' => 'integer',
470 'required' => true,
471 ),
472 'topicId' => array(
473 'location' => 'path',
474 'type' => 'string',
475 'required' => true,
476 ),
477 'messageId' => array(
478 'location' => 'path',
479 'type' => 'string',
480 'required' => true,
481 ),
482 ),
483 ),'insert' => array(
484 'path' => 'communities/{communityId}/topics/{topicId}/messages',
485 'httpMethod' => 'POST',
486 'parameters' => array(
487 'communityId' => array(
488 'location' => 'path',
489 'type' => 'integer',
490 'required' => true,
491 ),
492 'topicId' => array(
493 'location' => 'path',
494 'type' => 'string',
495 'required' => true,
496 ),
497 ),
498 ),'list' => array(
499 'path' => 'communities/{communityId}/topics/{topicId}/messages',
500 'httpMethod' => 'GET',
501 'parameters' => array(
502 'communityId' => array(
503 'location' => 'path',
504 'type' => 'integer',
505 'required' => true,
506 ),
507 'topicId' => array(
508 'location' => 'path',
509 'type' => 'string',
510 'required' => true,
511 ),
512 'pageToken' => array(
513 'location' => 'query',
514 'type' => 'string',
515 ),
516 'maxResults' => array(
517 'location' => 'query',
518 'type' => 'integer',
519 ),
520 'hl' => array(
521 'location' => 'query',
522 'type' => 'string',
523 ),
524 ),
525 ),
526 )
527 )
528 );
529 $this->communityPollComments = new Google_Service_Orkut_CommunityPollComments_Resource(
530 $this,
531 $this->serviceName,
532 'communityPollComments',
533 array(
534 'methods' => array(
535 'insert' => array(
536 'path' => 'communities/{communityId}/polls/{pollId}/comments',
537 'httpMethod' => 'POST',
538 'parameters' => array(
539 'communityId' => array(
540 'location' => 'path',
541 'type' => 'integer',
542 'required' => true,
543 ),
544 'pollId' => array(
545 'location' => 'path',
546 'type' => 'string',
547 'required' => true,
548 ),
549 ),
550 ),'list' => array(
551 'path' => 'communities/{communityId}/polls/{pollId}/comments',
552 'httpMethod' => 'GET',
553 'parameters' => array(
554 'communityId' => array(
555 'location' => 'path',
556 'type' => 'integer',
557 'required' => true,
558 ),
559 'pollId' => array(
560 'location' => 'path',
561 'type' => 'string',
562 'required' => true,
563 ),
564 'pageToken' => array(
565 'location' => 'query',
566 'type' => 'string',
567 ),
568 'maxResults' => array(
569 'location' => 'query',
570 'type' => 'integer',
571 ),
572 'hl' => array(
573 'location' => 'query',
574 'type' => 'string',
575 ),
576 ),
577 ),
578 )
579 )
580 );
581 $this->communityPollVotes = new Google_Service_Orkut_CommunityPollVotes_Resource(
582 $this,
583 $this->serviceName,
584 'communityPollVotes',
585 array(
586 'methods' => array(
587 'insert' => array(
588 'path' => 'communities/{communityId}/polls/{pollId}/votes',
589 'httpMethod' => 'POST',
590 'parameters' => array(
591 'communityId' => array(
592 'location' => 'path',
593 'type' => 'integer',
594 'required' => true,
595 ),
596 'pollId' => array(
597 'location' => 'path',
598 'type' => 'string',
599 'required' => true,
600 ),
601 ),
602 ),
603 )
604 )
605 );
606 $this->communityPolls = new Google_Service_Orkut_CommunityPolls_Resource(
607 $this,
608 $this->serviceName,
609 'communityPolls',
610 array(
611 'methods' => array(
612 'get' => array(
613 'path' => 'communities/{communityId}/polls/{pollId}',
614 'httpMethod' => 'GET',
615 'parameters' => array(
616 'communityId' => array(
617 'location' => 'path',
618 'type' => 'integer',
619 'required' => true,
620 ),
621 'pollId' => array(
622 'location' => 'path',
623 'type' => 'string',
624 'required' => true,
625 ),
626 'hl' => array(
627 'location' => 'query',
628 'type' => 'string',
629 ),
630 ),
631 ),'list' => array(
632 'path' => 'communities/{communityId}/polls',
633 'httpMethod' => 'GET',
634 'parameters' => array(
635 'communityId' => array(
636 'location' => 'path',
637 'type' => 'integer',
638 'required' => true,
639 ),
640 'pageToken' => array(
641 'location' => 'query',
642 'type' => 'string',
643 ),
644 'maxResults' => array(
645 'location' => 'query',
646 'type' => 'integer',
647 ),
648 'hl' => array(
649 'location' => 'query',
650 'type' => 'string',
651 ),
652 ),
653 ),
654 )
655 )
656 );
657 $this->communityRelated = new Google_Service_Orkut_CommunityRelated_Resource(
658 $this,
659 $this->serviceName,
660 'communityRelated',
661 array(
662 'methods' => array(
663 'list' => array(
664 'path' => 'communities/{communityId}/related',
665 'httpMethod' => 'GET',
666 'parameters' => array(
667 'communityId' => array(
668 'location' => 'path',
669 'type' => 'integer',
670 'required' => true,
671 ),
672 'hl' => array(
673 'location' => 'query',
674 'type' => 'string',
675 ),
676 ),
677 ),
678 )
679 )
680 );
681 $this->communityTopics = new Google_Service_Orkut_CommunityTopics_Resource(
682 $this,
683 $this->serviceName,
684 'communityTopics',
685 array(
686 'methods' => array(
687 'delete' => array(
688 'path' => 'communities/{communityId}/topics/{topicId}',
689 'httpMethod' => 'DELETE',
690 'parameters' => array(
691 'communityId' => array(
692 'location' => 'path',
693 'type' => 'integer',
694 'required' => true,
695 ),
696 'topicId' => array(
697 'location' => 'path',
698 'type' => 'string',
699 'required' => true,
700 ),
701 ),
702 ),'get' => array(
703 'path' => 'communities/{communityId}/topics/{topicId}',
704 'httpMethod' => 'GET',
705 'parameters' => array(
706 'communityId' => array(
707 'location' => 'path',
708 'type' => 'integer',
709 'required' => true,
710 ),
711 'topicId' => array(
712 'location' => 'path',
713 'type' => 'string',
714 'required' => true,
715 ),
716 'hl' => array(
717 'location' => 'query',
718 'type' => 'string',
719 ),
720 ),
721 ),'insert' => array(
722 'path' => 'communities/{communityId}/topics',
723 'httpMethod' => 'POST',
724 'parameters' => array(
725 'communityId' => array(
726 'location' => 'path',
727 'type' => 'integer',
728 'required' => true,
729 ),
730 'isShout' => array(
731 'location' => 'query',
732 'type' => 'boolean',
733 ),
734 ),
735 ),'list' => array(
736 'path' => 'communities/{communityId}/topics',
737 'httpMethod' => 'GET',
738 'parameters' => array(
739 'communityId' => array(
740 'location' => 'path',
741 'type' => 'integer',
742 'required' => true,
743 ),
744 'pageToken' => array(
745 'location' => 'query',
746 'type' => 'string',
747 ),
748 'maxResults' => array(
749 'location' => 'query',
750 'type' => 'integer',
751 ),
752 'hl' => array(
753 'location' => 'query',
754 'type' => 'string',
755 ),
756 ),
757 ),
758 )
759 )
760 );
761 $this->counters = new Google_Service_Orkut_Counters_Resource(
762 $this,
763 $this->serviceName,
764 'counters',
765 array(
766 'methods' => array(
767 'list' => array(
768 'path' => 'people/{userId}/counters',
769 'httpMethod' => 'GET',
770 'parameters' => array(
771 'userId' => array(
772 'location' => 'path',
773 'type' => 'string',
774 'required' => true,
775 ),
776 ),
777 ),
778 )
779 )
780 );
781 $this->scraps = new Google_Service_Orkut_Scraps_Resource(
782 $this,
783 $this->serviceName,
784 'scraps',
785 array(
786 'methods' => array(
787 'insert' => array(
788 'path' => 'activities/scraps',
789 'httpMethod' => 'POST',
790 'parameters' => array(),
791 ),
792 )
793 )
794 );
795 }
796 }
797
798
799 /**
800 * The "acl" collection of methods.
801 * Typical usage is:
802 * <code>
803 * $orkutService = new Google_Service_Orkut(...);
804 * $acl = $orkutService->acl;
805 * </code>
806 */
807 class Google_Service_Orkut_Acl_Resource extends Google_Service_Resource
808 {
809
810 /**
811 * Excludes an element from the ACL of the activity. (acl.delete)
812 *
813 * @param string $activityId
814 * ID of the activity.
815 * @param string $userId
816 * ID of the user to be removed from the activity.
817 * @param array $optParams Optional parameters.
818 */
819 public function delete($activityId, $userId, $optParams = array())
820 {
821 $params = array('activityId' => $activityId, 'userId' => $userId);
822 $params = array_merge($params, $optParams);
823 return $this->call('delete', array($params));
824 }
825 }
826
827 /**
828 * The "activities" collection of methods.
829 * Typical usage is:
830 * <code>
831 * $orkutService = new Google_Service_Orkut(...);
832 * $activities = $orkutService->activities;
833 * </code>
834 */
835 class Google_Service_Orkut_Activities_Resource extends Google_Service_Resource
836 {
837
838 /**
839 * Deletes an existing activity, if the access controls allow it.
840 * (activities.delete)
841 *
842 * @param string $activityId
843 * ID of the activity to remove.
844 * @param array $optParams Optional parameters.
845 */
846 public function delete($activityId, $optParams = array())
847 {
848 $params = array('activityId' => $activityId);
849 $params = array_merge($params, $optParams);
850 return $this->call('delete', array($params));
851 }
852 /**
853 * Retrieves a list of activities. (activities.listActivities)
854 *
855 * @param string $userId
856 * The ID of the user whose activities will be listed. Can be me to refer to the viewer (i.e. the
857 * authenticated user).
858 * @param string $collection
859 * The collection of activities to list.
860 * @param array $optParams Optional parameters.
861 *
862 * @opt_param string pageToken
863 * A continuation token that allows pagination.
864 * @opt_param string maxResults
865 * The maximum number of activities to include in the response.
866 * @opt_param string hl
867 * Specifies the interface language (host language) of your user interface.
868 * @return Google_Service_Orkut_ActivityList
869 */
870 public function listActivities($userId, $collection, $optParams = array())
871 {
872 $params = array('userId' => $userId, 'collection' => $collection);
873 $params = array_merge($params, $optParams);
874 return $this->call('list', array($params), "Google_Service_Orkut_ActivityList");
875 }
876 }
877
878 /**
879 * The "activityVisibility" collection of methods.
880 * Typical usage is:
881 * <code>
882 * $orkutService = new Google_Service_Orkut(...);
883 * $activityVisibility = $orkutService->activityVisibility;
884 * </code>
885 */
886 class Google_Service_Orkut_ActivityVisibility_Resource extends Google_Service_Resource
887 {
888
889 /**
890 * Gets the visibility of an existing activity. (activityVisibility.get)
891 *
892 * @param string $activityId
893 * ID of the activity to get the visibility.
894 * @param array $optParams Optional parameters.
895 * @return Google_Service_Orkut_Visibility
896 */
897 public function get($activityId, $optParams = array())
898 {
899 $params = array('activityId' => $activityId);
900 $params = array_merge($params, $optParams);
901 return $this->call('get', array($params), "Google_Service_Orkut_Visibility");
902 }
903 /**
904 * Updates the visibility of an existing activity. This method supports patch
905 * semantics. (activityVisibility.patch)
906 *
907 * @param string $activityId
908 * ID of the activity.
909 * @param Google_Visibility $postBody
910 * @param array $optParams Optional parameters.
911 * @return Google_Service_Orkut_Visibility
912 */
913 public function patch($activityId, Google_Service_Orkut_Visibility $postBody, $optParams = array())
914 {
915 $params = array('activityId' => $activityId, 'postBody' => $postBody);
916 $params = array_merge($params, $optParams);
917 return $this->call('patch', array($params), "Google_Service_Orkut_Visibility");
918 }
919 /**
920 * Updates the visibility of an existing activity. (activityVisibility.update)
921 *
922 * @param string $activityId
923 * ID of the activity.
924 * @param Google_Visibility $postBody
925 * @param array $optParams Optional parameters.
926 * @return Google_Service_Orkut_Visibility
927 */
928 public function update($activityId, Google_Service_Orkut_Visibility $postBody, $optParams = array())
929 {
930 $params = array('activityId' => $activityId, 'postBody' => $postBody);
931 $params = array_merge($params, $optParams);
932 return $this->call('update', array($params), "Google_Service_Orkut_Visibility");
933 }
934 }
935
936 /**
937 * The "badges" collection of methods.
938 * Typical usage is:
939 * <code>
940 * $orkutService = new Google_Service_Orkut(...);
941 * $badges = $orkutService->badges;
942 * </code>
943 */
944 class Google_Service_Orkut_Badges_Resource extends Google_Service_Resource
945 {
946
947 /**
948 * Retrieves a badge from a user. (badges.get)
949 *
950 * @param string $userId
951 * The ID of the user whose badges will be listed. Can be me to refer to caller.
952 * @param string $badgeId
953 * The ID of the badge that will be retrieved.
954 * @param array $optParams Optional parameters.
955 * @return Google_Service_Orkut_Badge
956 */
957 public function get($userId, $badgeId, $optParams = array())
958 {
959 $params = array('userId' => $userId, 'badgeId' => $badgeId);
960 $params = array_merge($params, $optParams);
961 return $this->call('get', array($params), "Google_Service_Orkut_Badge");
962 }
963 /**
964 * Retrieves the list of visible badges of a user. (badges.listBadges)
965 *
966 * @param string $userId
967 * The id of the user whose badges will be listed. Can be me to refer to caller.
968 * @param array $optParams Optional parameters.
969 * @return Google_Service_Orkut_BadgeList
970 */
971 public function listBadges($userId, $optParams = array())
972 {
973 $params = array('userId' => $userId);
974 $params = array_merge($params, $optParams);
975 return $this->call('list', array($params), "Google_Service_Orkut_BadgeList");
976 }
977 }
978
979 /**
980 * The "comments" collection of methods.
981 * Typical usage is:
982 * <code>
983 * $orkutService = new Google_Service_Orkut(...);
984 * $comments = $orkutService->comments;
985 * </code>
986 */
987 class Google_Service_Orkut_Comments_Resource extends Google_Service_Resource
988 {
989
990 /**
991 * Deletes an existing comment. (comments.delete)
992 *
993 * @param string $commentId
994 * ID of the comment to remove.
995 * @param array $optParams Optional parameters.
996 */
997 public function delete($commentId, $optParams = array())
998 {
999 $params = array('commentId' => $commentId);
1000 $params = array_merge($params, $optParams);
1001 return $this->call('delete', array($params));
1002 }
1003 /**
1004 * Retrieves an existing comment. (comments.get)
1005 *
1006 * @param string $commentId
1007 * ID of the comment to get.
1008 * @param array $optParams Optional parameters.
1009 *
1010 * @opt_param string hl
1011 * Specifies the interface language (host language) of your user interface.
1012 * @return Google_Service_Orkut_Comment
1013 */
1014 public function get($commentId, $optParams = array())
1015 {
1016 $params = array('commentId' => $commentId);
1017 $params = array_merge($params, $optParams);
1018 return $this->call('get', array($params), "Google_Service_Orkut_Comment");
1019 }
1020 /**
1021 * Inserts a new comment to an activity. (comments.insert)
1022 *
1023 * @param string $activityId
1024 * The ID of the activity to contain the new comment.
1025 * @param Google_Comment $postBody
1026 * @param array $optParams Optional parameters.
1027 * @return Google_Service_Orkut_Comment
1028 */
1029 public function insert($activityId, Google_Service_Orkut_Comment $postBody, $optParams = array())
1030 {
1031 $params = array('activityId' => $activityId, 'postBody' => $postBody);
1032 $params = array_merge($params, $optParams);
1033 return $this->call('insert', array($params), "Google_Service_Orkut_Comment");
1034 }
1035 /**
1036 * Retrieves a list of comments, possibly filtered. (comments.listComments)
1037 *
1038 * @param string $activityId
1039 * The ID of the activity containing the comments.
1040 * @param array $optParams Optional parameters.
1041 *
1042 * @opt_param string orderBy
1043 * Sort search results.
1044 * @opt_param string pageToken
1045 * A continuation token that allows pagination.
1046 * @opt_param string maxResults
1047 * The maximum number of activities to include in the response.
1048 * @opt_param string hl
1049 * Specifies the interface language (host language) of your user interface.
1050 * @return Google_Service_Orkut_CommentList
1051 */
1052 public function listComments($activityId, $optParams = array())
1053 {
1054 $params = array('activityId' => $activityId);
1055 $params = array_merge($params, $optParams);
1056 return $this->call('list', array($params), "Google_Service_Orkut_CommentList");
1057 }
1058 }
1059
1060 /**
1061 * The "communities" collection of methods.
1062 * Typical usage is:
1063 * <code>
1064 * $orkutService = new Google_Service_Orkut(...);
1065 * $communities = $orkutService->communities;
1066 * </code>
1067 */
1068 class Google_Service_Orkut_Communities_Resource extends Google_Service_Resource
1069 {
1070
1071 /**
1072 * Retrieves the basic information (aka. profile) of a community.
1073 * (communities.get)
1074 *
1075 * @param int $communityId
1076 * The ID of the community to get.
1077 * @param array $optParams Optional parameters.
1078 *
1079 * @opt_param string hl
1080 * Specifies the interface language (host language) of your user interface.
1081 * @return Google_Service_Orkut_Community
1082 */
1083 public function get($communityId, $optParams = array())
1084 {
1085 $params = array('communityId' => $communityId);
1086 $params = array_merge($params, $optParams);
1087 return $this->call('get', array($params), "Google_Service_Orkut_Community");
1088 }
1089 /**
1090 * Retrieves the list of communities the current user is a member of.
1091 * (communities.listCommunities)
1092 *
1093 * @param string $userId
1094 * The ID of the user whose communities will be listed. Can be me to refer to caller.
1095 * @param array $optParams Optional parameters.
1096 *
1097 * @opt_param string orderBy
1098 * How to order the communities by.
1099 * @opt_param string maxResults
1100 * The maximum number of communities to include in the response.
1101 * @opt_param string hl
1102 * Specifies the interface language (host language) of your user interface.
1103 * @return Google_Service_Orkut_CommunityList
1104 */
1105 public function listCommunities($userId, $optParams = array())
1106 {
1107 $params = array('userId' => $userId);
1108 $params = array_merge($params, $optParams);
1109 return $this->call('list', array($params), "Google_Service_Orkut_CommunityList");
1110 }
1111 }
1112
1113 /**
1114 * The "communityFollow" collection of methods.
1115 * Typical usage is:
1116 * <code>
1117 * $orkutService = new Google_Service_Orkut(...);
1118 * $communityFollow = $orkutService->communityFollow;
1119 * </code>
1120 */
1121 class Google_Service_Orkut_CommunityFollow_Resource extends Google_Service_Resource
1122 {
1123
1124 /**
1125 * Removes a user from the followers of a community. (communityFollow.delete)
1126 *
1127 * @param int $communityId
1128 * ID of the community.
1129 * @param string $userId
1130 * ID of the user.
1131 * @param array $optParams Optional parameters.
1132 */
1133 public function delete($communityId, $userId, $optParams = array())
1134 {
1135 $params = array('communityId' => $communityId, 'userId' => $userId);
1136 $params = array_merge($params, $optParams);
1137 return $this->call('delete', array($params));
1138 }
1139 /**
1140 * Adds a user as a follower of a community. (communityFollow.insert)
1141 *
1142 * @param int $communityId
1143 * ID of the community.
1144 * @param string $userId
1145 * ID of the user.
1146 * @param array $optParams Optional parameters.
1147 * @return Google_Service_Orkut_CommunityMembers
1148 */
1149 public function insert($communityId, $userId, $optParams = array())
1150 {
1151 $params = array('communityId' => $communityId, 'userId' => $userId);
1152 $params = array_merge($params, $optParams);
1153 return $this->call('insert', array($params), "Google_Service_Orkut_CommunityMembers");
1154 }
1155 }
1156
1157 /**
1158 * The "communityMembers" collection of methods.
1159 * Typical usage is:
1160 * <code>
1161 * $orkutService = new Google_Service_Orkut(...);
1162 * $communityMembers = $orkutService->communityMembers;
1163 * </code>
1164 */
1165 class Google_Service_Orkut_CommunityMembers_Resource extends Google_Service_Resource
1166 {
1167
1168 /**
1169 * Makes the user leave a community. (communityMembers.delete)
1170 *
1171 * @param int $communityId
1172 * ID of the community.
1173 * @param string $userId
1174 * ID of the user.
1175 * @param array $optParams Optional parameters.
1176 */
1177 public function delete($communityId, $userId, $optParams = array())
1178 {
1179 $params = array('communityId' => $communityId, 'userId' => $userId);
1180 $params = array_merge($params, $optParams);
1181 return $this->call('delete', array($params));
1182 }
1183 /**
1184 * Retrieves the relationship between a user and a community.
1185 * (communityMembers.get)
1186 *
1187 * @param int $communityId
1188 * ID of the community.
1189 * @param string $userId
1190 * ID of the user.
1191 * @param array $optParams Optional parameters.
1192 *
1193 * @opt_param string hl
1194 * Specifies the interface language (host language) of your user interface.
1195 * @return Google_Service_Orkut_CommunityMembers
1196 */
1197 public function get($communityId, $userId, $optParams = array())
1198 {
1199 $params = array('communityId' => $communityId, 'userId' => $userId);
1200 $params = array_merge($params, $optParams);
1201 return $this->call('get', array($params), "Google_Service_Orkut_CommunityMembers");
1202 }
1203 /**
1204 * Makes the user join a community. (communityMembers.insert)
1205 *
1206 * @param int $communityId
1207 * ID of the community.
1208 * @param string $userId
1209 * ID of the user.
1210 * @param array $optParams Optional parameters.
1211 * @return Google_Service_Orkut_CommunityMembers
1212 */
1213 public function insert($communityId, $userId, $optParams = array())
1214 {
1215 $params = array('communityId' => $communityId, 'userId' => $userId);
1216 $params = array_merge($params, $optParams);
1217 return $this->call('insert', array($params), "Google_Service_Orkut_CommunityMembers");
1218 }
1219 /**
1220 * Lists members of a community. Use the pagination tokens to retrieve the full
1221 * list; do not rely on the member count available in the community profile
1222 * information to know when to stop iterating, as that count may be approximate.
1223 * (communityMembers.listCommunityMembers)
1224 *
1225 * @param int $communityId
1226 * The ID of the community whose members will be listed.
1227 * @param array $optParams Optional parameters.
1228 *
1229 * @opt_param string pageToken
1230 * A continuation token that allows pagination.
1231 * @opt_param bool friendsOnly
1232 * Whether to list only community members who are friends of the user.
1233 * @opt_param string maxResults
1234 * The maximum number of members to include in the response.
1235 * @opt_param string hl
1236 * Specifies the interface language (host language) of your user interface.
1237 * @return Google_Service_Orkut_CommunityMembersList
1238 */
1239 public function listCommunityMembers($communityId, $optParams = array())
1240 {
1241 $params = array('communityId' => $communityId);
1242 $params = array_merge($params, $optParams);
1243 return $this->call('list', array($params), "Google_Service_Orkut_CommunityMembersList");
1244 }
1245 }
1246
1247 /**
1248 * The "communityMessages" collection of methods.
1249 * Typical usage is:
1250 * <code>
1251 * $orkutService = new Google_Service_Orkut(...);
1252 * $communityMessages = $orkutService->communityMessages;
1253 * </code>
1254 */
1255 class Google_Service_Orkut_CommunityMessages_Resource extends Google_Service_Resource
1256 {
1257
1258 /**
1259 * Moves a message of the community to the trash folder.
1260 * (communityMessages.delete)
1261 *
1262 * @param int $communityId
1263 * The ID of the community whose message will be moved to the trash folder.
1264 * @param string $topicId
1265 * The ID of the topic whose message will be moved to the trash folder.
1266 * @param string $messageId
1267 * The ID of the message to be moved to the trash folder.
1268 * @param array $optParams Optional parameters.
1269 */
1270 public function delete($communityId, $topicId, $messageId, $optParams = array())
1271 {
1272 $params = array('communityId' => $communityId, 'topicId' => $topicId, 'messageId' => $messageId);
1273 $params = array_merge($params, $optParams);
1274 return $this->call('delete', array($params));
1275 }
1276 /**
1277 * Adds a message to a given community topic. (communityMessages.insert)
1278 *
1279 * @param int $communityId
1280 * The ID of the community the message should be added to.
1281 * @param string $topicId
1282 * The ID of the topic the message should be added to.
1283 * @param Google_CommunityMessage $postBody
1284 * @param array $optParams Optional parameters.
1285 * @return Google_Service_Orkut_CommunityMessage
1286 */
1287 public function insert($communityId, $topicId, Google_Service_Orkut_CommunityMessage $postBody, $optParams = array())
1288 {
1289 $params = array('communityId' => $communityId, 'topicId' => $topicId, 'postBody' => $postBody);
1290 $params = array_merge($params, $optParams);
1291 return $this->call('insert', array($params), "Google_Service_Orkut_CommunityMessage");
1292 }
1293 /**
1294 * Retrieves the messages of a topic of a community.
1295 * (communityMessages.listCommunityMessages)
1296 *
1297 * @param int $communityId
1298 * The ID of the community which messages will be listed.
1299 * @param string $topicId
1300 * The ID of the topic which messages will be listed.
1301 * @param array $optParams Optional parameters.
1302 *
1303 * @opt_param string pageToken
1304 * A continuation token that allows pagination.
1305 * @opt_param string maxResults
1306 * The maximum number of messages to include in the response.
1307 * @opt_param string hl
1308 * Specifies the interface language (host language) of your user interface.
1309 * @return Google_Service_Orkut_CommunityMessageList
1310 */
1311 public function listCommunityMessages($communityId, $topicId, $optParams = array())
1312 {
1313 $params = array('communityId' => $communityId, 'topicId' => $topicId);
1314 $params = array_merge($params, $optParams);
1315 return $this->call('list', array($params), "Google_Service_Orkut_CommunityMessageList");
1316 }
1317 }
1318
1319 /**
1320 * The "communityPollComments" collection of methods.
1321 * Typical usage is:
1322 * <code>
1323 * $orkutService = new Google_Service_Orkut(...);
1324 * $communityPollComments = $orkutService->communityPollComments;
1325 * </code>
1326 */
1327 class Google_Service_Orkut_CommunityPollComments_Resource extends Google_Service_Resource
1328 {
1329
1330 /**
1331 * Adds a comment on a community poll. (communityPollComments.insert)
1332 *
1333 * @param int $communityId
1334 * The ID of the community whose poll is being commented.
1335 * @param string $pollId
1336 * The ID of the poll being commented.
1337 * @param Google_CommunityPollComment $postBody
1338 * @param array $optParams Optional parameters.
1339 * @return Google_Service_Orkut_CommunityPollComment
1340 */
1341 public function insert($communityId, $pollId, Google_Service_Orkut_CommunityPollComment $postBody, $optParams = array())
1342 {
1343 $params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody);
1344 $params = array_merge($params, $optParams);
1345 return $this->call('insert', array($params), "Google_Service_Orkut_CommunityPollComment");
1346 }
1347 /**
1348 * Retrieves the comments of a community poll.
1349 * (communityPollComments.listCommunityPollComments)
1350 *
1351 * @param int $communityId
1352 * The ID of the community whose poll is having its comments listed.
1353 * @param string $pollId
1354 * The ID of the community whose polls will be listed.
1355 * @param array $optParams Optional parameters.
1356 *
1357 * @opt_param string pageToken
1358 * A continuation token that allows pagination.
1359 * @opt_param string maxResults
1360 * The maximum number of comments to include in the response.
1361 * @opt_param string hl
1362 * Specifies the interface language (host language) of your user interface.
1363 * @return Google_Service_Orkut_CommunityPollCommentList
1364 */
1365 public function listCommunityPollComments($communityId, $pollId, $optParams = array())
1366 {
1367 $params = array('communityId' => $communityId, 'pollId' => $pollId);
1368 $params = array_merge($params, $optParams);
1369 return $this->call('list', array($params), "Google_Service_Orkut_CommunityPollCommentList");
1370 }
1371 }
1372
1373 /**
1374 * The "communityPollVotes" collection of methods.
1375 * Typical usage is:
1376 * <code>
1377 * $orkutService = new Google_Service_Orkut(...);
1378 * $communityPollVotes = $orkutService->communityPollVotes;
1379 * </code>
1380 */
1381 class Google_Service_Orkut_CommunityPollVotes_Resource extends Google_Service_Resource
1382 {
1383
1384 /**
1385 * Votes on a community poll. (communityPollVotes.insert)
1386 *
1387 * @param int $communityId
1388 * The ID of the community whose poll is being voted.
1389 * @param string $pollId
1390 * The ID of the poll being voted.
1391 * @param Google_CommunityPollVote $postBody
1392 * @param array $optParams Optional parameters.
1393 * @return Google_Service_Orkut_CommunityPollVote
1394 */
1395 public function insert($communityId, $pollId, Google_Service_Orkut_CommunityPollVote $postBody, $optParams = array())
1396 {
1397 $params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody);
1398 $params = array_merge($params, $optParams);
1399 return $this->call('insert', array($params), "Google_Service_Orkut_CommunityPollVote");
1400 }
1401 }
1402
1403 /**
1404 * The "communityPolls" collection of methods.
1405 * Typical usage is:
1406 * <code>
1407 * $orkutService = new Google_Service_Orkut(...);
1408 * $communityPolls = $orkutService->communityPolls;
1409 * </code>
1410 */
1411 class Google_Service_Orkut_CommunityPolls_Resource extends Google_Service_Resource
1412 {
1413
1414 /**
1415 * Retrieves one specific poll of a community. (communityPolls.get)
1416 *
1417 * @param int $communityId
1418 * The ID of the community for whose poll will be retrieved.
1419 * @param string $pollId
1420 * The ID of the poll to get.
1421 * @param array $optParams Optional parameters.
1422 *
1423 * @opt_param string hl
1424 * Specifies the interface language (host language) of your user interface.
1425 * @return Google_Service_Orkut_CommunityPoll
1426 */
1427 public function get($communityId, $pollId, $optParams = array())
1428 {
1429 $params = array('communityId' => $communityId, 'pollId' => $pollId);
1430 $params = array_merge($params, $optParams);
1431 return $this->call('get', array($params), "Google_Service_Orkut_CommunityPoll");
1432 }
1433 /**
1434 * Retrieves the polls of a community. (communityPolls.listCommunityPolls)
1435 *
1436 * @param int $communityId
1437 * The ID of the community which polls will be listed.
1438 * @param array $optParams Optional parameters.
1439 *
1440 * @opt_param string pageToken
1441 * A continuation token that allows pagination.
1442 * @opt_param string maxResults
1443 * The maximum number of polls to include in the response.
1444 * @opt_param string hl
1445 * Specifies the interface language (host language) of your user interface.
1446 * @return Google_Service_Orkut_CommunityPollList
1447 */
1448 public function listCommunityPolls($communityId, $optParams = array())
1449 {
1450 $params = array('communityId' => $communityId);
1451 $params = array_merge($params, $optParams);
1452 return $this->call('list', array($params), "Google_Service_Orkut_CommunityPollList");
1453 }
1454 }
1455
1456 /**
1457 * The "communityRelated" collection of methods.
1458 * Typical usage is:
1459 * <code>
1460 * $orkutService = new Google_Service_Orkut(...);
1461 * $communityRelated = $orkutService->communityRelated;
1462 * </code>
1463 */
1464 class Google_Service_Orkut_CommunityRelated_Resource extends Google_Service_Resource
1465 {
1466
1467 /**
1468 * Retrieves the communities related to another one.
1469 * (communityRelated.listCommunityRelated)
1470 *
1471 * @param int $communityId
1472 * The ID of the community whose related communities will be listed.
1473 * @param array $optParams Optional parameters.
1474 *
1475 * @opt_param string hl
1476 * Specifies the interface language (host language) of your user interface.
1477 * @return Google_Service_Orkut_CommunityList
1478 */
1479 public function listCommunityRelated($communityId, $optParams = array())
1480 {
1481 $params = array('communityId' => $communityId);
1482 $params = array_merge($params, $optParams);
1483 return $this->call('list', array($params), "Google_Service_Orkut_CommunityList");
1484 }
1485 }
1486
1487 /**
1488 * The "communityTopics" collection of methods.
1489 * Typical usage is:
1490 * <code>
1491 * $orkutService = new Google_Service_Orkut(...);
1492 * $communityTopics = $orkutService->communityTopics;
1493 * </code>
1494 */
1495 class Google_Service_Orkut_CommunityTopics_Resource extends Google_Service_Resource
1496 {
1497
1498 /**
1499 * Moves a topic of the community to the trash folder. (communityTopics.delete)
1500 *
1501 * @param int $communityId
1502 * The ID of the community whose topic will be moved to the trash folder.
1503 * @param string $topicId
1504 * The ID of the topic to be moved to the trash folder.
1505 * @param array $optParams Optional parameters.
1506 */
1507 public function delete($communityId, $topicId, $optParams = array())
1508 {
1509 $params = array('communityId' => $communityId, 'topicId' => $topicId);
1510 $params = array_merge($params, $optParams);
1511 return $this->call('delete', array($params));
1512 }
1513 /**
1514 * Retrieves a topic of a community. (communityTopics.get)
1515 *
1516 * @param int $communityId
1517 * The ID of the community whose topic will be retrieved.
1518 * @param string $topicId
1519 * The ID of the topic to get.
1520 * @param array $optParams Optional parameters.
1521 *
1522 * @opt_param string hl
1523 * Specifies the interface language (host language) of your user interface.
1524 * @return Google_Service_Orkut_CommunityTopic
1525 */
1526 public function get($communityId, $topicId, $optParams = array())
1527 {
1528 $params = array('communityId' => $communityId, 'topicId' => $topicId);
1529 $params = array_merge($params, $optParams);
1530 return $this->call('get', array($params), "Google_Service_Orkut_CommunityTopic");
1531 }
1532 /**
1533 * Adds a topic to a given community. (communityTopics.insert)
1534 *
1535 * @param int $communityId
1536 * The ID of the community the topic should be added to.
1537 * @param Google_CommunityTopic $postBody
1538 * @param array $optParams Optional parameters.
1539 *
1540 * @opt_param bool isShout
1541 * Whether this topic is a shout.
1542 * @return Google_Service_Orkut_CommunityTopic
1543 */
1544 public function insert($communityId, Google_Service_Orkut_CommunityTopic $postBody, $optParams = array())
1545 {
1546 $params = array('communityId' => $communityId, 'postBody' => $postBody);
1547 $params = array_merge($params, $optParams);
1548 return $this->call('insert', array($params), "Google_Service_Orkut_CommunityTopic");
1549 }
1550 /**
1551 * Retrieves the topics of a community. (communityTopics.listCommunityTopics)
1552 *
1553 * @param int $communityId
1554 * The ID of the community which topics will be listed.
1555 * @param array $optParams Optional parameters.
1556 *
1557 * @opt_param string pageToken
1558 * A continuation token that allows pagination.
1559 * @opt_param string maxResults
1560 * The maximum number of topics to include in the response.
1561 * @opt_param string hl
1562 * Specifies the interface language (host language) of your user interface.
1563 * @return Google_Service_Orkut_CommunityTopicList
1564 */
1565 public function listCommunityTopics($communityId, $optParams = array())
1566 {
1567 $params = array('communityId' => $communityId);
1568 $params = array_merge($params, $optParams);
1569 return $this->call('list', array($params), "Google_Service_Orkut_CommunityTopicList");
1570 }
1571 }
1572
1573 /**
1574 * The "counters" collection of methods.
1575 * Typical usage is:
1576 * <code>
1577 * $orkutService = new Google_Service_Orkut(...);
1578 * $counters = $orkutService->counters;
1579 * </code>
1580 */
1581 class Google_Service_Orkut_Counters_Resource extends Google_Service_Resource
1582 {
1583
1584 /**
1585 * Retrieves the counters of a user. (counters.listCounters)
1586 *
1587 * @param string $userId
1588 * The ID of the user whose counters will be listed. Can be me to refer to caller.
1589 * @param array $optParams Optional parameters.
1590 * @return Google_Service_Orkut_Counters
1591 */
1592 public function listCounters($userId, $optParams = array())
1593 {
1594 $params = array('userId' => $userId);
1595 $params = array_merge($params, $optParams);
1596 return $this->call('list', array($params), "Google_Service_Orkut_Counters");
1597 }
1598 }
1599
1600 /**
1601 * The "scraps" collection of methods.
1602 * Typical usage is:
1603 * <code>
1604 * $orkutService = new Google_Service_Orkut(...);
1605 * $scraps = $orkutService->scraps;
1606 * </code>
1607 */
1608 class Google_Service_Orkut_Scraps_Resource extends Google_Service_Resource
1609 {
1610
1611 /**
1612 * Creates a new scrap. (scraps.insert)
1613 *
1614 * @param Google_Activity $postBody
1615 * @param array $optParams Optional parameters.
1616 * @return Google_Service_Orkut_Activity
1617 */
1618 public function insert(Google_Service_Orkut_Activity $postBody, $optParams = array())
1619 {
1620 $params = array('postBody' => $postBody);
1621 $params = array_merge($params, $optParams);
1622 return $this->call('insert', array($params), "Google_Service_Orkut_Activity");
1623 }
1624 }
1625
1626
1627
1628
1629 class Google_Service_Orkut_Acl extends Google_Collection
1630 {
1631 public $description;
1632 protected $itemsType = 'Google_Service_Orkut_AclItems';
1633 protected $itemsDataType = 'array';
1634 public $kind;
1635 public $totalParticipants;
1636
1637 public function setDescription($description)
1638 {
1639 $this->description = $description;
1640 }
1641
1642 public function getDescription()
1643 {
1644 return $this->description;
1645 }
1646
1647 public function setItems($items)
1648 {
1649 $this->items = $items;
1650 }
1651
1652 public function getItems()
1653 {
1654 return $this->items;
1655 }
1656
1657 public function setKind($kind)
1658 {
1659 $this->kind = $kind;
1660 }
1661
1662 public function getKind()
1663 {
1664 return $this->kind;
1665 }
1666
1667 public function setTotalParticipants($totalParticipants)
1668 {
1669 $this->totalParticipants = $totalParticipants;
1670 }
1671
1672 public function getTotalParticipants()
1673 {
1674 return $this->totalParticipants;
1675 }
1676 }
1677
1678 class Google_Service_Orkut_AclItems extends Google_Model
1679 {
1680 public $id;
1681 public $type;
1682
1683 public function setId($id)
1684 {
1685 $this->id = $id;
1686 }
1687
1688 public function getId()
1689 {
1690 return $this->id;
1691 }
1692
1693 public function setType($type)
1694 {
1695 $this->type = $type;
1696 }
1697
1698 public function getType()
1699 {
1700 return $this->type;
1701 }
1702 }
1703
1704 class Google_Service_Orkut_Activity extends Google_Collection
1705 {
1706 protected $accessType = 'Google_Service_Orkut_Acl';
1707 protected $accessDataType = '';
1708 protected $actorType = 'Google_Service_Orkut_OrkutAuthorResource';
1709 protected $actorDataType = '';
1710 public $id;
1711 public $kind;
1712 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
1713 protected $linksDataType = 'array';
1714 protected $objectType = 'Google_Service_Orkut_ActivityObject';
1715 protected $objectDataType = '';
1716 public $published;
1717 public $title;
1718 public $updated;
1719 public $verb;
1720
1721 public function setAccess(Google_Service_Orkut_Acl $access)
1722 {
1723 $this->access = $access;
1724 }
1725
1726 public function getAccess()
1727 {
1728 return $this->access;
1729 }
1730
1731 public function setActor(Google_Service_Orkut_OrkutAuthorResource $actor)
1732 {
1733 $this->actor = $actor;
1734 }
1735
1736 public function getActor()
1737 {
1738 return $this->actor;
1739 }
1740
1741 public function setId($id)
1742 {
1743 $this->id = $id;
1744 }
1745
1746 public function getId()
1747 {
1748 return $this->id;
1749 }
1750
1751 public function setKind($kind)
1752 {
1753 $this->kind = $kind;
1754 }
1755
1756 public function getKind()
1757 {
1758 return $this->kind;
1759 }
1760
1761 public function setLinks($links)
1762 {
1763 $this->links = $links;
1764 }
1765
1766 public function getLinks()
1767 {
1768 return $this->links;
1769 }
1770
1771 public function setObject(Google_Service_Orkut_ActivityObject $object)
1772 {
1773 $this->object = $object;
1774 }
1775
1776 public function getObject()
1777 {
1778 return $this->object;
1779 }
1780
1781 public function setPublished($published)
1782 {
1783 $this->published = $published;
1784 }
1785
1786 public function getPublished()
1787 {
1788 return $this->published;
1789 }
1790
1791 public function setTitle($title)
1792 {
1793 $this->title = $title;
1794 }
1795
1796 public function getTitle()
1797 {
1798 return $this->title;
1799 }
1800
1801 public function setUpdated($updated)
1802 {
1803 $this->updated = $updated;
1804 }
1805
1806 public function getUpdated()
1807 {
1808 return $this->updated;
1809 }
1810
1811 public function setVerb($verb)
1812 {
1813 $this->verb = $verb;
1814 }
1815
1816 public function getVerb()
1817 {
1818 return $this->verb;
1819 }
1820 }
1821
1822 class Google_Service_Orkut_ActivityList extends Google_Collection
1823 {
1824 protected $itemsType = 'Google_Service_Orkut_Activity';
1825 protected $itemsDataType = 'array';
1826 public $kind;
1827 public $nextPageToken;
1828
1829 public function setItems($items)
1830 {
1831 $this->items = $items;
1832 }
1833
1834 public function getItems()
1835 {
1836 return $this->items;
1837 }
1838
1839 public function setKind($kind)
1840 {
1841 $this->kind = $kind;
1842 }
1843
1844 public function getKind()
1845 {
1846 return $this->kind;
1847 }
1848
1849 public function setNextPageToken($nextPageToken)
1850 {
1851 $this->nextPageToken = $nextPageToken;
1852 }
1853
1854 public function getNextPageToken()
1855 {
1856 return $this->nextPageToken;
1857 }
1858 }
1859
1860 class Google_Service_Orkut_ActivityObject extends Google_Collection
1861 {
1862 public $content;
1863 protected $itemsType = 'Google_Service_Orkut_OrkutActivityobjectsResource';
1864 protected $itemsDataType = 'array';
1865 public $objectType;
1866 protected $repliesType = 'Google_Service_Orkut_ActivityObjectReplies';
1867 protected $repliesDataType = '';
1868
1869 public function setContent($content)
1870 {
1871 $this->content = $content;
1872 }
1873
1874 public function getContent()
1875 {
1876 return $this->content;
1877 }
1878
1879 public function setItems($items)
1880 {
1881 $this->items = $items;
1882 }
1883
1884 public function getItems()
1885 {
1886 return $this->items;
1887 }
1888
1889 public function setObjectType($objectType)
1890 {
1891 $this->objectType = $objectType;
1892 }
1893
1894 public function getObjectType()
1895 {
1896 return $this->objectType;
1897 }
1898
1899 public function setReplies(Google_Service_Orkut_ActivityObjectReplies $replies)
1900 {
1901 $this->replies = $replies;
1902 }
1903
1904 public function getReplies()
1905 {
1906 return $this->replies;
1907 }
1908 }
1909
1910 class Google_Service_Orkut_ActivityObjectReplies extends Google_Collection
1911 {
1912 protected $itemsType = 'Google_Service_Orkut_Comment';
1913 protected $itemsDataType = 'array';
1914 public $totalItems;
1915 public $url;
1916
1917 public function setItems($items)
1918 {
1919 $this->items = $items;
1920 }
1921
1922 public function getItems()
1923 {
1924 return $this->items;
1925 }
1926
1927 public function setTotalItems($totalItems)
1928 {
1929 $this->totalItems = $totalItems;
1930 }
1931
1932 public function getTotalItems()
1933 {
1934 return $this->totalItems;
1935 }
1936
1937 public function setUrl($url)
1938 {
1939 $this->url = $url;
1940 }
1941
1942 public function getUrl()
1943 {
1944 return $this->url;
1945 }
1946 }
1947
1948 class Google_Service_Orkut_Badge extends Google_Model
1949 {
1950 public $badgeLargeLogo;
1951 public $badgeSmallLogo;
1952 public $caption;
1953 public $description;
1954 public $id;
1955 public $kind;
1956 public $sponsorLogo;
1957 public $sponsorName;
1958 public $sponsorUrl;
1959
1960 public function setBadgeLargeLogo($badgeLargeLogo)
1961 {
1962 $this->badgeLargeLogo = $badgeLargeLogo;
1963 }
1964
1965 public function getBadgeLargeLogo()
1966 {
1967 return $this->badgeLargeLogo;
1968 }
1969
1970 public function setBadgeSmallLogo($badgeSmallLogo)
1971 {
1972 $this->badgeSmallLogo = $badgeSmallLogo;
1973 }
1974
1975 public function getBadgeSmallLogo()
1976 {
1977 return $this->badgeSmallLogo;
1978 }
1979
1980 public function setCaption($caption)
1981 {
1982 $this->caption = $caption;
1983 }
1984
1985 public function getCaption()
1986 {
1987 return $this->caption;
1988 }
1989
1990 public function setDescription($description)
1991 {
1992 $this->description = $description;
1993 }
1994
1995 public function getDescription()
1996 {
1997 return $this->description;
1998 }
1999
2000 public function setId($id)
2001 {
2002 $this->id = $id;
2003 }
2004
2005 public function getId()
2006 {
2007 return $this->id;
2008 }
2009
2010 public function setKind($kind)
2011 {
2012 $this->kind = $kind;
2013 }
2014
2015 public function getKind()
2016 {
2017 return $this->kind;
2018 }
2019
2020 public function setSponsorLogo($sponsorLogo)
2021 {
2022 $this->sponsorLogo = $sponsorLogo;
2023 }
2024
2025 public function getSponsorLogo()
2026 {
2027 return $this->sponsorLogo;
2028 }
2029
2030 public function setSponsorName($sponsorName)
2031 {
2032 $this->sponsorName = $sponsorName;
2033 }
2034
2035 public function getSponsorName()
2036 {
2037 return $this->sponsorName;
2038 }
2039
2040 public function setSponsorUrl($sponsorUrl)
2041 {
2042 $this->sponsorUrl = $sponsorUrl;
2043 }
2044
2045 public function getSponsorUrl()
2046 {
2047 return $this->sponsorUrl;
2048 }
2049 }
2050
2051 class Google_Service_Orkut_BadgeList extends Google_Collection
2052 {
2053 protected $itemsType = 'Google_Service_Orkut_Badge';
2054 protected $itemsDataType = 'array';
2055 public $kind;
2056
2057 public function setItems($items)
2058 {
2059 $this->items = $items;
2060 }
2061
2062 public function getItems()
2063 {
2064 return $this->items;
2065 }
2066
2067 public function setKind($kind)
2068 {
2069 $this->kind = $kind;
2070 }
2071
2072 public function getKind()
2073 {
2074 return $this->kind;
2075 }
2076 }
2077
2078 class Google_Service_Orkut_Comment extends Google_Collection
2079 {
2080 protected $actorType = 'Google_Service_Orkut_OrkutAuthorResource';
2081 protected $actorDataType = '';
2082 public $content;
2083 public $id;
2084 protected $inReplyToType = 'Google_Service_Orkut_CommentInReplyTo';
2085 protected $inReplyToDataType = '';
2086 public $kind;
2087 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
2088 protected $linksDataType = 'array';
2089 public $published;
2090
2091 public function setActor(Google_Service_Orkut_OrkutAuthorResource $actor)
2092 {
2093 $this->actor = $actor;
2094 }
2095
2096 public function getActor()
2097 {
2098 return $this->actor;
2099 }
2100
2101 public function setContent($content)
2102 {
2103 $this->content = $content;
2104 }
2105
2106 public function getContent()
2107 {
2108 return $this->content;
2109 }
2110
2111 public function setId($id)
2112 {
2113 $this->id = $id;
2114 }
2115
2116 public function getId()
2117 {
2118 return $this->id;
2119 }
2120
2121 public function setInReplyTo(Google_Service_Orkut_CommentInReplyTo $inReplyTo)
2122 {
2123 $this->inReplyTo = $inReplyTo;
2124 }
2125
2126 public function getInReplyTo()
2127 {
2128 return $this->inReplyTo;
2129 }
2130
2131 public function setKind($kind)
2132 {
2133 $this->kind = $kind;
2134 }
2135
2136 public function getKind()
2137 {
2138 return $this->kind;
2139 }
2140
2141 public function setLinks($links)
2142 {
2143 $this->links = $links;
2144 }
2145
2146 public function getLinks()
2147 {
2148 return $this->links;
2149 }
2150
2151 public function setPublished($published)
2152 {
2153 $this->published = $published;
2154 }
2155
2156 public function getPublished()
2157 {
2158 return $this->published;
2159 }
2160 }
2161
2162 class Google_Service_Orkut_CommentInReplyTo extends Google_Model
2163 {
2164 public $href;
2165 public $ref;
2166 public $rel;
2167 public $type;
2168
2169 public function setHref($href)
2170 {
2171 $this->href = $href;
2172 }
2173
2174 public function getHref()
2175 {
2176 return $this->href;
2177 }
2178
2179 public function setRef($ref)
2180 {
2181 $this->ref = $ref;
2182 }
2183
2184 public function getRef()
2185 {
2186 return $this->ref;
2187 }
2188
2189 public function setRel($rel)
2190 {
2191 $this->rel = $rel;
2192 }
2193
2194 public function getRel()
2195 {
2196 return $this->rel;
2197 }
2198
2199 public function setType($type)
2200 {
2201 $this->type = $type;
2202 }
2203
2204 public function getType()
2205 {
2206 return $this->type;
2207 }
2208 }
2209
2210 class Google_Service_Orkut_CommentList extends Google_Collection
2211 {
2212 protected $itemsType = 'Google_Service_Orkut_Comment';
2213 protected $itemsDataType = 'array';
2214 public $kind;
2215 public $nextPageToken;
2216 public $previousPageToken;
2217
2218 public function setItems($items)
2219 {
2220 $this->items = $items;
2221 }
2222
2223 public function getItems()
2224 {
2225 return $this->items;
2226 }
2227
2228 public function setKind($kind)
2229 {
2230 $this->kind = $kind;
2231 }
2232
2233 public function getKind()
2234 {
2235 return $this->kind;
2236 }
2237
2238 public function setNextPageToken($nextPageToken)
2239 {
2240 $this->nextPageToken = $nextPageToken;
2241 }
2242
2243 public function getNextPageToken()
2244 {
2245 return $this->nextPageToken;
2246 }
2247
2248 public function setPreviousPageToken($previousPageToken)
2249 {
2250 $this->previousPageToken = $previousPageToken;
2251 }
2252
2253 public function getPreviousPageToken()
2254 {
2255 return $this->previousPageToken;
2256 }
2257 }
2258
2259 class Google_Service_Orkut_Community extends Google_Collection
2260 {
2261 public $category;
2262 protected $coOwnersType = 'Google_Service_Orkut_OrkutAuthorResource';
2263 protected $coOwnersDataType = 'array';
2264 public $creationDate;
2265 public $description;
2266 public $id;
2267 public $kind;
2268 public $language;
2269 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
2270 protected $linksDataType = 'array';
2271 public $location;
2272 public $memberCount;
2273 protected $moderatorsType = 'Google_Service_Orkut_OrkutAuthorResource';
2274 protected $moderatorsDataType = 'array';
2275 public $name;
2276 protected $ownerType = 'Google_Service_Orkut_OrkutAuthorResource';
2277 protected $ownerDataType = '';
2278 public $photoUrl;
2279
2280 public function setCategory($category)
2281 {
2282 $this->category = $category;
2283 }
2284
2285 public function getCategory()
2286 {
2287 return $this->category;
2288 }
2289
2290 public function setCoOwners($coOwners)
2291 {
2292 $this->coOwners = $coOwners;
2293 }
2294
2295 public function getCoOwners()
2296 {
2297 return $this->coOwners;
2298 }
2299
2300 public function setCreationDate($creationDate)
2301 {
2302 $this->creationDate = $creationDate;
2303 }
2304
2305 public function getCreationDate()
2306 {
2307 return $this->creationDate;
2308 }
2309
2310 public function setDescription($description)
2311 {
2312 $this->description = $description;
2313 }
2314
2315 public function getDescription()
2316 {
2317 return $this->description;
2318 }
2319
2320 public function setId($id)
2321 {
2322 $this->id = $id;
2323 }
2324
2325 public function getId()
2326 {
2327 return $this->id;
2328 }
2329
2330 public function setKind($kind)
2331 {
2332 $this->kind = $kind;
2333 }
2334
2335 public function getKind()
2336 {
2337 return $this->kind;
2338 }
2339
2340 public function setLanguage($language)
2341 {
2342 $this->language = $language;
2343 }
2344
2345 public function getLanguage()
2346 {
2347 return $this->language;
2348 }
2349
2350 public function setLinks($links)
2351 {
2352 $this->links = $links;
2353 }
2354
2355 public function getLinks()
2356 {
2357 return $this->links;
2358 }
2359
2360 public function setLocation($location)
2361 {
2362 $this->location = $location;
2363 }
2364
2365 public function getLocation()
2366 {
2367 return $this->location;
2368 }
2369
2370 public function setMemberCount($memberCount)
2371 {
2372 $this->memberCount = $memberCount;
2373 }
2374
2375 public function getMemberCount()
2376 {
2377 return $this->memberCount;
2378 }
2379
2380 public function setModerators($moderators)
2381 {
2382 $this->moderators = $moderators;
2383 }
2384
2385 public function getModerators()
2386 {
2387 return $this->moderators;
2388 }
2389
2390 public function setName($name)
2391 {
2392 $this->name = $name;
2393 }
2394
2395 public function getName()
2396 {
2397 return $this->name;
2398 }
2399
2400 public function setOwner(Google_Service_Orkut_OrkutAuthorResource $owner)
2401 {
2402 $this->owner = $owner;
2403 }
2404
2405 public function getOwner()
2406 {
2407 return $this->owner;
2408 }
2409
2410 public function setPhotoUrl($photoUrl)
2411 {
2412 $this->photoUrl = $photoUrl;
2413 }
2414
2415 public function getPhotoUrl()
2416 {
2417 return $this->photoUrl;
2418 }
2419 }
2420
2421 class Google_Service_Orkut_CommunityList extends Google_Collection
2422 {
2423 protected $itemsType = 'Google_Service_Orkut_Community';
2424 protected $itemsDataType = 'array';
2425 public $kind;
2426
2427 public function setItems($items)
2428 {
2429 $this->items = $items;
2430 }
2431
2432 public function getItems()
2433 {
2434 return $this->items;
2435 }
2436
2437 public function setKind($kind)
2438 {
2439 $this->kind = $kind;
2440 }
2441
2442 public function getKind()
2443 {
2444 return $this->kind;
2445 }
2446 }
2447
2448 class Google_Service_Orkut_CommunityMembers extends Google_Model
2449 {
2450 protected $communityMembershipStatusType = 'Google_Service_Orkut_CommunityMembershipStatus';
2451 protected $communityMembershipStatusDataType = '';
2452 public $kind;
2453 protected $personType = 'Google_Service_Orkut_OrkutActivitypersonResource';
2454 protected $personDataType = '';
2455
2456 public function setCommunityMembershipStatus(Google_Service_Orkut_CommunityMembershipStatus $communityMembershipStatus)
2457 {
2458 $this->communityMembershipStatus = $communityMembershipStatus;
2459 }
2460
2461 public function getCommunityMembershipStatus()
2462 {
2463 return $this->communityMembershipStatus;
2464 }
2465
2466 public function setKind($kind)
2467 {
2468 $this->kind = $kind;
2469 }
2470
2471 public function getKind()
2472 {
2473 return $this->kind;
2474 }
2475
2476 public function setPerson(Google_Service_Orkut_OrkutActivitypersonResource $person)
2477 {
2478 $this->person = $person;
2479 }
2480
2481 public function getPerson()
2482 {
2483 return $this->person;
2484 }
2485 }
2486
2487 class Google_Service_Orkut_CommunityMembersList extends Google_Collection
2488 {
2489 public $firstPageToken;
2490 protected $itemsType = 'Google_Service_Orkut_CommunityMembers';
2491 protected $itemsDataType = 'array';
2492 public $kind;
2493 public $lastPageToken;
2494 public $nextPageToken;
2495 public $prevPageToken;
2496
2497 public function setFirstPageToken($firstPageToken)
2498 {
2499 $this->firstPageToken = $firstPageToken;
2500 }
2501
2502 public function getFirstPageToken()
2503 {
2504 return $this->firstPageToken;
2505 }
2506
2507 public function setItems($items)
2508 {
2509 $this->items = $items;
2510 }
2511
2512 public function getItems()
2513 {
2514 return $this->items;
2515 }
2516
2517 public function setKind($kind)
2518 {
2519 $this->kind = $kind;
2520 }
2521
2522 public function getKind()
2523 {
2524 return $this->kind;
2525 }
2526
2527 public function setLastPageToken($lastPageToken)
2528 {
2529 $this->lastPageToken = $lastPageToken;
2530 }
2531
2532 public function getLastPageToken()
2533 {
2534 return $this->lastPageToken;
2535 }
2536
2537 public function setNextPageToken($nextPageToken)
2538 {
2539 $this->nextPageToken = $nextPageToken;
2540 }
2541
2542 public function getNextPageToken()
2543 {
2544 return $this->nextPageToken;
2545 }
2546
2547 public function setPrevPageToken($prevPageToken)
2548 {
2549 $this->prevPageToken = $prevPageToken;
2550 }
2551
2552 public function getPrevPageToken()
2553 {
2554 return $this->prevPageToken;
2555 }
2556 }
2557
2558 class Google_Service_Orkut_CommunityMembershipStatus extends Google_Model
2559 {
2560 public $canCreatePoll;
2561 public $canCreateTopic;
2562 public $canShout;
2563 public $isCoOwner;
2564 public $isFollowing;
2565 public $isModerator;
2566 public $isOwner;
2567 public $isRestoreAvailable;
2568 public $isTakebackAvailable;
2569 public $kind;
2570 public $status;
2571
2572 public function setCanCreatePoll($canCreatePoll)
2573 {
2574 $this->canCreatePoll = $canCreatePoll;
2575 }
2576
2577 public function getCanCreatePoll()
2578 {
2579 return $this->canCreatePoll;
2580 }
2581
2582 public function setCanCreateTopic($canCreateTopic)
2583 {
2584 $this->canCreateTopic = $canCreateTopic;
2585 }
2586
2587 public function getCanCreateTopic()
2588 {
2589 return $this->canCreateTopic;
2590 }
2591
2592 public function setCanShout($canShout)
2593 {
2594 $this->canShout = $canShout;
2595 }
2596
2597 public function getCanShout()
2598 {
2599 return $this->canShout;
2600 }
2601
2602 public function setIsCoOwner($isCoOwner)
2603 {
2604 $this->isCoOwner = $isCoOwner;
2605 }
2606
2607 public function getIsCoOwner()
2608 {
2609 return $this->isCoOwner;
2610 }
2611
2612 public function setIsFollowing($isFollowing)
2613 {
2614 $this->isFollowing = $isFollowing;
2615 }
2616
2617 public function getIsFollowing()
2618 {
2619 return $this->isFollowing;
2620 }
2621
2622 public function setIsModerator($isModerator)
2623 {
2624 $this->isModerator = $isModerator;
2625 }
2626
2627 public function getIsModerator()
2628 {
2629 return $this->isModerator;
2630 }
2631
2632 public function setIsOwner($isOwner)
2633 {
2634 $this->isOwner = $isOwner;
2635 }
2636
2637 public function getIsOwner()
2638 {
2639 return $this->isOwner;
2640 }
2641
2642 public function setIsRestoreAvailable($isRestoreAvailable)
2643 {
2644 $this->isRestoreAvailable = $isRestoreAvailable;
2645 }
2646
2647 public function getIsRestoreAvailable()
2648 {
2649 return $this->isRestoreAvailable;
2650 }
2651
2652 public function setIsTakebackAvailable($isTakebackAvailable)
2653 {
2654 $this->isTakebackAvailable = $isTakebackAvailable;
2655 }
2656
2657 public function getIsTakebackAvailable()
2658 {
2659 return $this->isTakebackAvailable;
2660 }
2661
2662 public function setKind($kind)
2663 {
2664 $this->kind = $kind;
2665 }
2666
2667 public function getKind()
2668 {
2669 return $this->kind;
2670 }
2671
2672 public function setStatus($status)
2673 {
2674 $this->status = $status;
2675 }
2676
2677 public function getStatus()
2678 {
2679 return $this->status;
2680 }
2681 }
2682
2683 class Google_Service_Orkut_CommunityMessage extends Google_Collection
2684 {
2685 public $addedDate;
2686 protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
2687 protected $authorDataType = '';
2688 public $body;
2689 public $id;
2690 public $isSpam;
2691 public $kind;
2692 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
2693 protected $linksDataType = 'array';
2694 public $subject;
2695
2696 public function setAddedDate($addedDate)
2697 {
2698 $this->addedDate = $addedDate;
2699 }
2700
2701 public function getAddedDate()
2702 {
2703 return $this->addedDate;
2704 }
2705
2706 public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
2707 {
2708 $this->author = $author;
2709 }
2710
2711 public function getAuthor()
2712 {
2713 return $this->author;
2714 }
2715
2716 public function setBody($body)
2717 {
2718 $this->body = $body;
2719 }
2720
2721 public function getBody()
2722 {
2723 return $this->body;
2724 }
2725
2726 public function setId($id)
2727 {
2728 $this->id = $id;
2729 }
2730
2731 public function getId()
2732 {
2733 return $this->id;
2734 }
2735
2736 public function setIsSpam($isSpam)
2737 {
2738 $this->isSpam = $isSpam;
2739 }
2740
2741 public function getIsSpam()
2742 {
2743 return $this->isSpam;
2744 }
2745
2746 public function setKind($kind)
2747 {
2748 $this->kind = $kind;
2749 }
2750
2751 public function getKind()
2752 {
2753 return $this->kind;
2754 }
2755
2756 public function setLinks($links)
2757 {
2758 $this->links = $links;
2759 }
2760
2761 public function getLinks()
2762 {
2763 return $this->links;
2764 }
2765
2766 public function setSubject($subject)
2767 {
2768 $this->subject = $subject;
2769 }
2770
2771 public function getSubject()
2772 {
2773 return $this->subject;
2774 }
2775 }
2776
2777 class Google_Service_Orkut_CommunityMessageList extends Google_Collection
2778 {
2779 public $firstPageToken;
2780 protected $itemsType = 'Google_Service_Orkut_CommunityMessage';
2781 protected $itemsDataType = 'array';
2782 public $kind;
2783 public $lastPageToken;
2784 public $nextPageToken;
2785 public $prevPageToken;
2786
2787 public function setFirstPageToken($firstPageToken)
2788 {
2789 $this->firstPageToken = $firstPageToken;
2790 }
2791
2792 public function getFirstPageToken()
2793 {
2794 return $this->firstPageToken;
2795 }
2796
2797 public function setItems($items)
2798 {
2799 $this->items = $items;
2800 }
2801
2802 public function getItems()
2803 {
2804 return $this->items;
2805 }
2806
2807 public function setKind($kind)
2808 {
2809 $this->kind = $kind;
2810 }
2811
2812 public function getKind()
2813 {
2814 return $this->kind;
2815 }
2816
2817 public function setLastPageToken($lastPageToken)
2818 {
2819 $this->lastPageToken = $lastPageToken;
2820 }
2821
2822 public function getLastPageToken()
2823 {
2824 return $this->lastPageToken;
2825 }
2826
2827 public function setNextPageToken($nextPageToken)
2828 {
2829 $this->nextPageToken = $nextPageToken;
2830 }
2831
2832 public function getNextPageToken()
2833 {
2834 return $this->nextPageToken;
2835 }
2836
2837 public function setPrevPageToken($prevPageToken)
2838 {
2839 $this->prevPageToken = $prevPageToken;
2840 }
2841
2842 public function getPrevPageToken()
2843 {
2844 return $this->prevPageToken;
2845 }
2846 }
2847
2848 class Google_Service_Orkut_CommunityPoll extends Google_Collection
2849 {
2850 protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
2851 protected $authorDataType = '';
2852 public $communityId;
2853 public $creationTime;
2854 public $description;
2855 public $endingTime;
2856 public $hasVoted;
2857 public $id;
2858 protected $imageType = 'Google_Service_Orkut_CommunityPollImage';
2859 protected $imageDataType = '';
2860 public $isClosed;
2861 public $isMultipleAnswers;
2862 public $isOpenForVoting;
2863 public $isRestricted;
2864 public $isSpam;
2865 public $isUsersVotePublic;
2866 public $isVotingAllowedForNonMembers;
2867 public $kind;
2868 public $lastUpdate;
2869 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
2870 protected $linksDataType = 'array';
2871 protected $optionsType = 'Google_Service_Orkut_OrkutCommunitypolloptionResource';
2872 protected $optionsDataType = 'array';
2873 public $question;
2874 public $totalNumberOfVotes;
2875 public $votedOptions;
2876
2877 public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
2878 {
2879 $this->author = $author;
2880 }
2881
2882 public function getAuthor()
2883 {
2884 return $this->author;
2885 }
2886
2887 public function setCommunityId($communityId)
2888 {
2889 $this->communityId = $communityId;
2890 }
2891
2892 public function getCommunityId()
2893 {
2894 return $this->communityId;
2895 }
2896
2897 public function setCreationTime($creationTime)
2898 {
2899 $this->creationTime = $creationTime;
2900 }
2901
2902 public function getCreationTime()
2903 {
2904 return $this->creationTime;
2905 }
2906
2907 public function setDescription($description)
2908 {
2909 $this->description = $description;
2910 }
2911
2912 public function getDescription()
2913 {
2914 return $this->description;
2915 }
2916
2917 public function setEndingTime($endingTime)
2918 {
2919 $this->endingTime = $endingTime;
2920 }
2921
2922 public function getEndingTime()
2923 {
2924 return $this->endingTime;
2925 }
2926
2927 public function setHasVoted($hasVoted)
2928 {
2929 $this->hasVoted = $hasVoted;
2930 }
2931
2932 public function getHasVoted()
2933 {
2934 return $this->hasVoted;
2935 }
2936
2937 public function setId($id)
2938 {
2939 $this->id = $id;
2940 }
2941
2942 public function getId()
2943 {
2944 return $this->id;
2945 }
2946
2947 public function setImage(Google_Service_Orkut_CommunityPollImage $image)
2948 {
2949 $this->image = $image;
2950 }
2951
2952 public function getImage()
2953 {
2954 return $this->image;
2955 }
2956
2957 public function setIsClosed($isClosed)
2958 {
2959 $this->isClosed = $isClosed;
2960 }
2961
2962 public function getIsClosed()
2963 {
2964 return $this->isClosed;
2965 }
2966
2967 public function setIsMultipleAnswers($isMultipleAnswers)
2968 {
2969 $this->isMultipleAnswers = $isMultipleAnswers;
2970 }
2971
2972 public function getIsMultipleAnswers()
2973 {
2974 return $this->isMultipleAnswers;
2975 }
2976
2977 public function setIsOpenForVoting($isOpenForVoting)
2978 {
2979 $this->isOpenForVoting = $isOpenForVoting;
2980 }
2981
2982 public function getIsOpenForVoting()
2983 {
2984 return $this->isOpenForVoting;
2985 }
2986
2987 public function setIsRestricted($isRestricted)
2988 {
2989 $this->isRestricted = $isRestricted;
2990 }
2991
2992 public function getIsRestricted()
2993 {
2994 return $this->isRestricted;
2995 }
2996
2997 public function setIsSpam($isSpam)
2998 {
2999 $this->isSpam = $isSpam;
3000 }
3001
3002 public function getIsSpam()
3003 {
3004 return $this->isSpam;
3005 }
3006
3007 public function setIsUsersVotePublic($isUsersVotePublic)
3008 {
3009 $this->isUsersVotePublic = $isUsersVotePublic;
3010 }
3011
3012 public function getIsUsersVotePublic()
3013 {
3014 return $this->isUsersVotePublic;
3015 }
3016
3017 public function setIsVotingAllowedForNonMembers($isVotingAllowedForNonMembers)
3018 {
3019 $this->isVotingAllowedForNonMembers = $isVotingAllowedForNonMembers;
3020 }
3021
3022 public function getIsVotingAllowedForNonMembers()
3023 {
3024 return $this->isVotingAllowedForNonMembers;
3025 }
3026
3027 public function setKind($kind)
3028 {
3029 $this->kind = $kind;
3030 }
3031
3032 public function getKind()
3033 {
3034 return $this->kind;
3035 }
3036
3037 public function setLastUpdate($lastUpdate)
3038 {
3039 $this->lastUpdate = $lastUpdate;
3040 }
3041
3042 public function getLastUpdate()
3043 {
3044 return $this->lastUpdate;
3045 }
3046
3047 public function setLinks($links)
3048 {
3049 $this->links = $links;
3050 }
3051
3052 public function getLinks()
3053 {
3054 return $this->links;
3055 }
3056
3057 public function setOptions($options)
3058 {
3059 $this->options = $options;
3060 }
3061
3062 public function getOptions()
3063 {
3064 return $this->options;
3065 }
3066
3067 public function setQuestion($question)
3068 {
3069 $this->question = $question;
3070 }
3071
3072 public function getQuestion()
3073 {
3074 return $this->question;
3075 }
3076
3077 public function setTotalNumberOfVotes($totalNumberOfVotes)
3078 {
3079 $this->totalNumberOfVotes = $totalNumberOfVotes;
3080 }
3081
3082 public function getTotalNumberOfVotes()
3083 {
3084 return $this->totalNumberOfVotes;
3085 }
3086
3087 public function setVotedOptions($votedOptions)
3088 {
3089 $this->votedOptions = $votedOptions;
3090 }
3091
3092 public function getVotedOptions()
3093 {
3094 return $this->votedOptions;
3095 }
3096 }
3097
3098 class Google_Service_Orkut_CommunityPollComment extends Google_Model
3099 {
3100 public $addedDate;
3101 protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
3102 protected $authorDataType = '';
3103 public $body;
3104 public $id;
3105 public $kind;
3106
3107 public function setAddedDate($addedDate)
3108 {
3109 $this->addedDate = $addedDate;
3110 }
3111
3112 public function getAddedDate()
3113 {
3114 return $this->addedDate;
3115 }
3116
3117 public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
3118 {
3119 $this->author = $author;
3120 }
3121
3122 public function getAuthor()
3123 {
3124 return $this->author;
3125 }
3126
3127 public function setBody($body)
3128 {
3129 $this->body = $body;
3130 }
3131
3132 public function getBody()
3133 {
3134 return $this->body;
3135 }
3136
3137 public function setId($id)
3138 {
3139 $this->id = $id;
3140 }
3141
3142 public function getId()
3143 {
3144 return $this->id;
3145 }
3146
3147 public function setKind($kind)
3148 {
3149 $this->kind = $kind;
3150 }
3151
3152 public function getKind()
3153 {
3154 return $this->kind;
3155 }
3156 }
3157
3158 class Google_Service_Orkut_CommunityPollCommentList extends Google_Collection
3159 {
3160 public $firstPageToken;
3161 protected $itemsType = 'Google_Service_Orkut_CommunityPollComment';
3162 protected $itemsDataType = 'array';
3163 public $kind;
3164 public $lastPageToken;
3165 public $nextPageToken;
3166 public $prevPageToken;
3167
3168 public function setFirstPageToken($firstPageToken)
3169 {
3170 $this->firstPageToken = $firstPageToken;
3171 }
3172
3173 public function getFirstPageToken()
3174 {
3175 return $this->firstPageToken;
3176 }
3177
3178 public function setItems($items)
3179 {
3180 $this->items = $items;
3181 }
3182
3183 public function getItems()
3184 {
3185 return $this->items;
3186 }
3187
3188 public function setKind($kind)
3189 {
3190 $this->kind = $kind;
3191 }
3192
3193 public function getKind()
3194 {
3195 return $this->kind;
3196 }
3197
3198 public function setLastPageToken($lastPageToken)
3199 {
3200 $this->lastPageToken = $lastPageToken;
3201 }
3202
3203 public function getLastPageToken()
3204 {
3205 return $this->lastPageToken;
3206 }
3207
3208 public function setNextPageToken($nextPageToken)
3209 {
3210 $this->nextPageToken = $nextPageToken;
3211 }
3212
3213 public function getNextPageToken()
3214 {
3215 return $this->nextPageToken;
3216 }
3217
3218 public function setPrevPageToken($prevPageToken)
3219 {
3220 $this->prevPageToken = $prevPageToken;
3221 }
3222
3223 public function getPrevPageToken()
3224 {
3225 return $this->prevPageToken;
3226 }
3227 }
3228
3229 class Google_Service_Orkut_CommunityPollImage extends Google_Model
3230 {
3231 public $url;
3232
3233 public function setUrl($url)
3234 {
3235 $this->url = $url;
3236 }
3237
3238 public function getUrl()
3239 {
3240 return $this->url;
3241 }
3242 }
3243
3244 class Google_Service_Orkut_CommunityPollList extends Google_Collection
3245 {
3246 public $firstPageToken;
3247 protected $itemsType = 'Google_Service_Orkut_CommunityPoll';
3248 protected $itemsDataType = 'array';
3249 public $kind;
3250 public $lastPageToken;
3251 public $nextPageToken;
3252 public $prevPageToken;
3253
3254 public function setFirstPageToken($firstPageToken)
3255 {
3256 $this->firstPageToken = $firstPageToken;
3257 }
3258
3259 public function getFirstPageToken()
3260 {
3261 return $this->firstPageToken;
3262 }
3263
3264 public function setItems($items)
3265 {
3266 $this->items = $items;
3267 }
3268
3269 public function getItems()
3270 {
3271 return $this->items;
3272 }
3273
3274 public function setKind($kind)
3275 {
3276 $this->kind = $kind;
3277 }
3278
3279 public function getKind()
3280 {
3281 return $this->kind;
3282 }
3283
3284 public function setLastPageToken($lastPageToken)
3285 {
3286 $this->lastPageToken = $lastPageToken;
3287 }
3288
3289 public function getLastPageToken()
3290 {
3291 return $this->lastPageToken;
3292 }
3293
3294 public function setNextPageToken($nextPageToken)
3295 {
3296 $this->nextPageToken = $nextPageToken;
3297 }
3298
3299 public function getNextPageToken()
3300 {
3301 return $this->nextPageToken;
3302 }
3303
3304 public function setPrevPageToken($prevPageToken)
3305 {
3306 $this->prevPageToken = $prevPageToken;
3307 }
3308
3309 public function getPrevPageToken()
3310 {
3311 return $this->prevPageToken;
3312 }
3313 }
3314
3315 class Google_Service_Orkut_CommunityPollVote extends Google_Collection
3316 {
3317 public $isVotevisible;
3318 public $kind;
3319 public $optionIds;
3320
3321 public function setIsVotevisible($isVotevisible)
3322 {
3323 $this->isVotevisible = $isVotevisible;
3324 }
3325
3326 public function getIsVotevisible()
3327 {
3328 return $this->isVotevisible;
3329 }
3330
3331 public function setKind($kind)
3332 {
3333 $this->kind = $kind;
3334 }
3335
3336 public function getKind()
3337 {
3338 return $this->kind;
3339 }
3340
3341 public function setOptionIds($optionIds)
3342 {
3343 $this->optionIds = $optionIds;
3344 }
3345
3346 public function getOptionIds()
3347 {
3348 return $this->optionIds;
3349 }
3350 }
3351
3352 class Google_Service_Orkut_CommunityTopic extends Google_Collection
3353 {
3354 protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
3355 protected $authorDataType = '';
3356 public $body;
3357 public $id;
3358 public $isClosed;
3359 public $kind;
3360 public $lastUpdate;
3361 public $latestMessageSnippet;
3362 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
3363 protected $linksDataType = 'array';
3364 protected $messagesType = 'Google_Service_Orkut_CommunityMessage';
3365 protected $messagesDataType = 'array';
3366 public $numberOfReplies;
3367 public $title;
3368
3369 public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
3370 {
3371 $this->author = $author;
3372 }
3373
3374 public function getAuthor()
3375 {
3376 return $this->author;
3377 }
3378
3379 public function setBody($body)
3380 {
3381 $this->body = $body;
3382 }
3383
3384 public function getBody()
3385 {
3386 return $this->body;
3387 }
3388
3389 public function setId($id)
3390 {
3391 $this->id = $id;
3392 }
3393
3394 public function getId()
3395 {
3396 return $this->id;
3397 }
3398
3399 public function setIsClosed($isClosed)
3400 {
3401 $this->isClosed = $isClosed;
3402 }
3403
3404 public function getIsClosed()
3405 {
3406 return $this->isClosed;
3407 }
3408
3409 public function setKind($kind)
3410 {
3411 $this->kind = $kind;
3412 }
3413
3414 public function getKind()
3415 {
3416 return $this->kind;
3417 }
3418
3419 public function setLastUpdate($lastUpdate)
3420 {
3421 $this->lastUpdate = $lastUpdate;
3422 }
3423
3424 public function getLastUpdate()
3425 {
3426 return $this->lastUpdate;
3427 }
3428
3429 public function setLatestMessageSnippet($latestMessageSnippet)
3430 {
3431 $this->latestMessageSnippet = $latestMessageSnippet;
3432 }
3433
3434 public function getLatestMessageSnippet()
3435 {
3436 return $this->latestMessageSnippet;
3437 }
3438
3439 public function setLinks($links)
3440 {
3441 $this->links = $links;
3442 }
3443
3444 public function getLinks()
3445 {
3446 return $this->links;
3447 }
3448
3449 public function setMessages($messages)
3450 {
3451 $this->messages = $messages;
3452 }
3453
3454 public function getMessages()
3455 {
3456 return $this->messages;
3457 }
3458
3459 public function setNumberOfReplies($numberOfReplies)
3460 {
3461 $this->numberOfReplies = $numberOfReplies;
3462 }
3463
3464 public function getNumberOfReplies()
3465 {
3466 return $this->numberOfReplies;
3467 }
3468
3469 public function setTitle($title)
3470 {
3471 $this->title = $title;
3472 }
3473
3474 public function getTitle()
3475 {
3476 return $this->title;
3477 }
3478 }
3479
3480 class Google_Service_Orkut_CommunityTopicList extends Google_Collection
3481 {
3482 public $firstPageToken;
3483 protected $itemsType = 'Google_Service_Orkut_CommunityTopic';
3484 protected $itemsDataType = 'array';
3485 public $kind;
3486 public $lastPageToken;
3487 public $nextPageToken;
3488 public $prevPageToken;
3489
3490 public function setFirstPageToken($firstPageToken)
3491 {
3492 $this->firstPageToken = $firstPageToken;
3493 }
3494
3495 public function getFirstPageToken()
3496 {
3497 return $this->firstPageToken;
3498 }
3499
3500 public function setItems($items)
3501 {
3502 $this->items = $items;
3503 }
3504
3505 public function getItems()
3506 {
3507 return $this->items;
3508 }
3509
3510 public function setKind($kind)
3511 {
3512 $this->kind = $kind;
3513 }
3514
3515 public function getKind()
3516 {
3517 return $this->kind;
3518 }
3519
3520 public function setLastPageToken($lastPageToken)
3521 {
3522 $this->lastPageToken = $lastPageToken;
3523 }
3524
3525 public function getLastPageToken()
3526 {
3527 return $this->lastPageToken;
3528 }
3529
3530 public function setNextPageToken($nextPageToken)
3531 {
3532 $this->nextPageToken = $nextPageToken;
3533 }
3534
3535 public function getNextPageToken()
3536 {
3537 return $this->nextPageToken;
3538 }
3539
3540 public function setPrevPageToken($prevPageToken)
3541 {
3542 $this->prevPageToken = $prevPageToken;
3543 }
3544
3545 public function getPrevPageToken()
3546 {
3547 return $this->prevPageToken;
3548 }
3549 }
3550
3551 class Google_Service_Orkut_Counters extends Google_Collection
3552 {
3553 protected $itemsType = 'Google_Service_Orkut_OrkutCounterResource';
3554 protected $itemsDataType = 'array';
3555 public $kind;
3556
3557 public function setItems($items)
3558 {
3559 $this->items = $items;
3560 }
3561
3562 public function getItems()
3563 {
3564 return $this->items;
3565 }
3566
3567 public function setKind($kind)
3568 {
3569 $this->kind = $kind;
3570 }
3571
3572 public function getKind()
3573 {
3574 return $this->kind;
3575 }
3576 }
3577
3578 class Google_Service_Orkut_OrkutActivityobjectsResource extends Google_Collection
3579 {
3580 protected $communityType = 'Google_Service_Orkut_Community';
3581 protected $communityDataType = '';
3582 public $content;
3583 public $displayName;
3584 public $id;
3585 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
3586 protected $linksDataType = 'array';
3587 public $objectType;
3588 protected $personType = 'Google_Service_Orkut_OrkutActivitypersonResource';
3589 protected $personDataType = '';
3590
3591 public function setCommunity(Google_Service_Orkut_Community $community)
3592 {
3593 $this->community = $community;
3594 }
3595
3596 public function getCommunity()
3597 {
3598 return $this->community;
3599 }
3600
3601 public function setContent($content)
3602 {
3603 $this->content = $content;
3604 }
3605
3606 public function getContent()
3607 {
3608 return $this->content;
3609 }
3610
3611 public function setDisplayName($displayName)
3612 {
3613 $this->displayName = $displayName;
3614 }
3615
3616 public function getDisplayName()
3617 {
3618 return $this->displayName;
3619 }
3620
3621 public function setId($id)
3622 {
3623 $this->id = $id;
3624 }
3625
3626 public function getId()
3627 {
3628 return $this->id;
3629 }
3630
3631 public function setLinks($links)
3632 {
3633 $this->links = $links;
3634 }
3635
3636 public function getLinks()
3637 {
3638 return $this->links;
3639 }
3640
3641 public function setObjectType($objectType)
3642 {
3643 $this->objectType = $objectType;
3644 }
3645
3646 public function getObjectType()
3647 {
3648 return $this->objectType;
3649 }
3650
3651 public function setPerson(Google_Service_Orkut_OrkutActivitypersonResource $person)
3652 {
3653 $this->person = $person;
3654 }
3655
3656 public function getPerson()
3657 {
3658 return $this->person;
3659 }
3660 }
3661
3662 class Google_Service_Orkut_OrkutActivitypersonResource extends Google_Model
3663 {
3664 public $birthday;
3665 public $gender;
3666 public $id;
3667 protected $imageType = 'Google_Service_Orkut_OrkutActivitypersonResourceImage';
3668 protected $imageDataType = '';
3669 protected $nameType = 'Google_Service_Orkut_OrkutActivitypersonResourceName';
3670 protected $nameDataType = '';
3671 public $url;
3672
3673 public function setBirthday($birthday)
3674 {
3675 $this->birthday = $birthday;
3676 }
3677
3678 public function getBirthday()
3679 {
3680 return $this->birthday;
3681 }
3682
3683 public function setGender($gender)
3684 {
3685 $this->gender = $gender;
3686 }
3687
3688 public function getGender()
3689 {
3690 return $this->gender;
3691 }
3692
3693 public function setId($id)
3694 {
3695 $this->id = $id;
3696 }
3697
3698 public function getId()
3699 {
3700 return $this->id;
3701 }
3702
3703 public function setImage(Google_Service_Orkut_OrkutActivitypersonResourceImage $image)
3704 {
3705 $this->image = $image;
3706 }
3707
3708 public function getImage()
3709 {
3710 return $this->image;
3711 }
3712
3713 public function setName(Google_Service_Orkut_OrkutActivitypersonResourceName $name)
3714 {
3715 $this->name = $name;
3716 }
3717
3718 public function getName()
3719 {
3720 return $this->name;
3721 }
3722
3723 public function setUrl($url)
3724 {
3725 $this->url = $url;
3726 }
3727
3728 public function getUrl()
3729 {
3730 return $this->url;
3731 }
3732 }
3733
3734 class Google_Service_Orkut_OrkutActivitypersonResourceImage extends Google_Model
3735 {
3736 public $url;
3737
3738 public function setUrl($url)
3739 {
3740 $this->url = $url;
3741 }
3742
3743 public function getUrl()
3744 {
3745 return $this->url;
3746 }
3747 }
3748
3749 class Google_Service_Orkut_OrkutActivitypersonResourceName extends Google_Model
3750 {
3751 public $familyName;
3752 public $givenName;
3753
3754 public function setFamilyName($familyName)
3755 {
3756 $this->familyName = $familyName;
3757 }
3758
3759 public function getFamilyName()
3760 {
3761 return $this->familyName;
3762 }
3763
3764 public function setGivenName($givenName)
3765 {
3766 $this->givenName = $givenName;
3767 }
3768
3769 public function getGivenName()
3770 {
3771 return $this->givenName;
3772 }
3773 }
3774
3775 class Google_Service_Orkut_OrkutAuthorResource extends Google_Model
3776 {
3777 public $displayName;
3778 public $id;
3779 protected $imageType = 'Google_Service_Orkut_OrkutAuthorResourceImage';
3780 protected $imageDataType = '';
3781 public $url;
3782
3783 public function setDisplayName($displayName)
3784 {
3785 $this->displayName = $displayName;
3786 }
3787
3788 public function getDisplayName()
3789 {
3790 return $this->displayName;
3791 }
3792
3793 public function setId($id)
3794 {
3795 $this->id = $id;
3796 }
3797
3798 public function getId()
3799 {
3800 return $this->id;
3801 }
3802
3803 public function setImage(Google_Service_Orkut_OrkutAuthorResourceImage $image)
3804 {
3805 $this->image = $image;
3806 }
3807
3808 public function getImage()
3809 {
3810 return $this->image;
3811 }
3812
3813 public function setUrl($url)
3814 {
3815 $this->url = $url;
3816 }
3817
3818 public function getUrl()
3819 {
3820 return $this->url;
3821 }
3822 }
3823
3824 class Google_Service_Orkut_OrkutAuthorResourceImage extends Google_Model
3825 {
3826 public $url;
3827
3828 public function setUrl($url)
3829 {
3830 $this->url = $url;
3831 }
3832
3833 public function getUrl()
3834 {
3835 return $this->url;
3836 }
3837 }
3838
3839 class Google_Service_Orkut_OrkutCommunitypolloptionResource extends Google_Model
3840 {
3841 public $description;
3842 protected $imageType = 'Google_Service_Orkut_OrkutCommunitypolloptionResourceImage';
3843 protected $imageDataType = '';
3844 public $numberOfVotes;
3845 public $optionId;
3846
3847 public function setDescription($description)
3848 {
3849 $this->description = $description;
3850 }
3851
3852 public function getDescription()
3853 {
3854 return $this->description;
3855 }
3856
3857 public function setImage(Google_Service_Orkut_OrkutCommunitypolloptionResourceImage $image)
3858 {
3859 $this->image = $image;
3860 }
3861
3862 public function getImage()
3863 {
3864 return $this->image;
3865 }
3866
3867 public function setNumberOfVotes($numberOfVotes)
3868 {
3869 $this->numberOfVotes = $numberOfVotes;
3870 }
3871
3872 public function getNumberOfVotes()
3873 {
3874 return $this->numberOfVotes;
3875 }
3876
3877 public function setOptionId($optionId)
3878 {
3879 $this->optionId = $optionId;
3880 }
3881
3882 public function getOptionId()
3883 {
3884 return $this->optionId;
3885 }
3886 }
3887
3888 class Google_Service_Orkut_OrkutCommunitypolloptionResourceImage extends Google_Model
3889 {
3890 public $url;
3891
3892 public function setUrl($url)
3893 {
3894 $this->url = $url;
3895 }
3896
3897 public function getUrl()
3898 {
3899 return $this->url;
3900 }
3901 }
3902
3903 class Google_Service_Orkut_OrkutCounterResource extends Google_Model
3904 {
3905 protected $linkType = 'Google_Service_Orkut_OrkutLinkResource';
3906 protected $linkDataType = '';
3907 public $name;
3908 public $total;
3909
3910 public function setLink(Google_Service_Orkut_OrkutLinkResource $link)
3911 {
3912 $this->link = $link;
3913 }
3914
3915 public function getLink()
3916 {
3917 return $this->link;
3918 }
3919
3920 public function setName($name)
3921 {
3922 $this->name = $name;
3923 }
3924
3925 public function getName()
3926 {
3927 return $this->name;
3928 }
3929
3930 public function setTotal($total)
3931 {
3932 $this->total = $total;
3933 }
3934
3935 public function getTotal()
3936 {
3937 return $this->total;
3938 }
3939 }
3940
3941 class Google_Service_Orkut_OrkutLinkResource extends Google_Model
3942 {
3943 public $href;
3944 public $rel;
3945 public $title;
3946 public $type;
3947
3948 public function setHref($href)
3949 {
3950 $this->href = $href;
3951 }
3952
3953 public function getHref()
3954 {
3955 return $this->href;
3956 }
3957
3958 public function setRel($rel)
3959 {
3960 $this->rel = $rel;
3961 }
3962
3963 public function getRel()
3964 {
3965 return $this->rel;
3966 }
3967
3968 public function setTitle($title)
3969 {
3970 $this->title = $title;
3971 }
3972
3973 public function getTitle()
3974 {
3975 return $this->title;
3976 }
3977
3978 public function setType($type)
3979 {
3980 $this->type = $type;
3981 }
3982
3983 public function getType()
3984 {
3985 return $this->type;
3986 }
3987 }
3988
3989 class Google_Service_Orkut_Visibility extends Google_Collection
3990 {
3991 public $kind;
3992 protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
3993 protected $linksDataType = 'array';
3994 public $visibility;
3995
3996 public function setKind($kind)
3997 {
3998 $this->kind = $kind;
3999 }
4000
4001 public function getKind()
4002 {
4003 return $this->kind;
4004 }
4005
4006 public function setLinks($links)
4007 {
4008 $this->links = $links;
4009 }
4010
4011 public function getLinks()
4012 {
4013 return $this->links;
4014 }
4015
4016 public function setVisibility($visibility)
4017 {
4018 $this->visibility = $visibility;
4019 }
4020
4021 public function getVisibility()
4022 {
4023 return $this->visibility;
4024 }
4025 }
4026