PluginProbe
Authorizer / 2.8.3
Authorizer v2.8.3
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 / vendor / google-api-php-client / src / Google / Service / Blogger.php

Blogger.php in Authorizer 2.8.3, at vendor/google-api-php-client/src/Google/Service/Blogger.php

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