PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.4
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.4
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Blogger.php

Blogger.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.4, at lib/Google/Service/Blogger.php

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