PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.3.2
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.3.2
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 / Games.php

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

7,916 lines 188.1 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 Games (v1).
20 *
21 * <p>
22 * The API for Google Play Game Services.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/games/services/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_Games extends Analytify_Google_Service
33 {
34 /** View and manage its own configuration data in your Google Drive. */
35 const DRIVE_APPDATA = "https://www.googleapis.com/auth/drive.appdata";
36 /** Share your Google+ profile information and view and manage your game activity. */
37 const GAMES = "https://www.googleapis.com/auth/games";
38 /** Know your basic profile info and list of people in your circles.. */
39 const PLUS_LOGIN = "https://www.googleapis.com/auth/plus.login";
40
41 public $achievementDefinitions;
42 public $achievements;
43 public $applications;
44 public $events;
45 public $leaderboards;
46 public $metagame;
47 public $players;
48 public $pushtokens;
49 public $questMilestones;
50 public $quests;
51 public $revisions;
52 public $rooms;
53 public $scores;
54 public $snapshots;
55 public $turnBasedMatches;
56
57
58 /**
59 * Constructs the internal representation of the Games service.
60 *
61 * @param Analytify_Google_Client $client
62 */
63 public function __construct(Analytify_Google_Client $client)
64 {
65 parent::__construct($client);
66 $this->servicePath = 'games/v1/';
67 $this->version = 'v1';
68 $this->serviceName = 'games';
69
70 $this->achievementDefinitions = new Analytify_Google_Service_Games_AchievementDefinitions_Resource(
71 $this,
72 $this->serviceName,
73 'achievementDefinitions',
74 array(
75 'methods' => array(
76 'list' => array(
77 'path' => 'achievements',
78 'httpMethod' => 'GET',
79 'parameters' => array(
80 'pageToken' => array(
81 'location' => 'query',
82 'type' => 'string',
83 ),
84 'maxResults' => array(
85 'location' => 'query',
86 'type' => 'integer',
87 ),
88 'language' => array(
89 'location' => 'query',
90 'type' => 'string',
91 ),
92 ),
93 ),
94 )
95 )
96 );
97 $this->achievements = new Analytify_Google_Service_Games_Achievements_Resource(
98 $this,
99 $this->serviceName,
100 'achievements',
101 array(
102 'methods' => array(
103 'increment' => array(
104 'path' => 'achievements/{achievementId}/increment',
105 'httpMethod' => 'POST',
106 'parameters' => array(
107 'achievementId' => array(
108 'location' => 'path',
109 'type' => 'string',
110 'required' => true,
111 ),
112 'stepsToIncrement' => array(
113 'location' => 'query',
114 'type' => 'integer',
115 'required' => true,
116 ),
117 'requestId' => array(
118 'location' => 'query',
119 'type' => 'string',
120 ),
121 ),
122 ),'list' => array(
123 'path' => 'players/{playerId}/achievements',
124 'httpMethod' => 'GET',
125 'parameters' => array(
126 'playerId' => array(
127 'location' => 'path',
128 'type' => 'string',
129 'required' => true,
130 ),
131 'pageToken' => array(
132 'location' => 'query',
133 'type' => 'string',
134 ),
135 'state' => array(
136 'location' => 'query',
137 'type' => 'string',
138 ),
139 'maxResults' => array(
140 'location' => 'query',
141 'type' => 'integer',
142 ),
143 'language' => array(
144 'location' => 'query',
145 'type' => 'string',
146 ),
147 ),
148 ),'reveal' => array(
149 'path' => 'achievements/{achievementId}/reveal',
150 'httpMethod' => 'POST',
151 'parameters' => array(
152 'achievementId' => array(
153 'location' => 'path',
154 'type' => 'string',
155 'required' => true,
156 ),
157 ),
158 ),'setStepsAtLeast' => array(
159 'path' => 'achievements/{achievementId}/setStepsAtLeast',
160 'httpMethod' => 'POST',
161 'parameters' => array(
162 'achievementId' => array(
163 'location' => 'path',
164 'type' => 'string',
165 'required' => true,
166 ),
167 'steps' => array(
168 'location' => 'query',
169 'type' => 'integer',
170 'required' => true,
171 ),
172 ),
173 ),'unlock' => array(
174 'path' => 'achievements/{achievementId}/unlock',
175 'httpMethod' => 'POST',
176 'parameters' => array(
177 'achievementId' => array(
178 'location' => 'path',
179 'type' => 'string',
180 'required' => true,
181 ),
182 ),
183 ),'updateMultiple' => array(
184 'path' => 'achievements/updateMultiple',
185 'httpMethod' => 'POST',
186 'parameters' => array(),
187 ),
188 )
189 )
190 );
191 $this->applications = new Analytify_Google_Service_Games_Applications_Resource(
192 $this,
193 $this->serviceName,
194 'applications',
195 array(
196 'methods' => array(
197 'get' => array(
198 'path' => 'applications/{applicationId}',
199 'httpMethod' => 'GET',
200 'parameters' => array(
201 'applicationId' => array(
202 'location' => 'path',
203 'type' => 'string',
204 'required' => true,
205 ),
206 'platformType' => array(
207 'location' => 'query',
208 'type' => 'string',
209 ),
210 'language' => array(
211 'location' => 'query',
212 'type' => 'string',
213 ),
214 ),
215 ),'played' => array(
216 'path' => 'applications/played',
217 'httpMethod' => 'POST',
218 'parameters' => array(),
219 ),
220 )
221 )
222 );
223 $this->events = new Analytify_Google_Service_Games_Events_Resource(
224 $this,
225 $this->serviceName,
226 'events',
227 array(
228 'methods' => array(
229 'listByPlayer' => array(
230 'path' => 'events',
231 'httpMethod' => 'GET',
232 'parameters' => array(
233 'pageToken' => array(
234 'location' => 'query',
235 'type' => 'string',
236 ),
237 'maxResults' => array(
238 'location' => 'query',
239 'type' => 'integer',
240 ),
241 'language' => array(
242 'location' => 'query',
243 'type' => 'string',
244 ),
245 ),
246 ),'listDefinitions' => array(
247 'path' => 'eventDefinitions',
248 'httpMethod' => 'GET',
249 'parameters' => array(
250 'pageToken' => array(
251 'location' => 'query',
252 'type' => 'string',
253 ),
254 'maxResults' => array(
255 'location' => 'query',
256 'type' => 'integer',
257 ),
258 'language' => array(
259 'location' => 'query',
260 'type' => 'string',
261 ),
262 ),
263 ),'record' => array(
264 'path' => 'events',
265 'httpMethod' => 'POST',
266 'parameters' => array(
267 'language' => array(
268 'location' => 'query',
269 'type' => 'string',
270 ),
271 ),
272 ),
273 )
274 )
275 );
276 $this->leaderboards = new Analytify_Google_Service_Games_Leaderboards_Resource(
277 $this,
278 $this->serviceName,
279 'leaderboards',
280 array(
281 'methods' => array(
282 'get' => array(
283 'path' => 'leaderboards/{leaderboardId}',
284 'httpMethod' => 'GET',
285 'parameters' => array(
286 'leaderboardId' => array(
287 'location' => 'path',
288 'type' => 'string',
289 'required' => true,
290 ),
291 'language' => array(
292 'location' => 'query',
293 'type' => 'string',
294 ),
295 ),
296 ),'list' => array(
297 'path' => 'leaderboards',
298 'httpMethod' => 'GET',
299 'parameters' => array(
300 'pageToken' => array(
301 'location' => 'query',
302 'type' => 'string',
303 ),
304 'maxResults' => array(
305 'location' => 'query',
306 'type' => 'integer',
307 ),
308 'language' => array(
309 'location' => 'query',
310 'type' => 'string',
311 ),
312 ),
313 ),
314 )
315 )
316 );
317 $this->metagame = new Analytify_Google_Service_Games_Metagame_Resource(
318 $this,
319 $this->serviceName,
320 'metagame',
321 array(
322 'methods' => array(
323 'getMetagameConfig' => array(
324 'path' => 'metagameConfig',
325 'httpMethod' => 'GET',
326 'parameters' => array(),
327 ),'listCategoriesByPlayer' => array(
328 'path' => 'players/{playerId}/categories/{collection}',
329 'httpMethod' => 'GET',
330 'parameters' => array(
331 'playerId' => array(
332 'location' => 'path',
333 'type' => 'string',
334 'required' => true,
335 ),
336 'collection' => array(
337 'location' => 'path',
338 'type' => 'string',
339 'required' => true,
340 ),
341 'pageToken' => array(
342 'location' => 'query',
343 'type' => 'string',
344 ),
345 'maxResults' => array(
346 'location' => 'query',
347 'type' => 'integer',
348 ),
349 'language' => array(
350 'location' => 'query',
351 'type' => 'string',
352 ),
353 ),
354 ),
355 )
356 )
357 );
358 $this->players = new Analytify_Google_Service_Games_Players_Resource(
359 $this,
360 $this->serviceName,
361 'players',
362 array(
363 'methods' => array(
364 'get' => array(
365 'path' => 'players/{playerId}',
366 'httpMethod' => 'GET',
367 'parameters' => array(
368 'playerId' => array(
369 'location' => 'path',
370 'type' => 'string',
371 'required' => true,
372 ),
373 'language' => array(
374 'location' => 'query',
375 'type' => 'string',
376 ),
377 ),
378 ),'list' => array(
379 'path' => 'players/me/players/{collection}',
380 'httpMethod' => 'GET',
381 'parameters' => array(
382 'collection' => array(
383 'location' => 'path',
384 'type' => 'string',
385 'required' => true,
386 ),
387 'pageToken' => array(
388 'location' => 'query',
389 'type' => 'string',
390 ),
391 'maxResults' => array(
392 'location' => 'query',
393 'type' => 'integer',
394 ),
395 'language' => array(
396 'location' => 'query',
397 'type' => 'string',
398 ),
399 ),
400 ),
401 )
402 )
403 );
404 $this->pushtokens = new Analytify_Google_Service_Games_Pushtokens_Resource(
405 $this,
406 $this->serviceName,
407 'pushtokens',
408 array(
409 'methods' => array(
410 'remove' => array(
411 'path' => 'pushtokens/remove',
412 'httpMethod' => 'POST',
413 'parameters' => array(),
414 ),'update' => array(
415 'path' => 'pushtokens',
416 'httpMethod' => 'PUT',
417 'parameters' => array(),
418 ),
419 )
420 )
421 );
422 $this->questMilestones = new Analytify_Google_Service_Games_QuestMilestones_Resource(
423 $this,
424 $this->serviceName,
425 'questMilestones',
426 array(
427 'methods' => array(
428 'claim' => array(
429 'path' => 'quests/{questId}/milestones/{milestoneId}/claim',
430 'httpMethod' => 'PUT',
431 'parameters' => array(
432 'questId' => array(
433 'location' => 'path',
434 'type' => 'string',
435 'required' => true,
436 ),
437 'milestoneId' => array(
438 'location' => 'path',
439 'type' => 'string',
440 'required' => true,
441 ),
442 'requestId' => array(
443 'location' => 'query',
444 'type' => 'string',
445 'required' => true,
446 ),
447 ),
448 ),
449 )
450 )
451 );
452 $this->quests = new Analytify_Google_Service_Games_Quests_Resource(
453 $this,
454 $this->serviceName,
455 'quests',
456 array(
457 'methods' => array(
458 'accept' => array(
459 'path' => 'quests/{questId}/accept',
460 'httpMethod' => 'POST',
461 'parameters' => array(
462 'questId' => array(
463 'location' => 'path',
464 'type' => 'string',
465 'required' => true,
466 ),
467 'language' => array(
468 'location' => 'query',
469 'type' => 'string',
470 ),
471 ),
472 ),'list' => array(
473 'path' => 'players/{playerId}/quests',
474 'httpMethod' => 'GET',
475 'parameters' => array(
476 'playerId' => array(
477 'location' => 'path',
478 'type' => 'string',
479 'required' => true,
480 ),
481 'pageToken' => array(
482 'location' => 'query',
483 'type' => 'string',
484 ),
485 'maxResults' => array(
486 'location' => 'query',
487 'type' => 'integer',
488 ),
489 'language' => array(
490 'location' => 'query',
491 'type' => 'string',
492 ),
493 ),
494 ),
495 )
496 )
497 );
498 $this->revisions = new Analytify_Google_Service_Games_Revisions_Resource(
499 $this,
500 $this->serviceName,
501 'revisions',
502 array(
503 'methods' => array(
504 'check' => array(
505 'path' => 'revisions/check',
506 'httpMethod' => 'GET',
507 'parameters' => array(
508 'clientRevision' => array(
509 'location' => 'query',
510 'type' => 'string',
511 'required' => true,
512 ),
513 ),
514 ),
515 )
516 )
517 );
518 $this->rooms = new Analytify_Google_Service_Games_Rooms_Resource(
519 $this,
520 $this->serviceName,
521 'rooms',
522 array(
523 'methods' => array(
524 'create' => array(
525 'path' => 'rooms/create',
526 'httpMethod' => 'POST',
527 'parameters' => array(
528 'language' => array(
529 'location' => 'query',
530 'type' => 'string',
531 ),
532 ),
533 ),'decline' => array(
534 'path' => 'rooms/{roomId}/decline',
535 'httpMethod' => 'POST',
536 'parameters' => array(
537 'roomId' => array(
538 'location' => 'path',
539 'type' => 'string',
540 'required' => true,
541 ),
542 'language' => array(
543 'location' => 'query',
544 'type' => 'string',
545 ),
546 ),
547 ),'dismiss' => array(
548 'path' => 'rooms/{roomId}/dismiss',
549 'httpMethod' => 'POST',
550 'parameters' => array(
551 'roomId' => array(
552 'location' => 'path',
553 'type' => 'string',
554 'required' => true,
555 ),
556 ),
557 ),'get' => array(
558 'path' => 'rooms/{roomId}',
559 'httpMethod' => 'GET',
560 'parameters' => array(
561 'roomId' => array(
562 'location' => 'path',
563 'type' => 'string',
564 'required' => true,
565 ),
566 'language' => array(
567 'location' => 'query',
568 'type' => 'string',
569 ),
570 ),
571 ),'join' => array(
572 'path' => 'rooms/{roomId}/join',
573 'httpMethod' => 'POST',
574 'parameters' => array(
575 'roomId' => array(
576 'location' => 'path',
577 'type' => 'string',
578 'required' => true,
579 ),
580 'language' => array(
581 'location' => 'query',
582 'type' => 'string',
583 ),
584 ),
585 ),'leave' => array(
586 'path' => 'rooms/{roomId}/leave',
587 'httpMethod' => 'POST',
588 'parameters' => array(
589 'roomId' => array(
590 'location' => 'path',
591 'type' => 'string',
592 'required' => true,
593 ),
594 'language' => array(
595 'location' => 'query',
596 'type' => 'string',
597 ),
598 ),
599 ),'list' => array(
600 'path' => 'rooms',
601 'httpMethod' => 'GET',
602 'parameters' => array(
603 'pageToken' => array(
604 'location' => 'query',
605 'type' => 'string',
606 ),
607 'maxResults' => array(
608 'location' => 'query',
609 'type' => 'integer',
610 ),
611 'language' => array(
612 'location' => 'query',
613 'type' => 'string',
614 ),
615 ),
616 ),'reportStatus' => array(
617 'path' => 'rooms/{roomId}/reportstatus',
618 'httpMethod' => 'POST',
619 'parameters' => array(
620 'roomId' => array(
621 'location' => 'path',
622 'type' => 'string',
623 'required' => true,
624 ),
625 'language' => array(
626 'location' => 'query',
627 'type' => 'string',
628 ),
629 ),
630 ),
631 )
632 )
633 );
634 $this->scores = new Analytify_Google_Service_Games_Scores_Resource(
635 $this,
636 $this->serviceName,
637 'scores',
638 array(
639 'methods' => array(
640 'get' => array(
641 'path' => 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}',
642 'httpMethod' => 'GET',
643 'parameters' => array(
644 'playerId' => array(
645 'location' => 'path',
646 'type' => 'string',
647 'required' => true,
648 ),
649 'leaderboardId' => array(
650 'location' => 'path',
651 'type' => 'string',
652 'required' => true,
653 ),
654 'timeSpan' => array(
655 'location' => 'path',
656 'type' => 'string',
657 'required' => true,
658 ),
659 'includeRankType' => array(
660 'location' => 'query',
661 'type' => 'string',
662 ),
663 'language' => array(
664 'location' => 'query',
665 'type' => 'string',
666 ),
667 'maxResults' => array(
668 'location' => 'query',
669 'type' => 'integer',
670 ),
671 'pageToken' => array(
672 'location' => 'query',
673 'type' => 'string',
674 ),
675 ),
676 ),'list' => array(
677 'path' => 'leaderboards/{leaderboardId}/scores/{collection}',
678 'httpMethod' => 'GET',
679 'parameters' => array(
680 'leaderboardId' => array(
681 'location' => 'path',
682 'type' => 'string',
683 'required' => true,
684 ),
685 'collection' => array(
686 'location' => 'path',
687 'type' => 'string',
688 'required' => true,
689 ),
690 'timeSpan' => array(
691 'location' => 'query',
692 'type' => 'string',
693 'required' => true,
694 ),
695 'language' => array(
696 'location' => 'query',
697 'type' => 'string',
698 ),
699 'maxResults' => array(
700 'location' => 'query',
701 'type' => 'integer',
702 ),
703 'pageToken' => array(
704 'location' => 'query',
705 'type' => 'string',
706 ),
707 ),
708 ),'listWindow' => array(
709 'path' => 'leaderboards/{leaderboardId}/window/{collection}',
710 'httpMethod' => 'GET',
711 'parameters' => array(
712 'leaderboardId' => array(
713 'location' => 'path',
714 'type' => 'string',
715 'required' => true,
716 ),
717 'collection' => array(
718 'location' => 'path',
719 'type' => 'string',
720 'required' => true,
721 ),
722 'timeSpan' => array(
723 'location' => 'query',
724 'type' => 'string',
725 'required' => true,
726 ),
727 'language' => array(
728 'location' => 'query',
729 'type' => 'string',
730 ),
731 'returnTopIfAbsent' => array(
732 'location' => 'query',
733 'type' => 'boolean',
734 ),
735 'resultsAbove' => array(
736 'location' => 'query',
737 'type' => 'integer',
738 ),
739 'maxResults' => array(
740 'location' => 'query',
741 'type' => 'integer',
742 ),
743 'pageToken' => array(
744 'location' => 'query',
745 'type' => 'string',
746 ),
747 ),
748 ),'submit' => array(
749 'path' => 'leaderboards/{leaderboardId}/scores',
750 'httpMethod' => 'POST',
751 'parameters' => array(
752 'leaderboardId' => array(
753 'location' => 'path',
754 'type' => 'string',
755 'required' => true,
756 ),
757 'score' => array(
758 'location' => 'query',
759 'type' => 'string',
760 'required' => true,
761 ),
762 'language' => array(
763 'location' => 'query',
764 'type' => 'string',
765 ),
766 'scoreTag' => array(
767 'location' => 'query',
768 'type' => 'string',
769 ),
770 ),
771 ),'submitMultiple' => array(
772 'path' => 'leaderboards/scores',
773 'httpMethod' => 'POST',
774 'parameters' => array(
775 'language' => array(
776 'location' => 'query',
777 'type' => 'string',
778 ),
779 ),
780 ),
781 )
782 )
783 );
784 $this->snapshots = new Analytify_Google_Service_Games_Snapshots_Resource(
785 $this,
786 $this->serviceName,
787 'snapshots',
788 array(
789 'methods' => array(
790 'get' => array(
791 'path' => 'snapshots/{snapshotId}',
792 'httpMethod' => 'GET',
793 'parameters' => array(
794 'snapshotId' => array(
795 'location' => 'path',
796 'type' => 'string',
797 'required' => true,
798 ),
799 'language' => array(
800 'location' => 'query',
801 'type' => 'string',
802 ),
803 ),
804 ),'list' => array(
805 'path' => 'players/{playerId}/snapshots',
806 'httpMethod' => 'GET',
807 'parameters' => array(
808 'playerId' => array(
809 'location' => 'path',
810 'type' => 'string',
811 'required' => true,
812 ),
813 'pageToken' => array(
814 'location' => 'query',
815 'type' => 'string',
816 ),
817 'maxResults' => array(
818 'location' => 'query',
819 'type' => 'integer',
820 ),
821 'language' => array(
822 'location' => 'query',
823 'type' => 'string',
824 ),
825 ),
826 ),
827 )
828 )
829 );
830 $this->turnBasedMatches = new Analytify_Google_Service_Games_TurnBasedMatches_Resource(
831 $this,
832 $this->serviceName,
833 'turnBasedMatches',
834 array(
835 'methods' => array(
836 'cancel' => array(
837 'path' => 'turnbasedmatches/{matchId}/cancel',
838 'httpMethod' => 'PUT',
839 'parameters' => array(
840 'matchId' => array(
841 'location' => 'path',
842 'type' => 'string',
843 'required' => true,
844 ),
845 ),
846 ),'create' => array(
847 'path' => 'turnbasedmatches/create',
848 'httpMethod' => 'POST',
849 'parameters' => array(
850 'language' => array(
851 'location' => 'query',
852 'type' => 'string',
853 ),
854 ),
855 ),'decline' => array(
856 'path' => 'turnbasedmatches/{matchId}/decline',
857 'httpMethod' => 'PUT',
858 'parameters' => array(
859 'matchId' => array(
860 'location' => 'path',
861 'type' => 'string',
862 'required' => true,
863 ),
864 'language' => array(
865 'location' => 'query',
866 'type' => 'string',
867 ),
868 ),
869 ),'dismiss' => array(
870 'path' => 'turnbasedmatches/{matchId}/dismiss',
871 'httpMethod' => 'PUT',
872 'parameters' => array(
873 'matchId' => array(
874 'location' => 'path',
875 'type' => 'string',
876 'required' => true,
877 ),
878 ),
879 ),'finish' => array(
880 'path' => 'turnbasedmatches/{matchId}/finish',
881 'httpMethod' => 'PUT',
882 'parameters' => array(
883 'matchId' => array(
884 'location' => 'path',
885 'type' => 'string',
886 'required' => true,
887 ),
888 'language' => array(
889 'location' => 'query',
890 'type' => 'string',
891 ),
892 ),
893 ),'get' => array(
894 'path' => 'turnbasedmatches/{matchId}',
895 'httpMethod' => 'GET',
896 'parameters' => array(
897 'matchId' => array(
898 'location' => 'path',
899 'type' => 'string',
900 'required' => true,
901 ),
902 'language' => array(
903 'location' => 'query',
904 'type' => 'string',
905 ),
906 'includeMatchData' => array(
907 'location' => 'query',
908 'type' => 'boolean',
909 ),
910 ),
911 ),'join' => array(
912 'path' => 'turnbasedmatches/{matchId}/join',
913 'httpMethod' => 'PUT',
914 'parameters' => array(
915 'matchId' => array(
916 'location' => 'path',
917 'type' => 'string',
918 'required' => true,
919 ),
920 'language' => array(
921 'location' => 'query',
922 'type' => 'string',
923 ),
924 ),
925 ),'leave' => array(
926 'path' => 'turnbasedmatches/{matchId}/leave',
927 'httpMethod' => 'PUT',
928 'parameters' => array(
929 'matchId' => array(
930 'location' => 'path',
931 'type' => 'string',
932 'required' => true,
933 ),
934 'language' => array(
935 'location' => 'query',
936 'type' => 'string',
937 ),
938 ),
939 ),'leaveTurn' => array(
940 'path' => 'turnbasedmatches/{matchId}/leaveTurn',
941 'httpMethod' => 'PUT',
942 'parameters' => array(
943 'matchId' => array(
944 'location' => 'path',
945 'type' => 'string',
946 'required' => true,
947 ),
948 'matchVersion' => array(
949 'location' => 'query',
950 'type' => 'integer',
951 'required' => true,
952 ),
953 'language' => array(
954 'location' => 'query',
955 'type' => 'string',
956 ),
957 'pendingParticipantId' => array(
958 'location' => 'query',
959 'type' => 'string',
960 ),
961 ),
962 ),'list' => array(
963 'path' => 'turnbasedmatches',
964 'httpMethod' => 'GET',
965 'parameters' => array(
966 'pageToken' => array(
967 'location' => 'query',
968 'type' => 'string',
969 ),
970 'maxCompletedMatches' => array(
971 'location' => 'query',
972 'type' => 'integer',
973 ),
974 'maxResults' => array(
975 'location' => 'query',
976 'type' => 'integer',
977 ),
978 'language' => array(
979 'location' => 'query',
980 'type' => 'string',
981 ),
982 'includeMatchData' => array(
983 'location' => 'query',
984 'type' => 'boolean',
985 ),
986 ),
987 ),'rematch' => array(
988 'path' => 'turnbasedmatches/{matchId}/rematch',
989 'httpMethod' => 'POST',
990 'parameters' => array(
991 'matchId' => array(
992 'location' => 'path',
993 'type' => 'string',
994 'required' => true,
995 ),
996 'requestId' => array(
997 'location' => 'query',
998 'type' => 'string',
999 ),
1000 'language' => array(
1001 'location' => 'query',
1002 'type' => 'string',
1003 ),
1004 ),
1005 ),'sync' => array(
1006 'path' => 'turnbasedmatches/sync',
1007 'httpMethod' => 'GET',
1008 'parameters' => array(
1009 'pageToken' => array(
1010 'location' => 'query',
1011 'type' => 'string',
1012 ),
1013 'maxCompletedMatches' => array(
1014 'location' => 'query',
1015 'type' => 'integer',
1016 ),
1017 'maxResults' => array(
1018 'location' => 'query',
1019 'type' => 'integer',
1020 ),
1021 'language' => array(
1022 'location' => 'query',
1023 'type' => 'string',
1024 ),
1025 'includeMatchData' => array(
1026 'location' => 'query',
1027 'type' => 'boolean',
1028 ),
1029 ),
1030 ),'takeTurn' => array(
1031 'path' => 'turnbasedmatches/{matchId}/turn',
1032 'httpMethod' => 'PUT',
1033 'parameters' => array(
1034 'matchId' => array(
1035 'location' => 'path',
1036 'type' => 'string',
1037 'required' => true,
1038 ),
1039 'language' => array(
1040 'location' => 'query',
1041 'type' => 'string',
1042 ),
1043 ),
1044 ),
1045 )
1046 )
1047 );
1048 }
1049 }
1050
1051
1052 /**
1053 * The "achievementDefinitions" collection of methods.
1054 * Typical usage is:
1055 * <code>
1056 * $gamesService = new Analytify_Google_Service_Games(...);
1057 * $achievementDefinitions = $gamesService->achievementDefinitions;
1058 * </code>
1059 */
1060 class Analytify_Google_Service_Games_AchievementDefinitions_Resource extends Analytify_Google_Service_Resource
1061 {
1062
1063 /**
1064 * Lists all the achievement definitions for your application.
1065 * (achievementDefinitions.listAchievementDefinitions)
1066 *
1067 * @param array $optParams Optional parameters.
1068 *
1069 * @opt_param string pageToken
1070 * The token returned by the previous request.
1071 * @opt_param int maxResults
1072 * The maximum number of achievement resources to return in the response, used for paging. For any
1073 * response, the actual number of achievement resources returned may be less than the specified
1074 * maxResults.
1075 * @opt_param string language
1076 * The preferred language to use for strings returned by this method.
1077 * @return Analytify_Google_Service_Games_AchievementDefinitionsListResponse
1078 */
1079 public function listAchievementDefinitions($optParams = array())
1080 {
1081 $params = array();
1082 $params = array_merge($params, $optParams);
1083 return $this->call('list', array($params), "Analytify_Google_Service_Games_AchievementDefinitionsListResponse");
1084 }
1085 }
1086
1087 /**
1088 * The "achievements" collection of methods.
1089 * Typical usage is:
1090 * <code>
1091 * $gamesService = new Analytify_Google_Service_Games(...);
1092 * $achievements = $gamesService->achievements;
1093 * </code>
1094 */
1095 class Analytify_Google_Service_Games_Achievements_Resource extends Analytify_Google_Service_Resource
1096 {
1097
1098 /**
1099 * Increments the steps of the achievement with the given ID for the currently
1100 * authenticated player. (achievements.increment)
1101 *
1102 * @param string $achievementId
1103 * The ID of the achievement used by this method.
1104 * @param int $stepsToIncrement
1105 * The number of steps to increment.
1106 * @param array $optParams Optional parameters.
1107 *
1108 * @opt_param string requestId
1109 * A randomly generated numeric ID for each request specified by the caller. This number is used at
1110 * the server to ensure that the request is handled correctly across retries.
1111 * @return Analytify_Google_Service_Games_AchievementIncrementResponse
1112 */
1113 public function increment($achievementId, $stepsToIncrement, $optParams = array())
1114 {
1115 $params = array('achievementId' => $achievementId, 'stepsToIncrement' => $stepsToIncrement);
1116 $params = array_merge($params, $optParams);
1117 return $this->call('increment', array($params), "Analytify_Google_Service_Games_AchievementIncrementResponse");
1118 }
1119 /**
1120 * Lists the progress for all your application's achievements for the currently
1121 * authenticated player. (achievements.listAchievements)
1122 *
1123 * @param string $playerId
1124 * A player ID. A value of me may be used in place of the authenticated player's ID.
1125 * @param array $optParams Optional parameters.
1126 *
1127 * @opt_param string pageToken
1128 * The token returned by the previous request.
1129 * @opt_param string state
1130 * Tells the server to return only achievements with the specified state. If this parameter isn't
1131 * specified, all achievements are returned.
1132 * @opt_param int maxResults
1133 * The maximum number of achievement resources to return in the response, used for paging. For any
1134 * response, the actual number of achievement resources returned may be less than the specified
1135 * maxResults.
1136 * @opt_param string language
1137 * The preferred language to use for strings returned by this method.
1138 * @return Analytify_Google_Service_Games_PlayerAchievementListResponse
1139 */
1140 public function listAchievements($playerId, $optParams = array())
1141 {
1142 $params = array('playerId' => $playerId);
1143 $params = array_merge($params, $optParams);
1144 return $this->call('list', array($params), "Analytify_Google_Service_Games_PlayerAchievementListResponse");
1145 }
1146 /**
1147 * Sets the state of the achievement with the given ID to REVEALED for the
1148 * currently authenticated player. (achievements.reveal)
1149 *
1150 * @param string $achievementId
1151 * The ID of the achievement used by this method.
1152 * @param array $optParams Optional parameters.
1153 * @return Analytify_Google_Service_Games_AchievementRevealResponse
1154 */
1155 public function reveal($achievementId, $optParams = array())
1156 {
1157 $params = array('achievementId' => $achievementId);
1158 $params = array_merge($params, $optParams);
1159 return $this->call('reveal', array($params), "Analytify_Google_Service_Games_AchievementRevealResponse");
1160 }
1161 /**
1162 * Sets the steps for the currently authenticated player towards unlocking an
1163 * achievement. If the steps parameter is less than the current number of steps
1164 * that the player already gained for the achievement, the achievement is not
1165 * modified. (achievements.setStepsAtLeast)
1166 *
1167 * @param string $achievementId
1168 * The ID of the achievement used by this method.
1169 * @param int $steps
1170 * The minimum value to set the steps to.
1171 * @param array $optParams Optional parameters.
1172 * @return Analytify_Google_Service_Games_AchievementSetStepsAtLeastResponse
1173 */
1174 public function setStepsAtLeast($achievementId, $steps, $optParams = array())
1175 {
1176 $params = array('achievementId' => $achievementId, 'steps' => $steps);
1177 $params = array_merge($params, $optParams);
1178 return $this->call('setStepsAtLeast', array($params), "Analytify_Google_Service_Games_AchievementSetStepsAtLeastResponse");
1179 }
1180 /**
1181 * Unlocks this achievement for the currently authenticated player.
1182 * (achievements.unlock)
1183 *
1184 * @param string $achievementId
1185 * The ID of the achievement used by this method.
1186 * @param array $optParams Optional parameters.
1187 * @return Analytify_Google_Service_Games_AchievementUnlockResponse
1188 */
1189 public function unlock($achievementId, $optParams = array())
1190 {
1191 $params = array('achievementId' => $achievementId);
1192 $params = array_merge($params, $optParams);
1193 return $this->call('unlock', array($params), "Analytify_Google_Service_Games_AchievementUnlockResponse");
1194 }
1195 /**
1196 * Updates multiple achievements for the currently authenticated player.
1197 * (achievements.updateMultiple)
1198 *
1199 * @param Analytify_Google_AchievementUpdateMultipleRequest $postBody
1200 * @param array $optParams Optional parameters.
1201 * @return Analytify_Google_Service_Games_AchievementUpdateMultipleResponse
1202 */
1203 public function updateMultiple(Analytify_Google_Service_Games_AchievementUpdateMultipleRequest $postBody, $optParams = array())
1204 {
1205 $params = array('postBody' => $postBody);
1206 $params = array_merge($params, $optParams);
1207 return $this->call('updateMultiple', array($params), "Analytify_Google_Service_Games_AchievementUpdateMultipleResponse");
1208 }
1209 }
1210
1211 /**
1212 * The "applications" collection of methods.
1213 * Typical usage is:
1214 * <code>
1215 * $gamesService = new Analytify_Google_Service_Games(...);
1216 * $applications = $gamesService->applications;
1217 * </code>
1218 */
1219 class Analytify_Google_Service_Games_Applications_Resource extends Analytify_Google_Service_Resource
1220 {
1221
1222 /**
1223 * Retrieves the metadata of the application with the given ID. If the requested
1224 * application is not available for the specified platformType, the returned
1225 * response will not include any instance data. (applications.get)
1226 *
1227 * @param string $applicationId
1228 * The application being requested.
1229 * @param array $optParams Optional parameters.
1230 *
1231 * @opt_param string platformType
1232 * Restrict application details returned to the specific platform.
1233 * @opt_param string language
1234 * The preferred language to use for strings returned by this method.
1235 * @return Analytify_Google_Service_Games_Application
1236 */
1237 public function get($applicationId, $optParams = array())
1238 {
1239 $params = array('applicationId' => $applicationId);
1240 $params = array_merge($params, $optParams);
1241 return $this->call('get', array($params), "Analytify_Google_Service_Games_Application");
1242 }
1243 /**
1244 * Indicate that the the currently authenticated user is playing your
1245 * application. (applications.played)
1246 *
1247 * @param array $optParams Optional parameters.
1248 */
1249 public function played($optParams = array())
1250 {
1251 $params = array();
1252 $params = array_merge($params, $optParams);
1253 return $this->call('played', array($params));
1254 }
1255 }
1256
1257 /**
1258 * The "events" collection of methods.
1259 * Typical usage is:
1260 * <code>
1261 * $gamesService = new Analytify_Google_Service_Games(...);
1262 * $events = $gamesService->events;
1263 * </code>
1264 */
1265 class Analytify_Google_Service_Games_Events_Resource extends Analytify_Google_Service_Resource
1266 {
1267
1268 /**
1269 * Returns a list showing the current progress on events in this application for
1270 * the currently authenticated user. (events.listByPlayer)
1271 *
1272 * @param array $optParams Optional parameters.
1273 *
1274 * @opt_param string pageToken
1275 * The token returned by the previous request.
1276 * @opt_param int maxResults
1277 * The maximum number of events to return in the response, used for paging. For any response, the
1278 * actual number of events to return may be less than the specified maxResults.
1279 * @opt_param string language
1280 * The preferred language to use for strings returned by this method.
1281 * @return Analytify_Google_Service_Games_PlayerEventListResponse
1282 */
1283 public function listByPlayer($optParams = array())
1284 {
1285 $params = array();
1286 $params = array_merge($params, $optParams);
1287 return $this->call('listByPlayer', array($params), "Analytify_Google_Service_Games_PlayerEventListResponse");
1288 }
1289 /**
1290 * Returns a list of the event definitions in this application.
1291 * (events.listDefinitions)
1292 *
1293 * @param array $optParams Optional parameters.
1294 *
1295 * @opt_param string pageToken
1296 * The token returned by the previous request.
1297 * @opt_param int maxResults
1298 * The maximum number of event definitions to return in the response, used for paging. For any
1299 * response, the actual number of event definitions to return may be less than the specified
1300 * maxResults.
1301 * @opt_param string language
1302 * The preferred language to use for strings returned by this method.
1303 * @return Analytify_Google_Service_Games_EventDefinitionListResponse
1304 */
1305 public function listDefinitions($optParams = array())
1306 {
1307 $params = array();
1308 $params = array_merge($params, $optParams);
1309 return $this->call('listDefinitions', array($params), "Analytify_Google_Service_Games_EventDefinitionListResponse");
1310 }
1311 /**
1312 * Records a batch of changes to the number of times events have occurred for
1313 * the currently authenticated user of this application. (events.record)
1314 *
1315 * @param Analytify_Google_EventRecordRequest $postBody
1316 * @param array $optParams Optional parameters.
1317 *
1318 * @opt_param string language
1319 * The preferred language to use for strings returned by this method.
1320 * @return Analytify_Google_Service_Games_EventUpdateResponse
1321 */
1322 public function record(Analytify_Google_Service_Games_EventRecordRequest $postBody, $optParams = array())
1323 {
1324 $params = array('postBody' => $postBody);
1325 $params = array_merge($params, $optParams);
1326 return $this->call('record', array($params), "Analytify_Google_Service_Games_EventUpdateResponse");
1327 }
1328 }
1329
1330 /**
1331 * The "leaderboards" collection of methods.
1332 * Typical usage is:
1333 * <code>
1334 * $gamesService = new Analytify_Google_Service_Games(...);
1335 * $leaderboards = $gamesService->leaderboards;
1336 * </code>
1337 */
1338 class Analytify_Google_Service_Games_Leaderboards_Resource extends Analytify_Google_Service_Resource
1339 {
1340
1341 /**
1342 * Retrieves the metadata of the leaderboard with the given ID.
1343 * (leaderboards.get)
1344 *
1345 * @param string $leaderboardId
1346 * The ID of the leaderboard.
1347 * @param array $optParams Optional parameters.
1348 *
1349 * @opt_param string language
1350 * The preferred language to use for strings returned by this method.
1351 * @return Analytify_Google_Service_Games_Leaderboard
1352 */
1353 public function get($leaderboardId, $optParams = array())
1354 {
1355 $params = array('leaderboardId' => $leaderboardId);
1356 $params = array_merge($params, $optParams);
1357 return $this->call('get', array($params), "Analytify_Google_Service_Games_Leaderboard");
1358 }
1359 /**
1360 * Lists all the leaderboard metadata for your application.
1361 * (leaderboards.listLeaderboards)
1362 *
1363 * @param array $optParams Optional parameters.
1364 *
1365 * @opt_param string pageToken
1366 * The token returned by the previous request.
1367 * @opt_param int maxResults
1368 * The maximum number of leaderboards to return in the response. For any response, the actual
1369 * number of leaderboards returned may be less than the specified maxResults.
1370 * @opt_param string language
1371 * The preferred language to use for strings returned by this method.
1372 * @return Analytify_Google_Service_Games_LeaderboardListResponse
1373 */
1374 public function listLeaderboards($optParams = array())
1375 {
1376 $params = array();
1377 $params = array_merge($params, $optParams);
1378 return $this->call('list', array($params), "Analytify_Google_Service_Games_LeaderboardListResponse");
1379 }
1380 }
1381
1382 /**
1383 * The "metagame" collection of methods.
1384 * Typical usage is:
1385 * <code>
1386 * $gamesService = new Analytify_Google_Service_Games(...);
1387 * $metagame = $gamesService->metagame;
1388 * </code>
1389 */
1390 class Analytify_Google_Service_Games_Metagame_Resource extends Analytify_Google_Service_Resource
1391 {
1392
1393 /**
1394 * Return the metagame configuration data for the calling application.
1395 * (metagame.getMetagameConfig)
1396 *
1397 * @param array $optParams Optional parameters.
1398 * @return Analytify_Google_Service_Games_MetagameConfig
1399 */
1400 public function getMetagameConfig($optParams = array())
1401 {
1402 $params = array();
1403 $params = array_merge($params, $optParams);
1404 return $this->call('getMetagameConfig', array($params), "Analytify_Google_Service_Games_MetagameConfig");
1405 }
1406 /**
1407 * List play data aggregated per category for the player corresponding to
1408 * playerId. (metagame.listCategoriesByPlayer)
1409 *
1410 * @param string $playerId
1411 * A player ID. A value of me may be used in place of the authenticated player's ID.
1412 * @param string $collection
1413 * The collection of categories for which data will be returned.
1414 * @param array $optParams Optional parameters.
1415 *
1416 * @opt_param string pageToken
1417 * The token returned by the previous request.
1418 * @opt_param int maxResults
1419 * The maximum number of category resources to return in the response, used for paging. For any
1420 * response, the actual number of category resources returned may be less than the specified
1421 * maxResults.
1422 * @opt_param string language
1423 * The preferred language to use for strings returned by this method.
1424 * @return Analytify_Google_Service_Games_CategoryListResponse
1425 */
1426 public function listCategoriesByPlayer($playerId, $collection, $optParams = array())
1427 {
1428 $params = array('playerId' => $playerId, 'collection' => $collection);
1429 $params = array_merge($params, $optParams);
1430 return $this->call('listCategoriesByPlayer', array($params), "Analytify_Google_Service_Games_CategoryListResponse");
1431 }
1432 }
1433
1434 /**
1435 * The "players" collection of methods.
1436 * Typical usage is:
1437 * <code>
1438 * $gamesService = new Analytify_Google_Service_Games(...);
1439 * $players = $gamesService->players;
1440 * </code>
1441 */
1442 class Analytify_Google_Service_Games_Players_Resource extends Analytify_Google_Service_Resource
1443 {
1444
1445 /**
1446 * Retrieves the Player resource with the given ID. To retrieve the player for
1447 * the currently authenticated user, set playerId to me. (players.get)
1448 *
1449 * @param string $playerId
1450 * A player ID. A value of me may be used in place of the authenticated player's ID.
1451 * @param array $optParams Optional parameters.
1452 *
1453 * @opt_param string language
1454 * The preferred language to use for strings returned by this method.
1455 * @return Analytify_Google_Service_Games_Player
1456 */
1457 public function get($playerId, $optParams = array())
1458 {
1459 $params = array('playerId' => $playerId);
1460 $params = array_merge($params, $optParams);
1461 return $this->call('get', array($params), "Analytify_Google_Service_Games_Player");
1462 }
1463 /**
1464 * Get the collection of players for the currently authenticated user.
1465 * (players.listPlayers)
1466 *
1467 * @param string $collection
1468 * Collection of players being retrieved
1469 * @param array $optParams Optional parameters.
1470 *
1471 * @opt_param string pageToken
1472 * The token returned by the previous request.
1473 * @opt_param int maxResults
1474 * The maximum number of player resources to return in the response, used for paging. For any
1475 * response, the actual number of player resources returned may be less than the specified
1476 * maxResults.
1477 * @opt_param string language
1478 * The preferred language to use for strings returned by this method.
1479 * @return Analytify_Google_Service_Games_PlayerListResponse
1480 */
1481 public function listPlayers($collection, $optParams = array())
1482 {
1483 $params = array('collection' => $collection);
1484 $params = array_merge($params, $optParams);
1485 return $this->call('list', array($params), "Analytify_Google_Service_Games_PlayerListResponse");
1486 }
1487 }
1488
1489 /**
1490 * The "pushtokens" collection of methods.
1491 * Typical usage is:
1492 * <code>
1493 * $gamesService = new Analytify_Google_Service_Games(...);
1494 * $pushtokens = $gamesService->pushtokens;
1495 * </code>
1496 */
1497 class Analytify_Google_Service_Games_Pushtokens_Resource extends Analytify_Google_Service_Resource
1498 {
1499
1500 /**
1501 * Removes a push token for the current user and application. Removing a non-
1502 * existent push token will report success. (pushtokens.remove)
1503 *
1504 * @param Analytify_Google_PushTokenId $postBody
1505 * @param array $optParams Optional parameters.
1506 */
1507 public function remove(Analytify_Google_Service_Games_PushTokenId $postBody, $optParams = array())
1508 {
1509 $params = array('postBody' => $postBody);
1510 $params = array_merge($params, $optParams);
1511 return $this->call('remove', array($params));
1512 }
1513 /**
1514 * Registers a push token for the current user and application.
1515 * (pushtokens.update)
1516 *
1517 * @param Analytify_Google_PushToken $postBody
1518 * @param array $optParams Optional parameters.
1519 */
1520 public function update(Analytify_Google_Service_Games_PushToken $postBody, $optParams = array())
1521 {
1522 $params = array('postBody' => $postBody);
1523 $params = array_merge($params, $optParams);
1524 return $this->call('update', array($params));
1525 }
1526 }
1527
1528 /**
1529 * The "questMilestones" collection of methods.
1530 * Typical usage is:
1531 * <code>
1532 * $gamesService = new Analytify_Google_Service_Games(...);
1533 * $questMilestones = $gamesService->questMilestones;
1534 * </code>
1535 */
1536 class Analytify_Google_Service_Games_QuestMilestones_Resource extends Analytify_Google_Service_Resource
1537 {
1538
1539 /**
1540 * Report that a reward for the milestone corresponding to milestoneId for the
1541 * quest corresponding to questId has been claimed by the currently authorized
1542 * user. (questMilestones.claim)
1543 *
1544 * @param string $questId
1545 * The ID of the quest.
1546 * @param string $milestoneId
1547 * The ID of the milestone.
1548 * @param string $requestId
1549 * A numeric ID to ensure that the request is handled correctly across retries. Your client
1550 * application must generate this ID randomly.
1551 * @param array $optParams Optional parameters.
1552 */
1553 public function claim($questId, $milestoneId, $requestId, $optParams = array())
1554 {
1555 $params = array('questId' => $questId, 'milestoneId' => $milestoneId, 'requestId' => $requestId);
1556 $params = array_merge($params, $optParams);
1557 return $this->call('claim', array($params));
1558 }
1559 }
1560
1561 /**
1562 * The "quests" collection of methods.
1563 * Typical usage is:
1564 * <code>
1565 * $gamesService = new Analytify_Google_Service_Games(...);
1566 * $quests = $gamesService->quests;
1567 * </code>
1568 */
1569 class Analytify_Google_Service_Games_Quests_Resource extends Analytify_Google_Service_Resource
1570 {
1571
1572 /**
1573 * Indicates that the currently authorized user will participate in the quest.
1574 * (quests.accept)
1575 *
1576 * @param string $questId
1577 * The ID of the quest.
1578 * @param array $optParams Optional parameters.
1579 *
1580 * @opt_param string language
1581 * The preferred language to use for strings returned by this method.
1582 * @return Analytify_Google_Service_Games_Quest
1583 */
1584 public function accept($questId, $optParams = array())
1585 {
1586 $params = array('questId' => $questId);
1587 $params = array_merge($params, $optParams);
1588 return $this->call('accept', array($params), "Analytify_Google_Service_Games_Quest");
1589 }
1590 /**
1591 * Get a list of quests for your application and the currently authenticated
1592 * player. (quests.listQuests)
1593 *
1594 * @param string $playerId
1595 * A player ID. A value of me may be used in place of the authenticated player's ID.
1596 * @param array $optParams Optional parameters.
1597 *
1598 * @opt_param string pageToken
1599 * The token returned by the previous request.
1600 * @opt_param int maxResults
1601 * The maximum number of quest resources to return in the response, used for paging. For any
1602 * response, the actual number of quest resources returned may be less than the specified
1603 * maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50).
1604 * @opt_param string language
1605 * The preferred language to use for strings returned by this method.
1606 * @return Analytify_Google_Service_Games_QuestListResponse
1607 */
1608 public function listQuests($playerId, $optParams = array())
1609 {
1610 $params = array('playerId' => $playerId);
1611 $params = array_merge($params, $optParams);
1612 return $this->call('list', array($params), "Analytify_Google_Service_Games_QuestListResponse");
1613 }
1614 }
1615
1616 /**
1617 * The "revisions" collection of methods.
1618 * Typical usage is:
1619 * <code>
1620 * $gamesService = new Analytify_Google_Service_Games(...);
1621 * $revisions = $gamesService->revisions;
1622 * </code>
1623 */
1624 class Analytify_Google_Service_Games_Revisions_Resource extends Analytify_Google_Service_Resource
1625 {
1626
1627 /**
1628 * Checks whether the games client is out of date. (revisions.check)
1629 *
1630 * @param string $clientRevision
1631 * The revision of the client SDK used by your application. Format:
1632 * [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are:
1633 - "ANDROID" - Client
1634 * is running the Android SDK.
1635 - "IOS" - Client is running the iOS SDK.
1636 - "WEB_APP" - Client is
1637 * running as a Web App.
1638 * @param array $optParams Optional parameters.
1639 * @return Analytify_Google_Service_Games_RevisionCheckResponse
1640 */
1641 public function check($clientRevision, $optParams = array())
1642 {
1643 $params = array('clientRevision' => $clientRevision);
1644 $params = array_merge($params, $optParams);
1645 return $this->call('check', array($params), "Analytify_Google_Service_Games_RevisionCheckResponse");
1646 }
1647 }
1648
1649 /**
1650 * The "rooms" collection of methods.
1651 * Typical usage is:
1652 * <code>
1653 * $gamesService = new Analytify_Google_Service_Games(...);
1654 * $rooms = $gamesService->rooms;
1655 * </code>
1656 */
1657 class Analytify_Google_Service_Games_Rooms_Resource extends Analytify_Google_Service_Resource
1658 {
1659
1660 /**
1661 * Create a room. For internal use by the Games SDK only. Calling this method
1662 * directly is unsupported. (rooms.create)
1663 *
1664 * @param Analytify_Google_RoomCreateRequest $postBody
1665 * @param array $optParams Optional parameters.
1666 *
1667 * @opt_param string language
1668 * The preferred language to use for strings returned by this method.
1669 * @return Analytify_Google_Service_Games_Room
1670 */
1671 public function create(Analytify_Google_Service_Games_RoomCreateRequest $postBody, $optParams = array())
1672 {
1673 $params = array('postBody' => $postBody);
1674 $params = array_merge($params, $optParams);
1675 return $this->call('create', array($params), "Analytify_Google_Service_Games_Room");
1676 }
1677 /**
1678 * Decline an invitation to join a room. For internal use by the Games SDK only.
1679 * Calling this method directly is unsupported. (rooms.decline)
1680 *
1681 * @param string $roomId
1682 * The ID of the room.
1683 * @param array $optParams Optional parameters.
1684 *
1685 * @opt_param string language
1686 * The preferred language to use for strings returned by this method.
1687 * @return Analytify_Google_Service_Games_Room
1688 */
1689 public function decline($roomId, $optParams = array())
1690 {
1691 $params = array('roomId' => $roomId);
1692 $params = array_merge($params, $optParams);
1693 return $this->call('decline', array($params), "Analytify_Google_Service_Games_Room");
1694 }
1695 /**
1696 * Dismiss an invitation to join a room. For internal use by the Games SDK only.
1697 * Calling this method directly is unsupported. (rooms.dismiss)
1698 *
1699 * @param string $roomId
1700 * The ID of the room.
1701 * @param array $optParams Optional parameters.
1702 */
1703 public function dismiss($roomId, $optParams = array())
1704 {
1705 $params = array('roomId' => $roomId);
1706 $params = array_merge($params, $optParams);
1707 return $this->call('dismiss', array($params));
1708 }
1709 /**
1710 * Get the data for a room. (rooms.get)
1711 *
1712 * @param string $roomId
1713 * The ID of the room.
1714 * @param array $optParams Optional parameters.
1715 *
1716 * @opt_param string language
1717 * The preferred language to use for strings returned by this method.
1718 * @return Analytify_Google_Service_Games_Room
1719 */
1720 public function get($roomId, $optParams = array())
1721 {
1722 $params = array('roomId' => $roomId);
1723 $params = array_merge($params, $optParams);
1724 return $this->call('get', array($params), "Analytify_Google_Service_Games_Room");
1725 }
1726 /**
1727 * Join a room. For internal use by the Games SDK only. Calling this method
1728 * directly is unsupported. (rooms.join)
1729 *
1730 * @param string $roomId
1731 * The ID of the room.
1732 * @param Analytify_Google_RoomJoinRequest $postBody
1733 * @param array $optParams Optional parameters.
1734 *
1735 * @opt_param string language
1736 * The preferred language to use for strings returned by this method.
1737 * @return Analytify_Google_Service_Games_Room
1738 */
1739 public function join($roomId, Analytify_Google_Service_Games_RoomJoinRequest $postBody, $optParams = array())
1740 {
1741 $params = array('roomId' => $roomId, 'postBody' => $postBody);
1742 $params = array_merge($params, $optParams);
1743 return $this->call('join', array($params), "Analytify_Google_Service_Games_Room");
1744 }
1745 /**
1746 * Leave a room. For internal use by the Games SDK only. Calling this method
1747 * directly is unsupported. (rooms.leave)
1748 *
1749 * @param string $roomId
1750 * The ID of the room.
1751 * @param Analytify_Google_RoomLeaveRequest $postBody
1752 * @param array $optParams Optional parameters.
1753 *
1754 * @opt_param string language
1755 * The preferred language to use for strings returned by this method.
1756 * @return Analytify_Google_Service_Games_Room
1757 */
1758 public function leave($roomId, Analytify_Google_Service_Games_RoomLeaveRequest $postBody, $optParams = array())
1759 {
1760 $params = array('roomId' => $roomId, 'postBody' => $postBody);
1761 $params = array_merge($params, $optParams);
1762 return $this->call('leave', array($params), "Analytify_Google_Service_Games_Room");
1763 }
1764 /**
1765 * Returns invitations to join rooms. (rooms.listRooms)
1766 *
1767 * @param array $optParams Optional parameters.
1768 *
1769 * @opt_param string pageToken
1770 * The token returned by the previous request.
1771 * @opt_param int maxResults
1772 * The maximum number of rooms to return in the response, used for paging. For any response, the
1773 * actual number of rooms to return may be less than the specified maxResults.
1774 * @opt_param string language
1775 * The preferred language to use for strings returned by this method.
1776 * @return Analytify_Google_Service_Games_RoomList
1777 */
1778 public function listRooms($optParams = array())
1779 {
1780 $params = array();
1781 $params = array_merge($params, $optParams);
1782 return $this->call('list', array($params), "Analytify_Google_Service_Games_RoomList");
1783 }
1784 /**
1785 * Updates sent by a client reporting the status of peers in a room. For
1786 * internal use by the Games SDK only. Calling this method directly is
1787 * unsupported. (rooms.reportStatus)
1788 *
1789 * @param string $roomId
1790 * The ID of the room.
1791 * @param Analytify_Google_RoomP2PStatuses $postBody
1792 * @param array $optParams Optional parameters.
1793 *
1794 * @opt_param string language
1795 * The preferred language to use for strings returned by this method.
1796 * @return Analytify_Google_Service_Games_RoomStatus
1797 */
1798 public function reportStatus($roomId, Analytify_Google_Service_Games_RoomP2PStatuses $postBody, $optParams = array())
1799 {
1800 $params = array('roomId' => $roomId, 'postBody' => $postBody);
1801 $params = array_merge($params, $optParams);
1802 return $this->call('reportStatus', array($params), "Analytify_Google_Service_Games_RoomStatus");
1803 }
1804 }
1805
1806 /**
1807 * The "scores" collection of methods.
1808 * Typical usage is:
1809 * <code>
1810 * $gamesService = new Analytify_Google_Service_Games(...);
1811 * $scores = $gamesService->scores;
1812 * </code>
1813 */
1814 class Analytify_Google_Service_Games_Scores_Resource extends Analytify_Google_Service_Resource
1815 {
1816
1817 /**
1818 * Get high scores, and optionally ranks, in leaderboards for the currently
1819 * authenticated player. For a specific time span, leaderboardId can be set to
1820 * ALL to retrieve data for all leaderboards in a given time span. NOTE: You
1821 * cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request;
1822 * only one parameter may be set to 'ALL'. (scores.get)
1823 *
1824 * @param string $playerId
1825 * A player ID. A value of me may be used in place of the authenticated player's ID.
1826 * @param string $leaderboardId
1827 * The ID of the leaderboard. Can be set to 'ALL' to retrieve data for all leaderboards for this
1828 * application.
1829 * @param string $timeSpan
1830 * The time span for the scores and ranks you're requesting.
1831 * @param array $optParams Optional parameters.
1832 *
1833 * @opt_param string includeRankType
1834 * The types of ranks to return. If the parameter is omitted, no ranks will be returned.
1835 * @opt_param string language
1836 * The preferred language to use for strings returned by this method.
1837 * @opt_param int maxResults
1838 * The maximum number of leaderboard scores to return in the response. For any response, the actual
1839 * number of leaderboard scores returned may be less than the specified maxResults.
1840 * @opt_param string pageToken
1841 * The token returned by the previous request.
1842 * @return Analytify_Google_Service_Games_PlayerLeaderboardScoreListResponse
1843 */
1844 public function get($playerId, $leaderboardId, $timeSpan, $optParams = array())
1845 {
1846 $params = array('playerId' => $playerId, 'leaderboardId' => $leaderboardId, 'timeSpan' => $timeSpan);
1847 $params = array_merge($params, $optParams);
1848 return $this->call('get', array($params), "Analytify_Google_Service_Games_PlayerLeaderboardScoreListResponse");
1849 }
1850 /**
1851 * Lists the scores in a leaderboard, starting from the top. (scores.listScores)
1852 *
1853 * @param string $leaderboardId
1854 * The ID of the leaderboard.
1855 * @param string $collection
1856 * The collection of scores you're requesting.
1857 * @param string $timeSpan
1858 * The time span for the scores and ranks you're requesting.
1859 * @param array $optParams Optional parameters.
1860 *
1861 * @opt_param string language
1862 * The preferred language to use for strings returned by this method.
1863 * @opt_param int maxResults
1864 * The maximum number of leaderboard scores to return in the response. For any response, the actual
1865 * number of leaderboard scores returned may be less than the specified maxResults.
1866 * @opt_param string pageToken
1867 * The token returned by the previous request.
1868 * @return Analytify_Google_Service_Games_LeaderboardScores
1869 */
1870 public function listScores($leaderboardId, $collection, $timeSpan, $optParams = array())
1871 {
1872 $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
1873 $params = array_merge($params, $optParams);
1874 return $this->call('list', array($params), "Analytify_Google_Service_Games_LeaderboardScores");
1875 }
1876 /**
1877 * Lists the scores in a leaderboard around (and including) a player's score.
1878 * (scores.listWindow)
1879 *
1880 * @param string $leaderboardId
1881 * The ID of the leaderboard.
1882 * @param string $collection
1883 * The collection of scores you're requesting.
1884 * @param string $timeSpan
1885 * The time span for the scores and ranks you're requesting.
1886 * @param array $optParams Optional parameters.
1887 *
1888 * @opt_param string language
1889 * The preferred language to use for strings returned by this method.
1890 * @opt_param bool returnTopIfAbsent
1891 * True if the top scores should be returned when the player is not in the leaderboard. Defaults to
1892 * true.
1893 * @opt_param int resultsAbove
1894 * The preferred number of scores to return above the player's score. More scores may be returned
1895 * if the player is at the bottom of the leaderboard; fewer may be returned if the player is at the
1896 * top. Must be less than or equal to maxResults.
1897 * @opt_param int maxResults
1898 * The maximum number of leaderboard scores to return in the response. For any response, the actual
1899 * number of leaderboard scores returned may be less than the specified maxResults.
1900 * @opt_param string pageToken
1901 * The token returned by the previous request.
1902 * @return Analytify_Google_Service_Games_LeaderboardScores
1903 */
1904 public function listWindow($leaderboardId, $collection, $timeSpan, $optParams = array())
1905 {
1906 $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan);
1907 $params = array_merge($params, $optParams);
1908 return $this->call('listWindow', array($params), "Analytify_Google_Service_Games_LeaderboardScores");
1909 }
1910 /**
1911 * Submits a score to the specified leaderboard. (scores.submit)
1912 *
1913 * @param string $leaderboardId
1914 * The ID of the leaderboard.
1915 * @param string $score
1916 * The score you're submitting. The submitted score is ignored if it is worse than a previously
1917 * submitted score, where worse depends on the leaderboard sort order. The meaning of the score
1918 * value depends on the leaderboard format type. For fixed-point, the score represents the raw
1919 * value. For time, the score represents elapsed time in milliseconds. For currency, the score
1920 * represents a value in micro units.
1921 * @param array $optParams Optional parameters.
1922 *
1923 * @opt_param string language
1924 * The preferred language to use for strings returned by this method.
1925 * @opt_param string scoreTag
1926 * Additional information about the score you're submitting. Values must contain no more than 64
1927 * URI-safe characters as defined by section 2.3 of RFC 3986.
1928 * @return Analytify_Google_Service_Games_PlayerScoreResponse
1929 */
1930 public function submit($leaderboardId, $score, $optParams = array())
1931 {
1932 $params = array('leaderboardId' => $leaderboardId, 'score' => $score);
1933 $params = array_merge($params, $optParams);
1934 return $this->call('submit', array($params), "Analytify_Google_Service_Games_PlayerScoreResponse");
1935 }
1936 /**
1937 * Submits multiple scores to leaderboards. (scores.submitMultiple)
1938 *
1939 * @param Analytify_Google_PlayerScoreSubmissionList $postBody
1940 * @param array $optParams Optional parameters.
1941 *
1942 * @opt_param string language
1943 * The preferred language to use for strings returned by this method.
1944 * @return Analytify_Google_Service_Games_PlayerScoreListResponse
1945 */
1946 public function submitMultiple(Analytify_Google_Service_Games_PlayerScoreSubmissionList $postBody, $optParams = array())
1947 {
1948 $params = array('postBody' => $postBody);
1949 $params = array_merge($params, $optParams);
1950 return $this->call('submitMultiple', array($params), "Analytify_Google_Service_Games_PlayerScoreListResponse");
1951 }
1952 }
1953
1954 /**
1955 * The "snapshots" collection of methods.
1956 * Typical usage is:
1957 * <code>
1958 * $gamesService = new Analytify_Google_Service_Games(...);
1959 * $snapshots = $gamesService->snapshots;
1960 * </code>
1961 */
1962 class Analytify_Google_Service_Games_Snapshots_Resource extends Analytify_Google_Service_Resource
1963 {
1964
1965 /**
1966 * Retrieves the metadata for a given snapshot ID. (snapshots.get)
1967 *
1968 * @param string $snapshotId
1969 * The ID of the snapshot.
1970 * @param array $optParams Optional parameters.
1971 *
1972 * @opt_param string language
1973 * The preferred language to use for strings returned by this method.
1974 * @return Analytify_Google_Service_Games_Snapshot
1975 */
1976 public function get($snapshotId, $optParams = array())
1977 {
1978 $params = array('snapshotId' => $snapshotId);
1979 $params = array_merge($params, $optParams);
1980 return $this->call('get', array($params), "Analytify_Google_Service_Games_Snapshot");
1981 }
1982 /**
1983 * Retrieves a list of snapshots created by your application for the player
1984 * corresponding to the player ID. (snapshots.listSnapshots)
1985 *
1986 * @param string $playerId
1987 * A player ID. A value of me may be used in place of the authenticated player's ID.
1988 * @param array $optParams Optional parameters.
1989 *
1990 * @opt_param string pageToken
1991 * The token returned by the previous request.
1992 * @opt_param int maxResults
1993 * The maximum number of snapshot resources to return in the response, used for paging. For any
1994 * response, the actual number of snapshot resources returned may be less than the specified
1995 * maxResults.
1996 * @opt_param string language
1997 * The preferred language to use for strings returned by this method.
1998 * @return Analytify_Google_Service_Games_SnapshotListResponse
1999 */
2000 public function listSnapshots($playerId, $optParams = array())
2001 {
2002 $params = array('playerId' => $playerId);
2003 $params = array_merge($params, $optParams);
2004 return $this->call('list', array($params), "Analytify_Google_Service_Games_SnapshotListResponse");
2005 }
2006 }
2007
2008 /**
2009 * The "turnBasedMatches" collection of methods.
2010 * Typical usage is:
2011 * <code>
2012 * $gamesService = new Analytify_Google_Service_Games(...);
2013 * $turnBasedMatches = $gamesService->turnBasedMatches;
2014 * </code>
2015 */
2016 class Analytify_Google_Service_Games_TurnBasedMatches_Resource extends Analytify_Google_Service_Resource
2017 {
2018
2019 /**
2020 * Cancel a turn-based match. (turnBasedMatches.cancel)
2021 *
2022 * @param string $matchId
2023 * The ID of the match.
2024 * @param array $optParams Optional parameters.
2025 */
2026 public function cancel($matchId, $optParams = array())
2027 {
2028 $params = array('matchId' => $matchId);
2029 $params = array_merge($params, $optParams);
2030 return $this->call('cancel', array($params));
2031 }
2032 /**
2033 * Create a turn-based match. (turnBasedMatches.create)
2034 *
2035 * @param Analytify_Google_TurnBasedMatchCreateRequest $postBody
2036 * @param array $optParams Optional parameters.
2037 *
2038 * @opt_param string language
2039 * The preferred language to use for strings returned by this method.
2040 * @return Analytify_Google_Service_Games_TurnBasedMatch
2041 */
2042 public function create(Analytify_Google_Service_Games_TurnBasedMatchCreateRequest $postBody, $optParams = array())
2043 {
2044 $params = array('postBody' => $postBody);
2045 $params = array_merge($params, $optParams);
2046 return $this->call('create', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2047 }
2048 /**
2049 * Decline an invitation to play a turn-based match. (turnBasedMatches.decline)
2050 *
2051 * @param string $matchId
2052 * The ID of the match.
2053 * @param array $optParams Optional parameters.
2054 *
2055 * @opt_param string language
2056 * The preferred language to use for strings returned by this method.
2057 * @return Analytify_Google_Service_Games_TurnBasedMatch
2058 */
2059 public function decline($matchId, $optParams = array())
2060 {
2061 $params = array('matchId' => $matchId);
2062 $params = array_merge($params, $optParams);
2063 return $this->call('decline', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2064 }
2065 /**
2066 * Dismiss a turn-based match from the match list. The match will no longer show
2067 * up in the list and will not generate notifications.
2068 * (turnBasedMatches.dismiss)
2069 *
2070 * @param string $matchId
2071 * The ID of the match.
2072 * @param array $optParams Optional parameters.
2073 */
2074 public function dismiss($matchId, $optParams = array())
2075 {
2076 $params = array('matchId' => $matchId);
2077 $params = array_merge($params, $optParams);
2078 return $this->call('dismiss', array($params));
2079 }
2080 /**
2081 * Finish a turn-based match. Each player should make this call once, after all
2082 * results are in. Only the player whose turn it is may make the first call to
2083 * Finish, and can pass in the final match state. (turnBasedMatches.finish)
2084 *
2085 * @param string $matchId
2086 * The ID of the match.
2087 * @param Analytify_Google_TurnBasedMatchResults $postBody
2088 * @param array $optParams Optional parameters.
2089 *
2090 * @opt_param string language
2091 * The preferred language to use for strings returned by this method.
2092 * @return Analytify_Google_Service_Games_TurnBasedMatch
2093 */
2094 public function finish($matchId, Analytify_Google_Service_Games_TurnBasedMatchResults $postBody, $optParams = array())
2095 {
2096 $params = array('matchId' => $matchId, 'postBody' => $postBody);
2097 $params = array_merge($params, $optParams);
2098 return $this->call('finish', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2099 }
2100 /**
2101 * Get the data for a turn-based match. (turnBasedMatches.get)
2102 *
2103 * @param string $matchId
2104 * The ID of the match.
2105 * @param array $optParams Optional parameters.
2106 *
2107 * @opt_param string language
2108 * The preferred language to use for strings returned by this method.
2109 * @opt_param bool includeMatchData
2110 * Get match data along with metadata.
2111 * @return Analytify_Google_Service_Games_TurnBasedMatch
2112 */
2113 public function get($matchId, $optParams = array())
2114 {
2115 $params = array('matchId' => $matchId);
2116 $params = array_merge($params, $optParams);
2117 return $this->call('get', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2118 }
2119 /**
2120 * Join a turn-based match. (turnBasedMatches.join)
2121 *
2122 * @param string $matchId
2123 * The ID of the match.
2124 * @param array $optParams Optional parameters.
2125 *
2126 * @opt_param string language
2127 * The preferred language to use for strings returned by this method.
2128 * @return Analytify_Google_Service_Games_TurnBasedMatch
2129 */
2130 public function join($matchId, $optParams = array())
2131 {
2132 $params = array('matchId' => $matchId);
2133 $params = array_merge($params, $optParams);
2134 return $this->call('join', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2135 }
2136 /**
2137 * Leave a turn-based match when it is not the current player's turn, without
2138 * canceling the match. (turnBasedMatches.leave)
2139 *
2140 * @param string $matchId
2141 * The ID of the match.
2142 * @param array $optParams Optional parameters.
2143 *
2144 * @opt_param string language
2145 * The preferred language to use for strings returned by this method.
2146 * @return Analytify_Google_Service_Games_TurnBasedMatch
2147 */
2148 public function leave($matchId, $optParams = array())
2149 {
2150 $params = array('matchId' => $matchId);
2151 $params = array_merge($params, $optParams);
2152 return $this->call('leave', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2153 }
2154 /**
2155 * Leave a turn-based match during the current player's turn, without canceling
2156 * the match. (turnBasedMatches.leaveTurn)
2157 *
2158 * @param string $matchId
2159 * The ID of the match.
2160 * @param int $matchVersion
2161 * The version of the match being updated.
2162 * @param array $optParams Optional parameters.
2163 *
2164 * @opt_param string language
2165 * The preferred language to use for strings returned by this method.
2166 * @opt_param string pendingParticipantId
2167 * The ID of another participant who should take their turn next. If not set, the match will wait
2168 * for other player(s) to join via automatching; this is only valid if automatch criteria is set on
2169 * the match with remaining slots for automatched players.
2170 * @return Analytify_Google_Service_Games_TurnBasedMatch
2171 */
2172 public function leaveTurn($matchId, $matchVersion, $optParams = array())
2173 {
2174 $params = array('matchId' => $matchId, 'matchVersion' => $matchVersion);
2175 $params = array_merge($params, $optParams);
2176 return $this->call('leaveTurn', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2177 }
2178 /**
2179 * Returns turn-based matches the player is or was involved in.
2180 * (turnBasedMatches.listTurnBasedMatches)
2181 *
2182 * @param array $optParams Optional parameters.
2183 *
2184 * @opt_param string pageToken
2185 * The token returned by the previous request.
2186 * @opt_param int maxCompletedMatches
2187 * The maximum number of completed or canceled matches to return in the response. If not set, all
2188 * matches returned could be completed or canceled.
2189 * @opt_param int maxResults
2190 * The maximum number of matches to return in the response, used for paging. For any response, the
2191 * actual number of matches to return may be less than the specified maxResults.
2192 * @opt_param string language
2193 * The preferred language to use for strings returned by this method.
2194 * @opt_param bool includeMatchData
2195 * True if match data should be returned in the response. Note that not all data will necessarily
2196 * be returned if include_match_data is true; the server may decide to only return data for some of
2197 * the matches to limit download size for the client. The remainder of the data for these matches
2198 * will be retrievable on request.
2199 * @return Analytify_Google_Service_Games_TurnBasedMatchList
2200 */
2201 public function listTurnBasedMatches($optParams = array())
2202 {
2203 $params = array();
2204 $params = array_merge($params, $optParams);
2205 return $this->call('list', array($params), "Analytify_Google_Service_Games_TurnBasedMatchList");
2206 }
2207 /**
2208 * Create a rematch of a match that was previously completed, with the same
2209 * participants. This can be called by only one player on a match still in their
2210 * list; the player must have called Finish first. Returns the newly created
2211 * match; it will be the caller's turn. (turnBasedMatches.rematch)
2212 *
2213 * @param string $matchId
2214 * The ID of the match.
2215 * @param array $optParams Optional parameters.
2216 *
2217 * @opt_param string requestId
2218 * A randomly generated numeric ID for each request specified by the caller. This number is used at
2219 * the server to ensure that the request is handled correctly across retries.
2220 * @opt_param string language
2221 * The preferred language to use for strings returned by this method.
2222 * @return Analytify_Google_Service_Games_TurnBasedMatchRematch
2223 */
2224 public function rematch($matchId, $optParams = array())
2225 {
2226 $params = array('matchId' => $matchId);
2227 $params = array_merge($params, $optParams);
2228 return $this->call('rematch', array($params), "Analytify_Google_Service_Games_TurnBasedMatchRematch");
2229 }
2230 /**
2231 * Returns turn-based matches the player is or was involved in that changed
2232 * since the last sync call, with the least recent changes coming first. Matches
2233 * that should be removed from the local cache will have a status of
2234 * MATCH_DELETED. (turnBasedMatches.sync)
2235 *
2236 * @param array $optParams Optional parameters.
2237 *
2238 * @opt_param string pageToken
2239 * The token returned by the previous request.
2240 * @opt_param int maxCompletedMatches
2241 * The maximum number of completed or canceled matches to return in the response. If not set, all
2242 * matches returned could be completed or canceled.
2243 * @opt_param int maxResults
2244 * The maximum number of matches to return in the response, used for paging. For any response, the
2245 * actual number of matches to return may be less than the specified maxResults.
2246 * @opt_param string language
2247 * The preferred language to use for strings returned by this method.
2248 * @opt_param bool includeMatchData
2249 * True if match data should be returned in the response. Note that not all data will necessarily
2250 * be returned if include_match_data is true; the server may decide to only return data for some of
2251 * the matches to limit download size for the client. The remainder of the data for these matches
2252 * will be retrievable on request.
2253 * @return Analytify_Google_Service_Games_TurnBasedMatchSync
2254 */
2255 public function sync($optParams = array())
2256 {
2257 $params = array();
2258 $params = array_merge($params, $optParams);
2259 return $this->call('sync', array($params), "Analytify_Google_Service_Games_TurnBasedMatchSync");
2260 }
2261 /**
2262 * Commit the results of a player turn. (turnBasedMatches.takeTurn)
2263 *
2264 * @param string $matchId
2265 * The ID of the match.
2266 * @param Analytify_Google_TurnBasedMatchTurn $postBody
2267 * @param array $optParams Optional parameters.
2268 *
2269 * @opt_param string language
2270 * The preferred language to use for strings returned by this method.
2271 * @return Analytify_Google_Service_Games_TurnBasedMatch
2272 */
2273 public function takeTurn($matchId, Analytify_Google_Service_Games_TurnBasedMatchTurn $postBody, $optParams = array())
2274 {
2275 $params = array('matchId' => $matchId, 'postBody' => $postBody);
2276 $params = array_merge($params, $optParams);
2277 return $this->call('takeTurn', array($params), "Analytify_Google_Service_Games_TurnBasedMatch");
2278 }
2279 }
2280
2281
2282
2283
2284 class Analytify_Google_Service_Games_AchievementDefinition extends Analytify_Google_Model
2285 {
2286 public $achievementType;
2287 public $description;
2288 public $experiencePoints;
2289 public $formattedTotalSteps;
2290 public $id;
2291 public $initialState;
2292 public $isRevealedIconUrlDefault;
2293 public $isUnlockedIconUrlDefault;
2294 public $kind;
2295 public $name;
2296 public $revealedIconUrl;
2297 public $totalSteps;
2298 public $unlockedIconUrl;
2299
2300 public function setAchievementType($achievementType)
2301 {
2302 $this->achievementType = $achievementType;
2303 }
2304
2305 public function getAchievementType()
2306 {
2307 return $this->achievementType;
2308 }
2309
2310 public function setDescription($description)
2311 {
2312 $this->description = $description;
2313 }
2314
2315 public function getDescription()
2316 {
2317 return $this->description;
2318 }
2319
2320 public function setExperiencePoints($experiencePoints)
2321 {
2322 $this->experiencePoints = $experiencePoints;
2323 }
2324
2325 public function getExperiencePoints()
2326 {
2327 return $this->experiencePoints;
2328 }
2329
2330 public function setFormattedTotalSteps($formattedTotalSteps)
2331 {
2332 $this->formattedTotalSteps = $formattedTotalSteps;
2333 }
2334
2335 public function getFormattedTotalSteps()
2336 {
2337 return $this->formattedTotalSteps;
2338 }
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 public function setInitialState($initialState)
2351 {
2352 $this->initialState = $initialState;
2353 }
2354
2355 public function getInitialState()
2356 {
2357 return $this->initialState;
2358 }
2359
2360 public function setIsRevealedIconUrlDefault($isRevealedIconUrlDefault)
2361 {
2362 $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault;
2363 }
2364
2365 public function getIsRevealedIconUrlDefault()
2366 {
2367 return $this->isRevealedIconUrlDefault;
2368 }
2369
2370 public function setIsUnlockedIconUrlDefault($isUnlockedIconUrlDefault)
2371 {
2372 $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault;
2373 }
2374
2375 public function getIsUnlockedIconUrlDefault()
2376 {
2377 return $this->isUnlockedIconUrlDefault;
2378 }
2379
2380 public function setKind($kind)
2381 {
2382 $this->kind = $kind;
2383 }
2384
2385 public function getKind()
2386 {
2387 return $this->kind;
2388 }
2389
2390 public function setName($name)
2391 {
2392 $this->name = $name;
2393 }
2394
2395 public function getName()
2396 {
2397 return $this->name;
2398 }
2399
2400 public function setRevealedIconUrl($revealedIconUrl)
2401 {
2402 $this->revealedIconUrl = $revealedIconUrl;
2403 }
2404
2405 public function getRevealedIconUrl()
2406 {
2407 return $this->revealedIconUrl;
2408 }
2409
2410 public function setTotalSteps($totalSteps)
2411 {
2412 $this->totalSteps = $totalSteps;
2413 }
2414
2415 public function getTotalSteps()
2416 {
2417 return $this->totalSteps;
2418 }
2419
2420 public function setUnlockedIconUrl($unlockedIconUrl)
2421 {
2422 $this->unlockedIconUrl = $unlockedIconUrl;
2423 }
2424
2425 public function getUnlockedIconUrl()
2426 {
2427 return $this->unlockedIconUrl;
2428 }
2429 }
2430
2431 class Analytify_Google_Service_Games_AchievementDefinitionsListResponse extends Analytify_Google_Collection
2432 {
2433 protected $itemsType = 'Analytify_Google_Service_Games_AchievementDefinition';
2434 protected $itemsDataType = 'array';
2435 public $kind;
2436 public $nextPageToken;
2437
2438 public function setItems($items)
2439 {
2440 $this->items = $items;
2441 }
2442
2443 public function getItems()
2444 {
2445 return $this->items;
2446 }
2447
2448 public function setKind($kind)
2449 {
2450 $this->kind = $kind;
2451 }
2452
2453 public function getKind()
2454 {
2455 return $this->kind;
2456 }
2457
2458 public function setNextPageToken($nextPageToken)
2459 {
2460 $this->nextPageToken = $nextPageToken;
2461 }
2462
2463 public function getNextPageToken()
2464 {
2465 return $this->nextPageToken;
2466 }
2467 }
2468
2469 class Analytify_Google_Service_Games_AchievementIncrementResponse extends Analytify_Google_Model
2470 {
2471 public $currentSteps;
2472 public $kind;
2473 public $newlyUnlocked;
2474
2475 public function setCurrentSteps($currentSteps)
2476 {
2477 $this->currentSteps = $currentSteps;
2478 }
2479
2480 public function getCurrentSteps()
2481 {
2482 return $this->currentSteps;
2483 }
2484
2485 public function setKind($kind)
2486 {
2487 $this->kind = $kind;
2488 }
2489
2490 public function getKind()
2491 {
2492 return $this->kind;
2493 }
2494
2495 public function setNewlyUnlocked($newlyUnlocked)
2496 {
2497 $this->newlyUnlocked = $newlyUnlocked;
2498 }
2499
2500 public function getNewlyUnlocked()
2501 {
2502 return $this->newlyUnlocked;
2503 }
2504 }
2505
2506 class Analytify_Google_Service_Games_AchievementRevealResponse extends Analytify_Google_Model
2507 {
2508 public $currentState;
2509 public $kind;
2510
2511 public function setCurrentState($currentState)
2512 {
2513 $this->currentState = $currentState;
2514 }
2515
2516 public function getCurrentState()
2517 {
2518 return $this->currentState;
2519 }
2520
2521 public function setKind($kind)
2522 {
2523 $this->kind = $kind;
2524 }
2525
2526 public function getKind()
2527 {
2528 return $this->kind;
2529 }
2530 }
2531
2532 class Analytify_Google_Service_Games_AchievementSetStepsAtLeastResponse extends Analytify_Google_Model
2533 {
2534 public $currentSteps;
2535 public $kind;
2536 public $newlyUnlocked;
2537
2538 public function setCurrentSteps($currentSteps)
2539 {
2540 $this->currentSteps = $currentSteps;
2541 }
2542
2543 public function getCurrentSteps()
2544 {
2545 return $this->currentSteps;
2546 }
2547
2548 public function setKind($kind)
2549 {
2550 $this->kind = $kind;
2551 }
2552
2553 public function getKind()
2554 {
2555 return $this->kind;
2556 }
2557
2558 public function setNewlyUnlocked($newlyUnlocked)
2559 {
2560 $this->newlyUnlocked = $newlyUnlocked;
2561 }
2562
2563 public function getNewlyUnlocked()
2564 {
2565 return $this->newlyUnlocked;
2566 }
2567 }
2568
2569 class Analytify_Google_Service_Games_AchievementUnlockResponse extends Analytify_Google_Model
2570 {
2571 public $kind;
2572 public $newlyUnlocked;
2573
2574 public function setKind($kind)
2575 {
2576 $this->kind = $kind;
2577 }
2578
2579 public function getKind()
2580 {
2581 return $this->kind;
2582 }
2583
2584 public function setNewlyUnlocked($newlyUnlocked)
2585 {
2586 $this->newlyUnlocked = $newlyUnlocked;
2587 }
2588
2589 public function getNewlyUnlocked()
2590 {
2591 return $this->newlyUnlocked;
2592 }
2593 }
2594
2595 class Analytify_Google_Service_Games_AchievementUpdateMultipleRequest extends Analytify_Google_Collection
2596 {
2597 public $kind;
2598 protected $updatesType = 'Analytify_Google_Service_Games_AchievementUpdateRequest';
2599 protected $updatesDataType = 'array';
2600
2601 public function setKind($kind)
2602 {
2603 $this->kind = $kind;
2604 }
2605
2606 public function getKind()
2607 {
2608 return $this->kind;
2609 }
2610
2611 public function setUpdates($updates)
2612 {
2613 $this->updates = $updates;
2614 }
2615
2616 public function getUpdates()
2617 {
2618 return $this->updates;
2619 }
2620 }
2621
2622 class Analytify_Google_Service_Games_AchievementUpdateMultipleResponse extends Analytify_Google_Collection
2623 {
2624 public $kind;
2625 protected $updatedAchievementsType = 'Analytify_Google_Service_Games_AchievementUpdateResponse';
2626 protected $updatedAchievementsDataType = 'array';
2627
2628 public function setKind($kind)
2629 {
2630 $this->kind = $kind;
2631 }
2632
2633 public function getKind()
2634 {
2635 return $this->kind;
2636 }
2637
2638 public function setUpdatedAchievements($updatedAchievements)
2639 {
2640 $this->updatedAchievements = $updatedAchievements;
2641 }
2642
2643 public function getUpdatedAchievements()
2644 {
2645 return $this->updatedAchievements;
2646 }
2647 }
2648
2649 class Analytify_Google_Service_Games_AchievementUpdateRequest extends Analytify_Google_Model
2650 {
2651 public $achievementId;
2652 protected $incrementPayloadType = 'Analytify_Google_Service_Games_GamesAchievementIncrement';
2653 protected $incrementPayloadDataType = '';
2654 public $kind;
2655 protected $setStepsAtLeastPayloadType = 'Analytify_Google_Service_Games_GamesAchievementSetStepsAtLeast';
2656 protected $setStepsAtLeastPayloadDataType = '';
2657 public $updateType;
2658
2659 public function setAchievementId($achievementId)
2660 {
2661 $this->achievementId = $achievementId;
2662 }
2663
2664 public function getAchievementId()
2665 {
2666 return $this->achievementId;
2667 }
2668
2669 public function setIncrementPayload(Analytify_Google_Service_Games_GamesAchievementIncrement $incrementPayload)
2670 {
2671 $this->incrementPayload = $incrementPayload;
2672 }
2673
2674 public function getIncrementPayload()
2675 {
2676 return $this->incrementPayload;
2677 }
2678
2679 public function setKind($kind)
2680 {
2681 $this->kind = $kind;
2682 }
2683
2684 public function getKind()
2685 {
2686 return $this->kind;
2687 }
2688
2689 public function setSetStepsAtLeastPayload(Analytify_Google_Service_Games_GamesAchievementSetStepsAtLeast $setStepsAtLeastPayload)
2690 {
2691 $this->setStepsAtLeastPayload = $setStepsAtLeastPayload;
2692 }
2693
2694 public function getSetStepsAtLeastPayload()
2695 {
2696 return $this->setStepsAtLeastPayload;
2697 }
2698
2699 public function setUpdateType($updateType)
2700 {
2701 $this->updateType = $updateType;
2702 }
2703
2704 public function getUpdateType()
2705 {
2706 return $this->updateType;
2707 }
2708 }
2709
2710 class Analytify_Google_Service_Games_AchievementUpdateResponse extends Analytify_Google_Model
2711 {
2712 public $achievementId;
2713 public $currentState;
2714 public $currentSteps;
2715 public $kind;
2716 public $newlyUnlocked;
2717 public $updateOccurred;
2718
2719 public function setAchievementId($achievementId)
2720 {
2721 $this->achievementId = $achievementId;
2722 }
2723
2724 public function getAchievementId()
2725 {
2726 return $this->achievementId;
2727 }
2728
2729 public function setCurrentState($currentState)
2730 {
2731 $this->currentState = $currentState;
2732 }
2733
2734 public function getCurrentState()
2735 {
2736 return $this->currentState;
2737 }
2738
2739 public function setCurrentSteps($currentSteps)
2740 {
2741 $this->currentSteps = $currentSteps;
2742 }
2743
2744 public function getCurrentSteps()
2745 {
2746 return $this->currentSteps;
2747 }
2748
2749 public function setKind($kind)
2750 {
2751 $this->kind = $kind;
2752 }
2753
2754 public function getKind()
2755 {
2756 return $this->kind;
2757 }
2758
2759 public function setNewlyUnlocked($newlyUnlocked)
2760 {
2761 $this->newlyUnlocked = $newlyUnlocked;
2762 }
2763
2764 public function getNewlyUnlocked()
2765 {
2766 return $this->newlyUnlocked;
2767 }
2768
2769 public function setUpdateOccurred($updateOccurred)
2770 {
2771 $this->updateOccurred = $updateOccurred;
2772 }
2773
2774 public function getUpdateOccurred()
2775 {
2776 return $this->updateOccurred;
2777 }
2778 }
2779
2780 class Analytify_Google_Service_Games_AggregateStats extends Analytify_Google_Model
2781 {
2782 public $count;
2783 public $kind;
2784 public $max;
2785 public $min;
2786 public $sum;
2787
2788 public function setCount($count)
2789 {
2790 $this->count = $count;
2791 }
2792
2793 public function getCount()
2794 {
2795 return $this->count;
2796 }
2797
2798 public function setKind($kind)
2799 {
2800 $this->kind = $kind;
2801 }
2802
2803 public function getKind()
2804 {
2805 return $this->kind;
2806 }
2807
2808 public function setMax($max)
2809 {
2810 $this->max = $max;
2811 }
2812
2813 public function getMax()
2814 {
2815 return $this->max;
2816 }
2817
2818 public function setMin($min)
2819 {
2820 $this->min = $min;
2821 }
2822
2823 public function getMin()
2824 {
2825 return $this->min;
2826 }
2827
2828 public function setSum($sum)
2829 {
2830 $this->sum = $sum;
2831 }
2832
2833 public function getSum()
2834 {
2835 return $this->sum;
2836 }
2837 }
2838
2839 class Analytify_Google_Service_Games_AnonymousPlayer extends Analytify_Google_Model
2840 {
2841 public $avatarImageUrl;
2842 public $displayName;
2843 public $kind;
2844
2845 public function setAvatarImageUrl($avatarImageUrl)
2846 {
2847 $this->avatarImageUrl = $avatarImageUrl;
2848 }
2849
2850 public function getAvatarImageUrl()
2851 {
2852 return $this->avatarImageUrl;
2853 }
2854
2855 public function setDisplayName($displayName)
2856 {
2857 $this->displayName = $displayName;
2858 }
2859
2860 public function getDisplayName()
2861 {
2862 return $this->displayName;
2863 }
2864
2865 public function setKind($kind)
2866 {
2867 $this->kind = $kind;
2868 }
2869
2870 public function getKind()
2871 {
2872 return $this->kind;
2873 }
2874 }
2875
2876 class Analytify_Google_Service_Games_Application extends Analytify_Google_Collection
2877 {
2878 public $achievementCount;
2879 protected $assetsType = 'Analytify_Google_Service_Games_ImageAsset';
2880 protected $assetsDataType = 'array';
2881 public $author;
2882 protected $categoryType = 'Analytify_Google_Service_Games_ApplicationCategory';
2883 protected $categoryDataType = '';
2884 public $description;
2885 public $enabledFeatures;
2886 public $id;
2887 protected $instancesType = 'Analytify_Google_Service_Games_Instance';
2888 protected $instancesDataType = 'array';
2889 public $kind;
2890 public $lastUpdatedTimestamp;
2891 public $leaderboardCount;
2892 public $name;
2893
2894 public function setAchievementCount($achievementCount)
2895 {
2896 $this->achievementCount = $achievementCount;
2897 }
2898
2899 public function getAchievementCount()
2900 {
2901 return $this->achievementCount;
2902 }
2903
2904 public function setAssets($assets)
2905 {
2906 $this->assets = $assets;
2907 }
2908
2909 public function getAssets()
2910 {
2911 return $this->assets;
2912 }
2913
2914 public function setAuthor($author)
2915 {
2916 $this->author = $author;
2917 }
2918
2919 public function getAuthor()
2920 {
2921 return $this->author;
2922 }
2923
2924 public function setCategory(Analytify_Google_Service_Games_ApplicationCategory $category)
2925 {
2926 $this->category = $category;
2927 }
2928
2929 public function getCategory()
2930 {
2931 return $this->category;
2932 }
2933
2934 public function setDescription($description)
2935 {
2936 $this->description = $description;
2937 }
2938
2939 public function getDescription()
2940 {
2941 return $this->description;
2942 }
2943
2944 public function setEnabledFeatures($enabledFeatures)
2945 {
2946 $this->enabledFeatures = $enabledFeatures;
2947 }
2948
2949 public function getEnabledFeatures()
2950 {
2951 return $this->enabledFeatures;
2952 }
2953
2954 public function setId($id)
2955 {
2956 $this->id = $id;
2957 }
2958
2959 public function getId()
2960 {
2961 return $this->id;
2962 }
2963
2964 public function setInstances($instances)
2965 {
2966 $this->instances = $instances;
2967 }
2968
2969 public function getInstances()
2970 {
2971 return $this->instances;
2972 }
2973
2974 public function setKind($kind)
2975 {
2976 $this->kind = $kind;
2977 }
2978
2979 public function getKind()
2980 {
2981 return $this->kind;
2982 }
2983
2984 public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
2985 {
2986 $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
2987 }
2988
2989 public function getLastUpdatedTimestamp()
2990 {
2991 return $this->lastUpdatedTimestamp;
2992 }
2993
2994 public function setLeaderboardCount($leaderboardCount)
2995 {
2996 $this->leaderboardCount = $leaderboardCount;
2997 }
2998
2999 public function getLeaderboardCount()
3000 {
3001 return $this->leaderboardCount;
3002 }
3003
3004 public function setName($name)
3005 {
3006 $this->name = $name;
3007 }
3008
3009 public function getName()
3010 {
3011 return $this->name;
3012 }
3013 }
3014
3015 class Analytify_Google_Service_Games_ApplicationCategory extends Analytify_Google_Model
3016 {
3017 public $kind;
3018 public $primary;
3019 public $secondary;
3020
3021 public function setKind($kind)
3022 {
3023 $this->kind = $kind;
3024 }
3025
3026 public function getKind()
3027 {
3028 return $this->kind;
3029 }
3030
3031 public function setPrimary($primary)
3032 {
3033 $this->primary = $primary;
3034 }
3035
3036 public function getPrimary()
3037 {
3038 return $this->primary;
3039 }
3040
3041 public function setSecondary($secondary)
3042 {
3043 $this->secondary = $secondary;
3044 }
3045
3046 public function getSecondary()
3047 {
3048 return $this->secondary;
3049 }
3050 }
3051
3052 class Analytify_Google_Service_Games_Category extends Analytify_Google_Model
3053 {
3054 public $category;
3055 public $experiencePoints;
3056 public $kind;
3057
3058 public function setCategory($category)
3059 {
3060 $this->category = $category;
3061 }
3062
3063 public function getCategory()
3064 {
3065 return $this->category;
3066 }
3067
3068 public function setExperiencePoints($experiencePoints)
3069 {
3070 $this->experiencePoints = $experiencePoints;
3071 }
3072
3073 public function getExperiencePoints()
3074 {
3075 return $this->experiencePoints;
3076 }
3077
3078 public function setKind($kind)
3079 {
3080 $this->kind = $kind;
3081 }
3082
3083 public function getKind()
3084 {
3085 return $this->kind;
3086 }
3087 }
3088
3089 class Analytify_Google_Service_Games_CategoryListResponse extends Analytify_Google_Collection
3090 {
3091 protected $itemsType = 'Analytify_Google_Service_Games_Category';
3092 protected $itemsDataType = 'array';
3093 public $kind;
3094 public $nextPageToken;
3095
3096 public function setItems($items)
3097 {
3098 $this->items = $items;
3099 }
3100
3101 public function getItems()
3102 {
3103 return $this->items;
3104 }
3105
3106 public function setKind($kind)
3107 {
3108 $this->kind = $kind;
3109 }
3110
3111 public function getKind()
3112 {
3113 return $this->kind;
3114 }
3115
3116 public function setNextPageToken($nextPageToken)
3117 {
3118 $this->nextPageToken = $nextPageToken;
3119 }
3120
3121 public function getNextPageToken()
3122 {
3123 return $this->nextPageToken;
3124 }
3125 }
3126
3127 class Analytify_Google_Service_Games_EventBatchRecordFailure extends Analytify_Google_Model
3128 {
3129 public $failureCause;
3130 public $kind;
3131 protected $rangeType = 'Analytify_Google_Service_Games_EventPeriodRange';
3132 protected $rangeDataType = '';
3133
3134 public function setFailureCause($failureCause)
3135 {
3136 $this->failureCause = $failureCause;
3137 }
3138
3139 public function getFailureCause()
3140 {
3141 return $this->failureCause;
3142 }
3143
3144 public function setKind($kind)
3145 {
3146 $this->kind = $kind;
3147 }
3148
3149 public function getKind()
3150 {
3151 return $this->kind;
3152 }
3153
3154 public function setRange(Analytify_Google_Service_Games_EventPeriodRange $range)
3155 {
3156 $this->range = $range;
3157 }
3158
3159 public function getRange()
3160 {
3161 return $this->range;
3162 }
3163 }
3164
3165 class Analytify_Google_Service_Games_EventChild extends Analytify_Google_Model
3166 {
3167 public $childId;
3168 public $kind;
3169
3170 public function setChildId($childId)
3171 {
3172 $this->childId = $childId;
3173 }
3174
3175 public function getChildId()
3176 {
3177 return $this->childId;
3178 }
3179
3180 public function setKind($kind)
3181 {
3182 $this->kind = $kind;
3183 }
3184
3185 public function getKind()
3186 {
3187 return $this->kind;
3188 }
3189 }
3190
3191 class Analytify_Google_Service_Games_EventDefinition extends Analytify_Google_Collection
3192 {
3193 protected $childEventsType = 'Analytify_Google_Service_Games_EventChild';
3194 protected $childEventsDataType = 'array';
3195 public $description;
3196 public $displayName;
3197 public $id;
3198 public $imageUrl;
3199 public $isDefaultImageUrl;
3200 public $kind;
3201 public $visibility;
3202
3203 public function setChildEvents($childEvents)
3204 {
3205 $this->childEvents = $childEvents;
3206 }
3207
3208 public function getChildEvents()
3209 {
3210 return $this->childEvents;
3211 }
3212
3213 public function setDescription($description)
3214 {
3215 $this->description = $description;
3216 }
3217
3218 public function getDescription()
3219 {
3220 return $this->description;
3221 }
3222
3223 public function setDisplayName($displayName)
3224 {
3225 $this->displayName = $displayName;
3226 }
3227
3228 public function getDisplayName()
3229 {
3230 return $this->displayName;
3231 }
3232
3233 public function setId($id)
3234 {
3235 $this->id = $id;
3236 }
3237
3238 public function getId()
3239 {
3240 return $this->id;
3241 }
3242
3243 public function setImageUrl($imageUrl)
3244 {
3245 $this->imageUrl = $imageUrl;
3246 }
3247
3248 public function getImageUrl()
3249 {
3250 return $this->imageUrl;
3251 }
3252
3253 public function setIsDefaultImageUrl($isDefaultImageUrl)
3254 {
3255 $this->isDefaultImageUrl = $isDefaultImageUrl;
3256 }
3257
3258 public function getIsDefaultImageUrl()
3259 {
3260 return $this->isDefaultImageUrl;
3261 }
3262
3263 public function setKind($kind)
3264 {
3265 $this->kind = $kind;
3266 }
3267
3268 public function getKind()
3269 {
3270 return $this->kind;
3271 }
3272
3273 public function setVisibility($visibility)
3274 {
3275 $this->visibility = $visibility;
3276 }
3277
3278 public function getVisibility()
3279 {
3280 return $this->visibility;
3281 }
3282 }
3283
3284 class Analytify_Google_Service_Games_EventDefinitionListResponse extends Analytify_Google_Collection
3285 {
3286 protected $itemsType = 'Analytify_Google_Service_Games_EventDefinition';
3287 protected $itemsDataType = 'array';
3288 public $kind;
3289 public $nextPageToken;
3290
3291 public function setItems($items)
3292 {
3293 $this->items = $items;
3294 }
3295
3296 public function getItems()
3297 {
3298 return $this->items;
3299 }
3300
3301 public function setKind($kind)
3302 {
3303 $this->kind = $kind;
3304 }
3305
3306 public function getKind()
3307 {
3308 return $this->kind;
3309 }
3310
3311 public function setNextPageToken($nextPageToken)
3312 {
3313 $this->nextPageToken = $nextPageToken;
3314 }
3315
3316 public function getNextPageToken()
3317 {
3318 return $this->nextPageToken;
3319 }
3320 }
3321
3322 class Analytify_Google_Service_Games_EventPeriodRange extends Analytify_Google_Model
3323 {
3324 public $kind;
3325 public $periodEndMillis;
3326 public $periodStartMillis;
3327
3328 public function setKind($kind)
3329 {
3330 $this->kind = $kind;
3331 }
3332
3333 public function getKind()
3334 {
3335 return $this->kind;
3336 }
3337
3338 public function setPeriodEndMillis($periodEndMillis)
3339 {
3340 $this->periodEndMillis = $periodEndMillis;
3341 }
3342
3343 public function getPeriodEndMillis()
3344 {
3345 return $this->periodEndMillis;
3346 }
3347
3348 public function setPeriodStartMillis($periodStartMillis)
3349 {
3350 $this->periodStartMillis = $periodStartMillis;
3351 }
3352
3353 public function getPeriodStartMillis()
3354 {
3355 return $this->periodStartMillis;
3356 }
3357 }
3358
3359 class Analytify_Google_Service_Games_EventPeriodUpdate extends Analytify_Google_Collection
3360 {
3361 public $kind;
3362 protected $timePeriodType = 'Analytify_Google_Service_Games_EventPeriodRange';
3363 protected $timePeriodDataType = '';
3364 protected $updatesType = 'Analytify_Google_Service_Games_EventUpdateRequest';
3365 protected $updatesDataType = 'array';
3366
3367 public function setKind($kind)
3368 {
3369 $this->kind = $kind;
3370 }
3371
3372 public function getKind()
3373 {
3374 return $this->kind;
3375 }
3376
3377 public function setTimePeriod(Analytify_Google_Service_Games_EventPeriodRange $timePeriod)
3378 {
3379 $this->timePeriod = $timePeriod;
3380 }
3381
3382 public function getTimePeriod()
3383 {
3384 return $this->timePeriod;
3385 }
3386
3387 public function setUpdates($updates)
3388 {
3389 $this->updates = $updates;
3390 }
3391
3392 public function getUpdates()
3393 {
3394 return $this->updates;
3395 }
3396 }
3397
3398 class Analytify_Google_Service_Games_EventRecordFailure extends Analytify_Google_Model
3399 {
3400 public $eventId;
3401 public $failureCause;
3402 public $kind;
3403
3404 public function setEventId($eventId)
3405 {
3406 $this->eventId = $eventId;
3407 }
3408
3409 public function getEventId()
3410 {
3411 return $this->eventId;
3412 }
3413
3414 public function setFailureCause($failureCause)
3415 {
3416 $this->failureCause = $failureCause;
3417 }
3418
3419 public function getFailureCause()
3420 {
3421 return $this->failureCause;
3422 }
3423
3424 public function setKind($kind)
3425 {
3426 $this->kind = $kind;
3427 }
3428
3429 public function getKind()
3430 {
3431 return $this->kind;
3432 }
3433 }
3434
3435 class Analytify_Google_Service_Games_EventRecordRequest extends Analytify_Google_Collection
3436 {
3437 public $currentTimeMillis;
3438 public $kind;
3439 public $requestId;
3440 protected $timePeriodsType = 'Analytify_Google_Service_Games_EventPeriodUpdate';
3441 protected $timePeriodsDataType = 'array';
3442
3443 public function setCurrentTimeMillis($currentTimeMillis)
3444 {
3445 $this->currentTimeMillis = $currentTimeMillis;
3446 }
3447
3448 public function getCurrentTimeMillis()
3449 {
3450 return $this->currentTimeMillis;
3451 }
3452
3453 public function setKind($kind)
3454 {
3455 $this->kind = $kind;
3456 }
3457
3458 public function getKind()
3459 {
3460 return $this->kind;
3461 }
3462
3463 public function setRequestId($requestId)
3464 {
3465 $this->requestId = $requestId;
3466 }
3467
3468 public function getRequestId()
3469 {
3470 return $this->requestId;
3471 }
3472
3473 public function setTimePeriods($timePeriods)
3474 {
3475 $this->timePeriods = $timePeriods;
3476 }
3477
3478 public function getTimePeriods()
3479 {
3480 return $this->timePeriods;
3481 }
3482 }
3483
3484 class Analytify_Google_Service_Games_EventUpdateRequest extends Analytify_Google_Model
3485 {
3486 public $definitionId;
3487 public $kind;
3488 public $updateCount;
3489
3490 public function setDefinitionId($definitionId)
3491 {
3492 $this->definitionId = $definitionId;
3493 }
3494
3495 public function getDefinitionId()
3496 {
3497 return $this->definitionId;
3498 }
3499
3500 public function setKind($kind)
3501 {
3502 $this->kind = $kind;
3503 }
3504
3505 public function getKind()
3506 {
3507 return $this->kind;
3508 }
3509
3510 public function setUpdateCount($updateCount)
3511 {
3512 $this->updateCount = $updateCount;
3513 }
3514
3515 public function getUpdateCount()
3516 {
3517 return $this->updateCount;
3518 }
3519 }
3520
3521 class Analytify_Google_Service_Games_EventUpdateResponse extends Analytify_Google_Collection
3522 {
3523 protected $batchFailuresType = 'Analytify_Google_Service_Games_EventBatchRecordFailure';
3524 protected $batchFailuresDataType = 'array';
3525 protected $eventFailuresType = 'Analytify_Google_Service_Games_EventRecordFailure';
3526 protected $eventFailuresDataType = 'array';
3527 public $kind;
3528 protected $playerEventsType = 'Analytify_Google_Service_Games_PlayerEvent';
3529 protected $playerEventsDataType = 'array';
3530
3531 public function setBatchFailures($batchFailures)
3532 {
3533 $this->batchFailures = $batchFailures;
3534 }
3535
3536 public function getBatchFailures()
3537 {
3538 return $this->batchFailures;
3539 }
3540
3541 public function setEventFailures($eventFailures)
3542 {
3543 $this->eventFailures = $eventFailures;
3544 }
3545
3546 public function getEventFailures()
3547 {
3548 return $this->eventFailures;
3549 }
3550
3551 public function setKind($kind)
3552 {
3553 $this->kind = $kind;
3554 }
3555
3556 public function getKind()
3557 {
3558 return $this->kind;
3559 }
3560
3561 public function setPlayerEvents($playerEvents)
3562 {
3563 $this->playerEvents = $playerEvents;
3564 }
3565
3566 public function getPlayerEvents()
3567 {
3568 return $this->playerEvents;
3569 }
3570 }
3571
3572 class Analytify_Google_Service_Games_GamesAchievementIncrement extends Analytify_Google_Model
3573 {
3574 public $kind;
3575 public $requestId;
3576 public $steps;
3577
3578 public function setKind($kind)
3579 {
3580 $this->kind = $kind;
3581 }
3582
3583 public function getKind()
3584 {
3585 return $this->kind;
3586 }
3587
3588 public function setRequestId($requestId)
3589 {
3590 $this->requestId = $requestId;
3591 }
3592
3593 public function getRequestId()
3594 {
3595 return $this->requestId;
3596 }
3597
3598 public function setSteps($steps)
3599 {
3600 $this->steps = $steps;
3601 }
3602
3603 public function getSteps()
3604 {
3605 return $this->steps;
3606 }
3607 }
3608
3609 class Analytify_Google_Service_Games_GamesAchievementSetStepsAtLeast extends Analytify_Google_Model
3610 {
3611 public $kind;
3612 public $steps;
3613
3614 public function setKind($kind)
3615 {
3616 $this->kind = $kind;
3617 }
3618
3619 public function getKind()
3620 {
3621 return $this->kind;
3622 }
3623
3624 public function setSteps($steps)
3625 {
3626 $this->steps = $steps;
3627 }
3628
3629 public function getSteps()
3630 {
3631 return $this->steps;
3632 }
3633 }
3634
3635 class Analytify_Google_Service_Games_ImageAsset extends Analytify_Google_Model
3636 {
3637 public $height;
3638 public $kind;
3639 public $name;
3640 public $url;
3641 public $width;
3642
3643 public function setHeight($height)
3644 {
3645 $this->height = $height;
3646 }
3647
3648 public function getHeight()
3649 {
3650 return $this->height;
3651 }
3652
3653 public function setKind($kind)
3654 {
3655 $this->kind = $kind;
3656 }
3657
3658 public function getKind()
3659 {
3660 return $this->kind;
3661 }
3662
3663 public function setName($name)
3664 {
3665 $this->name = $name;
3666 }
3667
3668 public function getName()
3669 {
3670 return $this->name;
3671 }
3672
3673 public function setUrl($url)
3674 {
3675 $this->url = $url;
3676 }
3677
3678 public function getUrl()
3679 {
3680 return $this->url;
3681 }
3682
3683 public function setWidth($width)
3684 {
3685 $this->width = $width;
3686 }
3687
3688 public function getWidth()
3689 {
3690 return $this->width;
3691 }
3692 }
3693
3694 class Analytify_Google_Service_Games_Instance extends Analytify_Google_Model
3695 {
3696 public $acquisitionUri;
3697 protected $androidInstanceType = 'Analytify_Google_Service_Games_InstanceAndroidDetails';
3698 protected $androidInstanceDataType = '';
3699 protected $iosInstanceType = 'Analytify_Google_Service_Games_InstanceIosDetails';
3700 protected $iosInstanceDataType = '';
3701 public $kind;
3702 public $name;
3703 public $platformType;
3704 public $realtimePlay;
3705 public $turnBasedPlay;
3706 protected $webInstanceType = 'Analytify_Google_Service_Games_InstanceWebDetails';
3707 protected $webInstanceDataType = '';
3708
3709 public function setAcquisitionUri($acquisitionUri)
3710 {
3711 $this->acquisitionUri = $acquisitionUri;
3712 }
3713
3714 public function getAcquisitionUri()
3715 {
3716 return $this->acquisitionUri;
3717 }
3718
3719 public function setAndroidInstance(Analytify_Google_Service_Games_InstanceAndroidDetails $androidInstance)
3720 {
3721 $this->androidInstance = $androidInstance;
3722 }
3723
3724 public function getAndroidInstance()
3725 {
3726 return $this->androidInstance;
3727 }
3728
3729 public function setIosInstance(Analytify_Google_Service_Games_InstanceIosDetails $iosInstance)
3730 {
3731 $this->iosInstance = $iosInstance;
3732 }
3733
3734 public function getIosInstance()
3735 {
3736 return $this->iosInstance;
3737 }
3738
3739 public function setKind($kind)
3740 {
3741 $this->kind = $kind;
3742 }
3743
3744 public function getKind()
3745 {
3746 return $this->kind;
3747 }
3748
3749 public function setName($name)
3750 {
3751 $this->name = $name;
3752 }
3753
3754 public function getName()
3755 {
3756 return $this->name;
3757 }
3758
3759 public function setPlatformType($platformType)
3760 {
3761 $this->platformType = $platformType;
3762 }
3763
3764 public function getPlatformType()
3765 {
3766 return $this->platformType;
3767 }
3768
3769 public function setRealtimePlay($realtimePlay)
3770 {
3771 $this->realtimePlay = $realtimePlay;
3772 }
3773
3774 public function getRealtimePlay()
3775 {
3776 return $this->realtimePlay;
3777 }
3778
3779 public function setTurnBasedPlay($turnBasedPlay)
3780 {
3781 $this->turnBasedPlay = $turnBasedPlay;
3782 }
3783
3784 public function getTurnBasedPlay()
3785 {
3786 return $this->turnBasedPlay;
3787 }
3788
3789 public function setWebInstance(Analytify_Google_Service_Games_InstanceWebDetails $webInstance)
3790 {
3791 $this->webInstance = $webInstance;
3792 }
3793
3794 public function getWebInstance()
3795 {
3796 return $this->webInstance;
3797 }
3798 }
3799
3800 class Analytify_Google_Service_Games_InstanceAndroidDetails extends Analytify_Google_Model
3801 {
3802 public $enablePiracyCheck;
3803 public $kind;
3804 public $packageName;
3805 public $preferred;
3806
3807 public function setEnablePiracyCheck($enablePiracyCheck)
3808 {
3809 $this->enablePiracyCheck = $enablePiracyCheck;
3810 }
3811
3812 public function getEnablePiracyCheck()
3813 {
3814 return $this->enablePiracyCheck;
3815 }
3816
3817 public function setKind($kind)
3818 {
3819 $this->kind = $kind;
3820 }
3821
3822 public function getKind()
3823 {
3824 return $this->kind;
3825 }
3826
3827 public function setPackageName($packageName)
3828 {
3829 $this->packageName = $packageName;
3830 }
3831
3832 public function getPackageName()
3833 {
3834 return $this->packageName;
3835 }
3836
3837 public function setPreferred($preferred)
3838 {
3839 $this->preferred = $preferred;
3840 }
3841
3842 public function getPreferred()
3843 {
3844 return $this->preferred;
3845 }
3846 }
3847
3848 class Analytify_Google_Service_Games_InstanceIosDetails extends Analytify_Google_Model
3849 {
3850 public $bundleIdentifier;
3851 public $itunesAppId;
3852 public $kind;
3853 public $preferredForIpad;
3854 public $preferredForIphone;
3855 public $supportIpad;
3856 public $supportIphone;
3857
3858 public function setBundleIdentifier($bundleIdentifier)
3859 {
3860 $this->bundleIdentifier = $bundleIdentifier;
3861 }
3862
3863 public function getBundleIdentifier()
3864 {
3865 return $this->bundleIdentifier;
3866 }
3867
3868 public function setItunesAppId($itunesAppId)
3869 {
3870 $this->itunesAppId = $itunesAppId;
3871 }
3872
3873 public function getItunesAppId()
3874 {
3875 return $this->itunesAppId;
3876 }
3877
3878 public function setKind($kind)
3879 {
3880 $this->kind = $kind;
3881 }
3882
3883 public function getKind()
3884 {
3885 return $this->kind;
3886 }
3887
3888 public function setPreferredForIpad($preferredForIpad)
3889 {
3890 $this->preferredForIpad = $preferredForIpad;
3891 }
3892
3893 public function getPreferredForIpad()
3894 {
3895 return $this->preferredForIpad;
3896 }
3897
3898 public function setPreferredForIphone($preferredForIphone)
3899 {
3900 $this->preferredForIphone = $preferredForIphone;
3901 }
3902
3903 public function getPreferredForIphone()
3904 {
3905 return $this->preferredForIphone;
3906 }
3907
3908 public function setSupportIpad($supportIpad)
3909 {
3910 $this->supportIpad = $supportIpad;
3911 }
3912
3913 public function getSupportIpad()
3914 {
3915 return $this->supportIpad;
3916 }
3917
3918 public function setSupportIphone($supportIphone)
3919 {
3920 $this->supportIphone = $supportIphone;
3921 }
3922
3923 public function getSupportIphone()
3924 {
3925 return $this->supportIphone;
3926 }
3927 }
3928
3929 class Analytify_Google_Service_Games_InstanceWebDetails extends Analytify_Google_Model
3930 {
3931 public $kind;
3932 public $launchUrl;
3933 public $preferred;
3934
3935 public function setKind($kind)
3936 {
3937 $this->kind = $kind;
3938 }
3939
3940 public function getKind()
3941 {
3942 return $this->kind;
3943 }
3944
3945 public function setLaunchUrl($launchUrl)
3946 {
3947 $this->launchUrl = $launchUrl;
3948 }
3949
3950 public function getLaunchUrl()
3951 {
3952 return $this->launchUrl;
3953 }
3954
3955 public function setPreferred($preferred)
3956 {
3957 $this->preferred = $preferred;
3958 }
3959
3960 public function getPreferred()
3961 {
3962 return $this->preferred;
3963 }
3964 }
3965
3966 class Analytify_Google_Service_Games_Leaderboard extends Analytify_Google_Model
3967 {
3968 public $iconUrl;
3969 public $id;
3970 public $isIconUrlDefault;
3971 public $kind;
3972 public $name;
3973 public $order;
3974
3975 public function setIconUrl($iconUrl)
3976 {
3977 $this->iconUrl = $iconUrl;
3978 }
3979
3980 public function getIconUrl()
3981 {
3982 return $this->iconUrl;
3983 }
3984
3985 public function setId($id)
3986 {
3987 $this->id = $id;
3988 }
3989
3990 public function getId()
3991 {
3992 return $this->id;
3993 }
3994
3995 public function setIsIconUrlDefault($isIconUrlDefault)
3996 {
3997 $this->isIconUrlDefault = $isIconUrlDefault;
3998 }
3999
4000 public function getIsIconUrlDefault()
4001 {
4002 return $this->isIconUrlDefault;
4003 }
4004
4005 public function setKind($kind)
4006 {
4007 $this->kind = $kind;
4008 }
4009
4010 public function getKind()
4011 {
4012 return $this->kind;
4013 }
4014
4015 public function setName($name)
4016 {
4017 $this->name = $name;
4018 }
4019
4020 public function getName()
4021 {
4022 return $this->name;
4023 }
4024
4025 public function setOrder($order)
4026 {
4027 $this->order = $order;
4028 }
4029
4030 public function getOrder()
4031 {
4032 return $this->order;
4033 }
4034 }
4035
4036 class Analytify_Google_Service_Games_LeaderboardEntry extends Analytify_Google_Model
4037 {
4038 public $formattedScore;
4039 public $formattedScoreRank;
4040 public $kind;
4041 protected $playerType = 'Analytify_Google_Service_Games_Player';
4042 protected $playerDataType = '';
4043 public $scoreRank;
4044 public $scoreTag;
4045 public $scoreValue;
4046 public $timeSpan;
4047 public $writeTimestampMillis;
4048
4049 public function setFormattedScore($formattedScore)
4050 {
4051 $this->formattedScore = $formattedScore;
4052 }
4053
4054 public function getFormattedScore()
4055 {
4056 return $this->formattedScore;
4057 }
4058
4059 public function setFormattedScoreRank($formattedScoreRank)
4060 {
4061 $this->formattedScoreRank = $formattedScoreRank;
4062 }
4063
4064 public function getFormattedScoreRank()
4065 {
4066 return $this->formattedScoreRank;
4067 }
4068
4069 public function setKind($kind)
4070 {
4071 $this->kind = $kind;
4072 }
4073
4074 public function getKind()
4075 {
4076 return $this->kind;
4077 }
4078
4079 public function setPlayer(Analytify_Google_Service_Games_Player $player)
4080 {
4081 $this->player = $player;
4082 }
4083
4084 public function getPlayer()
4085 {
4086 return $this->player;
4087 }
4088
4089 public function setScoreRank($scoreRank)
4090 {
4091 $this->scoreRank = $scoreRank;
4092 }
4093
4094 public function getScoreRank()
4095 {
4096 return $this->scoreRank;
4097 }
4098
4099 public function setScoreTag($scoreTag)
4100 {
4101 $this->scoreTag = $scoreTag;
4102 }
4103
4104 public function getScoreTag()
4105 {
4106 return $this->scoreTag;
4107 }
4108
4109 public function setScoreValue($scoreValue)
4110 {
4111 $this->scoreValue = $scoreValue;
4112 }
4113
4114 public function getScoreValue()
4115 {
4116 return $this->scoreValue;
4117 }
4118
4119 public function setTimeSpan($timeSpan)
4120 {
4121 $this->timeSpan = $timeSpan;
4122 }
4123
4124 public function getTimeSpan()
4125 {
4126 return $this->timeSpan;
4127 }
4128
4129 public function setWriteTimestampMillis($writeTimestampMillis)
4130 {
4131 $this->writeTimestampMillis = $writeTimestampMillis;
4132 }
4133
4134 public function getWriteTimestampMillis()
4135 {
4136 return $this->writeTimestampMillis;
4137 }
4138 }
4139
4140 class Analytify_Google_Service_Games_LeaderboardListResponse extends Analytify_Google_Collection
4141 {
4142 protected $itemsType = 'Analytify_Google_Service_Games_Leaderboard';
4143 protected $itemsDataType = 'array';
4144 public $kind;
4145 public $nextPageToken;
4146
4147 public function setItems($items)
4148 {
4149 $this->items = $items;
4150 }
4151
4152 public function getItems()
4153 {
4154 return $this->items;
4155 }
4156
4157 public function setKind($kind)
4158 {
4159 $this->kind = $kind;
4160 }
4161
4162 public function getKind()
4163 {
4164 return $this->kind;
4165 }
4166
4167 public function setNextPageToken($nextPageToken)
4168 {
4169 $this->nextPageToken = $nextPageToken;
4170 }
4171
4172 public function getNextPageToken()
4173 {
4174 return $this->nextPageToken;
4175 }
4176 }
4177
4178 class Analytify_Google_Service_Games_LeaderboardScoreRank extends Analytify_Google_Model
4179 {
4180 public $formattedNumScores;
4181 public $formattedRank;
4182 public $kind;
4183 public $numScores;
4184 public $rank;
4185
4186 public function setFormattedNumScores($formattedNumScores)
4187 {
4188 $this->formattedNumScores = $formattedNumScores;
4189 }
4190
4191 public function getFormattedNumScores()
4192 {
4193 return $this->formattedNumScores;
4194 }
4195
4196 public function setFormattedRank($formattedRank)
4197 {
4198 $this->formattedRank = $formattedRank;
4199 }
4200
4201 public function getFormattedRank()
4202 {
4203 return $this->formattedRank;
4204 }
4205
4206 public function setKind($kind)
4207 {
4208 $this->kind = $kind;
4209 }
4210
4211 public function getKind()
4212 {
4213 return $this->kind;
4214 }
4215
4216 public function setNumScores($numScores)
4217 {
4218 $this->numScores = $numScores;
4219 }
4220
4221 public function getNumScores()
4222 {
4223 return $this->numScores;
4224 }
4225
4226 public function setRank($rank)
4227 {
4228 $this->rank = $rank;
4229 }
4230
4231 public function getRank()
4232 {
4233 return $this->rank;
4234 }
4235 }
4236
4237 class Analytify_Google_Service_Games_LeaderboardScores extends Analytify_Google_Collection
4238 {
4239 protected $itemsType = 'Analytify_Google_Service_Games_LeaderboardEntry';
4240 protected $itemsDataType = 'array';
4241 public $kind;
4242 public $nextPageToken;
4243 public $numScores;
4244 protected $playerScoreType = 'Analytify_Google_Service_Games_LeaderboardEntry';
4245 protected $playerScoreDataType = '';
4246 public $prevPageToken;
4247
4248 public function setItems($items)
4249 {
4250 $this->items = $items;
4251 }
4252
4253 public function getItems()
4254 {
4255 return $this->items;
4256 }
4257
4258 public function setKind($kind)
4259 {
4260 $this->kind = $kind;
4261 }
4262
4263 public function getKind()
4264 {
4265 return $this->kind;
4266 }
4267
4268 public function setNextPageToken($nextPageToken)
4269 {
4270 $this->nextPageToken = $nextPageToken;
4271 }
4272
4273 public function getNextPageToken()
4274 {
4275 return $this->nextPageToken;
4276 }
4277
4278 public function setNumScores($numScores)
4279 {
4280 $this->numScores = $numScores;
4281 }
4282
4283 public function getNumScores()
4284 {
4285 return $this->numScores;
4286 }
4287
4288 public function setPlayerScore(Analytify_Google_Service_Games_LeaderboardEntry $playerScore)
4289 {
4290 $this->playerScore = $playerScore;
4291 }
4292
4293 public function getPlayerScore()
4294 {
4295 return $this->playerScore;
4296 }
4297
4298 public function setPrevPageToken($prevPageToken)
4299 {
4300 $this->prevPageToken = $prevPageToken;
4301 }
4302
4303 public function getPrevPageToken()
4304 {
4305 return $this->prevPageToken;
4306 }
4307 }
4308
4309 class Analytify_Google_Service_Games_MetagameConfig extends Analytify_Google_Collection
4310 {
4311 public $currentVersion;
4312 public $kind;
4313 protected $playerLevelsType = 'Analytify_Google_Service_Games_PlayerLevel';
4314 protected $playerLevelsDataType = 'array';
4315
4316 public function setCurrentVersion($currentVersion)
4317 {
4318 $this->currentVersion = $currentVersion;
4319 }
4320
4321 public function getCurrentVersion()
4322 {
4323 return $this->currentVersion;
4324 }
4325
4326 public function setKind($kind)
4327 {
4328 $this->kind = $kind;
4329 }
4330
4331 public function getKind()
4332 {
4333 return $this->kind;
4334 }
4335
4336 public function setPlayerLevels($playerLevels)
4337 {
4338 $this->playerLevels = $playerLevels;
4339 }
4340
4341 public function getPlayerLevels()
4342 {
4343 return $this->playerLevels;
4344 }
4345 }
4346
4347 class Analytify_Google_Service_Games_NetworkDiagnostics extends Analytify_Google_Model
4348 {
4349 public $androidNetworkSubtype;
4350 public $androidNetworkType;
4351 public $iosNetworkType;
4352 public $kind;
4353 public $networkOperatorCode;
4354 public $networkOperatorName;
4355 public $registrationLatencyMillis;
4356
4357 public function setAndroidNetworkSubtype($androidNetworkSubtype)
4358 {
4359 $this->androidNetworkSubtype = $androidNetworkSubtype;
4360 }
4361
4362 public function getAndroidNetworkSubtype()
4363 {
4364 return $this->androidNetworkSubtype;
4365 }
4366
4367 public function setAndroidNetworkType($androidNetworkType)
4368 {
4369 $this->androidNetworkType = $androidNetworkType;
4370 }
4371
4372 public function getAndroidNetworkType()
4373 {
4374 return $this->androidNetworkType;
4375 }
4376
4377 public function setIosNetworkType($iosNetworkType)
4378 {
4379 $this->iosNetworkType = $iosNetworkType;
4380 }
4381
4382 public function getIosNetworkType()
4383 {
4384 return $this->iosNetworkType;
4385 }
4386
4387 public function setKind($kind)
4388 {
4389 $this->kind = $kind;
4390 }
4391
4392 public function getKind()
4393 {
4394 return $this->kind;
4395 }
4396
4397 public function setNetworkOperatorCode($networkOperatorCode)
4398 {
4399 $this->networkOperatorCode = $networkOperatorCode;
4400 }
4401
4402 public function getNetworkOperatorCode()
4403 {
4404 return $this->networkOperatorCode;
4405 }
4406
4407 public function setNetworkOperatorName($networkOperatorName)
4408 {
4409 $this->networkOperatorName = $networkOperatorName;
4410 }
4411
4412 public function getNetworkOperatorName()
4413 {
4414 return $this->networkOperatorName;
4415 }
4416
4417 public function setRegistrationLatencyMillis($registrationLatencyMillis)
4418 {
4419 $this->registrationLatencyMillis = $registrationLatencyMillis;
4420 }
4421
4422 public function getRegistrationLatencyMillis()
4423 {
4424 return $this->registrationLatencyMillis;
4425 }
4426 }
4427
4428 class Analytify_Google_Service_Games_ParticipantResult extends Analytify_Google_Model
4429 {
4430 public $kind;
4431 public $participantId;
4432 public $placing;
4433 public $result;
4434
4435 public function setKind($kind)
4436 {
4437 $this->kind = $kind;
4438 }
4439
4440 public function getKind()
4441 {
4442 return $this->kind;
4443 }
4444
4445 public function setParticipantId($participantId)
4446 {
4447 $this->participantId = $participantId;
4448 }
4449
4450 public function getParticipantId()
4451 {
4452 return $this->participantId;
4453 }
4454
4455 public function setPlacing($placing)
4456 {
4457 $this->placing = $placing;
4458 }
4459
4460 public function getPlacing()
4461 {
4462 return $this->placing;
4463 }
4464
4465 public function setResult($result)
4466 {
4467 $this->result = $result;
4468 }
4469
4470 public function getResult()
4471 {
4472 return $this->result;
4473 }
4474 }
4475
4476 class Analytify_Google_Service_Games_PeerChannelDiagnostics extends Analytify_Google_Model
4477 {
4478 protected $bytesReceivedType = 'Analytify_Google_Service_Games_AggregateStats';
4479 protected $bytesReceivedDataType = '';
4480 protected $bytesSentType = 'Analytify_Google_Service_Games_AggregateStats';
4481 protected $bytesSentDataType = '';
4482 public $kind;
4483 public $numMessagesLost;
4484 public $numMessagesReceived;
4485 public $numMessagesSent;
4486 public $numSendFailures;
4487 protected $roundtripLatencyMillisType = 'Analytify_Google_Service_Games_AggregateStats';
4488 protected $roundtripLatencyMillisDataType = '';
4489
4490 public function setBytesReceived(Analytify_Google_Service_Games_AggregateStats $bytesReceived)
4491 {
4492 $this->bytesReceived = $bytesReceived;
4493 }
4494
4495 public function getBytesReceived()
4496 {
4497 return $this->bytesReceived;
4498 }
4499
4500 public function setBytesSent(Analytify_Google_Service_Games_AggregateStats $bytesSent)
4501 {
4502 $this->bytesSent = $bytesSent;
4503 }
4504
4505 public function getBytesSent()
4506 {
4507 return $this->bytesSent;
4508 }
4509
4510 public function setKind($kind)
4511 {
4512 $this->kind = $kind;
4513 }
4514
4515 public function getKind()
4516 {
4517 return $this->kind;
4518 }
4519
4520 public function setNumMessagesLost($numMessagesLost)
4521 {
4522 $this->numMessagesLost = $numMessagesLost;
4523 }
4524
4525 public function getNumMessagesLost()
4526 {
4527 return $this->numMessagesLost;
4528 }
4529
4530 public function setNumMessagesReceived($numMessagesReceived)
4531 {
4532 $this->numMessagesReceived = $numMessagesReceived;
4533 }
4534
4535 public function getNumMessagesReceived()
4536 {
4537 return $this->numMessagesReceived;
4538 }
4539
4540 public function setNumMessagesSent($numMessagesSent)
4541 {
4542 $this->numMessagesSent = $numMessagesSent;
4543 }
4544
4545 public function getNumMessagesSent()
4546 {
4547 return $this->numMessagesSent;
4548 }
4549
4550 public function setNumSendFailures($numSendFailures)
4551 {
4552 $this->numSendFailures = $numSendFailures;
4553 }
4554
4555 public function getNumSendFailures()
4556 {
4557 return $this->numSendFailures;
4558 }
4559
4560 public function setRoundtripLatencyMillis(Analytify_Google_Service_Games_AggregateStats $roundtripLatencyMillis)
4561 {
4562 $this->roundtripLatencyMillis = $roundtripLatencyMillis;
4563 }
4564
4565 public function getRoundtripLatencyMillis()
4566 {
4567 return $this->roundtripLatencyMillis;
4568 }
4569 }
4570
4571 class Analytify_Google_Service_Games_PeerSessionDiagnostics extends Analytify_Google_Model
4572 {
4573 public $connectedTimestampMillis;
4574 public $kind;
4575 public $participantId;
4576 protected $reliableChannelType = 'Analytify_Google_Service_Games_PeerChannelDiagnostics';
4577 protected $reliableChannelDataType = '';
4578 protected $unreliableChannelType = 'Analytify_Google_Service_Games_PeerChannelDiagnostics';
4579 protected $unreliableChannelDataType = '';
4580
4581 public function setConnectedTimestampMillis($connectedTimestampMillis)
4582 {
4583 $this->connectedTimestampMillis = $connectedTimestampMillis;
4584 }
4585
4586 public function getConnectedTimestampMillis()
4587 {
4588 return $this->connectedTimestampMillis;
4589 }
4590
4591 public function setKind($kind)
4592 {
4593 $this->kind = $kind;
4594 }
4595
4596 public function getKind()
4597 {
4598 return $this->kind;
4599 }
4600
4601 public function setParticipantId($participantId)
4602 {
4603 $this->participantId = $participantId;
4604 }
4605
4606 public function getParticipantId()
4607 {
4608 return $this->participantId;
4609 }
4610
4611 public function setReliableChannel(Analytify_Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
4612 {
4613 $this->reliableChannel = $reliableChannel;
4614 }
4615
4616 public function getReliableChannel()
4617 {
4618 return $this->reliableChannel;
4619 }
4620
4621 public function setUnreliableChannel(Analytify_Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
4622 {
4623 $this->unreliableChannel = $unreliableChannel;
4624 }
4625
4626 public function getUnreliableChannel()
4627 {
4628 return $this->unreliableChannel;
4629 }
4630 }
4631
4632 class Analytify_Google_Service_Games_Played extends Analytify_Google_Model
4633 {
4634 public $autoMatched;
4635 public $kind;
4636 public $timeMillis;
4637
4638 public function setAutoMatched($autoMatched)
4639 {
4640 $this->autoMatched = $autoMatched;
4641 }
4642
4643 public function getAutoMatched()
4644 {
4645 return $this->autoMatched;
4646 }
4647
4648 public function setKind($kind)
4649 {
4650 $this->kind = $kind;
4651 }
4652
4653 public function getKind()
4654 {
4655 return $this->kind;
4656 }
4657
4658 public function setTimeMillis($timeMillis)
4659 {
4660 $this->timeMillis = $timeMillis;
4661 }
4662
4663 public function getTimeMillis()
4664 {
4665 return $this->timeMillis;
4666 }
4667 }
4668
4669 class Analytify_Google_Service_Games_Player extends Analytify_Google_Model
4670 {
4671 public $avatarImageUrl;
4672 public $displayName;
4673 protected $experienceInfoType = 'Analytify_Google_Service_Games_PlayerExperienceInfo';
4674 protected $experienceInfoDataType = '';
4675 public $kind;
4676 protected $lastPlayedWithType = 'Analytify_Google_Service_Games_Played';
4677 protected $lastPlayedWithDataType = '';
4678 protected $nameType = 'Analytify_Google_Service_Games_PlayerName';
4679 protected $nameDataType = '';
4680 public $playerId;
4681 public $title;
4682
4683 public function setAvatarImageUrl($avatarImageUrl)
4684 {
4685 $this->avatarImageUrl = $avatarImageUrl;
4686 }
4687
4688 public function getAvatarImageUrl()
4689 {
4690 return $this->avatarImageUrl;
4691 }
4692
4693 public function setDisplayName($displayName)
4694 {
4695 $this->displayName = $displayName;
4696 }
4697
4698 public function getDisplayName()
4699 {
4700 return $this->displayName;
4701 }
4702
4703 public function setExperienceInfo(Analytify_Google_Service_Games_PlayerExperienceInfo $experienceInfo)
4704 {
4705 $this->experienceInfo = $experienceInfo;
4706 }
4707
4708 public function getExperienceInfo()
4709 {
4710 return $this->experienceInfo;
4711 }
4712
4713 public function setKind($kind)
4714 {
4715 $this->kind = $kind;
4716 }
4717
4718 public function getKind()
4719 {
4720 return $this->kind;
4721 }
4722
4723 public function setLastPlayedWith(Analytify_Google_Service_Games_Played $lastPlayedWith)
4724 {
4725 $this->lastPlayedWith = $lastPlayedWith;
4726 }
4727
4728 public function getLastPlayedWith()
4729 {
4730 return $this->lastPlayedWith;
4731 }
4732
4733 public function setName(Analytify_Google_Service_Games_PlayerName $name)
4734 {
4735 $this->name = $name;
4736 }
4737
4738 public function getName()
4739 {
4740 return $this->name;
4741 }
4742
4743 public function setPlayerId($playerId)
4744 {
4745 $this->playerId = $playerId;
4746 }
4747
4748 public function getPlayerId()
4749 {
4750 return $this->playerId;
4751 }
4752
4753 public function setTitle($title)
4754 {
4755 $this->title = $title;
4756 }
4757
4758 public function getTitle()
4759 {
4760 return $this->title;
4761 }
4762 }
4763
4764 class Analytify_Google_Service_Games_PlayerAchievement extends Analytify_Google_Model
4765 {
4766 public $achievementState;
4767 public $currentSteps;
4768 public $experiencePoints;
4769 public $formattedCurrentStepsString;
4770 public $id;
4771 public $kind;
4772 public $lastUpdatedTimestamp;
4773
4774 public function setAchievementState($achievementState)
4775 {
4776 $this->achievementState = $achievementState;
4777 }
4778
4779 public function getAchievementState()
4780 {
4781 return $this->achievementState;
4782 }
4783
4784 public function setCurrentSteps($currentSteps)
4785 {
4786 $this->currentSteps = $currentSteps;
4787 }
4788
4789 public function getCurrentSteps()
4790 {
4791 return $this->currentSteps;
4792 }
4793
4794 public function setExperiencePoints($experiencePoints)
4795 {
4796 $this->experiencePoints = $experiencePoints;
4797 }
4798
4799 public function getExperiencePoints()
4800 {
4801 return $this->experiencePoints;
4802 }
4803
4804 public function setFormattedCurrentStepsString($formattedCurrentStepsString)
4805 {
4806 $this->formattedCurrentStepsString = $formattedCurrentStepsString;
4807 }
4808
4809 public function getFormattedCurrentStepsString()
4810 {
4811 return $this->formattedCurrentStepsString;
4812 }
4813
4814 public function setId($id)
4815 {
4816 $this->id = $id;
4817 }
4818
4819 public function getId()
4820 {
4821 return $this->id;
4822 }
4823
4824 public function setKind($kind)
4825 {
4826 $this->kind = $kind;
4827 }
4828
4829 public function getKind()
4830 {
4831 return $this->kind;
4832 }
4833
4834 public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
4835 {
4836 $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
4837 }
4838
4839 public function getLastUpdatedTimestamp()
4840 {
4841 return $this->lastUpdatedTimestamp;
4842 }
4843 }
4844
4845 class Analytify_Google_Service_Games_PlayerAchievementListResponse extends Analytify_Google_Collection
4846 {
4847 protected $itemsType = 'Analytify_Google_Service_Games_PlayerAchievement';
4848 protected $itemsDataType = 'array';
4849 public $kind;
4850 public $nextPageToken;
4851
4852 public function setItems($items)
4853 {
4854 $this->items = $items;
4855 }
4856
4857 public function getItems()
4858 {
4859 return $this->items;
4860 }
4861
4862 public function setKind($kind)
4863 {
4864 $this->kind = $kind;
4865 }
4866
4867 public function getKind()
4868 {
4869 return $this->kind;
4870 }
4871
4872 public function setNextPageToken($nextPageToken)
4873 {
4874 $this->nextPageToken = $nextPageToken;
4875 }
4876
4877 public function getNextPageToken()
4878 {
4879 return $this->nextPageToken;
4880 }
4881 }
4882
4883 class Analytify_Google_Service_Games_PlayerEvent extends Analytify_Google_Model
4884 {
4885 public $definitionId;
4886 public $formattedNumEvents;
4887 public $kind;
4888 public $numEvents;
4889 public $playerId;
4890
4891 public function setDefinitionId($definitionId)
4892 {
4893 $this->definitionId = $definitionId;
4894 }
4895
4896 public function getDefinitionId()
4897 {
4898 return $this->definitionId;
4899 }
4900
4901 public function setFormattedNumEvents($formattedNumEvents)
4902 {
4903 $this->formattedNumEvents = $formattedNumEvents;
4904 }
4905
4906 public function getFormattedNumEvents()
4907 {
4908 return $this->formattedNumEvents;
4909 }
4910
4911 public function setKind($kind)
4912 {
4913 $this->kind = $kind;
4914 }
4915
4916 public function getKind()
4917 {
4918 return $this->kind;
4919 }
4920
4921 public function setNumEvents($numEvents)
4922 {
4923 $this->numEvents = $numEvents;
4924 }
4925
4926 public function getNumEvents()
4927 {
4928 return $this->numEvents;
4929 }
4930
4931 public function setPlayerId($playerId)
4932 {
4933 $this->playerId = $playerId;
4934 }
4935
4936 public function getPlayerId()
4937 {
4938 return $this->playerId;
4939 }
4940 }
4941
4942 class Analytify_Google_Service_Games_PlayerEventListResponse extends Analytify_Google_Collection
4943 {
4944 protected $itemsType = 'Analytify_Google_Service_Games_PlayerEvent';
4945 protected $itemsDataType = 'array';
4946 public $kind;
4947 public $nextPageToken;
4948
4949 public function setItems($items)
4950 {
4951 $this->items = $items;
4952 }
4953
4954 public function getItems()
4955 {
4956 return $this->items;
4957 }
4958
4959 public function setKind($kind)
4960 {
4961 $this->kind = $kind;
4962 }
4963
4964 public function getKind()
4965 {
4966 return $this->kind;
4967 }
4968
4969 public function setNextPageToken($nextPageToken)
4970 {
4971 $this->nextPageToken = $nextPageToken;
4972 }
4973
4974 public function getNextPageToken()
4975 {
4976 return $this->nextPageToken;
4977 }
4978 }
4979
4980 class Analytify_Google_Service_Games_PlayerExperienceInfo extends Analytify_Google_Model
4981 {
4982 public $currentExperiencePoints;
4983 protected $currentLevelType = 'Analytify_Google_Service_Games_PlayerLevel';
4984 protected $currentLevelDataType = '';
4985 public $kind;
4986 public $lastLevelUpTimestampMillis;
4987 protected $nextLevelType = 'Analytify_Google_Service_Games_PlayerLevel';
4988 protected $nextLevelDataType = '';
4989
4990 public function setCurrentExperiencePoints($currentExperiencePoints)
4991 {
4992 $this->currentExperiencePoints = $currentExperiencePoints;
4993 }
4994
4995 public function getCurrentExperiencePoints()
4996 {
4997 return $this->currentExperiencePoints;
4998 }
4999
5000 public function setCurrentLevel(Analytify_Google_Service_Games_PlayerLevel $currentLevel)
5001 {
5002 $this->currentLevel = $currentLevel;
5003 }
5004
5005 public function getCurrentLevel()
5006 {
5007 return $this->currentLevel;
5008 }
5009
5010 public function setKind($kind)
5011 {
5012 $this->kind = $kind;
5013 }
5014
5015 public function getKind()
5016 {
5017 return $this->kind;
5018 }
5019
5020 public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
5021 {
5022 $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
5023 }
5024
5025 public function getLastLevelUpTimestampMillis()
5026 {
5027 return $this->lastLevelUpTimestampMillis;
5028 }
5029
5030 public function setNextLevel(Analytify_Google_Service_Games_PlayerLevel $nextLevel)
5031 {
5032 $this->nextLevel = $nextLevel;
5033 }
5034
5035 public function getNextLevel()
5036 {
5037 return $this->nextLevel;
5038 }
5039 }
5040
5041 class Analytify_Google_Service_Games_PlayerLeaderboardScore extends Analytify_Google_Model
5042 {
5043 public $kind;
5044 public $leaderboardId;
5045 protected $publicRankType = 'Analytify_Google_Service_Games_LeaderboardScoreRank';
5046 protected $publicRankDataType = '';
5047 public $scoreString;
5048 public $scoreTag;
5049 public $scoreValue;
5050 protected $socialRankType = 'Analytify_Google_Service_Games_LeaderboardScoreRank';
5051 protected $socialRankDataType = '';
5052 public $timeSpan;
5053 public $writeTimestamp;
5054
5055 public function setKind($kind)
5056 {
5057 $this->kind = $kind;
5058 }
5059
5060 public function getKind()
5061 {
5062 return $this->kind;
5063 }
5064
5065 public function setLeaderboardId($leaderboardId)
5066 {
5067 $this->leaderboardId = $leaderboardId;
5068 }
5069
5070 public function getLeaderboardId()
5071 {
5072 return $this->leaderboardId;
5073 }
5074
5075 public function setPublicRank(Analytify_Google_Service_Games_LeaderboardScoreRank $publicRank)
5076 {
5077 $this->publicRank = $publicRank;
5078 }
5079
5080 public function getPublicRank()
5081 {
5082 return $this->publicRank;
5083 }
5084
5085 public function setScoreString($scoreString)
5086 {
5087 $this->scoreString = $scoreString;
5088 }
5089
5090 public function getScoreString()
5091 {
5092 return $this->scoreString;
5093 }
5094
5095 public function setScoreTag($scoreTag)
5096 {
5097 $this->scoreTag = $scoreTag;
5098 }
5099
5100 public function getScoreTag()
5101 {
5102 return $this->scoreTag;
5103 }
5104
5105 public function setScoreValue($scoreValue)
5106 {
5107 $this->scoreValue = $scoreValue;
5108 }
5109
5110 public function getScoreValue()
5111 {
5112 return $this->scoreValue;
5113 }
5114
5115 public function setSocialRank(Analytify_Google_Service_Games_LeaderboardScoreRank $socialRank)
5116 {
5117 $this->socialRank = $socialRank;
5118 }
5119
5120 public function getSocialRank()
5121 {
5122 return $this->socialRank;
5123 }
5124
5125 public function setTimeSpan($timeSpan)
5126 {
5127 $this->timeSpan = $timeSpan;
5128 }
5129
5130 public function getTimeSpan()
5131 {
5132 return $this->timeSpan;
5133 }
5134
5135 public function setWriteTimestamp($writeTimestamp)
5136 {
5137 $this->writeTimestamp = $writeTimestamp;
5138 }
5139
5140 public function getWriteTimestamp()
5141 {
5142 return $this->writeTimestamp;
5143 }
5144 }
5145
5146 class Analytify_Google_Service_Games_PlayerLeaderboardScoreListResponse extends Analytify_Google_Collection
5147 {
5148 protected $itemsType = 'Analytify_Google_Service_Games_PlayerLeaderboardScore';
5149 protected $itemsDataType = 'array';
5150 public $kind;
5151 public $nextPageToken;
5152 protected $playerType = 'Analytify_Google_Service_Games_Player';
5153 protected $playerDataType = '';
5154
5155 public function setItems($items)
5156 {
5157 $this->items = $items;
5158 }
5159
5160 public function getItems()
5161 {
5162 return $this->items;
5163 }
5164
5165 public function setKind($kind)
5166 {
5167 $this->kind = $kind;
5168 }
5169
5170 public function getKind()
5171 {
5172 return $this->kind;
5173 }
5174
5175 public function setNextPageToken($nextPageToken)
5176 {
5177 $this->nextPageToken = $nextPageToken;
5178 }
5179
5180 public function getNextPageToken()
5181 {
5182 return $this->nextPageToken;
5183 }
5184
5185 public function setPlayer(Analytify_Google_Service_Games_Player $player)
5186 {
5187 $this->player = $player;
5188 }
5189
5190 public function getPlayer()
5191 {
5192 return $this->player;
5193 }
5194 }
5195
5196 class Analytify_Google_Service_Games_PlayerLevel extends Analytify_Google_Model
5197 {
5198 public $kind;
5199 public $level;
5200 public $maxExperiencePoints;
5201 public $minExperiencePoints;
5202
5203 public function setKind($kind)
5204 {
5205 $this->kind = $kind;
5206 }
5207
5208 public function getKind()
5209 {
5210 return $this->kind;
5211 }
5212
5213 public function setLevel($level)
5214 {
5215 $this->level = $level;
5216 }
5217
5218 public function getLevel()
5219 {
5220 return $this->level;
5221 }
5222
5223 public function setMaxExperiencePoints($maxExperiencePoints)
5224 {
5225 $this->maxExperiencePoints = $maxExperiencePoints;
5226 }
5227
5228 public function getMaxExperiencePoints()
5229 {
5230 return $this->maxExperiencePoints;
5231 }
5232
5233 public function setMinExperiencePoints($minExperiencePoints)
5234 {
5235 $this->minExperiencePoints = $minExperiencePoints;
5236 }
5237
5238 public function getMinExperiencePoints()
5239 {
5240 return $this->minExperiencePoints;
5241 }
5242 }
5243
5244 class Analytify_Google_Service_Games_PlayerListResponse extends Analytify_Google_Collection
5245 {
5246 protected $itemsType = 'Analytify_Google_Service_Games_Player';
5247 protected $itemsDataType = 'array';
5248 public $kind;
5249 public $nextPageToken;
5250
5251 public function setItems($items)
5252 {
5253 $this->items = $items;
5254 }
5255
5256 public function getItems()
5257 {
5258 return $this->items;
5259 }
5260
5261 public function setKind($kind)
5262 {
5263 $this->kind = $kind;
5264 }
5265
5266 public function getKind()
5267 {
5268 return $this->kind;
5269 }
5270
5271 public function setNextPageToken($nextPageToken)
5272 {
5273 $this->nextPageToken = $nextPageToken;
5274 }
5275
5276 public function getNextPageToken()
5277 {
5278 return $this->nextPageToken;
5279 }
5280 }
5281
5282 class Analytify_Google_Service_Games_PlayerName extends Analytify_Google_Model
5283 {
5284 public $familyName;
5285 public $givenName;
5286
5287 public function setFamilyName($familyName)
5288 {
5289 $this->familyName = $familyName;
5290 }
5291
5292 public function getFamilyName()
5293 {
5294 return $this->familyName;
5295 }
5296
5297 public function setGivenName($givenName)
5298 {
5299 $this->givenName = $givenName;
5300 }
5301
5302 public function getGivenName()
5303 {
5304 return $this->givenName;
5305 }
5306 }
5307
5308 class Analytify_Google_Service_Games_PlayerScore extends Analytify_Google_Model
5309 {
5310 public $formattedScore;
5311 public $kind;
5312 public $score;
5313 public $scoreTag;
5314 public $timeSpan;
5315
5316 public function setFormattedScore($formattedScore)
5317 {
5318 $this->formattedScore = $formattedScore;
5319 }
5320
5321 public function getFormattedScore()
5322 {
5323 return $this->formattedScore;
5324 }
5325
5326 public function setKind($kind)
5327 {
5328 $this->kind = $kind;
5329 }
5330
5331 public function getKind()
5332 {
5333 return $this->kind;
5334 }
5335
5336 public function setScore($score)
5337 {
5338 $this->score = $score;
5339 }
5340
5341 public function getScore()
5342 {
5343 return $this->score;
5344 }
5345
5346 public function setScoreTag($scoreTag)
5347 {
5348 $this->scoreTag = $scoreTag;
5349 }
5350
5351 public function getScoreTag()
5352 {
5353 return $this->scoreTag;
5354 }
5355
5356 public function setTimeSpan($timeSpan)
5357 {
5358 $this->timeSpan = $timeSpan;
5359 }
5360
5361 public function getTimeSpan()
5362 {
5363 return $this->timeSpan;
5364 }
5365 }
5366
5367 class Analytify_Google_Service_Games_PlayerScoreListResponse extends Analytify_Google_Collection
5368 {
5369 public $kind;
5370 protected $submittedScoresType = 'Analytify_Google_Service_Games_PlayerScoreResponse';
5371 protected $submittedScoresDataType = 'array';
5372
5373 public function setKind($kind)
5374 {
5375 $this->kind = $kind;
5376 }
5377
5378 public function getKind()
5379 {
5380 return $this->kind;
5381 }
5382
5383 public function setSubmittedScores($submittedScores)
5384 {
5385 $this->submittedScores = $submittedScores;
5386 }
5387
5388 public function getSubmittedScores()
5389 {
5390 return $this->submittedScores;
5391 }
5392 }
5393
5394 class Analytify_Google_Service_Games_PlayerScoreResponse extends Analytify_Google_Collection
5395 {
5396 public $beatenScoreTimeSpans;
5397 public $formattedScore;
5398 public $kind;
5399 public $leaderboardId;
5400 public $scoreTag;
5401 protected $unbeatenScoresType = 'Analytify_Google_Service_Games_PlayerScore';
5402 protected $unbeatenScoresDataType = 'array';
5403
5404 public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
5405 {
5406 $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
5407 }
5408
5409 public function getBeatenScoreTimeSpans()
5410 {
5411 return $this->beatenScoreTimeSpans;
5412 }
5413
5414 public function setFormattedScore($formattedScore)
5415 {
5416 $this->formattedScore = $formattedScore;
5417 }
5418
5419 public function getFormattedScore()
5420 {
5421 return $this->formattedScore;
5422 }
5423
5424 public function setKind($kind)
5425 {
5426 $this->kind = $kind;
5427 }
5428
5429 public function getKind()
5430 {
5431 return $this->kind;
5432 }
5433
5434 public function setLeaderboardId($leaderboardId)
5435 {
5436 $this->leaderboardId = $leaderboardId;
5437 }
5438
5439 public function getLeaderboardId()
5440 {
5441 return $this->leaderboardId;
5442 }
5443
5444 public function setScoreTag($scoreTag)
5445 {
5446 $this->scoreTag = $scoreTag;
5447 }
5448
5449 public function getScoreTag()
5450 {
5451 return $this->scoreTag;
5452 }
5453
5454 public function setUnbeatenScores($unbeatenScores)
5455 {
5456 $this->unbeatenScores = $unbeatenScores;
5457 }
5458
5459 public function getUnbeatenScores()
5460 {
5461 return $this->unbeatenScores;
5462 }
5463 }
5464
5465 class Analytify_Google_Service_Games_PlayerScoreSubmissionList extends Analytify_Google_Collection
5466 {
5467 public $kind;
5468 protected $scoresType = 'Analytify_Google_Service_Games_ScoreSubmission';
5469 protected $scoresDataType = 'array';
5470
5471 public function setKind($kind)
5472 {
5473 $this->kind = $kind;
5474 }
5475
5476 public function getKind()
5477 {
5478 return $this->kind;
5479 }
5480
5481 public function setScores($scores)
5482 {
5483 $this->scores = $scores;
5484 }
5485
5486 public function getScores()
5487 {
5488 return $this->scores;
5489 }
5490 }
5491
5492 class Analytify_Google_Service_Games_PushToken extends Analytify_Google_Model
5493 {
5494 public $clientRevision;
5495 protected $idType = 'Analytify_Google_Service_Games_PushTokenId';
5496 protected $idDataType = '';
5497 public $kind;
5498 public $language;
5499
5500 public function setClientRevision($clientRevision)
5501 {
5502 $this->clientRevision = $clientRevision;
5503 }
5504
5505 public function getClientRevision()
5506 {
5507 return $this->clientRevision;
5508 }
5509
5510 public function setId(Analytify_Google_Service_Games_PushTokenId $id)
5511 {
5512 $this->id = $id;
5513 }
5514
5515 public function getId()
5516 {
5517 return $this->id;
5518 }
5519
5520 public function setKind($kind)
5521 {
5522 $this->kind = $kind;
5523 }
5524
5525 public function getKind()
5526 {
5527 return $this->kind;
5528 }
5529
5530 public function setLanguage($language)
5531 {
5532 $this->language = $language;
5533 }
5534
5535 public function getLanguage()
5536 {
5537 return $this->language;
5538 }
5539 }
5540
5541 class Analytify_Google_Service_Games_PushTokenId extends Analytify_Google_Model
5542 {
5543 protected $iosType = 'Analytify_Google_Service_Games_PushTokenIdIos';
5544 protected $iosDataType = '';
5545 public $kind;
5546
5547 public function setIos(Analytify_Google_Service_Games_PushTokenIdIos $ios)
5548 {
5549 $this->ios = $ios;
5550 }
5551
5552 public function getIos()
5553 {
5554 return $this->ios;
5555 }
5556
5557 public function setKind($kind)
5558 {
5559 $this->kind = $kind;
5560 }
5561
5562 public function getKind()
5563 {
5564 return $this->kind;
5565 }
5566 }
5567
5568 class Analytify_Google_Service_Games_PushTokenIdIos extends Analytify_Google_Model
5569 {
5570 public $apnsDeviceToken;
5571 public $apnsEnvironment;
5572
5573 public function setApnsDeviceToken($apnsDeviceToken)
5574 {
5575 $this->apnsDeviceToken = $apnsDeviceToken;
5576 }
5577
5578 public function getApnsDeviceToken()
5579 {
5580 return $this->apnsDeviceToken;
5581 }
5582
5583 public function setApnsEnvironment($apnsEnvironment)
5584 {
5585 $this->apnsEnvironment = $apnsEnvironment;
5586 }
5587
5588 public function getApnsEnvironment()
5589 {
5590 return $this->apnsEnvironment;
5591 }
5592 }
5593
5594 class Analytify_Google_Service_Games_Quest extends Analytify_Google_Collection
5595 {
5596 public $acceptedTimestampMillis;
5597 public $applicationId;
5598 public $bannerUrl;
5599 public $description;
5600 public $endTimestampMillis;
5601 public $iconUrl;
5602 public $id;
5603 public $isDefaultBannerUrl;
5604 public $isDefaultIconUrl;
5605 public $kind;
5606 public $lastUpdatedTimestampMillis;
5607 protected $milestonesType = 'Analytify_Google_Service_Games_QuestMilestone';
5608 protected $milestonesDataType = 'array';
5609 public $name;
5610 public $notifyTimestampMillis;
5611 public $startTimestampMillis;
5612 public $state;
5613
5614 public function setAcceptedTimestampMillis($acceptedTimestampMillis)
5615 {
5616 $this->acceptedTimestampMillis = $acceptedTimestampMillis;
5617 }
5618
5619 public function getAcceptedTimestampMillis()
5620 {
5621 return $this->acceptedTimestampMillis;
5622 }
5623
5624 public function setApplicationId($applicationId)
5625 {
5626 $this->applicationId = $applicationId;
5627 }
5628
5629 public function getApplicationId()
5630 {
5631 return $this->applicationId;
5632 }
5633
5634 public function setBannerUrl($bannerUrl)
5635 {
5636 $this->bannerUrl = $bannerUrl;
5637 }
5638
5639 public function getBannerUrl()
5640 {
5641 return $this->bannerUrl;
5642 }
5643
5644 public function setDescription($description)
5645 {
5646 $this->description = $description;
5647 }
5648
5649 public function getDescription()
5650 {
5651 return $this->description;
5652 }
5653
5654 public function setEndTimestampMillis($endTimestampMillis)
5655 {
5656 $this->endTimestampMillis = $endTimestampMillis;
5657 }
5658
5659 public function getEndTimestampMillis()
5660 {
5661 return $this->endTimestampMillis;
5662 }
5663
5664 public function setIconUrl($iconUrl)
5665 {
5666 $this->iconUrl = $iconUrl;
5667 }
5668
5669 public function getIconUrl()
5670 {
5671 return $this->iconUrl;
5672 }
5673
5674 public function setId($id)
5675 {
5676 $this->id = $id;
5677 }
5678
5679 public function getId()
5680 {
5681 return $this->id;
5682 }
5683
5684 public function setIsDefaultBannerUrl($isDefaultBannerUrl)
5685 {
5686 $this->isDefaultBannerUrl = $isDefaultBannerUrl;
5687 }
5688
5689 public function getIsDefaultBannerUrl()
5690 {
5691 return $this->isDefaultBannerUrl;
5692 }
5693
5694 public function setIsDefaultIconUrl($isDefaultIconUrl)
5695 {
5696 $this->isDefaultIconUrl = $isDefaultIconUrl;
5697 }
5698
5699 public function getIsDefaultIconUrl()
5700 {
5701 return $this->isDefaultIconUrl;
5702 }
5703
5704 public function setKind($kind)
5705 {
5706 $this->kind = $kind;
5707 }
5708
5709 public function getKind()
5710 {
5711 return $this->kind;
5712 }
5713
5714 public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
5715 {
5716 $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
5717 }
5718
5719 public function getLastUpdatedTimestampMillis()
5720 {
5721 return $this->lastUpdatedTimestampMillis;
5722 }
5723
5724 public function setMilestones($milestones)
5725 {
5726 $this->milestones = $milestones;
5727 }
5728
5729 public function getMilestones()
5730 {
5731 return $this->milestones;
5732 }
5733
5734 public function setName($name)
5735 {
5736 $this->name = $name;
5737 }
5738
5739 public function getName()
5740 {
5741 return $this->name;
5742 }
5743
5744 public function setNotifyTimestampMillis($notifyTimestampMillis)
5745 {
5746 $this->notifyTimestampMillis = $notifyTimestampMillis;
5747 }
5748
5749 public function getNotifyTimestampMillis()
5750 {
5751 return $this->notifyTimestampMillis;
5752 }
5753
5754 public function setStartTimestampMillis($startTimestampMillis)
5755 {
5756 $this->startTimestampMillis = $startTimestampMillis;
5757 }
5758
5759 public function getStartTimestampMillis()
5760 {
5761 return $this->startTimestampMillis;
5762 }
5763
5764 public function setState($state)
5765 {
5766 $this->state = $state;
5767 }
5768
5769 public function getState()
5770 {
5771 return $this->state;
5772 }
5773 }
5774
5775 class Analytify_Google_Service_Games_QuestContribution extends Analytify_Google_Model
5776 {
5777 public $formattedValue;
5778 public $kind;
5779 public $value;
5780
5781 public function setFormattedValue($formattedValue)
5782 {
5783 $this->formattedValue = $formattedValue;
5784 }
5785
5786 public function getFormattedValue()
5787 {
5788 return $this->formattedValue;
5789 }
5790
5791 public function setKind($kind)
5792 {
5793 $this->kind = $kind;
5794 }
5795
5796 public function getKind()
5797 {
5798 return $this->kind;
5799 }
5800
5801 public function setValue($value)
5802 {
5803 $this->value = $value;
5804 }
5805
5806 public function getValue()
5807 {
5808 return $this->value;
5809 }
5810 }
5811
5812 class Analytify_Google_Service_Games_QuestCriterion extends Analytify_Google_Model
5813 {
5814 protected $completionContributionType = 'Analytify_Google_Service_Games_QuestContribution';
5815 protected $completionContributionDataType = '';
5816 protected $currentContributionType = 'Analytify_Google_Service_Games_QuestContribution';
5817 protected $currentContributionDataType = '';
5818 public $eventId;
5819 protected $initialPlayerProgressType = 'Analytify_Google_Service_Games_QuestContribution';
5820 protected $initialPlayerProgressDataType = '';
5821 public $kind;
5822
5823 public function setCompletionContribution(Analytify_Google_Service_Games_QuestContribution $completionContribution)
5824 {
5825 $this->completionContribution = $completionContribution;
5826 }
5827
5828 public function getCompletionContribution()
5829 {
5830 return $this->completionContribution;
5831 }
5832
5833 public function setCurrentContribution(Analytify_Google_Service_Games_QuestContribution $currentContribution)
5834 {
5835 $this->currentContribution = $currentContribution;
5836 }
5837
5838 public function getCurrentContribution()
5839 {
5840 return $this->currentContribution;
5841 }
5842
5843 public function setEventId($eventId)
5844 {
5845 $this->eventId = $eventId;
5846 }
5847
5848 public function getEventId()
5849 {
5850 return $this->eventId;
5851 }
5852
5853 public function setInitialPlayerProgress(Analytify_Google_Service_Games_QuestContribution $initialPlayerProgress)
5854 {
5855 $this->initialPlayerProgress = $initialPlayerProgress;
5856 }
5857
5858 public function getInitialPlayerProgress()
5859 {
5860 return $this->initialPlayerProgress;
5861 }
5862
5863 public function setKind($kind)
5864 {
5865 $this->kind = $kind;
5866 }
5867
5868 public function getKind()
5869 {
5870 return $this->kind;
5871 }
5872 }
5873
5874 class Analytify_Google_Service_Games_QuestListResponse extends Analytify_Google_Collection
5875 {
5876 protected $itemsType = 'Analytify_Google_Service_Games_Quest';
5877 protected $itemsDataType = 'array';
5878 public $kind;
5879 public $nextPageToken;
5880
5881 public function setItems($items)
5882 {
5883 $this->items = $items;
5884 }
5885
5886 public function getItems()
5887 {
5888 return $this->items;
5889 }
5890
5891 public function setKind($kind)
5892 {
5893 $this->kind = $kind;
5894 }
5895
5896 public function getKind()
5897 {
5898 return $this->kind;
5899 }
5900
5901 public function setNextPageToken($nextPageToken)
5902 {
5903 $this->nextPageToken = $nextPageToken;
5904 }
5905
5906 public function getNextPageToken()
5907 {
5908 return $this->nextPageToken;
5909 }
5910 }
5911
5912 class Analytify_Google_Service_Games_QuestMilestone extends Analytify_Google_Collection
5913 {
5914 public $completionRewardData;
5915 protected $criteriaType = 'Analytify_Google_Service_Games_QuestCriterion';
5916 protected $criteriaDataType = 'array';
5917 public $id;
5918 public $kind;
5919 public $state;
5920
5921 public function setCompletionRewardData($completionRewardData)
5922 {
5923 $this->completionRewardData = $completionRewardData;
5924 }
5925
5926 public function getCompletionRewardData()
5927 {
5928 return $this->completionRewardData;
5929 }
5930
5931 public function setCriteria($criteria)
5932 {
5933 $this->criteria = $criteria;
5934 }
5935
5936 public function getCriteria()
5937 {
5938 return $this->criteria;
5939 }
5940
5941 public function setId($id)
5942 {
5943 $this->id = $id;
5944 }
5945
5946 public function getId()
5947 {
5948 return $this->id;
5949 }
5950
5951 public function setKind($kind)
5952 {
5953 $this->kind = $kind;
5954 }
5955
5956 public function getKind()
5957 {
5958 return $this->kind;
5959 }
5960
5961 public function setState($state)
5962 {
5963 $this->state = $state;
5964 }
5965
5966 public function getState()
5967 {
5968 return $this->state;
5969 }
5970 }
5971
5972 class Analytify_Google_Service_Games_RevisionCheckResponse extends Analytify_Google_Model
5973 {
5974 public $apiVersion;
5975 public $kind;
5976 public $revisionStatus;
5977
5978 public function setApiVersion($apiVersion)
5979 {
5980 $this->apiVersion = $apiVersion;
5981 }
5982
5983 public function getApiVersion()
5984 {
5985 return $this->apiVersion;
5986 }
5987
5988 public function setKind($kind)
5989 {
5990 $this->kind = $kind;
5991 }
5992
5993 public function getKind()
5994 {
5995 return $this->kind;
5996 }
5997
5998 public function setRevisionStatus($revisionStatus)
5999 {
6000 $this->revisionStatus = $revisionStatus;
6001 }
6002
6003 public function getRevisionStatus()
6004 {
6005 return $this->revisionStatus;
6006 }
6007 }
6008
6009 class Analytify_Google_Service_Games_Room extends Analytify_Google_Collection
6010 {
6011 public $applicationId;
6012 protected $autoMatchingCriteriaType = 'Analytify_Google_Service_Games_RoomAutoMatchingCriteria';
6013 protected $autoMatchingCriteriaDataType = '';
6014 protected $autoMatchingStatusType = 'Analytify_Google_Service_Games_RoomAutoMatchStatus';
6015 protected $autoMatchingStatusDataType = '';
6016 protected $creationDetailsType = 'Analytify_Google_Service_Games_RoomModification';
6017 protected $creationDetailsDataType = '';
6018 public $description;
6019 public $inviterId;
6020 public $kind;
6021 protected $lastUpdateDetailsType = 'Analytify_Google_Service_Games_RoomModification';
6022 protected $lastUpdateDetailsDataType = '';
6023 protected $participantsType = 'Analytify_Google_Service_Games_RoomParticipant';
6024 protected $participantsDataType = 'array';
6025 public $roomId;
6026 public $roomStatusVersion;
6027 public $status;
6028 public $variant;
6029
6030 public function setApplicationId($applicationId)
6031 {
6032 $this->applicationId = $applicationId;
6033 }
6034
6035 public function getApplicationId()
6036 {
6037 return $this->applicationId;
6038 }
6039
6040 public function setAutoMatchingCriteria(Analytify_Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
6041 {
6042 $this->autoMatchingCriteria = $autoMatchingCriteria;
6043 }
6044
6045 public function getAutoMatchingCriteria()
6046 {
6047 return $this->autoMatchingCriteria;
6048 }
6049
6050 public function setAutoMatchingStatus(Analytify_Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
6051 {
6052 $this->autoMatchingStatus = $autoMatchingStatus;
6053 }
6054
6055 public function getAutoMatchingStatus()
6056 {
6057 return $this->autoMatchingStatus;
6058 }
6059
6060 public function setCreationDetails(Analytify_Google_Service_Games_RoomModification $creationDetails)
6061 {
6062 $this->creationDetails = $creationDetails;
6063 }
6064
6065 public function getCreationDetails()
6066 {
6067 return $this->creationDetails;
6068 }
6069
6070 public function setDescription($description)
6071 {
6072 $this->description = $description;
6073 }
6074
6075 public function getDescription()
6076 {
6077 return $this->description;
6078 }
6079
6080 public function setInviterId($inviterId)
6081 {
6082 $this->inviterId = $inviterId;
6083 }
6084
6085 public function getInviterId()
6086 {
6087 return $this->inviterId;
6088 }
6089
6090 public function setKind($kind)
6091 {
6092 $this->kind = $kind;
6093 }
6094
6095 public function getKind()
6096 {
6097 return $this->kind;
6098 }
6099
6100 public function setLastUpdateDetails(Analytify_Google_Service_Games_RoomModification $lastUpdateDetails)
6101 {
6102 $this->lastUpdateDetails = $lastUpdateDetails;
6103 }
6104
6105 public function getLastUpdateDetails()
6106 {
6107 return $this->lastUpdateDetails;
6108 }
6109
6110 public function setParticipants($participants)
6111 {
6112 $this->participants = $participants;
6113 }
6114
6115 public function getParticipants()
6116 {
6117 return $this->participants;
6118 }
6119
6120 public function setRoomId($roomId)
6121 {
6122 $this->roomId = $roomId;
6123 }
6124
6125 public function getRoomId()
6126 {
6127 return $this->roomId;
6128 }
6129
6130 public function setRoomStatusVersion($roomStatusVersion)
6131 {
6132 $this->roomStatusVersion = $roomStatusVersion;
6133 }
6134
6135 public function getRoomStatusVersion()
6136 {
6137 return $this->roomStatusVersion;
6138 }
6139
6140 public function setStatus($status)
6141 {
6142 $this->status = $status;
6143 }
6144
6145 public function getStatus()
6146 {
6147 return $this->status;
6148 }
6149
6150 public function setVariant($variant)
6151 {
6152 $this->variant = $variant;
6153 }
6154
6155 public function getVariant()
6156 {
6157 return $this->variant;
6158 }
6159 }
6160
6161 class Analytify_Google_Service_Games_RoomAutoMatchStatus extends Analytify_Google_Model
6162 {
6163 public $kind;
6164 public $waitEstimateSeconds;
6165
6166 public function setKind($kind)
6167 {
6168 $this->kind = $kind;
6169 }
6170
6171 public function getKind()
6172 {
6173 return $this->kind;
6174 }
6175
6176 public function setWaitEstimateSeconds($waitEstimateSeconds)
6177 {
6178 $this->waitEstimateSeconds = $waitEstimateSeconds;
6179 }
6180
6181 public function getWaitEstimateSeconds()
6182 {
6183 return $this->waitEstimateSeconds;
6184 }
6185 }
6186
6187 class Analytify_Google_Service_Games_RoomAutoMatchingCriteria extends Analytify_Google_Model
6188 {
6189 public $exclusiveBitmask;
6190 public $kind;
6191 public $maxAutoMatchingPlayers;
6192 public $minAutoMatchingPlayers;
6193
6194 public function setExclusiveBitmask($exclusiveBitmask)
6195 {
6196 $this->exclusiveBitmask = $exclusiveBitmask;
6197 }
6198
6199 public function getExclusiveBitmask()
6200 {
6201 return $this->exclusiveBitmask;
6202 }
6203
6204 public function setKind($kind)
6205 {
6206 $this->kind = $kind;
6207 }
6208
6209 public function getKind()
6210 {
6211 return $this->kind;
6212 }
6213
6214 public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
6215 {
6216 $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
6217 }
6218
6219 public function getMaxAutoMatchingPlayers()
6220 {
6221 return $this->maxAutoMatchingPlayers;
6222 }
6223
6224 public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
6225 {
6226 $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
6227 }
6228
6229 public function getMinAutoMatchingPlayers()
6230 {
6231 return $this->minAutoMatchingPlayers;
6232 }
6233 }
6234
6235 class Analytify_Google_Service_Games_RoomClientAddress extends Analytify_Google_Model
6236 {
6237 public $kind;
6238 public $xmppAddress;
6239
6240 public function setKind($kind)
6241 {
6242 $this->kind = $kind;
6243 }
6244
6245 public function getKind()
6246 {
6247 return $this->kind;
6248 }
6249
6250 public function setXmppAddress($xmppAddress)
6251 {
6252 $this->xmppAddress = $xmppAddress;
6253 }
6254
6255 public function getXmppAddress()
6256 {
6257 return $this->xmppAddress;
6258 }
6259 }
6260
6261 class Analytify_Google_Service_Games_RoomCreateRequest extends Analytify_Google_Collection
6262 {
6263 protected $autoMatchingCriteriaType = 'Analytify_Google_Service_Games_RoomAutoMatchingCriteria';
6264 protected $autoMatchingCriteriaDataType = '';
6265 public $capabilities;
6266 protected $clientAddressType = 'Analytify_Google_Service_Games_RoomClientAddress';
6267 protected $clientAddressDataType = '';
6268 public $invitedPlayerIds;
6269 public $kind;
6270 protected $networkDiagnosticsType = 'Analytify_Google_Service_Games_NetworkDiagnostics';
6271 protected $networkDiagnosticsDataType = '';
6272 public $requestId;
6273 public $variant;
6274
6275 public function setAutoMatchingCriteria(Analytify_Google_Service_Games_RoomAutoMatchingCriteria $autoMatchingCriteria)
6276 {
6277 $this->autoMatchingCriteria = $autoMatchingCriteria;
6278 }
6279
6280 public function getAutoMatchingCriteria()
6281 {
6282 return $this->autoMatchingCriteria;
6283 }
6284
6285 public function setCapabilities($capabilities)
6286 {
6287 $this->capabilities = $capabilities;
6288 }
6289
6290 public function getCapabilities()
6291 {
6292 return $this->capabilities;
6293 }
6294
6295 public function setClientAddress(Analytify_Google_Service_Games_RoomClientAddress $clientAddress)
6296 {
6297 $this->clientAddress = $clientAddress;
6298 }
6299
6300 public function getClientAddress()
6301 {
6302 return $this->clientAddress;
6303 }
6304
6305 public function setInvitedPlayerIds($invitedPlayerIds)
6306 {
6307 $this->invitedPlayerIds = $invitedPlayerIds;
6308 }
6309
6310 public function getInvitedPlayerIds()
6311 {
6312 return $this->invitedPlayerIds;
6313 }
6314
6315 public function setKind($kind)
6316 {
6317 $this->kind = $kind;
6318 }
6319
6320 public function getKind()
6321 {
6322 return $this->kind;
6323 }
6324
6325 public function setNetworkDiagnostics(Analytify_Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
6326 {
6327 $this->networkDiagnostics = $networkDiagnostics;
6328 }
6329
6330 public function getNetworkDiagnostics()
6331 {
6332 return $this->networkDiagnostics;
6333 }
6334
6335 public function setRequestId($requestId)
6336 {
6337 $this->requestId = $requestId;
6338 }
6339
6340 public function getRequestId()
6341 {
6342 return $this->requestId;
6343 }
6344
6345 public function setVariant($variant)
6346 {
6347 $this->variant = $variant;
6348 }
6349
6350 public function getVariant()
6351 {
6352 return $this->variant;
6353 }
6354 }
6355
6356 class Analytify_Google_Service_Games_RoomJoinRequest extends Analytify_Google_Collection
6357 {
6358 public $capabilities;
6359 protected $clientAddressType = 'Analytify_Google_Service_Games_RoomClientAddress';
6360 protected $clientAddressDataType = '';
6361 public $kind;
6362 protected $networkDiagnosticsType = 'Analytify_Google_Service_Games_NetworkDiagnostics';
6363 protected $networkDiagnosticsDataType = '';
6364
6365 public function setCapabilities($capabilities)
6366 {
6367 $this->capabilities = $capabilities;
6368 }
6369
6370 public function getCapabilities()
6371 {
6372 return $this->capabilities;
6373 }
6374
6375 public function setClientAddress(Analytify_Google_Service_Games_RoomClientAddress $clientAddress)
6376 {
6377 $this->clientAddress = $clientAddress;
6378 }
6379
6380 public function getClientAddress()
6381 {
6382 return $this->clientAddress;
6383 }
6384
6385 public function setKind($kind)
6386 {
6387 $this->kind = $kind;
6388 }
6389
6390 public function getKind()
6391 {
6392 return $this->kind;
6393 }
6394
6395 public function setNetworkDiagnostics(Analytify_Google_Service_Games_NetworkDiagnostics $networkDiagnostics)
6396 {
6397 $this->networkDiagnostics = $networkDiagnostics;
6398 }
6399
6400 public function getNetworkDiagnostics()
6401 {
6402 return $this->networkDiagnostics;
6403 }
6404 }
6405
6406 class Analytify_Google_Service_Games_RoomLeaveDiagnostics extends Analytify_Google_Collection
6407 {
6408 public $androidNetworkSubtype;
6409 public $androidNetworkType;
6410 public $iosNetworkType;
6411 public $kind;
6412 public $networkOperatorCode;
6413 public $networkOperatorName;
6414 protected $peerSessionType = 'Analytify_Google_Service_Games_PeerSessionDiagnostics';
6415 protected $peerSessionDataType = 'array';
6416 public $socketsUsed;
6417
6418 public function setAndroidNetworkSubtype($androidNetworkSubtype)
6419 {
6420 $this->androidNetworkSubtype = $androidNetworkSubtype;
6421 }
6422
6423 public function getAndroidNetworkSubtype()
6424 {
6425 return $this->androidNetworkSubtype;
6426 }
6427
6428 public function setAndroidNetworkType($androidNetworkType)
6429 {
6430 $this->androidNetworkType = $androidNetworkType;
6431 }
6432
6433 public function getAndroidNetworkType()
6434 {
6435 return $this->androidNetworkType;
6436 }
6437
6438 public function setIosNetworkType($iosNetworkType)
6439 {
6440 $this->iosNetworkType = $iosNetworkType;
6441 }
6442
6443 public function getIosNetworkType()
6444 {
6445 return $this->iosNetworkType;
6446 }
6447
6448 public function setKind($kind)
6449 {
6450 $this->kind = $kind;
6451 }
6452
6453 public function getKind()
6454 {
6455 return $this->kind;
6456 }
6457
6458 public function setNetworkOperatorCode($networkOperatorCode)
6459 {
6460 $this->networkOperatorCode = $networkOperatorCode;
6461 }
6462
6463 public function getNetworkOperatorCode()
6464 {
6465 return $this->networkOperatorCode;
6466 }
6467
6468 public function setNetworkOperatorName($networkOperatorName)
6469 {
6470 $this->networkOperatorName = $networkOperatorName;
6471 }
6472
6473 public function getNetworkOperatorName()
6474 {
6475 return $this->networkOperatorName;
6476 }
6477
6478 public function setPeerSession($peerSession)
6479 {
6480 $this->peerSession = $peerSession;
6481 }
6482
6483 public function getPeerSession()
6484 {
6485 return $this->peerSession;
6486 }
6487
6488 public function setSocketsUsed($socketsUsed)
6489 {
6490 $this->socketsUsed = $socketsUsed;
6491 }
6492
6493 public function getSocketsUsed()
6494 {
6495 return $this->socketsUsed;
6496 }
6497 }
6498
6499 class Analytify_Google_Service_Games_RoomLeaveRequest extends Analytify_Google_Model
6500 {
6501 public $kind;
6502 protected $leaveDiagnosticsType = 'Analytify_Google_Service_Games_RoomLeaveDiagnostics';
6503 protected $leaveDiagnosticsDataType = '';
6504 public $reason;
6505
6506 public function setKind($kind)
6507 {
6508 $this->kind = $kind;
6509 }
6510
6511 public function getKind()
6512 {
6513 return $this->kind;
6514 }
6515
6516 public function setLeaveDiagnostics(Analytify_Google_Service_Games_RoomLeaveDiagnostics $leaveDiagnostics)
6517 {
6518 $this->leaveDiagnostics = $leaveDiagnostics;
6519 }
6520
6521 public function getLeaveDiagnostics()
6522 {
6523 return $this->leaveDiagnostics;
6524 }
6525
6526 public function setReason($reason)
6527 {
6528 $this->reason = $reason;
6529 }
6530
6531 public function getReason()
6532 {
6533 return $this->reason;
6534 }
6535 }
6536
6537 class Analytify_Google_Service_Games_RoomList extends Analytify_Google_Collection
6538 {
6539 protected $itemsType = 'Analytify_Google_Service_Games_Room';
6540 protected $itemsDataType = 'array';
6541 public $kind;
6542 public $nextPageToken;
6543
6544 public function setItems($items)
6545 {
6546 $this->items = $items;
6547 }
6548
6549 public function getItems()
6550 {
6551 return $this->items;
6552 }
6553
6554 public function setKind($kind)
6555 {
6556 $this->kind = $kind;
6557 }
6558
6559 public function getKind()
6560 {
6561 return $this->kind;
6562 }
6563
6564 public function setNextPageToken($nextPageToken)
6565 {
6566 $this->nextPageToken = $nextPageToken;
6567 }
6568
6569 public function getNextPageToken()
6570 {
6571 return $this->nextPageToken;
6572 }
6573 }
6574
6575 class Analytify_Google_Service_Games_RoomModification extends Analytify_Google_Model
6576 {
6577 public $kind;
6578 public $modifiedTimestampMillis;
6579 public $participantId;
6580
6581 public function setKind($kind)
6582 {
6583 $this->kind = $kind;
6584 }
6585
6586 public function getKind()
6587 {
6588 return $this->kind;
6589 }
6590
6591 public function setModifiedTimestampMillis($modifiedTimestampMillis)
6592 {
6593 $this->modifiedTimestampMillis = $modifiedTimestampMillis;
6594 }
6595
6596 public function getModifiedTimestampMillis()
6597 {
6598 return $this->modifiedTimestampMillis;
6599 }
6600
6601 public function setParticipantId($participantId)
6602 {
6603 $this->participantId = $participantId;
6604 }
6605
6606 public function getParticipantId()
6607 {
6608 return $this->participantId;
6609 }
6610 }
6611
6612 class Analytify_Google_Service_Games_RoomP2PStatus extends Analytify_Google_Model
6613 {
6614 public $connectionSetupLatencyMillis;
6615 public $error;
6616 public $errorReason;
6617 public $kind;
6618 public $participantId;
6619 public $status;
6620 public $unreliableRoundtripLatencyMillis;
6621
6622 public function setConnectionSetupLatencyMillis($connectionSetupLatencyMillis)
6623 {
6624 $this->connectionSetupLatencyMillis = $connectionSetupLatencyMillis;
6625 }
6626
6627 public function getConnectionSetupLatencyMillis()
6628 {
6629 return $this->connectionSetupLatencyMillis;
6630 }
6631
6632 public function setError($error)
6633 {
6634 $this->error = $error;
6635 }
6636
6637 public function getError()
6638 {
6639 return $this->error;
6640 }
6641
6642 public function setErrorReason($errorReason)
6643 {
6644 $this->errorReason = $errorReason;
6645 }
6646
6647 public function getErrorReason()
6648 {
6649 return $this->errorReason;
6650 }
6651
6652 public function setKind($kind)
6653 {
6654 $this->kind = $kind;
6655 }
6656
6657 public function getKind()
6658 {
6659 return $this->kind;
6660 }
6661
6662 public function setParticipantId($participantId)
6663 {
6664 $this->participantId = $participantId;
6665 }
6666
6667 public function getParticipantId()
6668 {
6669 return $this->participantId;
6670 }
6671
6672 public function setStatus($status)
6673 {
6674 $this->status = $status;
6675 }
6676
6677 public function getStatus()
6678 {
6679 return $this->status;
6680 }
6681
6682 public function setUnreliableRoundtripLatencyMillis($unreliableRoundtripLatencyMillis)
6683 {
6684 $this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis;
6685 }
6686
6687 public function getUnreliableRoundtripLatencyMillis()
6688 {
6689 return $this->unreliableRoundtripLatencyMillis;
6690 }
6691 }
6692
6693 class Analytify_Google_Service_Games_RoomP2PStatuses extends Analytify_Google_Collection
6694 {
6695 public $kind;
6696 protected $updatesType = 'Analytify_Google_Service_Games_RoomP2PStatus';
6697 protected $updatesDataType = 'array';
6698
6699 public function setKind($kind)
6700 {
6701 $this->kind = $kind;
6702 }
6703
6704 public function getKind()
6705 {
6706 return $this->kind;
6707 }
6708
6709 public function setUpdates($updates)
6710 {
6711 $this->updates = $updates;
6712 }
6713
6714 public function getUpdates()
6715 {
6716 return $this->updates;
6717 }
6718 }
6719
6720 class Analytify_Google_Service_Games_RoomParticipant extends Analytify_Google_Collection
6721 {
6722 public $autoMatched;
6723 protected $autoMatchedPlayerType = 'Analytify_Google_Service_Games_AnonymousPlayer';
6724 protected $autoMatchedPlayerDataType = '';
6725 public $capabilities;
6726 protected $clientAddressType = 'Analytify_Google_Service_Games_RoomClientAddress';
6727 protected $clientAddressDataType = '';
6728 public $connected;
6729 public $id;
6730 public $kind;
6731 public $leaveReason;
6732 protected $playerType = 'Analytify_Google_Service_Games_Player';
6733 protected $playerDataType = '';
6734 public $status;
6735
6736 public function setAutoMatched($autoMatched)
6737 {
6738 $this->autoMatched = $autoMatched;
6739 }
6740
6741 public function getAutoMatched()
6742 {
6743 return $this->autoMatched;
6744 }
6745
6746 public function setAutoMatchedPlayer(Analytify_Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
6747 {
6748 $this->autoMatchedPlayer = $autoMatchedPlayer;
6749 }
6750
6751 public function getAutoMatchedPlayer()
6752 {
6753 return $this->autoMatchedPlayer;
6754 }
6755
6756 public function setCapabilities($capabilities)
6757 {
6758 $this->capabilities = $capabilities;
6759 }
6760
6761 public function getCapabilities()
6762 {
6763 return $this->capabilities;
6764 }
6765
6766 public function setClientAddress(Analytify_Google_Service_Games_RoomClientAddress $clientAddress)
6767 {
6768 $this->clientAddress = $clientAddress;
6769 }
6770
6771 public function getClientAddress()
6772 {
6773 return $this->clientAddress;
6774 }
6775
6776 public function setConnected($connected)
6777 {
6778 $this->connected = $connected;
6779 }
6780
6781 public function getConnected()
6782 {
6783 return $this->connected;
6784 }
6785
6786 public function setId($id)
6787 {
6788 $this->id = $id;
6789 }
6790
6791 public function getId()
6792 {
6793 return $this->id;
6794 }
6795
6796 public function setKind($kind)
6797 {
6798 $this->kind = $kind;
6799 }
6800
6801 public function getKind()
6802 {
6803 return $this->kind;
6804 }
6805
6806 public function setLeaveReason($leaveReason)
6807 {
6808 $this->leaveReason = $leaveReason;
6809 }
6810
6811 public function getLeaveReason()
6812 {
6813 return $this->leaveReason;
6814 }
6815
6816 public function setPlayer(Analytify_Google_Service_Games_Player $player)
6817 {
6818 $this->player = $player;
6819 }
6820
6821 public function getPlayer()
6822 {
6823 return $this->player;
6824 }
6825
6826 public function setStatus($status)
6827 {
6828 $this->status = $status;
6829 }
6830
6831 public function getStatus()
6832 {
6833 return $this->status;
6834 }
6835 }
6836
6837 class Analytify_Google_Service_Games_RoomStatus extends Analytify_Google_Collection
6838 {
6839 protected $autoMatchingStatusType = 'Analytify_Google_Service_Games_RoomAutoMatchStatus';
6840 protected $autoMatchingStatusDataType = '';
6841 public $kind;
6842 protected $participantsType = 'Analytify_Google_Service_Games_RoomParticipant';
6843 protected $participantsDataType = 'array';
6844 public $roomId;
6845 public $status;
6846 public $statusVersion;
6847
6848 public function setAutoMatchingStatus(Analytify_Google_Service_Games_RoomAutoMatchStatus $autoMatchingStatus)
6849 {
6850 $this->autoMatchingStatus = $autoMatchingStatus;
6851 }
6852
6853 public function getAutoMatchingStatus()
6854 {
6855 return $this->autoMatchingStatus;
6856 }
6857
6858 public function setKind($kind)
6859 {
6860 $this->kind = $kind;
6861 }
6862
6863 public function getKind()
6864 {
6865 return $this->kind;
6866 }
6867
6868 public function setParticipants($participants)
6869 {
6870 $this->participants = $participants;
6871 }
6872
6873 public function getParticipants()
6874 {
6875 return $this->participants;
6876 }
6877
6878 public function setRoomId($roomId)
6879 {
6880 $this->roomId = $roomId;
6881 }
6882
6883 public function getRoomId()
6884 {
6885 return $this->roomId;
6886 }
6887
6888 public function setStatus($status)
6889 {
6890 $this->status = $status;
6891 }
6892
6893 public function getStatus()
6894 {
6895 return $this->status;
6896 }
6897
6898 public function setStatusVersion($statusVersion)
6899 {
6900 $this->statusVersion = $statusVersion;
6901 }
6902
6903 public function getStatusVersion()
6904 {
6905 return $this->statusVersion;
6906 }
6907 }
6908
6909 class Analytify_Google_Service_Games_ScoreSubmission extends Analytify_Google_Model
6910 {
6911 public $kind;
6912 public $leaderboardId;
6913 public $score;
6914 public $scoreTag;
6915
6916 public function setKind($kind)
6917 {
6918 $this->kind = $kind;
6919 }
6920
6921 public function getKind()
6922 {
6923 return $this->kind;
6924 }
6925
6926 public function setLeaderboardId($leaderboardId)
6927 {
6928 $this->leaderboardId = $leaderboardId;
6929 }
6930
6931 public function getLeaderboardId()
6932 {
6933 return $this->leaderboardId;
6934 }
6935
6936 public function setScore($score)
6937 {
6938 $this->score = $score;
6939 }
6940
6941 public function getScore()
6942 {
6943 return $this->score;
6944 }
6945
6946 public function setScoreTag($scoreTag)
6947 {
6948 $this->scoreTag = $scoreTag;
6949 }
6950
6951 public function getScoreTag()
6952 {
6953 return $this->scoreTag;
6954 }
6955 }
6956
6957 class Analytify_Google_Service_Games_Snapshot extends Analytify_Google_Model
6958 {
6959 protected $coverImageType = 'Analytify_Google_Service_Games_SnapshotImage';
6960 protected $coverImageDataType = '';
6961 public $description;
6962 public $driveId;
6963 public $durationMillis;
6964 public $id;
6965 public $kind;
6966 public $lastModifiedMillis;
6967 public $title;
6968 public $type;
6969 public $uniqueName;
6970
6971 public function setCoverImage(Analytify_Google_Service_Games_SnapshotImage $coverImage)
6972 {
6973 $this->coverImage = $coverImage;
6974 }
6975
6976 public function getCoverImage()
6977 {
6978 return $this->coverImage;
6979 }
6980
6981 public function setDescription($description)
6982 {
6983 $this->description = $description;
6984 }
6985
6986 public function getDescription()
6987 {
6988 return $this->description;
6989 }
6990
6991 public function setDriveId($driveId)
6992 {
6993 $this->driveId = $driveId;
6994 }
6995
6996 public function getDriveId()
6997 {
6998 return $this->driveId;
6999 }
7000
7001 public function setDurationMillis($durationMillis)
7002 {
7003 $this->durationMillis = $durationMillis;
7004 }
7005
7006 public function getDurationMillis()
7007 {
7008 return $this->durationMillis;
7009 }
7010
7011 public function setId($id)
7012 {
7013 $this->id = $id;
7014 }
7015
7016 public function getId()
7017 {
7018 return $this->id;
7019 }
7020
7021 public function setKind($kind)
7022 {
7023 $this->kind = $kind;
7024 }
7025
7026 public function getKind()
7027 {
7028 return $this->kind;
7029 }
7030
7031 public function setLastModifiedMillis($lastModifiedMillis)
7032 {
7033 $this->lastModifiedMillis = $lastModifiedMillis;
7034 }
7035
7036 public function getLastModifiedMillis()
7037 {
7038 return $this->lastModifiedMillis;
7039 }
7040
7041 public function setTitle($title)
7042 {
7043 $this->title = $title;
7044 }
7045
7046 public function getTitle()
7047 {
7048 return $this->title;
7049 }
7050
7051 public function setType($type)
7052 {
7053 $this->type = $type;
7054 }
7055
7056 public function getType()
7057 {
7058 return $this->type;
7059 }
7060
7061 public function setUniqueName($uniqueName)
7062 {
7063 $this->uniqueName = $uniqueName;
7064 }
7065
7066 public function getUniqueName()
7067 {
7068 return $this->uniqueName;
7069 }
7070 }
7071
7072 class Analytify_Google_Service_Games_SnapshotImage extends Analytify_Google_Model
7073 {
7074 public $height;
7075 public $kind;
7076 public $mimeType;
7077 public $url;
7078 public $width;
7079
7080 public function setHeight($height)
7081 {
7082 $this->height = $height;
7083 }
7084
7085 public function getHeight()
7086 {
7087 return $this->height;
7088 }
7089
7090 public function setKind($kind)
7091 {
7092 $this->kind = $kind;
7093 }
7094
7095 public function getKind()
7096 {
7097 return $this->kind;
7098 }
7099
7100 public function setMimeType($mimeType)
7101 {
7102 $this->mimeType = $mimeType;
7103 }
7104
7105 public function getMimeType()
7106 {
7107 return $this->mimeType;
7108 }
7109
7110 public function setUrl($url)
7111 {
7112 $this->url = $url;
7113 }
7114
7115 public function getUrl()
7116 {
7117 return $this->url;
7118 }
7119
7120 public function setWidth($width)
7121 {
7122 $this->width = $width;
7123 }
7124
7125 public function getWidth()
7126 {
7127 return $this->width;
7128 }
7129 }
7130
7131 class Analytify_Google_Service_Games_SnapshotListResponse extends Analytify_Google_Collection
7132 {
7133 protected $itemsType = 'Analytify_Google_Service_Games_Snapshot';
7134 protected $itemsDataType = 'array';
7135 public $kind;
7136 public $nextPageToken;
7137
7138 public function setItems($items)
7139 {
7140 $this->items = $items;
7141 }
7142
7143 public function getItems()
7144 {
7145 return $this->items;
7146 }
7147
7148 public function setKind($kind)
7149 {
7150 $this->kind = $kind;
7151 }
7152
7153 public function getKind()
7154 {
7155 return $this->kind;
7156 }
7157
7158 public function setNextPageToken($nextPageToken)
7159 {
7160 $this->nextPageToken = $nextPageToken;
7161 }
7162
7163 public function getNextPageToken()
7164 {
7165 return $this->nextPageToken;
7166 }
7167 }
7168
7169 class Analytify_Google_Service_Games_TurnBasedAutoMatchingCriteria extends Analytify_Google_Model
7170 {
7171 public $exclusiveBitmask;
7172 public $kind;
7173 public $maxAutoMatchingPlayers;
7174 public $minAutoMatchingPlayers;
7175
7176 public function setExclusiveBitmask($exclusiveBitmask)
7177 {
7178 $this->exclusiveBitmask = $exclusiveBitmask;
7179 }
7180
7181 public function getExclusiveBitmask()
7182 {
7183 return $this->exclusiveBitmask;
7184 }
7185
7186 public function setKind($kind)
7187 {
7188 $this->kind = $kind;
7189 }
7190
7191 public function getKind()
7192 {
7193 return $this->kind;
7194 }
7195
7196 public function setMaxAutoMatchingPlayers($maxAutoMatchingPlayers)
7197 {
7198 $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers;
7199 }
7200
7201 public function getMaxAutoMatchingPlayers()
7202 {
7203 return $this->maxAutoMatchingPlayers;
7204 }
7205
7206 public function setMinAutoMatchingPlayers($minAutoMatchingPlayers)
7207 {
7208 $this->minAutoMatchingPlayers = $minAutoMatchingPlayers;
7209 }
7210
7211 public function getMinAutoMatchingPlayers()
7212 {
7213 return $this->minAutoMatchingPlayers;
7214 }
7215 }
7216
7217 class Analytify_Google_Service_Games_TurnBasedMatch extends Analytify_Google_Collection
7218 {
7219 public $applicationId;
7220 protected $autoMatchingCriteriaType = 'Analytify_Google_Service_Games_TurnBasedAutoMatchingCriteria';
7221 protected $autoMatchingCriteriaDataType = '';
7222 protected $creationDetailsType = 'Analytify_Google_Service_Games_TurnBasedMatchModification';
7223 protected $creationDetailsDataType = '';
7224 protected $dataType = 'Analytify_Google_Service_Games_TurnBasedMatchData';
7225 protected $dataDataType = '';
7226 public $description;
7227 public $inviterId;
7228 public $kind;
7229 protected $lastUpdateDetailsType = 'Analytify_Google_Service_Games_TurnBasedMatchModification';
7230 protected $lastUpdateDetailsDataType = '';
7231 public $matchId;
7232 public $matchNumber;
7233 public $matchVersion;
7234 protected $participantsType = 'Analytify_Google_Service_Games_TurnBasedMatchParticipant';
7235 protected $participantsDataType = 'array';
7236 public $pendingParticipantId;
7237 protected $previousMatchDataType = 'Analytify_Google_Service_Games_TurnBasedMatchData';
7238 protected $previousMatchDataDataType = '';
7239 public $rematchId;
7240 protected $resultsType = 'Analytify_Google_Service_Games_ParticipantResult';
7241 protected $resultsDataType = 'array';
7242 public $status;
7243 public $userMatchStatus;
7244 public $variant;
7245 public $withParticipantId;
7246
7247 public function setApplicationId($applicationId)
7248 {
7249 $this->applicationId = $applicationId;
7250 }
7251
7252 public function getApplicationId()
7253 {
7254 return $this->applicationId;
7255 }
7256
7257 public function setAutoMatchingCriteria(Analytify_Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
7258 {
7259 $this->autoMatchingCriteria = $autoMatchingCriteria;
7260 }
7261
7262 public function getAutoMatchingCriteria()
7263 {
7264 return $this->autoMatchingCriteria;
7265 }
7266
7267 public function setCreationDetails(Analytify_Google_Service_Games_TurnBasedMatchModification $creationDetails)
7268 {
7269 $this->creationDetails = $creationDetails;
7270 }
7271
7272 public function getCreationDetails()
7273 {
7274 return $this->creationDetails;
7275 }
7276
7277 public function setData(Analytify_Google_Service_Games_TurnBasedMatchData $data)
7278 {
7279 $this->data = $data;
7280 }
7281
7282 public function getData()
7283 {
7284 return $this->data;
7285 }
7286
7287 public function setDescription($description)
7288 {
7289 $this->description = $description;
7290 }
7291
7292 public function getDescription()
7293 {
7294 return $this->description;
7295 }
7296
7297 public function setInviterId($inviterId)
7298 {
7299 $this->inviterId = $inviterId;
7300 }
7301
7302 public function getInviterId()
7303 {
7304 return $this->inviterId;
7305 }
7306
7307 public function setKind($kind)
7308 {
7309 $this->kind = $kind;
7310 }
7311
7312 public function getKind()
7313 {
7314 return $this->kind;
7315 }
7316
7317 public function setLastUpdateDetails(Analytify_Google_Service_Games_TurnBasedMatchModification $lastUpdateDetails)
7318 {
7319 $this->lastUpdateDetails = $lastUpdateDetails;
7320 }
7321
7322 public function getLastUpdateDetails()
7323 {
7324 return $this->lastUpdateDetails;
7325 }
7326
7327 public function setMatchId($matchId)
7328 {
7329 $this->matchId = $matchId;
7330 }
7331
7332 public function getMatchId()
7333 {
7334 return $this->matchId;
7335 }
7336
7337 public function setMatchNumber($matchNumber)
7338 {
7339 $this->matchNumber = $matchNumber;
7340 }
7341
7342 public function getMatchNumber()
7343 {
7344 return $this->matchNumber;
7345 }
7346
7347 public function setMatchVersion($matchVersion)
7348 {
7349 $this->matchVersion = $matchVersion;
7350 }
7351
7352 public function getMatchVersion()
7353 {
7354 return $this->matchVersion;
7355 }
7356
7357 public function setParticipants($participants)
7358 {
7359 $this->participants = $participants;
7360 }
7361
7362 public function getParticipants()
7363 {
7364 return $this->participants;
7365 }
7366
7367 public function setPendingParticipantId($pendingParticipantId)
7368 {
7369 $this->pendingParticipantId = $pendingParticipantId;
7370 }
7371
7372 public function getPendingParticipantId()
7373 {
7374 return $this->pendingParticipantId;
7375 }
7376
7377 public function setPreviousMatchData(Analytify_Google_Service_Games_TurnBasedMatchData $previousMatchData)
7378 {
7379 $this->previousMatchData = $previousMatchData;
7380 }
7381
7382 public function getPreviousMatchData()
7383 {
7384 return $this->previousMatchData;
7385 }
7386
7387 public function setRematchId($rematchId)
7388 {
7389 $this->rematchId = $rematchId;
7390 }
7391
7392 public function getRematchId()
7393 {
7394 return $this->rematchId;
7395 }
7396
7397 public function setResults($results)
7398 {
7399 $this->results = $results;
7400 }
7401
7402 public function getResults()
7403 {
7404 return $this->results;
7405 }
7406
7407 public function setStatus($status)
7408 {
7409 $this->status = $status;
7410 }
7411
7412 public function getStatus()
7413 {
7414 return $this->status;
7415 }
7416
7417 public function setUserMatchStatus($userMatchStatus)
7418 {
7419 $this->userMatchStatus = $userMatchStatus;
7420 }
7421
7422 public function getUserMatchStatus()
7423 {
7424 return $this->userMatchStatus;
7425 }
7426
7427 public function setVariant($variant)
7428 {
7429 $this->variant = $variant;
7430 }
7431
7432 public function getVariant()
7433 {
7434 return $this->variant;
7435 }
7436
7437 public function setWithParticipantId($withParticipantId)
7438 {
7439 $this->withParticipantId = $withParticipantId;
7440 }
7441
7442 public function getWithParticipantId()
7443 {
7444 return $this->withParticipantId;
7445 }
7446 }
7447
7448 class Analytify_Google_Service_Games_TurnBasedMatchCreateRequest extends Analytify_Google_Collection
7449 {
7450 protected $autoMatchingCriteriaType = 'Analytify_Google_Service_Games_TurnBasedAutoMatchingCriteria';
7451 protected $autoMatchingCriteriaDataType = '';
7452 public $invitedPlayerIds;
7453 public $kind;
7454 public $requestId;
7455 public $variant;
7456
7457 public function setAutoMatchingCriteria(Analytify_Google_Service_Games_TurnBasedAutoMatchingCriteria $autoMatchingCriteria)
7458 {
7459 $this->autoMatchingCriteria = $autoMatchingCriteria;
7460 }
7461
7462 public function getAutoMatchingCriteria()
7463 {
7464 return $this->autoMatchingCriteria;
7465 }
7466
7467 public function setInvitedPlayerIds($invitedPlayerIds)
7468 {
7469 $this->invitedPlayerIds = $invitedPlayerIds;
7470 }
7471
7472 public function getInvitedPlayerIds()
7473 {
7474 return $this->invitedPlayerIds;
7475 }
7476
7477 public function setKind($kind)
7478 {
7479 $this->kind = $kind;
7480 }
7481
7482 public function getKind()
7483 {
7484 return $this->kind;
7485 }
7486
7487 public function setRequestId($requestId)
7488 {
7489 $this->requestId = $requestId;
7490 }
7491
7492 public function getRequestId()
7493 {
7494 return $this->requestId;
7495 }
7496
7497 public function setVariant($variant)
7498 {
7499 $this->variant = $variant;
7500 }
7501
7502 public function getVariant()
7503 {
7504 return $this->variant;
7505 }
7506 }
7507
7508 class Analytify_Google_Service_Games_TurnBasedMatchData extends Analytify_Google_Model
7509 {
7510 public $data;
7511 public $dataAvailable;
7512 public $kind;
7513
7514 public function setData($data)
7515 {
7516 $this->data = $data;
7517 }
7518
7519 public function getData()
7520 {
7521 return $this->data;
7522 }
7523
7524 public function setDataAvailable($dataAvailable)
7525 {
7526 $this->dataAvailable = $dataAvailable;
7527 }
7528
7529 public function getDataAvailable()
7530 {
7531 return $this->dataAvailable;
7532 }
7533
7534 public function setKind($kind)
7535 {
7536 $this->kind = $kind;
7537 }
7538
7539 public function getKind()
7540 {
7541 return $this->kind;
7542 }
7543 }
7544
7545 class Analytify_Google_Service_Games_TurnBasedMatchDataRequest extends Analytify_Google_Model
7546 {
7547 public $data;
7548 public $kind;
7549
7550 public function setData($data)
7551 {
7552 $this->data = $data;
7553 }
7554
7555 public function getData()
7556 {
7557 return $this->data;
7558 }
7559
7560 public function setKind($kind)
7561 {
7562 $this->kind = $kind;
7563 }
7564
7565 public function getKind()
7566 {
7567 return $this->kind;
7568 }
7569 }
7570
7571 class Analytify_Google_Service_Games_TurnBasedMatchList extends Analytify_Google_Collection
7572 {
7573 protected $itemsType = 'Analytify_Google_Service_Games_TurnBasedMatch';
7574 protected $itemsDataType = 'array';
7575 public $kind;
7576 public $nextPageToken;
7577
7578 public function setItems($items)
7579 {
7580 $this->items = $items;
7581 }
7582
7583 public function getItems()
7584 {
7585 return $this->items;
7586 }
7587
7588 public function setKind($kind)
7589 {
7590 $this->kind = $kind;
7591 }
7592
7593 public function getKind()
7594 {
7595 return $this->kind;
7596 }
7597
7598 public function setNextPageToken($nextPageToken)
7599 {
7600 $this->nextPageToken = $nextPageToken;
7601 }
7602
7603 public function getNextPageToken()
7604 {
7605 return $this->nextPageToken;
7606 }
7607 }
7608
7609 class Analytify_Google_Service_Games_TurnBasedMatchModification extends Analytify_Google_Model
7610 {
7611 public $kind;
7612 public $modifiedTimestampMillis;
7613 public $participantId;
7614
7615 public function setKind($kind)
7616 {
7617 $this->kind = $kind;
7618 }
7619
7620 public function getKind()
7621 {
7622 return $this->kind;
7623 }
7624
7625 public function setModifiedTimestampMillis($modifiedTimestampMillis)
7626 {
7627 $this->modifiedTimestampMillis = $modifiedTimestampMillis;
7628 }
7629
7630 public function getModifiedTimestampMillis()
7631 {
7632 return $this->modifiedTimestampMillis;
7633 }
7634
7635 public function setParticipantId($participantId)
7636 {
7637 $this->participantId = $participantId;
7638 }
7639
7640 public function getParticipantId()
7641 {
7642 return $this->participantId;
7643 }
7644 }
7645
7646 class Analytify_Google_Service_Games_TurnBasedMatchParticipant extends Analytify_Google_Model
7647 {
7648 public $autoMatched;
7649 protected $autoMatchedPlayerType = 'Analytify_Google_Service_Games_AnonymousPlayer';
7650 protected $autoMatchedPlayerDataType = '';
7651 public $id;
7652 public $kind;
7653 protected $playerType = 'Analytify_Google_Service_Games_Player';
7654 protected $playerDataType = '';
7655 public $status;
7656
7657 public function setAutoMatched($autoMatched)
7658 {
7659 $this->autoMatched = $autoMatched;
7660 }
7661
7662 public function getAutoMatched()
7663 {
7664 return $this->autoMatched;
7665 }
7666
7667 public function setAutoMatchedPlayer(Analytify_Google_Service_Games_AnonymousPlayer $autoMatchedPlayer)
7668 {
7669 $this->autoMatchedPlayer = $autoMatchedPlayer;
7670 }
7671
7672 public function getAutoMatchedPlayer()
7673 {
7674 return $this->autoMatchedPlayer;
7675 }
7676
7677 public function setId($id)
7678 {
7679 $this->id = $id;
7680 }
7681
7682 public function getId()
7683 {
7684 return $this->id;
7685 }
7686
7687 public function setKind($kind)
7688 {
7689 $this->kind = $kind;
7690 }
7691
7692 public function getKind()
7693 {
7694 return $this->kind;
7695 }
7696
7697 public function setPlayer(Analytify_Google_Service_Games_Player $player)
7698 {
7699 $this->player = $player;
7700 }
7701
7702 public function getPlayer()
7703 {
7704 return $this->player;
7705 }
7706
7707 public function setStatus($status)
7708 {
7709 $this->status = $status;
7710 }
7711
7712 public function getStatus()
7713 {
7714 return $this->status;
7715 }
7716 }
7717
7718 class Analytify_Google_Service_Games_TurnBasedMatchRematch extends Analytify_Google_Model
7719 {
7720 public $kind;
7721 protected $previousMatchType = 'Analytify_Google_Service_Games_TurnBasedMatch';
7722 protected $previousMatchDataType = '';
7723 protected $rematchType = 'Analytify_Google_Service_Games_TurnBasedMatch';
7724 protected $rematchDataType = '';
7725
7726 public function setKind($kind)
7727 {
7728 $this->kind = $kind;
7729 }
7730
7731 public function getKind()
7732 {
7733 return $this->kind;
7734 }
7735
7736 public function setPreviousMatch(Analytify_Google_Service_Games_TurnBasedMatch $previousMatch)
7737 {
7738 $this->previousMatch = $previousMatch;
7739 }
7740
7741 public function getPreviousMatch()
7742 {
7743 return $this->previousMatch;
7744 }
7745
7746 public function setRematch(Analytify_Google_Service_Games_TurnBasedMatch $rematch)
7747 {
7748 $this->rematch = $rematch;
7749 }
7750
7751 public function getRematch()
7752 {
7753 return $this->rematch;
7754 }
7755 }
7756
7757 class Analytify_Google_Service_Games_TurnBasedMatchResults extends Analytify_Google_Collection
7758 {
7759 protected $dataType = 'Analytify_Google_Service_Games_TurnBasedMatchDataRequest';
7760 protected $dataDataType = '';
7761 public $kind;
7762 public $matchVersion;
7763 protected $resultsType = 'Analytify_Google_Service_Games_ParticipantResult';
7764 protected $resultsDataType = 'array';
7765
7766 public function setData(Analytify_Google_Service_Games_TurnBasedMatchDataRequest $data)
7767 {
7768 $this->data = $data;
7769 }
7770
7771 public function getData()
7772 {
7773 return $this->data;
7774 }
7775
7776 public function setKind($kind)
7777 {
7778 $this->kind = $kind;
7779 }
7780
7781 public function getKind()
7782 {
7783 return $this->kind;
7784 }
7785
7786 public function setMatchVersion($matchVersion)
7787 {
7788 $this->matchVersion = $matchVersion;
7789 }
7790
7791 public function getMatchVersion()
7792 {
7793 return $this->matchVersion;
7794 }
7795
7796 public function setResults($results)
7797 {
7798 $this->results = $results;
7799 }
7800
7801 public function getResults()
7802 {
7803 return $this->results;
7804 }
7805 }
7806
7807 class Analytify_Google_Service_Games_TurnBasedMatchSync extends Analytify_Google_Collection
7808 {
7809 protected $itemsType = 'Analytify_Google_Service_Games_TurnBasedMatch';
7810 protected $itemsDataType = 'array';
7811 public $kind;
7812 public $moreAvailable;
7813 public $nextPageToken;
7814
7815 public function setItems($items)
7816 {
7817 $this->items = $items;
7818 }
7819
7820 public function getItems()
7821 {
7822 return $this->items;
7823 }
7824
7825 public function setKind($kind)
7826 {
7827 $this->kind = $kind;
7828 }
7829
7830 public function getKind()
7831 {
7832 return $this->kind;
7833 }
7834
7835 public function setMoreAvailable($moreAvailable)
7836 {
7837 $this->moreAvailable = $moreAvailable;
7838 }
7839
7840 public function getMoreAvailable()
7841 {
7842 return $this->moreAvailable;
7843 }
7844
7845 public function setNextPageToken($nextPageToken)
7846 {
7847 $this->nextPageToken = $nextPageToken;
7848 }
7849
7850 public function getNextPageToken()
7851 {
7852 return $this->nextPageToken;
7853 }
7854 }
7855
7856 class Analytify_Google_Service_Games_TurnBasedMatchTurn extends Analytify_Google_Collection
7857 {
7858 protected $dataType = 'Analytify_Google_Service_Games_TurnBasedMatchDataRequest';
7859 protected $dataDataType = '';
7860 public $kind;
7861 public $matchVersion;
7862 public $pendingParticipantId;
7863 protected $resultsType = 'Analytify_Google_Service_Games_ParticipantResult';
7864 protected $resultsDataType = 'array';
7865
7866 public function setData(Analytify_Google_Service_Games_TurnBasedMatchDataRequest $data)
7867 {
7868 $this->data = $data;
7869 }
7870
7871 public function getData()
7872 {
7873 return $this->data;
7874 }
7875
7876 public function setKind($kind)
7877 {
7878 $this->kind = $kind;
7879 }
7880
7881 public function getKind()
7882 {
7883 return $this->kind;
7884 }
7885
7886 public function setMatchVersion($matchVersion)
7887 {
7888 $this->matchVersion = $matchVersion;
7889 }
7890
7891 public function getMatchVersion()
7892 {
7893 return $this->matchVersion;
7894 }
7895
7896 public function setPendingParticipantId($pendingParticipantId)
7897 {
7898 $this->pendingParticipantId = $pendingParticipantId;
7899 }
7900
7901 public function getPendingParticipantId()
7902 {
7903 return $this->pendingParticipantId;
7904 }
7905
7906 public function setResults($results)
7907 {
7908 $this->results = $results;
7909 }
7910
7911 public function getResults()
7912 {
7913 return $this->results;
7914 }
7915 }
7916