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 / Blogger.php

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

3,316 lines 81.3 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 Blogger (v3).
20 *
21 * <p>
22 * API for access to the data within Blogger.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/blogger/docs/3.0/getting_started" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Google_Service_Blogger extends Google_Service
33 {
34 /** Manage your Blogger account. */
35 const BLOGGER = "https://www.googleapis.com/auth/blogger";
36 /** View your Blogger account. */
37 const BLOGGER_READONLY = "https://www.googleapis.com/auth/blogger.readonly";
38
39 public $blogUserInfos;
40 public $blogs;
41 public $comments;
42 public $pageViews;
43 public $pages;
44 public $postUserInfos;
45 public $posts;
46 public $users;
47
48
49 /**
50 * Constructs the internal representation of the Blogger service.
51 *
52 * @param Google_Client $client
53 */
54 public function __construct(Google_Client $client)
55 {
56 parent::__construct($client);
57 $this->servicePath = 'blogger/v3/';
58 $this->version = 'v3';
59 $this->serviceName = 'blogger';
60
61 $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource(
62 $this,
63 $this->serviceName,
64 'blogUserInfos',
65 array(
66 'methods' => array(
67 'get' => array(
68 'path' => 'users/{userId}/blogs/{blogId}',
69 'httpMethod' => 'GET',
70 'parameters' => array(
71 'userId' => array(
72 'location' => 'path',
73 'type' => 'string',
74 'required' => true,
75 ),
76 'blogId' => array(
77 'location' => 'path',
78 'type' => 'string',
79 'required' => true,
80 ),
81 'maxPosts' => array(
82 'location' => 'query',
83 'type' => 'integer',
84 ),
85 ),
86 ),
87 )
88 )
89 );
90 $this->blogs = new Google_Service_Blogger_Blogs_Resource(
91 $this,
92 $this->serviceName,
93 'blogs',
94 array(
95 'methods' => array(
96 'get' => array(
97 'path' => 'blogs/{blogId}',
98 'httpMethod' => 'GET',
99 'parameters' => array(
100 'blogId' => array(
101 'location' => 'path',
102 'type' => 'string',
103 'required' => true,
104 ),
105 'maxPosts' => array(
106 'location' => 'query',
107 'type' => 'integer',
108 ),
109 'view' => array(
110 'location' => 'query',
111 'type' => 'string',
112 ),
113 ),
114 ),'getByUrl' => array(
115 'path' => 'blogs/byurl',
116 'httpMethod' => 'GET',
117 'parameters' => array(
118 'url' => array(
119 'location' => 'query',
120 'type' => 'string',
121 'required' => true,
122 ),
123 'view' => array(
124 'location' => 'query',
125 'type' => 'string',
126 ),
127 ),
128 ),'listByUser' => array(
129 'path' => 'users/{userId}/blogs',
130 'httpMethod' => 'GET',
131 'parameters' => array(
132 'userId' => array(
133 'location' => 'path',
134 'type' => 'string',
135 'required' => true,
136 ),
137 'fetchUserInfo' => array(
138 'location' => 'query',
139 'type' => 'boolean',
140 ),
141 'role' => array(
142 'location' => 'query',
143 'type' => 'string',
144 'repeated' => true,
145 ),
146 'view' => array(
147 'location' => 'query',
148 'type' => 'string',
149 ),
150 ),
151 ),
152 )
153 )
154 );
155 $this->comments = new Google_Service_Blogger_Comments_Resource(
156 $this,
157 $this->serviceName,
158 'comments',
159 array(
160 'methods' => array(
161 'approve' => array(
162 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',
163 'httpMethod' => 'POST',
164 'parameters' => array(
165 'blogId' => array(
166 'location' => 'path',
167 'type' => 'string',
168 'required' => true,
169 ),
170 'postId' => array(
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ),
175 'commentId' => array(
176 'location' => 'path',
177 'type' => 'string',
178 'required' => true,
179 ),
180 ),
181 ),'delete' => array(
182 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
183 'httpMethod' => 'DELETE',
184 'parameters' => array(
185 'blogId' => array(
186 'location' => 'path',
187 'type' => 'string',
188 'required' => true,
189 ),
190 'postId' => array(
191 'location' => 'path',
192 'type' => 'string',
193 'required' => true,
194 ),
195 'commentId' => array(
196 'location' => 'path',
197 'type' => 'string',
198 'required' => true,
199 ),
200 ),
201 ),'get' => array(
202 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
203 'httpMethod' => 'GET',
204 'parameters' => array(
205 'blogId' => array(
206 'location' => 'path',
207 'type' => 'string',
208 'required' => true,
209 ),
210 'postId' => array(
211 'location' => 'path',
212 'type' => 'string',
213 'required' => true,
214 ),
215 'commentId' => array(
216 'location' => 'path',
217 'type' => 'string',
218 'required' => true,
219 ),
220 'view' => array(
221 'location' => 'query',
222 'type' => 'string',
223 ),
224 ),
225 ),'list' => array(
226 'path' => 'blogs/{blogId}/posts/{postId}/comments',
227 'httpMethod' => 'GET',
228 'parameters' => array(
229 'blogId' => array(
230 'location' => 'path',
231 'type' => 'string',
232 'required' => true,
233 ),
234 'postId' => array(
235 'location' => 'path',
236 'type' => 'string',
237 'required' => true,
238 ),
239 'status' => array(
240 'location' => 'query',
241 'type' => 'string',
242 'repeated' => true,
243 ),
244 'startDate' => array(
245 'location' => 'query',
246 'type' => 'string',
247 ),
248 'endDate' => array(
249 'location' => 'query',
250 'type' => 'string',
251 ),
252 'maxResults' => array(
253 'location' => 'query',
254 'type' => 'integer',
255 ),
256 'pageToken' => array(
257 'location' => 'query',
258 'type' => 'string',
259 ),
260 'fetchBodies' => array(
261 'location' => 'query',
262 'type' => 'boolean',
263 ),
264 'view' => array(
265 'location' => 'query',
266 'type' => 'string',
267 ),
268 ),
269 ),'listByBlog' => array(
270 'path' => 'blogs/{blogId}/comments',
271 'httpMethod' => 'GET',
272 'parameters' => array(
273 'blogId' => array(
274 'location' => 'path',
275 'type' => 'string',
276 'required' => true,
277 ),
278 'startDate' => array(
279 'location' => 'query',
280 'type' => 'string',
281 ),
282 'endDate' => array(
283 'location' => 'query',
284 'type' => 'string',
285 ),
286 'maxResults' => array(
287 'location' => 'query',
288 'type' => 'integer',
289 ),
290 'pageToken' => array(
291 'location' => 'query',
292 'type' => 'string',
293 ),
294 'fetchBodies' => array(
295 'location' => 'query',
296 'type' => 'boolean',
297 ),
298 ),
299 ),'markAsSpam' => array(
300 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',
301 'httpMethod' => 'POST',
302 'parameters' => array(
303 'blogId' => array(
304 'location' => 'path',
305 'type' => 'string',
306 'required' => true,
307 ),
308 'postId' => array(
309 'location' => 'path',
310 'type' => 'string',
311 'required' => true,
312 ),
313 'commentId' => array(
314 'location' => 'path',
315 'type' => 'string',
316 'required' => true,
317 ),
318 ),
319 ),'removeContent' => array(
320 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',
321 'httpMethod' => 'POST',
322 'parameters' => array(
323 'blogId' => array(
324 'location' => 'path',
325 'type' => 'string',
326 'required' => true,
327 ),
328 'postId' => array(
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ),
333 'commentId' => array(
334 'location' => 'path',
335 'type' => 'string',
336 'required' => true,
337 ),
338 ),
339 ),
340 )
341 )
342 );
343 $this->pageViews = new Google_Service_Blogger_PageViews_Resource(
344 $this,
345 $this->serviceName,
346 'pageViews',
347 array(
348 'methods' => array(
349 'get' => array(
350 'path' => 'blogs/{blogId}/pageviews',
351 'httpMethod' => 'GET',
352 'parameters' => array(
353 'blogId' => array(
354 'location' => 'path',
355 'type' => 'string',
356 'required' => true,
357 ),
358 'range' => array(
359 'location' => 'query',
360 'type' => 'string',
361 'repeated' => true,
362 ),
363 ),
364 ),
365 )
366 )
367 );
368 $this->pages = new Google_Service_Blogger_Pages_Resource(
369 $this,
370 $this->serviceName,
371 'pages',
372 array(
373 'methods' => array(
374 'delete' => array(
375 'path' => 'blogs/{blogId}/pages/{pageId}',
376 'httpMethod' => 'DELETE',
377 'parameters' => array(
378 'blogId' => array(
379 'location' => 'path',
380 'type' => 'string',
381 'required' => true,
382 ),
383 'pageId' => array(
384 'location' => 'path',
385 'type' => 'string',
386 'required' => true,
387 ),
388 ),
389 ),'get' => array(
390 'path' => 'blogs/{blogId}/pages/{pageId}',
391 'httpMethod' => 'GET',
392 'parameters' => array(
393 'blogId' => array(
394 'location' => 'path',
395 'type' => 'string',
396 'required' => true,
397 ),
398 'pageId' => array(
399 'location' => 'path',
400 'type' => 'string',
401 'required' => true,
402 ),
403 'view' => array(
404 'location' => 'query',
405 'type' => 'string',
406 ),
407 ),
408 ),'insert' => array(
409 'path' => 'blogs/{blogId}/pages',
410 'httpMethod' => 'POST',
411 'parameters' => array(
412 'blogId' => array(
413 'location' => 'path',
414 'type' => 'string',
415 'required' => true,
416 ),
417 ),
418 ),'list' => array(
419 'path' => 'blogs/{blogId}/pages',
420 'httpMethod' => 'GET',
421 'parameters' => array(
422 'blogId' => array(
423 'location' => 'path',
424 'type' => 'string',
425 'required' => true,
426 ),
427 'status' => array(
428 'location' => 'query',
429 'type' => 'string',
430 'repeated' => true,
431 ),
432 'fetchBodies' => array(
433 'location' => 'query',
434 'type' => 'boolean',
435 ),
436 'view' => array(
437 'location' => 'query',
438 'type' => 'string',
439 ),
440 ),
441 ),'patch' => array(
442 'path' => 'blogs/{blogId}/pages/{pageId}',
443 'httpMethod' => 'PATCH',
444 'parameters' => array(
445 'blogId' => array(
446 'location' => 'path',
447 'type' => 'string',
448 'required' => true,
449 ),
450 'pageId' => array(
451 'location' => 'path',
452 'type' => 'string',
453 'required' => true,
454 ),
455 ),
456 ),'update' => array(
457 'path' => 'blogs/{blogId}/pages/{pageId}',
458 'httpMethod' => 'PUT',
459 'parameters' => array(
460 'blogId' => array(
461 'location' => 'path',
462 'type' => 'string',
463 'required' => true,
464 ),
465 'pageId' => array(
466 'location' => 'path',
467 'type' => 'string',
468 'required' => true,
469 ),
470 ),
471 ),
472 )
473 )
474 );
475 $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource(
476 $this,
477 $this->serviceName,
478 'postUserInfos',
479 array(
480 'methods' => array(
481 'get' => array(
482 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',
483 'httpMethod' => 'GET',
484 'parameters' => array(
485 'userId' => array(
486 'location' => 'path',
487 'type' => 'string',
488 'required' => true,
489 ),
490 'blogId' => array(
491 'location' => 'path',
492 'type' => 'string',
493 'required' => true,
494 ),
495 'postId' => array(
496 'location' => 'path',
497 'type' => 'string',
498 'required' => true,
499 ),
500 'maxComments' => array(
501 'location' => 'query',
502 'type' => 'integer',
503 ),
504 ),
505 ),'list' => array(
506 'path' => 'users/{userId}/blogs/{blogId}/posts',
507 'httpMethod' => 'GET',
508 'parameters' => array(
509 'userId' => array(
510 'location' => 'path',
511 'type' => 'string',
512 'required' => true,
513 ),
514 'blogId' => array(
515 'location' => 'path',
516 'type' => 'string',
517 'required' => true,
518 ),
519 'orderBy' => array(
520 'location' => 'query',
521 'type' => 'string',
522 ),
523 'startDate' => array(
524 'location' => 'query',
525 'type' => 'string',
526 ),
527 'endDate' => array(
528 'location' => 'query',
529 'type' => 'string',
530 ),
531 'labels' => array(
532 'location' => 'query',
533 'type' => 'string',
534 ),
535 'maxResults' => array(
536 'location' => 'query',
537 'type' => 'integer',
538 ),
539 'pageToken' => array(
540 'location' => 'query',
541 'type' => 'string',
542 ),
543 'status' => array(
544 'location' => 'query',
545 'type' => 'string',
546 'repeated' => true,
547 ),
548 'fetchBodies' => array(
549 'location' => 'query',
550 'type' => 'boolean',
551 ),
552 'view' => array(
553 'location' => 'query',
554 'type' => 'string',
555 ),
556 ),
557 ),
558 )
559 )
560 );
561 $this->posts = new Google_Service_Blogger_Posts_Resource(
562 $this,
563 $this->serviceName,
564 'posts',
565 array(
566 'methods' => array(
567 'delete' => array(
568 'path' => 'blogs/{blogId}/posts/{postId}',
569 'httpMethod' => 'DELETE',
570 'parameters' => array(
571 'blogId' => array(
572 'location' => 'path',
573 'type' => 'string',
574 'required' => true,
575 ),
576 'postId' => array(
577 'location' => 'path',
578 'type' => 'string',
579 'required' => true,
580 ),
581 ),
582 ),'get' => array(
583 'path' => 'blogs/{blogId}/posts/{postId}',
584 'httpMethod' => 'GET',
585 'parameters' => array(
586 'blogId' => array(
587 'location' => 'path',
588 'type' => 'string',
589 'required' => true,
590 ),
591 'postId' => array(
592 'location' => 'path',
593 'type' => 'string',
594 'required' => true,
595 ),
596 'fetchBody' => array(
597 'location' => 'query',
598 'type' => 'boolean',
599 ),
600 'maxComments' => array(
601 'location' => 'query',
602 'type' => 'integer',
603 ),
604 'fetchImages' => array(
605 'location' => 'query',
606 'type' => 'boolean',
607 ),
608 'view' => array(
609 'location' => 'query',
610 'type' => 'string',
611 ),
612 ),
613 ),'getByPath' => array(
614 'path' => 'blogs/{blogId}/posts/bypath',
615 'httpMethod' => 'GET',
616 'parameters' => array(
617 'blogId' => array(
618 'location' => 'path',
619 'type' => 'string',
620 'required' => true,
621 ),
622 'path' => array(
623 'location' => 'query',
624 'type' => 'string',
625 'required' => true,
626 ),
627 'maxComments' => array(
628 'location' => 'query',
629 'type' => 'integer',
630 ),
631 'view' => array(
632 'location' => 'query',
633 'type' => 'string',
634 ),
635 ),
636 ),'insert' => array(
637 'path' => 'blogs/{blogId}/posts',
638 'httpMethod' => 'POST',
639 'parameters' => array(
640 'blogId' => array(
641 'location' => 'path',
642 'type' => 'string',
643 'required' => true,
644 ),
645 'fetchImages' => array(
646 'location' => 'query',
647 'type' => 'boolean',
648 ),
649 'isDraft' => array(
650 'location' => 'query',
651 'type' => 'boolean',
652 ),
653 'fetchBody' => array(
654 'location' => 'query',
655 'type' => 'boolean',
656 ),
657 ),
658 ),'list' => array(
659 'path' => 'blogs/{blogId}/posts',
660 'httpMethod' => 'GET',
661 'parameters' => array(
662 'blogId' => array(
663 'location' => 'path',
664 'type' => 'string',
665 'required' => true,
666 ),
667 'orderBy' => array(
668 'location' => 'query',
669 'type' => 'string',
670 ),
671 'startDate' => array(
672 'location' => 'query',
673 'type' => 'string',
674 ),
675 'endDate' => array(
676 'location' => 'query',
677 'type' => 'string',
678 ),
679 'labels' => array(
680 'location' => 'query',
681 'type' => 'string',
682 ),
683 'maxResults' => array(
684 'location' => 'query',
685 'type' => 'integer',
686 ),
687 'fetchImages' => array(
688 'location' => 'query',
689 'type' => 'boolean',
690 ),
691 'pageToken' => array(
692 'location' => 'query',
693 'type' => 'string',
694 ),
695 'status' => array(
696 'location' => 'query',
697 'type' => 'string',
698 'repeated' => true,
699 ),
700 'fetchBodies' => array(
701 'location' => 'query',
702 'type' => 'boolean',
703 ),
704 'view' => array(
705 'location' => 'query',
706 'type' => 'string',
707 ),
708 ),
709 ),'patch' => array(
710 'path' => 'blogs/{blogId}/posts/{postId}',
711 'httpMethod' => 'PATCH',
712 'parameters' => array(
713 'blogId' => array(
714 'location' => 'path',
715 'type' => 'string',
716 'required' => true,
717 ),
718 'postId' => array(
719 'location' => 'path',
720 'type' => 'string',
721 'required' => true,
722 ),
723 'revert' => array(
724 'location' => 'query',
725 'type' => 'boolean',
726 ),
727 'publish' => array(
728 'location' => 'query',
729 'type' => 'boolean',
730 ),
731 'fetchBody' => array(
732 'location' => 'query',
733 'type' => 'boolean',
734 ),
735 'maxComments' => array(
736 'location' => 'query',
737 'type' => 'integer',
738 ),
739 'fetchImages' => array(
740 'location' => 'query',
741 'type' => 'boolean',
742 ),
743 ),
744 ),'publish' => array(
745 'path' => 'blogs/{blogId}/posts/{postId}/publish',
746 'httpMethod' => 'POST',
747 'parameters' => array(
748 'blogId' => array(
749 'location' => 'path',
750 'type' => 'string',
751 'required' => true,
752 ),
753 'postId' => array(
754 'location' => 'path',
755 'type' => 'string',
756 'required' => true,
757 ),
758 'publishDate' => array(
759 'location' => 'query',
760 'type' => 'string',
761 ),
762 ),
763 ),'revert' => array(
764 'path' => 'blogs/{blogId}/posts/{postId}/revert',
765 'httpMethod' => 'POST',
766 'parameters' => array(
767 'blogId' => array(
768 'location' => 'path',
769 'type' => 'string',
770 'required' => true,
771 ),
772 'postId' => array(
773 'location' => 'path',
774 'type' => 'string',
775 'required' => true,
776 ),
777 ),
778 ),'search' => array(
779 'path' => 'blogs/{blogId}/posts/search',
780 'httpMethod' => 'GET',
781 'parameters' => array(
782 'blogId' => array(
783 'location' => 'path',
784 'type' => 'string',
785 'required' => true,
786 ),
787 'q' => array(
788 'location' => 'query',
789 'type' => 'string',
790 'required' => true,
791 ),
792 'orderBy' => array(
793 'location' => 'query',
794 'type' => 'string',
795 ),
796 'fetchBodies' => array(
797 'location' => 'query',
798 'type' => 'boolean',
799 ),
800 ),
801 ),'update' => array(
802 'path' => 'blogs/{blogId}/posts/{postId}',
803 'httpMethod' => 'PUT',
804 'parameters' => array(
805 'blogId' => array(
806 'location' => 'path',
807 'type' => 'string',
808 'required' => true,
809 ),
810 'postId' => array(
811 'location' => 'path',
812 'type' => 'string',
813 'required' => true,
814 ),
815 'revert' => array(
816 'location' => 'query',
817 'type' => 'boolean',
818 ),
819 'publish' => array(
820 'location' => 'query',
821 'type' => 'boolean',
822 ),
823 'fetchBody' => array(
824 'location' => 'query',
825 'type' => 'boolean',
826 ),
827 'maxComments' => array(
828 'location' => 'query',
829 'type' => 'integer',
830 ),
831 'fetchImages' => array(
832 'location' => 'query',
833 'type' => 'boolean',
834 ),
835 ),
836 ),
837 )
838 )
839 );
840 $this->users = new Google_Service_Blogger_Users_Resource(
841 $this,
842 $this->serviceName,
843 'users',
844 array(
845 'methods' => array(
846 'get' => array(
847 'path' => 'users/{userId}',
848 'httpMethod' => 'GET',
849 'parameters' => array(
850 'userId' => array(
851 'location' => 'path',
852 'type' => 'string',
853 'required' => true,
854 ),
855 ),
856 ),
857 )
858 )
859 );
860 }
861 }
862
863
864 /**
865 * The "blogUserInfos" collection of methods.
866 * Typical usage is:
867 * <code>
868 * $bloggerService = new Google_Service_Blogger(...);
869 * $blogUserInfos = $bloggerService->blogUserInfos;
870 * </code>
871 */
872 class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resource
873 {
874
875 /**
876 * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
877 *
878 * @param string $userId
879 * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
880 * user's profile identifier.
881 * @param string $blogId
882 * The ID of the blog to get.
883 * @param array $optParams Optional parameters.
884 *
885 * @opt_param string maxPosts
886 * Maximum number of posts to pull back with the blog.
887 * @return Google_Service_Blogger_BlogUserInfo
888 */
889 public function get($userId, $blogId, $optParams = array())
890 {
891 $params = array('userId' => $userId, 'blogId' => $blogId);
892 $params = array_merge($params, $optParams);
893 return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo");
894 }
895 }
896
897 /**
898 * The "blogs" collection of methods.
899 * Typical usage is:
900 * <code>
901 * $bloggerService = new Google_Service_Blogger(...);
902 * $blogs = $bloggerService->blogs;
903 * </code>
904 */
905 class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
906 {
907
908 /**
909 * Gets one blog by id. (blogs.get)
910 *
911 * @param string $blogId
912 * The ID of the blog to get.
913 * @param array $optParams Optional parameters.
914 *
915 * @opt_param string maxPosts
916 * Maximum number of posts to pull back with the blog.
917 * @opt_param string view
918 * Access level with which to view the blogs. Note that some fields require elevated access.
919 * @return Google_Service_Blogger_Blog
920 */
921 public function get($blogId, $optParams = array())
922 {
923 $params = array('blogId' => $blogId);
924 $params = array_merge($params, $optParams);
925 return $this->call('get', array($params), "Google_Service_Blogger_Blog");
926 }
927 /**
928 * Retrieve a Blog by URL. (blogs.getByUrl)
929 *
930 * @param string $url
931 * The URL of the blog to retrieve.
932 * @param array $optParams Optional parameters.
933 *
934 * @opt_param string view
935 * Access level with which to view the blogs. Note that some fields require elevated access.
936 * @return Google_Service_Blogger_Blog
937 */
938 public function getByUrl($url, $optParams = array())
939 {
940 $params = array('url' => $url);
941 $params = array_merge($params, $optParams);
942 return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog");
943 }
944 /**
945 * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
946 *
947 * @param string $userId
948 * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
949 * user's profile identifier.
950 * @param array $optParams Optional parameters.
951 *
952 * @opt_param bool fetchUserInfo
953 * Whether the response is a list of blogs with per-user information instead of just blogs.
954 * @opt_param string role
955 * User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
956 * user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
957 * @opt_param string view
958 * Access level with which to view the blogs. Note that some fields require elevated access.
959 * @return Google_Service_Blogger_BlogList
960 */
961 public function listByUser($userId, $optParams = array())
962 {
963 $params = array('userId' => $userId);
964 $params = array_merge($params, $optParams);
965 return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList");
966 }
967 }
968
969 /**
970 * The "comments" collection of methods.
971 * Typical usage is:
972 * <code>
973 * $bloggerService = new Google_Service_Blogger(...);
974 * $comments = $bloggerService->comments;
975 * </code>
976 */
977 class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
978 {
979
980 /**
981 * Marks a comment as not spam. (comments.approve)
982 *
983 * @param string $blogId
984 * The Id of the Blog.
985 * @param string $postId
986 * The ID of the Post.
987 * @param string $commentId
988 * The ID of the comment to mark as not spam.
989 * @param array $optParams Optional parameters.
990 * @return Google_Service_Blogger_Comment
991 */
992 public function approve($blogId, $postId, $commentId, $optParams = array())
993 {
994 $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
995 $params = array_merge($params, $optParams);
996 return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
997 }
998 /**
999 * Delete a comment by id. (comments.delete)
1000 *
1001 * @param string $blogId
1002 * The Id of the Blog.
1003 * @param string $postId
1004 * The ID of the Post.
1005 * @param string $commentId
1006 * The ID of the comment to delete.
1007 * @param array $optParams Optional parameters.
1008 */
1009 public function delete($blogId, $postId, $commentId, $optParams = array())
1010 {
1011 $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1012 $params = array_merge($params, $optParams);
1013 return $this->call('delete', array($params));
1014 }
1015 /**
1016 * Gets one comment by id. (comments.get)
1017 *
1018 * @param string $blogId
1019 * ID of the blog to containing the comment.
1020 * @param string $postId
1021 * ID of the post to fetch posts from.
1022 * @param string $commentId
1023 * The ID of the comment to get.
1024 * @param array $optParams Optional parameters.
1025 *
1026 * @opt_param string view
1027 * Access level for the requested comment (default: READER). Note that some comments will require
1028 * elevated permissions, for example comments where the parent posts which is in a draft state, or
1029 * comments that are pending moderation.
1030 * @return Google_Service_Blogger_Comment
1031 */
1032 public function get($blogId, $postId, $commentId, $optParams = array())
1033 {
1034 $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1035 $params = array_merge($params, $optParams);
1036 return $this->call('get', array($params), "Google_Service_Blogger_Comment");
1037 }
1038 /**
1039 * Retrieves the comments for a post, possibly filtered. (comments.listComments)
1040 *
1041 * @param string $blogId
1042 * ID of the blog to fetch comments from.
1043 * @param string $postId
1044 * ID of the post to fetch posts from.
1045 * @param array $optParams Optional parameters.
1046 *
1047 * @opt_param string status
1048 *
1049 * @opt_param string startDate
1050 * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
1051 * @opt_param string endDate
1052 * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
1053 * @opt_param string maxResults
1054 * Maximum number of comments to include in the result.
1055 * @opt_param string pageToken
1056 * Continuation token if request is paged.
1057 * @opt_param bool fetchBodies
1058 * Whether the body content of the comments is included.
1059 * @opt_param string view
1060 * Access level with which to view the returned result. Note that some fields require elevated
1061 * access.
1062 * @return Google_Service_Blogger_CommentList
1063 */
1064 public function listComments($blogId, $postId, $optParams = array())
1065 {
1066 $params = array('blogId' => $blogId, 'postId' => $postId);
1067 $params = array_merge($params, $optParams);
1068 return $this->call('list', array($params), "Google_Service_Blogger_CommentList");
1069 }
1070 /**
1071 * Retrieves the comments for a blog, across all posts, possibly filtered.
1072 * (comments.listByBlog)
1073 *
1074 * @param string $blogId
1075 * ID of the blog to fetch comments from.
1076 * @param array $optParams Optional parameters.
1077 *
1078 * @opt_param string startDate
1079 * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
1080 * @opt_param string endDate
1081 * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
1082 * @opt_param string maxResults
1083 * Maximum number of comments to include in the result.
1084 * @opt_param string pageToken
1085 * Continuation token if request is paged.
1086 * @opt_param bool fetchBodies
1087 * Whether the body content of the comments is included.
1088 * @return Google_Service_Blogger_CommentList
1089 */
1090 public function listByBlog($blogId, $optParams = array())
1091 {
1092 $params = array('blogId' => $blogId);
1093 $params = array_merge($params, $optParams);
1094 return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList");
1095 }
1096 /**
1097 * Marks a comment as spam. (comments.markAsSpam)
1098 *
1099 * @param string $blogId
1100 * The Id of the Blog.
1101 * @param string $postId
1102 * The ID of the Post.
1103 * @param string $commentId
1104 * The ID of the comment to mark as spam.
1105 * @param array $optParams Optional parameters.
1106 * @return Google_Service_Blogger_Comment
1107 */
1108 public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
1109 {
1110 $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1111 $params = array_merge($params, $optParams);
1112 return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment");
1113 }
1114 /**
1115 * Removes the content of a comment. (comments.removeContent)
1116 *
1117 * @param string $blogId
1118 * The Id of the Blog.
1119 * @param string $postId
1120 * The ID of the Post.
1121 * @param string $commentId
1122 * The ID of the comment to delete content from.
1123 * @param array $optParams Optional parameters.
1124 * @return Google_Service_Blogger_Comment
1125 */
1126 public function removeContent($blogId, $postId, $commentId, $optParams = array())
1127 {
1128 $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
1129 $params = array_merge($params, $optParams);
1130 return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment");
1131 }
1132 }
1133
1134 /**
1135 * The "pageViews" collection of methods.
1136 * Typical usage is:
1137 * <code>
1138 * $bloggerService = new Google_Service_Blogger(...);
1139 * $pageViews = $bloggerService->pageViews;
1140 * </code>
1141 */
1142 class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
1143 {
1144
1145 /**
1146 * Retrieve pageview stats for a Blog. (pageViews.get)
1147 *
1148 * @param string $blogId
1149 * The ID of the blog to get.
1150 * @param array $optParams Optional parameters.
1151 *
1152 * @opt_param string range
1153 *
1154 * @return Google_Service_Blogger_Pageviews
1155 */
1156 public function get($blogId, $optParams = array())
1157 {
1158 $params = array('blogId' => $blogId);
1159 $params = array_merge($params, $optParams);
1160 return $this->call('get', array($params), "Google_Service_Blogger_Pageviews");
1161 }
1162 }
1163
1164 /**
1165 * The "pages" collection of methods.
1166 * Typical usage is:
1167 * <code>
1168 * $bloggerService = new Google_Service_Blogger(...);
1169 * $pages = $bloggerService->pages;
1170 * </code>
1171 */
1172 class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
1173 {
1174
1175 /**
1176 * Delete a page by id. (pages.delete)
1177 *
1178 * @param string $blogId
1179 * The Id of the Blog.
1180 * @param string $pageId
1181 * The ID of the Page.
1182 * @param array $optParams Optional parameters.
1183 */
1184 public function delete($blogId, $pageId, $optParams = array())
1185 {
1186 $params = array('blogId' => $blogId, 'pageId' => $pageId);
1187 $params = array_merge($params, $optParams);
1188 return $this->call('delete', array($params));
1189 }
1190 /**
1191 * Gets one blog page by id. (pages.get)
1192 *
1193 * @param string $blogId
1194 * ID of the blog containing the page.
1195 * @param string $pageId
1196 * The ID of the page to get.
1197 * @param array $optParams Optional parameters.
1198 *
1199 * @opt_param string view
1200 *
1201 * @return Google_Service_Blogger_Page
1202 */
1203 public function get($blogId, $pageId, $optParams = array())
1204 {
1205 $params = array('blogId' => $blogId, 'pageId' => $pageId);
1206 $params = array_merge($params, $optParams);
1207 return $this->call('get', array($params), "Google_Service_Blogger_Page");
1208 }
1209 /**
1210 * Add a page. (pages.insert)
1211 *
1212 * @param string $blogId
1213 * ID of the blog to add the page to.
1214 * @param Google_Page $postBody
1215 * @param array $optParams Optional parameters.
1216 * @return Google_Service_Blogger_Page
1217 */
1218 public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
1219 {
1220 $params = array('blogId' => $blogId, 'postBody' => $postBody);
1221 $params = array_merge($params, $optParams);
1222 return $this->call('insert', array($params), "Google_Service_Blogger_Page");
1223 }
1224 /**
1225 * Retrieves the pages for a blog, optionally including non-LIVE statuses.
1226 * (pages.listPages)
1227 *
1228 * @param string $blogId
1229 * ID of the blog to fetch pages from.
1230 * @param array $optParams Optional parameters.
1231 *
1232 * @opt_param string status
1233 *
1234 * @opt_param bool fetchBodies
1235 * Whether to retrieve the Page bodies.
1236 * @opt_param string view
1237 * Access level with which to view the returned result. Note that some fields require elevated
1238 * access.
1239 * @return Google_Service_Blogger_PageList
1240 */
1241 public function listPages($blogId, $optParams = array())
1242 {
1243 $params = array('blogId' => $blogId);
1244 $params = array_merge($params, $optParams);
1245 return $this->call('list', array($params), "Google_Service_Blogger_PageList");
1246 }
1247 /**
1248 * Update a page. This method supports patch semantics. (pages.patch)
1249 *
1250 * @param string $blogId
1251 * The ID of the Blog.
1252 * @param string $pageId
1253 * The ID of the Page.
1254 * @param Google_Page $postBody
1255 * @param array $optParams Optional parameters.
1256 * @return Google_Service_Blogger_Page
1257 */
1258 public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
1259 {
1260 $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
1261 $params = array_merge($params, $optParams);
1262 return $this->call('patch', array($params), "Google_Service_Blogger_Page");
1263 }
1264 /**
1265 * Update a page. (pages.update)
1266 *
1267 * @param string $blogId
1268 * The ID of the Blog.
1269 * @param string $pageId
1270 * The ID of the Page.
1271 * @param Google_Page $postBody
1272 * @param array $optParams Optional parameters.
1273 * @return Google_Service_Blogger_Page
1274 */
1275 public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
1276 {
1277 $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
1278 $params = array_merge($params, $optParams);
1279 return $this->call('update', array($params), "Google_Service_Blogger_Page");
1280 }
1281 }
1282
1283 /**
1284 * The "postUserInfos" collection of methods.
1285 * Typical usage is:
1286 * <code>
1287 * $bloggerService = new Google_Service_Blogger(...);
1288 * $postUserInfos = $bloggerService->postUserInfos;
1289 * </code>
1290 */
1291 class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource
1292 {
1293
1294 /**
1295 * Gets one post and user info pair, by post id and user id. The post user info
1296 * contains per-user information about the post, such as access rights, specific
1297 * to the user. (postUserInfos.get)
1298 *
1299 * @param string $userId
1300 * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
1301 * marks) or the user's profile identifier.
1302 * @param string $blogId
1303 * The ID of the blog.
1304 * @param string $postId
1305 * The ID of the post to get.
1306 * @param array $optParams Optional parameters.
1307 *
1308 * @opt_param string maxComments
1309 * Maximum number of comments to pull back on a post.
1310 * @return Google_Service_Blogger_PostUserInfo
1311 */
1312 public function get($userId, $blogId, $postId, $optParams = array())
1313 {
1314 $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
1315 $params = array_merge($params, $optParams);
1316 return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo");
1317 }
1318 /**
1319 * Retrieves a list of post and post user info pairs, possibly filtered. The
1320 * post user info contains per-user information about the post, such as access
1321 * rights, specific to the user. (postUserInfos.listPostUserInfos)
1322 *
1323 * @param string $userId
1324 * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
1325 * marks) or the user's profile identifier.
1326 * @param string $blogId
1327 * ID of the blog to fetch posts from.
1328 * @param array $optParams Optional parameters.
1329 *
1330 * @opt_param string orderBy
1331 * Sort order applied to search results. Default is published.
1332 * @opt_param string startDate
1333 * Earliest post date to fetch, a date-time with RFC 3339 formatting.
1334 * @opt_param string endDate
1335 * Latest post date to fetch, a date-time with RFC 3339 formatting.
1336 * @opt_param string labels
1337 * Comma-separated list of labels to search for.
1338 * @opt_param string maxResults
1339 * Maximum number of posts to fetch.
1340 * @opt_param string pageToken
1341 * Continuation token if the request is paged.
1342 * @opt_param string status
1343 *
1344 * @opt_param bool fetchBodies
1345 * Whether the body content of posts is included. Default is false.
1346 * @opt_param string view
1347 * Access level with which to view the returned result. Note that some fields require elevated
1348 * access.
1349 * @return Google_Service_Blogger_PostUserInfosList
1350 */
1351 public function listPostUserInfos($userId, $blogId, $optParams = array())
1352 {
1353 $params = array('userId' => $userId, 'blogId' => $blogId);
1354 $params = array_merge($params, $optParams);
1355 return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");
1356 }
1357 }
1358
1359 /**
1360 * The "posts" collection of methods.
1361 * Typical usage is:
1362 * <code>
1363 * $bloggerService = new Google_Service_Blogger(...);
1364 * $posts = $bloggerService->posts;
1365 * </code>
1366 */
1367 class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
1368 {
1369
1370 /**
1371 * Delete a post by id. (posts.delete)
1372 *
1373 * @param string $blogId
1374 * The Id of the Blog.
1375 * @param string $postId
1376 * The ID of the Post.
1377 * @param array $optParams Optional parameters.
1378 */
1379 public function delete($blogId, $postId, $optParams = array())
1380 {
1381 $params = array('blogId' => $blogId, 'postId' => $postId);
1382 $params = array_merge($params, $optParams);
1383 return $this->call('delete', array($params));
1384 }
1385 /**
1386 * Get a post by id. (posts.get)
1387 *
1388 * @param string $blogId
1389 * ID of the blog to fetch the post from.
1390 * @param string $postId
1391 * The ID of the post
1392 * @param array $optParams Optional parameters.
1393 *
1394 * @opt_param bool fetchBody
1395 * Whether the body content of the post is included (default: true). This should be set to false
1396 * when the post bodies are not required, to help minimize traffic.
1397 * @opt_param string maxComments
1398 * Maximum number of comments to pull back on a post.
1399 * @opt_param bool fetchImages
1400 * Whether image URL metadata for each post is included (default: false).
1401 * @opt_param string view
1402 * Access level with which to view the returned result. Note that some fields require elevated
1403 * access.
1404 * @return Google_Service_Blogger_Post
1405 */
1406 public function get($blogId, $postId, $optParams = array())
1407 {
1408 $params = array('blogId' => $blogId, 'postId' => $postId);
1409 $params = array_merge($params, $optParams);
1410 return $this->call('get', array($params), "Google_Service_Blogger_Post");
1411 }
1412 /**
1413 * Retrieve a Post by Path. (posts.getByPath)
1414 *
1415 * @param string $blogId
1416 * ID of the blog to fetch the post from.
1417 * @param string $path
1418 * Path of the Post to retrieve.
1419 * @param array $optParams Optional parameters.
1420 *
1421 * @opt_param string maxComments
1422 * Maximum number of comments to pull back on a post.
1423 * @opt_param string view
1424 * Access level with which to view the returned result. Note that some fields require elevated
1425 * access.
1426 * @return Google_Service_Blogger_Post
1427 */
1428 public function getByPath($blogId, $path, $optParams = array())
1429 {
1430 $params = array('blogId' => $blogId, 'path' => $path);
1431 $params = array_merge($params, $optParams);
1432 return $this->call('getByPath', array($params), "Google_Service_Blogger_Post");
1433 }
1434 /**
1435 * Add a post. (posts.insert)
1436 *
1437 * @param string $blogId
1438 * ID of the blog to add the post to.
1439 * @param Google_Post $postBody
1440 * @param array $optParams Optional parameters.
1441 *
1442 * @opt_param bool fetchImages
1443 * Whether image URL metadata for each post is included in the returned result (default: false).
1444 * @opt_param bool isDraft
1445 * Whether to create the post as a draft (default: false).
1446 * @opt_param bool fetchBody
1447 * Whether the body content of the post is included with the result (default: true).
1448 * @return Google_Service_Blogger_Post
1449 */
1450 public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
1451 {
1452 $params = array('blogId' => $blogId, 'postBody' => $postBody);
1453 $params = array_merge($params, $optParams);
1454 return $this->call('insert', array($params), "Google_Service_Blogger_Post");
1455 }
1456 /**
1457 * Retrieves a list of posts, possibly filtered. (posts.listPosts)
1458 *
1459 * @param string $blogId
1460 * ID of the blog to fetch posts from.
1461 * @param array $optParams Optional parameters.
1462 *
1463 * @opt_param string orderBy
1464 * Sort search results
1465 * @opt_param string startDate
1466 * Earliest post date to fetch, a date-time with RFC 3339 formatting.
1467 * @opt_param string endDate
1468 * Latest post date to fetch, a date-time with RFC 3339 formatting.
1469 * @opt_param string labels
1470 * Comma-separated list of labels to search for.
1471 * @opt_param string maxResults
1472 * Maximum number of posts to fetch.
1473 * @opt_param bool fetchImages
1474 * Whether image URL metadata for each post is included.
1475 * @opt_param string pageToken
1476 * Continuation token if the request is paged.
1477 * @opt_param string status
1478 * Statuses to include in the results.
1479 * @opt_param bool fetchBodies
1480 * Whether the body content of posts is included (default: true). This should be set to false when
1481 * the post bodies are not required, to help minimize traffic.
1482 * @opt_param string view
1483 * Access level with which to view the returned result. Note that some fields require escalated
1484 * access.
1485 * @return Google_Service_Blogger_PostList
1486 */
1487 public function listPosts($blogId, $optParams = array())
1488 {
1489 $params = array('blogId' => $blogId);
1490 $params = array_merge($params, $optParams);
1491 return $this->call('list', array($params), "Google_Service_Blogger_PostList");
1492 }
1493 /**
1494 * Update a post. This method supports patch semantics. (posts.patch)
1495 *
1496 * @param string $blogId
1497 * The ID of the Blog.
1498 * @param string $postId
1499 * The ID of the Post.
1500 * @param Google_Post $postBody
1501 * @param array $optParams Optional parameters.
1502 *
1503 * @opt_param bool revert
1504 * Whether a revert action should be performed when the post is updated (default: false).
1505 * @opt_param bool publish
1506 * Whether a publish action should be performed when the post is updated (default: false).
1507 * @opt_param bool fetchBody
1508 * Whether the body content of the post is included with the result (default: true).
1509 * @opt_param string maxComments
1510 * Maximum number of comments to retrieve with the returned post.
1511 * @opt_param bool fetchImages
1512 * Whether image URL metadata for each post is included in the returned result (default: false).
1513 * @return Google_Service_Blogger_Post
1514 */
1515 public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
1516 {
1517 $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
1518 $params = array_merge($params, $optParams);
1519 return $this->call('patch', array($params), "Google_Service_Blogger_Post");
1520 }
1521 /**
1522 * Publish a draft post. (posts.publish)
1523 *
1524 * @param string $blogId
1525 * The ID of the Blog.
1526 * @param string $postId
1527 * The ID of the Post.
1528 * @param array $optParams Optional parameters.
1529 *
1530 * @opt_param string publishDate
1531 * The date and time to schedule the publishing of the Blog.
1532 * @return Google_Service_Blogger_Post
1533 */
1534 public function publish($blogId, $postId, $optParams = array())
1535 {
1536 $params = array('blogId' => $blogId, 'postId' => $postId);
1537 $params = array_merge($params, $optParams);
1538 return $this->call('publish', array($params), "Google_Service_Blogger_Post");
1539 }
1540 /**
1541 * Revert a published or scheduled post to draft state. (posts.revert)
1542 *
1543 * @param string $blogId
1544 * The ID of the Blog.
1545 * @param string $postId
1546 * The ID of the Post.
1547 * @param array $optParams Optional parameters.
1548 * @return Google_Service_Blogger_Post
1549 */
1550 public function revert($blogId, $postId, $optParams = array())
1551 {
1552 $params = array('blogId' => $blogId, 'postId' => $postId);
1553 $params = array_merge($params, $optParams);
1554 return $this->call('revert', array($params), "Google_Service_Blogger_Post");
1555 }
1556 /**
1557 * Search for a post. (posts.search)
1558 *
1559 * @param string $blogId
1560 * ID of the blog to fetch the post from.
1561 * @param string $q
1562 * Query terms to search this blog for matching posts.
1563 * @param array $optParams Optional parameters.
1564 *
1565 * @opt_param string orderBy
1566 * Sort search results
1567 * @opt_param bool fetchBodies
1568 * Whether the body content of posts is included (default: true). This should be set to false when
1569 * the post bodies are not required, to help minimize traffic.
1570 * @return Google_Service_Blogger_PostList
1571 */
1572 public function search($blogId, $q, $optParams = array())
1573 {
1574 $params = array('blogId' => $blogId, 'q' => $q);
1575 $params = array_merge($params, $optParams);
1576 return $this->call('search', array($params), "Google_Service_Blogger_PostList");
1577 }
1578 /**
1579 * Update a post. (posts.update)
1580 *
1581 * @param string $blogId
1582 * The ID of the Blog.
1583 * @param string $postId
1584 * The ID of the Post.
1585 * @param Google_Post $postBody
1586 * @param array $optParams Optional parameters.
1587 *
1588 * @opt_param bool revert
1589 * Whether a revert action should be performed when the post is updated (default: false).
1590 * @opt_param bool publish
1591 * Whether a publish action should be performed when the post is updated (default: false).
1592 * @opt_param bool fetchBody
1593 * Whether the body content of the post is included with the result (default: true).
1594 * @opt_param string maxComments
1595 * Maximum number of comments to retrieve with the returned post.
1596 * @opt_param bool fetchImages
1597 * Whether image URL metadata for each post is included in the returned result (default: false).
1598 * @return Google_Service_Blogger_Post
1599 */
1600 public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
1601 {
1602 $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
1603 $params = array_merge($params, $optParams);
1604 return $this->call('update', array($params), "Google_Service_Blogger_Post");
1605 }
1606 }
1607
1608 /**
1609 * The "users" collection of methods.
1610 * Typical usage is:
1611 * <code>
1612 * $bloggerService = new Google_Service_Blogger(...);
1613 * $users = $bloggerService->users;
1614 * </code>
1615 */
1616 class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
1617 {
1618
1619 /**
1620 * Gets one user by id. (users.get)
1621 *
1622 * @param string $userId
1623 * The ID of the user to get.
1624 * @param array $optParams Optional parameters.
1625 * @return Google_Service_Blogger_User
1626 */
1627 public function get($userId, $optParams = array())
1628 {
1629 $params = array('userId' => $userId);
1630 $params = array_merge($params, $optParams);
1631 return $this->call('get', array($params), "Google_Service_Blogger_User");
1632 }
1633 }
1634
1635
1636
1637
1638 class Google_Service_Blogger_Blog extends Google_Model
1639 {
1640 public $customMetaData;
1641 public $description;
1642 public $id;
1643 public $kind;
1644 protected $localeType = 'Google_Service_Blogger_BlogLocale';
1645 protected $localeDataType = '';
1646 public $name;
1647 protected $pagesType = 'Google_Service_Blogger_BlogPages';
1648 protected $pagesDataType = '';
1649 protected $postsType = 'Google_Service_Blogger_BlogPosts';
1650 protected $postsDataType = '';
1651 public $published;
1652 public $selfLink;
1653 public $updated;
1654 public $url;
1655
1656 public function setCustomMetaData($customMetaData)
1657 {
1658 $this->customMetaData = $customMetaData;
1659 }
1660
1661 public function getCustomMetaData()
1662 {
1663 return $this->customMetaData;
1664 }
1665
1666 public function setDescription($description)
1667 {
1668 $this->description = $description;
1669 }
1670
1671 public function getDescription()
1672 {
1673 return $this->description;
1674 }
1675
1676 public function setId($id)
1677 {
1678 $this->id = $id;
1679 }
1680
1681 public function getId()
1682 {
1683 return $this->id;
1684 }
1685
1686 public function setKind($kind)
1687 {
1688 $this->kind = $kind;
1689 }
1690
1691 public function getKind()
1692 {
1693 return $this->kind;
1694 }
1695
1696 public function setLocale(Google_Service_Blogger_BlogLocale $locale)
1697 {
1698 $this->locale = $locale;
1699 }
1700
1701 public function getLocale()
1702 {
1703 return $this->locale;
1704 }
1705
1706 public function setName($name)
1707 {
1708 $this->name = $name;
1709 }
1710
1711 public function getName()
1712 {
1713 return $this->name;
1714 }
1715
1716 public function setPages(Google_Service_Blogger_BlogPages $pages)
1717 {
1718 $this->pages = $pages;
1719 }
1720
1721 public function getPages()
1722 {
1723 return $this->pages;
1724 }
1725
1726 public function setPosts(Google_Service_Blogger_BlogPosts $posts)
1727 {
1728 $this->posts = $posts;
1729 }
1730
1731 public function getPosts()
1732 {
1733 return $this->posts;
1734 }
1735
1736 public function setPublished($published)
1737 {
1738 $this->published = $published;
1739 }
1740
1741 public function getPublished()
1742 {
1743 return $this->published;
1744 }
1745
1746 public function setSelfLink($selfLink)
1747 {
1748 $this->selfLink = $selfLink;
1749 }
1750
1751 public function getSelfLink()
1752 {
1753 return $this->selfLink;
1754 }
1755
1756 public function setUpdated($updated)
1757 {
1758 $this->updated = $updated;
1759 }
1760
1761 public function getUpdated()
1762 {
1763 return $this->updated;
1764 }
1765
1766 public function setUrl($url)
1767 {
1768 $this->url = $url;
1769 }
1770
1771 public function getUrl()
1772 {
1773 return $this->url;
1774 }
1775 }
1776
1777 class Google_Service_Blogger_BlogList extends Google_Collection
1778 {
1779 protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
1780 protected $blogUserInfosDataType = 'array';
1781 protected $itemsType = 'Google_Service_Blogger_Blog';
1782 protected $itemsDataType = 'array';
1783 public $kind;
1784
1785 public function setBlogUserInfos($blogUserInfos)
1786 {
1787 $this->blogUserInfos = $blogUserInfos;
1788 }
1789
1790 public function getBlogUserInfos()
1791 {
1792 return $this->blogUserInfos;
1793 }
1794
1795 public function setItems($items)
1796 {
1797 $this->items = $items;
1798 }
1799
1800 public function getItems()
1801 {
1802 return $this->items;
1803 }
1804
1805 public function setKind($kind)
1806 {
1807 $this->kind = $kind;
1808 }
1809
1810 public function getKind()
1811 {
1812 return $this->kind;
1813 }
1814 }
1815
1816 class Google_Service_Blogger_BlogLocale extends Google_Model
1817 {
1818 public $country;
1819 public $language;
1820 public $variant;
1821
1822 public function setCountry($country)
1823 {
1824 $this->country = $country;
1825 }
1826
1827 public function getCountry()
1828 {
1829 return $this->country;
1830 }
1831
1832 public function setLanguage($language)
1833 {
1834 $this->language = $language;
1835 }
1836
1837 public function getLanguage()
1838 {
1839 return $this->language;
1840 }
1841
1842 public function setVariant($variant)
1843 {
1844 $this->variant = $variant;
1845 }
1846
1847 public function getVariant()
1848 {
1849 return $this->variant;
1850 }
1851 }
1852
1853 class Google_Service_Blogger_BlogPages extends Google_Model
1854 {
1855 public $selfLink;
1856 public $totalItems;
1857
1858 public function setSelfLink($selfLink)
1859 {
1860 $this->selfLink = $selfLink;
1861 }
1862
1863 public function getSelfLink()
1864 {
1865 return $this->selfLink;
1866 }
1867
1868 public function setTotalItems($totalItems)
1869 {
1870 $this->totalItems = $totalItems;
1871 }
1872
1873 public function getTotalItems()
1874 {
1875 return $this->totalItems;
1876 }
1877 }
1878
1879 class Google_Service_Blogger_BlogPerUserInfo extends Google_Model
1880 {
1881 public $blogId;
1882 public $hasAdminAccess;
1883 public $kind;
1884 public $photosAlbumKey;
1885 public $role;
1886 public $userId;
1887
1888 public function setBlogId($blogId)
1889 {
1890 $this->blogId = $blogId;
1891 }
1892
1893 public function getBlogId()
1894 {
1895 return $this->blogId;
1896 }
1897
1898 public function setHasAdminAccess($hasAdminAccess)
1899 {
1900 $this->hasAdminAccess = $hasAdminAccess;
1901 }
1902
1903 public function getHasAdminAccess()
1904 {
1905 return $this->hasAdminAccess;
1906 }
1907
1908 public function setKind($kind)
1909 {
1910 $this->kind = $kind;
1911 }
1912
1913 public function getKind()
1914 {
1915 return $this->kind;
1916 }
1917
1918 public function setPhotosAlbumKey($photosAlbumKey)
1919 {
1920 $this->photosAlbumKey = $photosAlbumKey;
1921 }
1922
1923 public function getPhotosAlbumKey()
1924 {
1925 return $this->photosAlbumKey;
1926 }
1927
1928 public function setRole($role)
1929 {
1930 $this->role = $role;
1931 }
1932
1933 public function getRole()
1934 {
1935 return $this->role;
1936 }
1937
1938 public function setUserId($userId)
1939 {
1940 $this->userId = $userId;
1941 }
1942
1943 public function getUserId()
1944 {
1945 return $this->userId;
1946 }
1947 }
1948
1949 class Google_Service_Blogger_BlogPosts extends Google_Collection
1950 {
1951 protected $itemsType = 'Google_Service_Blogger_Post';
1952 protected $itemsDataType = 'array';
1953 public $selfLink;
1954 public $totalItems;
1955
1956 public function setItems($items)
1957 {
1958 $this->items = $items;
1959 }
1960
1961 public function getItems()
1962 {
1963 return $this->items;
1964 }
1965
1966 public function setSelfLink($selfLink)
1967 {
1968 $this->selfLink = $selfLink;
1969 }
1970
1971 public function getSelfLink()
1972 {
1973 return $this->selfLink;
1974 }
1975
1976 public function setTotalItems($totalItems)
1977 {
1978 $this->totalItems = $totalItems;
1979 }
1980
1981 public function getTotalItems()
1982 {
1983 return $this->totalItems;
1984 }
1985 }
1986
1987 class Google_Service_Blogger_BlogUserInfo extends Google_Model
1988 {
1989 protected $blogType = 'Google_Service_Blogger_Blog';
1990 protected $blogDataType = '';
1991 protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
1992 protected $blogUserInfoDataType = '';
1993 public $kind;
1994
1995 public function setBlog(Google_Service_Blogger_Blog $blog)
1996 {
1997 $this->blog = $blog;
1998 }
1999
2000 public function getBlog()
2001 {
2002 return $this->blog;
2003 }
2004
2005 public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
2006 {
2007 $this->blogUserInfo = $blogUserInfo;
2008 }
2009
2010 public function getBlogUserInfo()
2011 {
2012 return $this->blogUserInfo;
2013 }
2014
2015 public function setKind($kind)
2016 {
2017 $this->kind = $kind;
2018 }
2019
2020 public function getKind()
2021 {
2022 return $this->kind;
2023 }
2024 }
2025
2026 class Google_Service_Blogger_Comment extends Google_Model
2027 {
2028 protected $authorType = 'Google_Service_Blogger_CommentAuthor';
2029 protected $authorDataType = '';
2030 protected $blogType = 'Google_Service_Blogger_CommentBlog';
2031 protected $blogDataType = '';
2032 public $content;
2033 public $id;
2034 protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
2035 protected $inReplyToDataType = '';
2036 public $kind;
2037 protected $postType = 'Google_Service_Blogger_CommentPost';
2038 protected $postDataType = '';
2039 public $published;
2040 public $selfLink;
2041 public $status;
2042 public $updated;
2043
2044 public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
2045 {
2046 $this->author = $author;
2047 }
2048
2049 public function getAuthor()
2050 {
2051 return $this->author;
2052 }
2053
2054 public function setBlog(Google_Service_Blogger_CommentBlog $blog)
2055 {
2056 $this->blog = $blog;
2057 }
2058
2059 public function getBlog()
2060 {
2061 return $this->blog;
2062 }
2063
2064 public function setContent($content)
2065 {
2066 $this->content = $content;
2067 }
2068
2069 public function getContent()
2070 {
2071 return $this->content;
2072 }
2073
2074 public function setId($id)
2075 {
2076 $this->id = $id;
2077 }
2078
2079 public function getId()
2080 {
2081 return $this->id;
2082 }
2083
2084 public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo)
2085 {
2086 $this->inReplyTo = $inReplyTo;
2087 }
2088
2089 public function getInReplyTo()
2090 {
2091 return $this->inReplyTo;
2092 }
2093
2094 public function setKind($kind)
2095 {
2096 $this->kind = $kind;
2097 }
2098
2099 public function getKind()
2100 {
2101 return $this->kind;
2102 }
2103
2104 public function setPost(Google_Service_Blogger_CommentPost $post)
2105 {
2106 $this->post = $post;
2107 }
2108
2109 public function getPost()
2110 {
2111 return $this->post;
2112 }
2113
2114 public function setPublished($published)
2115 {
2116 $this->published = $published;
2117 }
2118
2119 public function getPublished()
2120 {
2121 return $this->published;
2122 }
2123
2124 public function setSelfLink($selfLink)
2125 {
2126 $this->selfLink = $selfLink;
2127 }
2128
2129 public function getSelfLink()
2130 {
2131 return $this->selfLink;
2132 }
2133
2134 public function setStatus($status)
2135 {
2136 $this->status = $status;
2137 }
2138
2139 public function getStatus()
2140 {
2141 return $this->status;
2142 }
2143
2144 public function setUpdated($updated)
2145 {
2146 $this->updated = $updated;
2147 }
2148
2149 public function getUpdated()
2150 {
2151 return $this->updated;
2152 }
2153 }
2154
2155 class Google_Service_Blogger_CommentAuthor extends Google_Model
2156 {
2157 public $displayName;
2158 public $id;
2159 protected $imageType = 'Google_Service_Blogger_CommentAuthorImage';
2160 protected $imageDataType = '';
2161 public $url;
2162
2163 public function setDisplayName($displayName)
2164 {
2165 $this->displayName = $displayName;
2166 }
2167
2168 public function getDisplayName()
2169 {
2170 return $this->displayName;
2171 }
2172
2173 public function setId($id)
2174 {
2175 $this->id = $id;
2176 }
2177
2178 public function getId()
2179 {
2180 return $this->id;
2181 }
2182
2183 public function setImage(Google_Service_Blogger_CommentAuthorImage $image)
2184 {
2185 $this->image = $image;
2186 }
2187
2188 public function getImage()
2189 {
2190 return $this->image;
2191 }
2192
2193 public function setUrl($url)
2194 {
2195 $this->url = $url;
2196 }
2197
2198 public function getUrl()
2199 {
2200 return $this->url;
2201 }
2202 }
2203
2204 class Google_Service_Blogger_CommentAuthorImage extends Google_Model
2205 {
2206 public $url;
2207
2208 public function setUrl($url)
2209 {
2210 $this->url = $url;
2211 }
2212
2213 public function getUrl()
2214 {
2215 return $this->url;
2216 }
2217 }
2218
2219 class Google_Service_Blogger_CommentBlog extends Google_Model
2220 {
2221 public $id;
2222
2223 public function setId($id)
2224 {
2225 $this->id = $id;
2226 }
2227
2228 public function getId()
2229 {
2230 return $this->id;
2231 }
2232 }
2233
2234 class Google_Service_Blogger_CommentInReplyTo extends Google_Model
2235 {
2236 public $id;
2237
2238 public function setId($id)
2239 {
2240 $this->id = $id;
2241 }
2242
2243 public function getId()
2244 {
2245 return $this->id;
2246 }
2247 }
2248
2249 class Google_Service_Blogger_CommentList extends Google_Collection
2250 {
2251 protected $itemsType = 'Google_Service_Blogger_Comment';
2252 protected $itemsDataType = 'array';
2253 public $kind;
2254 public $nextPageToken;
2255 public $prevPageToken;
2256
2257 public function setItems($items)
2258 {
2259 $this->items = $items;
2260 }
2261
2262 public function getItems()
2263 {
2264 return $this->items;
2265 }
2266
2267 public function setKind($kind)
2268 {
2269 $this->kind = $kind;
2270 }
2271
2272 public function getKind()
2273 {
2274 return $this->kind;
2275 }
2276
2277 public function setNextPageToken($nextPageToken)
2278 {
2279 $this->nextPageToken = $nextPageToken;
2280 }
2281
2282 public function getNextPageToken()
2283 {
2284 return $this->nextPageToken;
2285 }
2286
2287 public function setPrevPageToken($prevPageToken)
2288 {
2289 $this->prevPageToken = $prevPageToken;
2290 }
2291
2292 public function getPrevPageToken()
2293 {
2294 return $this->prevPageToken;
2295 }
2296 }
2297
2298 class Google_Service_Blogger_CommentPost extends Google_Model
2299 {
2300 public $id;
2301
2302 public function setId($id)
2303 {
2304 $this->id = $id;
2305 }
2306
2307 public function getId()
2308 {
2309 return $this->id;
2310 }
2311 }
2312
2313 class Google_Service_Blogger_Page extends Google_Model
2314 {
2315 protected $authorType = 'Google_Service_Blogger_PageAuthor';
2316 protected $authorDataType = '';
2317 protected $blogType = 'Google_Service_Blogger_PageBlog';
2318 protected $blogDataType = '';
2319 public $content;
2320 public $id;
2321 public $kind;
2322 public $published;
2323 public $selfLink;
2324 public $status;
2325 public $title;
2326 public $updated;
2327 public $url;
2328
2329 public function setAuthor(Google_Service_Blogger_PageAuthor $author)
2330 {
2331 $this->author = $author;
2332 }
2333
2334 public function getAuthor()
2335 {
2336 return $this->author;
2337 }
2338
2339 public function setBlog(Google_Service_Blogger_PageBlog $blog)
2340 {
2341 $this->blog = $blog;
2342 }
2343
2344 public function getBlog()
2345 {
2346 return $this->blog;
2347 }
2348
2349 public function setContent($content)
2350 {
2351 $this->content = $content;
2352 }
2353
2354 public function getContent()
2355 {
2356 return $this->content;
2357 }
2358
2359 public function setId($id)
2360 {
2361 $this->id = $id;
2362 }
2363
2364 public function getId()
2365 {
2366 return $this->id;
2367 }
2368
2369 public function setKind($kind)
2370 {
2371 $this->kind = $kind;
2372 }
2373
2374 public function getKind()
2375 {
2376 return $this->kind;
2377 }
2378
2379 public function setPublished($published)
2380 {
2381 $this->published = $published;
2382 }
2383
2384 public function getPublished()
2385 {
2386 return $this->published;
2387 }
2388
2389 public function setSelfLink($selfLink)
2390 {
2391 $this->selfLink = $selfLink;
2392 }
2393
2394 public function getSelfLink()
2395 {
2396 return $this->selfLink;
2397 }
2398
2399 public function setStatus($status)
2400 {
2401 $this->status = $status;
2402 }
2403
2404 public function getStatus()
2405 {
2406 return $this->status;
2407 }
2408
2409 public function setTitle($title)
2410 {
2411 $this->title = $title;
2412 }
2413
2414 public function getTitle()
2415 {
2416 return $this->title;
2417 }
2418
2419 public function setUpdated($updated)
2420 {
2421 $this->updated = $updated;
2422 }
2423
2424 public function getUpdated()
2425 {
2426 return $this->updated;
2427 }
2428
2429 public function setUrl($url)
2430 {
2431 $this->url = $url;
2432 }
2433
2434 public function getUrl()
2435 {
2436 return $this->url;
2437 }
2438 }
2439
2440 class Google_Service_Blogger_PageAuthor extends Google_Model
2441 {
2442 public $displayName;
2443 public $id;
2444 protected $imageType = 'Google_Service_Blogger_PageAuthorImage';
2445 protected $imageDataType = '';
2446 public $url;
2447
2448 public function setDisplayName($displayName)
2449 {
2450 $this->displayName = $displayName;
2451 }
2452
2453 public function getDisplayName()
2454 {
2455 return $this->displayName;
2456 }
2457
2458 public function setId($id)
2459 {
2460 $this->id = $id;
2461 }
2462
2463 public function getId()
2464 {
2465 return $this->id;
2466 }
2467
2468 public function setImage(Google_Service_Blogger_PageAuthorImage $image)
2469 {
2470 $this->image = $image;
2471 }
2472
2473 public function getImage()
2474 {
2475 return $this->image;
2476 }
2477
2478 public function setUrl($url)
2479 {
2480 $this->url = $url;
2481 }
2482
2483 public function getUrl()
2484 {
2485 return $this->url;
2486 }
2487 }
2488
2489 class Google_Service_Blogger_PageAuthorImage extends Google_Model
2490 {
2491 public $url;
2492
2493 public function setUrl($url)
2494 {
2495 $this->url = $url;
2496 }
2497
2498 public function getUrl()
2499 {
2500 return $this->url;
2501 }
2502 }
2503
2504 class Google_Service_Blogger_PageBlog extends Google_Model
2505 {
2506 public $id;
2507
2508 public function setId($id)
2509 {
2510 $this->id = $id;
2511 }
2512
2513 public function getId()
2514 {
2515 return $this->id;
2516 }
2517 }
2518
2519 class Google_Service_Blogger_PageList extends Google_Collection
2520 {
2521 protected $itemsType = 'Google_Service_Blogger_Page';
2522 protected $itemsDataType = 'array';
2523 public $kind;
2524
2525 public function setItems($items)
2526 {
2527 $this->items = $items;
2528 }
2529
2530 public function getItems()
2531 {
2532 return $this->items;
2533 }
2534
2535 public function setKind($kind)
2536 {
2537 $this->kind = $kind;
2538 }
2539
2540 public function getKind()
2541 {
2542 return $this->kind;
2543 }
2544 }
2545
2546 class Google_Service_Blogger_Pageviews extends Google_Collection
2547 {
2548 public $blogId;
2549 protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
2550 protected $countsDataType = 'array';
2551 public $kind;
2552
2553 public function setBlogId($blogId)
2554 {
2555 $this->blogId = $blogId;
2556 }
2557
2558 public function getBlogId()
2559 {
2560 return $this->blogId;
2561 }
2562
2563 public function setCounts($counts)
2564 {
2565 $this->counts = $counts;
2566 }
2567
2568 public function getCounts()
2569 {
2570 return $this->counts;
2571 }
2572
2573 public function setKind($kind)
2574 {
2575 $this->kind = $kind;
2576 }
2577
2578 public function getKind()
2579 {
2580 return $this->kind;
2581 }
2582 }
2583
2584 class Google_Service_Blogger_PageviewsCounts extends Google_Model
2585 {
2586 public $count;
2587 public $timeRange;
2588
2589 public function setCount($count)
2590 {
2591 $this->count = $count;
2592 }
2593
2594 public function getCount()
2595 {
2596 return $this->count;
2597 }
2598
2599 public function setTimeRange($timeRange)
2600 {
2601 $this->timeRange = $timeRange;
2602 }
2603
2604 public function getTimeRange()
2605 {
2606 return $this->timeRange;
2607 }
2608 }
2609
2610 class Google_Service_Blogger_Post extends Google_Collection
2611 {
2612 protected $authorType = 'Google_Service_Blogger_PostAuthor';
2613 protected $authorDataType = '';
2614 protected $blogType = 'Google_Service_Blogger_PostBlog';
2615 protected $blogDataType = '';
2616 public $content;
2617 public $customMetaData;
2618 public $id;
2619 protected $imagesType = 'Google_Service_Blogger_PostImages';
2620 protected $imagesDataType = 'array';
2621 public $kind;
2622 public $labels;
2623 protected $locationType = 'Google_Service_Blogger_PostLocation';
2624 protected $locationDataType = '';
2625 public $published;
2626 protected $repliesType = 'Google_Service_Blogger_PostReplies';
2627 protected $repliesDataType = '';
2628 public $selfLink;
2629 public $status;
2630 public $title;
2631 public $titleLink;
2632 public $updated;
2633 public $url;
2634
2635 public function setAuthor(Google_Service_Blogger_PostAuthor $author)
2636 {
2637 $this->author = $author;
2638 }
2639
2640 public function getAuthor()
2641 {
2642 return $this->author;
2643 }
2644
2645 public function setBlog(Google_Service_Blogger_PostBlog $blog)
2646 {
2647 $this->blog = $blog;
2648 }
2649
2650 public function getBlog()
2651 {
2652 return $this->blog;
2653 }
2654
2655 public function setContent($content)
2656 {
2657 $this->content = $content;
2658 }
2659
2660 public function getContent()
2661 {
2662 return $this->content;
2663 }
2664
2665 public function setCustomMetaData($customMetaData)
2666 {
2667 $this->customMetaData = $customMetaData;
2668 }
2669
2670 public function getCustomMetaData()
2671 {
2672 return $this->customMetaData;
2673 }
2674
2675 public function setId($id)
2676 {
2677 $this->id = $id;
2678 }
2679
2680 public function getId()
2681 {
2682 return $this->id;
2683 }
2684
2685 public function setImages($images)
2686 {
2687 $this->images = $images;
2688 }
2689
2690 public function getImages()
2691 {
2692 return $this->images;
2693 }
2694
2695 public function setKind($kind)
2696 {
2697 $this->kind = $kind;
2698 }
2699
2700 public function getKind()
2701 {
2702 return $this->kind;
2703 }
2704
2705 public function setLabels($labels)
2706 {
2707 $this->labels = $labels;
2708 }
2709
2710 public function getLabels()
2711 {
2712 return $this->labels;
2713 }
2714
2715 public function setLocation(Google_Service_Blogger_PostLocation $location)
2716 {
2717 $this->location = $location;
2718 }
2719
2720 public function getLocation()
2721 {
2722 return $this->location;
2723 }
2724
2725 public function setPublished($published)
2726 {
2727 $this->published = $published;
2728 }
2729
2730 public function getPublished()
2731 {
2732 return $this->published;
2733 }
2734
2735 public function setReplies(Google_Service_Blogger_PostReplies $replies)
2736 {
2737 $this->replies = $replies;
2738 }
2739
2740 public function getReplies()
2741 {
2742 return $this->replies;
2743 }
2744
2745 public function setSelfLink($selfLink)
2746 {
2747 $this->selfLink = $selfLink;
2748 }
2749
2750 public function getSelfLink()
2751 {
2752 return $this->selfLink;
2753 }
2754
2755 public function setStatus($status)
2756 {
2757 $this->status = $status;
2758 }
2759
2760 public function getStatus()
2761 {
2762 return $this->status;
2763 }
2764
2765 public function setTitle($title)
2766 {
2767 $this->title = $title;
2768 }
2769
2770 public function getTitle()
2771 {
2772 return $this->title;
2773 }
2774
2775 public function setTitleLink($titleLink)
2776 {
2777 $this->titleLink = $titleLink;
2778 }
2779
2780 public function getTitleLink()
2781 {
2782 return $this->titleLink;
2783 }
2784
2785 public function setUpdated($updated)
2786 {
2787 $this->updated = $updated;
2788 }
2789
2790 public function getUpdated()
2791 {
2792 return $this->updated;
2793 }
2794
2795 public function setUrl($url)
2796 {
2797 $this->url = $url;
2798 }
2799
2800 public function getUrl()
2801 {
2802 return $this->url;
2803 }
2804 }
2805
2806 class Google_Service_Blogger_PostAuthor extends Google_Model
2807 {
2808 public $displayName;
2809 public $id;
2810 protected $imageType = 'Google_Service_Blogger_PostAuthorImage';
2811 protected $imageDataType = '';
2812 public $url;
2813
2814 public function setDisplayName($displayName)
2815 {
2816 $this->displayName = $displayName;
2817 }
2818
2819 public function getDisplayName()
2820 {
2821 return $this->displayName;
2822 }
2823
2824 public function setId($id)
2825 {
2826 $this->id = $id;
2827 }
2828
2829 public function getId()
2830 {
2831 return $this->id;
2832 }
2833
2834 public function setImage(Google_Service_Blogger_PostAuthorImage $image)
2835 {
2836 $this->image = $image;
2837 }
2838
2839 public function getImage()
2840 {
2841 return $this->image;
2842 }
2843
2844 public function setUrl($url)
2845 {
2846 $this->url = $url;
2847 }
2848
2849 public function getUrl()
2850 {
2851 return $this->url;
2852 }
2853 }
2854
2855 class Google_Service_Blogger_PostAuthorImage extends Google_Model
2856 {
2857 public $url;
2858
2859 public function setUrl($url)
2860 {
2861 $this->url = $url;
2862 }
2863
2864 public function getUrl()
2865 {
2866 return $this->url;
2867 }
2868 }
2869
2870 class Google_Service_Blogger_PostBlog extends Google_Model
2871 {
2872 public $id;
2873
2874 public function setId($id)
2875 {
2876 $this->id = $id;
2877 }
2878
2879 public function getId()
2880 {
2881 return $this->id;
2882 }
2883 }
2884
2885 class Google_Service_Blogger_PostImages extends Google_Model
2886 {
2887 public $url;
2888
2889 public function setUrl($url)
2890 {
2891 $this->url = $url;
2892 }
2893
2894 public function getUrl()
2895 {
2896 return $this->url;
2897 }
2898 }
2899
2900 class Google_Service_Blogger_PostList extends Google_Collection
2901 {
2902 protected $itemsType = 'Google_Service_Blogger_Post';
2903 protected $itemsDataType = 'array';
2904 public $kind;
2905 public $nextPageToken;
2906
2907 public function setItems($items)
2908 {
2909 $this->items = $items;
2910 }
2911
2912 public function getItems()
2913 {
2914 return $this->items;
2915 }
2916
2917 public function setKind($kind)
2918 {
2919 $this->kind = $kind;
2920 }
2921
2922 public function getKind()
2923 {
2924 return $this->kind;
2925 }
2926
2927 public function setNextPageToken($nextPageToken)
2928 {
2929 $this->nextPageToken = $nextPageToken;
2930 }
2931
2932 public function getNextPageToken()
2933 {
2934 return $this->nextPageToken;
2935 }
2936 }
2937
2938 class Google_Service_Blogger_PostLocation extends Google_Model
2939 {
2940 public $lat;
2941 public $lng;
2942 public $name;
2943 public $span;
2944
2945 public function setLat($lat)
2946 {
2947 $this->lat = $lat;
2948 }
2949
2950 public function getLat()
2951 {
2952 return $this->lat;
2953 }
2954
2955 public function setLng($lng)
2956 {
2957 $this->lng = $lng;
2958 }
2959
2960 public function getLng()
2961 {
2962 return $this->lng;
2963 }
2964
2965 public function setName($name)
2966 {
2967 $this->name = $name;
2968 }
2969
2970 public function getName()
2971 {
2972 return $this->name;
2973 }
2974
2975 public function setSpan($span)
2976 {
2977 $this->span = $span;
2978 }
2979
2980 public function getSpan()
2981 {
2982 return $this->span;
2983 }
2984 }
2985
2986 class Google_Service_Blogger_PostPerUserInfo extends Google_Model
2987 {
2988 public $blogId;
2989 public $hasEditAccess;
2990 public $kind;
2991 public $postId;
2992 public $userId;
2993
2994 public function setBlogId($blogId)
2995 {
2996 $this->blogId = $blogId;
2997 }
2998
2999 public function getBlogId()
3000 {
3001 return $this->blogId;
3002 }
3003
3004 public function setHasEditAccess($hasEditAccess)
3005 {
3006 $this->hasEditAccess = $hasEditAccess;
3007 }
3008
3009 public function getHasEditAccess()
3010 {
3011 return $this->hasEditAccess;
3012 }
3013
3014 public function setKind($kind)
3015 {
3016 $this->kind = $kind;
3017 }
3018
3019 public function getKind()
3020 {
3021 return $this->kind;
3022 }
3023
3024 public function setPostId($postId)
3025 {
3026 $this->postId = $postId;
3027 }
3028
3029 public function getPostId()
3030 {
3031 return $this->postId;
3032 }
3033
3034 public function setUserId($userId)
3035 {
3036 $this->userId = $userId;
3037 }
3038
3039 public function getUserId()
3040 {
3041 return $this->userId;
3042 }
3043 }
3044
3045 class Google_Service_Blogger_PostReplies extends Google_Collection
3046 {
3047 protected $itemsType = 'Google_Service_Blogger_Comment';
3048 protected $itemsDataType = 'array';
3049 public $selfLink;
3050 public $totalItems;
3051
3052 public function setItems($items)
3053 {
3054 $this->items = $items;
3055 }
3056
3057 public function getItems()
3058 {
3059 return $this->items;
3060 }
3061
3062 public function setSelfLink($selfLink)
3063 {
3064 $this->selfLink = $selfLink;
3065 }
3066
3067 public function getSelfLink()
3068 {
3069 return $this->selfLink;
3070 }
3071
3072 public function setTotalItems($totalItems)
3073 {
3074 $this->totalItems = $totalItems;
3075 }
3076
3077 public function getTotalItems()
3078 {
3079 return $this->totalItems;
3080 }
3081 }
3082
3083 class Google_Service_Blogger_PostUserInfo extends Google_Model
3084 {
3085 public $kind;
3086 protected $postType = 'Google_Service_Blogger_Post';
3087 protected $postDataType = '';
3088 protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
3089 protected $postUserInfoDataType = '';
3090
3091 public function setKind($kind)
3092 {
3093 $this->kind = $kind;
3094 }
3095
3096 public function getKind()
3097 {
3098 return $this->kind;
3099 }
3100
3101 public function setPost(Google_Service_Blogger_Post $post)
3102 {
3103 $this->post = $post;
3104 }
3105
3106 public function getPost()
3107 {
3108 return $this->post;
3109 }
3110
3111 public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
3112 {
3113 $this->postUserInfo = $postUserInfo;
3114 }
3115
3116 public function getPostUserInfo()
3117 {
3118 return $this->postUserInfo;
3119 }
3120 }
3121
3122 class Google_Service_Blogger_PostUserInfosList extends Google_Collection
3123 {
3124 protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
3125 protected $itemsDataType = 'array';
3126 public $kind;
3127 public $nextPageToken;
3128
3129 public function setItems($items)
3130 {
3131 $this->items = $items;
3132 }
3133
3134 public function getItems()
3135 {
3136 return $this->items;
3137 }
3138
3139 public function setKind($kind)
3140 {
3141 $this->kind = $kind;
3142 }
3143
3144 public function getKind()
3145 {
3146 return $this->kind;
3147 }
3148
3149 public function setNextPageToken($nextPageToken)
3150 {
3151 $this->nextPageToken = $nextPageToken;
3152 }
3153
3154 public function getNextPageToken()
3155 {
3156 return $this->nextPageToken;
3157 }
3158 }
3159
3160 class Google_Service_Blogger_User extends Google_Model
3161 {
3162 public $about;
3163 protected $blogsType = 'Google_Service_Blogger_UserBlogs';
3164 protected $blogsDataType = '';
3165 public $created;
3166 public $displayName;
3167 public $id;
3168 public $kind;
3169 protected $localeType = 'Google_Service_Blogger_UserLocale';
3170 protected $localeDataType = '';
3171 public $selfLink;
3172 public $url;
3173
3174 public function setAbout($about)
3175 {
3176 $this->about = $about;
3177 }
3178
3179 public function getAbout()
3180 {
3181 return $this->about;
3182 }
3183
3184 public function setBlogs(Google_Service_Blogger_UserBlogs $blogs)
3185 {
3186 $this->blogs = $blogs;
3187 }
3188
3189 public function getBlogs()
3190 {
3191 return $this->blogs;
3192 }
3193
3194 public function setCreated($created)
3195 {
3196 $this->created = $created;
3197 }
3198
3199 public function getCreated()
3200 {
3201 return $this->created;
3202 }
3203
3204 public function setDisplayName($displayName)
3205 {
3206 $this->displayName = $displayName;
3207 }
3208
3209 public function getDisplayName()
3210 {
3211 return $this->displayName;
3212 }
3213
3214 public function setId($id)
3215 {
3216 $this->id = $id;
3217 }
3218
3219 public function getId()
3220 {
3221 return $this->id;
3222 }
3223
3224 public function setKind($kind)
3225 {
3226 $this->kind = $kind;
3227 }
3228
3229 public function getKind()
3230 {
3231 return $this->kind;
3232 }
3233
3234 public function setLocale(Google_Service_Blogger_UserLocale $locale)
3235 {
3236 $this->locale = $locale;
3237 }
3238
3239 public function getLocale()
3240 {
3241 return $this->locale;
3242 }
3243
3244 public function setSelfLink($selfLink)
3245 {
3246 $this->selfLink = $selfLink;
3247 }
3248
3249 public function getSelfLink()
3250 {
3251 return $this->selfLink;
3252 }
3253
3254 public function setUrl($url)
3255 {
3256 $this->url = $url;
3257 }
3258
3259 public function getUrl()
3260 {
3261 return $this->url;
3262 }
3263 }
3264
3265 class Google_Service_Blogger_UserBlogs extends Google_Model
3266 {
3267 public $selfLink;
3268
3269 public function setSelfLink($selfLink)
3270 {
3271 $this->selfLink = $selfLink;
3272 }
3273
3274 public function getSelfLink()
3275 {
3276 return $this->selfLink;
3277 }
3278 }
3279
3280 class Google_Service_Blogger_UserLocale extends Google_Model
3281 {
3282 public $country;
3283 public $language;
3284 public $variant;
3285
3286 public function setCountry($country)
3287 {
3288 $this->country = $country;
3289 }
3290
3291 public function getCountry()
3292 {
3293 return $this->country;
3294 }
3295
3296 public function setLanguage($language)
3297 {
3298 $this->language = $language;
3299 }
3300
3301 public function getLanguage()
3302 {
3303 return $this->language;
3304 }
3305
3306 public function setVariant($variant)
3307 {
3308 $this->variant = $variant;
3309 }
3310
3311 public function getVariant()
3312 {
3313 return $this->variant;
3314 }
3315 }
3316