[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> GamesManagement.php (source)

   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 GamesManagement (v1management).
  20   *
  21   * <p>
  22   * The Management 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 Google_Service_GamesManagement extends Google_Service
  33  {
  34    /** Share your Google+ profile information and view and manage your game activity. */
  35    const GAMES = "https://www.googleapis.com/auth/games";
  36    /** Know your basic profile info and list of people in your circles.. */
  37    const PLUS_LOGIN = "https://www.googleapis.com/auth/plus.login";
  38  
  39    public $achievements;
  40    public $applications;
  41    public $events;
  42    public $players;
  43    public $quests;
  44    public $rooms;
  45    public $scores;
  46    public $turnBasedMatches;
  47    
  48  
  49    /**
  50     * Constructs the internal representation of the GamesManagement service.
  51     *
  52     * @param Google_Client $client
  53     */
  54    public function __construct(Google_Client $client)
  55    {
  56      parent::__construct($client);
  57      $this->servicePath = 'games/v1management/';
  58      $this->version = 'v1management';
  59      $this->serviceName = 'gamesManagement';
  60  
  61      $this->achievements = new Google_Service_GamesManagement_Achievements_Resource(
  62          $this,
  63          $this->serviceName,
  64          'achievements',
  65          array(
  66            'methods' => array(
  67              'reset' => array(
  68                'path' => 'achievements/{achievementId}/reset',
  69                'httpMethod' => 'POST',
  70                'parameters' => array(
  71                  'achievementId' => array(
  72                    'location' => 'path',
  73                    'type' => 'string',
  74                    'required' => true,
  75                  ),
  76                ),
  77              ),'resetAll' => array(
  78                'path' => 'achievements/reset',
  79                'httpMethod' => 'POST',
  80                'parameters' => array(),
  81              ),'resetForAllPlayers' => array(
  82                'path' => 'achievements/{achievementId}/resetForAllPlayers',
  83                'httpMethod' => 'POST',
  84                'parameters' => array(
  85                  'achievementId' => array(
  86                    'location' => 'path',
  87                    'type' => 'string',
  88                    'required' => true,
  89                  ),
  90                ),
  91              ),
  92            )
  93          )
  94      );
  95      $this->applications = new Google_Service_GamesManagement_Applications_Resource(
  96          $this,
  97          $this->serviceName,
  98          'applications',
  99          array(
 100            'methods' => array(
 101              'listHidden' => array(
 102                'path' => 'applications/{applicationId}/players/hidden',
 103                'httpMethod' => 'GET',
 104                'parameters' => array(
 105                  'applicationId' => array(
 106                    'location' => 'path',
 107                    'type' => 'string',
 108                    'required' => true,
 109                  ),
 110                  'pageToken' => array(
 111                    'location' => 'query',
 112                    'type' => 'string',
 113                  ),
 114                  'maxResults' => array(
 115                    'location' => 'query',
 116                    'type' => 'integer',
 117                  ),
 118                ),
 119              ),
 120            )
 121          )
 122      );
 123      $this->events = new Google_Service_GamesManagement_Events_Resource(
 124          $this,
 125          $this->serviceName,
 126          'events',
 127          array(
 128            'methods' => array(
 129              'reset' => array(
 130                'path' => 'events/{eventId}/reset',
 131                'httpMethod' => 'POST',
 132                'parameters' => array(
 133                  'eventId' => array(
 134                    'location' => 'path',
 135                    'type' => 'string',
 136                    'required' => true,
 137                  ),
 138                ),
 139              ),'resetAll' => array(
 140                'path' => 'events/reset',
 141                'httpMethod' => 'POST',
 142                'parameters' => array(),
 143              ),'resetForAllPlayers' => array(
 144                'path' => 'events/{eventId}/resetForAllPlayers',
 145                'httpMethod' => 'POST',
 146                'parameters' => array(
 147                  'eventId' => array(
 148                    'location' => 'path',
 149                    'type' => 'string',
 150                    'required' => true,
 151                  ),
 152                ),
 153              ),
 154            )
 155          )
 156      );
 157      $this->players = new Google_Service_GamesManagement_Players_Resource(
 158          $this,
 159          $this->serviceName,
 160          'players',
 161          array(
 162            'methods' => array(
 163              'hide' => array(
 164                'path' => 'applications/{applicationId}/players/hidden/{playerId}',
 165                'httpMethod' => 'POST',
 166                'parameters' => array(
 167                  'applicationId' => array(
 168                    'location' => 'path',
 169                    'type' => 'string',
 170                    'required' => true,
 171                  ),
 172                  'playerId' => array(
 173                    'location' => 'path',
 174                    'type' => 'string',
 175                    'required' => true,
 176                  ),
 177                ),
 178              ),'unhide' => array(
 179                'path' => 'applications/{applicationId}/players/hidden/{playerId}',
 180                'httpMethod' => 'DELETE',
 181                'parameters' => array(
 182                  'applicationId' => array(
 183                    'location' => 'path',
 184                    'type' => 'string',
 185                    'required' => true,
 186                  ),
 187                  'playerId' => array(
 188                    'location' => 'path',
 189                    'type' => 'string',
 190                    'required' => true,
 191                  ),
 192                ),
 193              ),
 194            )
 195          )
 196      );
 197      $this->quests = new Google_Service_GamesManagement_Quests_Resource(
 198          $this,
 199          $this->serviceName,
 200          'quests',
 201          array(
 202            'methods' => array(
 203              'reset' => array(
 204                'path' => 'quests/{questId}/reset',
 205                'httpMethod' => 'POST',
 206                'parameters' => array(
 207                  'questId' => array(
 208                    'location' => 'path',
 209                    'type' => 'string',
 210                    'required' => true,
 211                  ),
 212                ),
 213              ),
 214            )
 215          )
 216      );
 217      $this->rooms = new Google_Service_GamesManagement_Rooms_Resource(
 218          $this,
 219          $this->serviceName,
 220          'rooms',
 221          array(
 222            'methods' => array(
 223              'reset' => array(
 224                'path' => 'rooms/reset',
 225                'httpMethod' => 'POST',
 226                'parameters' => array(),
 227              ),
 228            )
 229          )
 230      );
 231      $this->scores = new Google_Service_GamesManagement_Scores_Resource(
 232          $this,
 233          $this->serviceName,
 234          'scores',
 235          array(
 236            'methods' => array(
 237              'reset' => array(
 238                'path' => 'leaderboards/{leaderboardId}/scores/reset',
 239                'httpMethod' => 'POST',
 240                'parameters' => array(
 241                  'leaderboardId' => array(
 242                    'location' => 'path',
 243                    'type' => 'string',
 244                    'required' => true,
 245                  ),
 246                ),
 247              ),'resetForAllPlayers' => array(
 248                'path' => 'leaderboards/{leaderboardId}/scores/resetForAllPlayers',
 249                'httpMethod' => 'POST',
 250                'parameters' => array(
 251                  'leaderboardId' => array(
 252                    'location' => 'path',
 253                    'type' => 'string',
 254                    'required' => true,
 255                  ),
 256                ),
 257              ),
 258            )
 259          )
 260      );
 261      $this->turnBasedMatches = new Google_Service_GamesManagement_TurnBasedMatches_Resource(
 262          $this,
 263          $this->serviceName,
 264          'turnBasedMatches',
 265          array(
 266            'methods' => array(
 267              'reset' => array(
 268                'path' => 'turnbasedmatches/reset',
 269                'httpMethod' => 'POST',
 270                'parameters' => array(),
 271              ),
 272            )
 273          )
 274      );
 275    }
 276  }
 277  
 278  
 279  /**
 280   * The "achievements" collection of methods.
 281   * Typical usage is:
 282   *  <code>
 283   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 284   *   $achievements = $gamesManagementService->achievements;
 285   *  </code>
 286   */
 287  class Google_Service_GamesManagement_Achievements_Resource extends Google_Service_Resource
 288  {
 289  
 290    /**
 291     * Resets the achievement with the given ID for the currently authenticated
 292     * player. This method is only accessible to whitelisted tester accounts for
 293     * your application. (achievements.reset)
 294     *
 295     * @param string $achievementId
 296     * The ID of the achievement used by this method.
 297     * @param array $optParams Optional parameters.
 298     * @return Google_Service_GamesManagement_AchievementResetResponse
 299     */
 300    public function reset($achievementId, $optParams = array())
 301    {
 302      $params = array('achievementId' => $achievementId);
 303      $params = array_merge($params, $optParams);
 304      return $this->call('reset', array($params), "Google_Service_GamesManagement_AchievementResetResponse");
 305    }
 306    /**
 307     * Resets all achievements for the currently authenticated player for your
 308     * application. This method is only accessible to whitelisted tester accounts
 309     * for your application. (achievements.resetAll)
 310     *
 311     * @param array $optParams Optional parameters.
 312     * @return Google_Service_GamesManagement_AchievementResetAllResponse
 313     */
 314    public function resetAll($optParams = array())
 315    {
 316      $params = array();
 317      $params = array_merge($params, $optParams);
 318      return $this->call('resetAll', array($params), "Google_Service_GamesManagement_AchievementResetAllResponse");
 319    }
 320    /**
 321     * Resets the achievement with the given ID for the all players. This method is
 322     * only available to user accounts for your developer console. Only draft
 323     * achievements can be reset. (achievements.resetForAllPlayers)
 324     *
 325     * @param string $achievementId
 326     * The ID of the achievement used by this method.
 327     * @param array $optParams Optional parameters.
 328     */
 329    public function resetForAllPlayers($achievementId, $optParams = array())
 330    {
 331      $params = array('achievementId' => $achievementId);
 332      $params = array_merge($params, $optParams);
 333      return $this->call('resetForAllPlayers', array($params));
 334    }
 335  }
 336  
 337  /**
 338   * The "applications" collection of methods.
 339   * Typical usage is:
 340   *  <code>
 341   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 342   *   $applications = $gamesManagementService->applications;
 343   *  </code>
 344   */
 345  class Google_Service_GamesManagement_Applications_Resource extends Google_Service_Resource
 346  {
 347  
 348    /**
 349     * Get the list of players hidden from the given application. This method is
 350     * only available to user accounts for your developer console.
 351     * (applications.listHidden)
 352     *
 353     * @param string $applicationId
 354     * The application being requested.
 355     * @param array $optParams Optional parameters.
 356     *
 357     * @opt_param string pageToken
 358     * The token returned by the previous request.
 359     * @opt_param int maxResults
 360     * The maximum number of player resources to return in the response, used for paging. For any
 361      * response, the actual number of player resources returned may be less than the specified
 362      * maxResults.
 363     * @return Google_Service_GamesManagement_HiddenPlayerList
 364     */
 365    public function listHidden($applicationId, $optParams = array())
 366    {
 367      $params = array('applicationId' => $applicationId);
 368      $params = array_merge($params, $optParams);
 369      return $this->call('listHidden', array($params), "Google_Service_GamesManagement_HiddenPlayerList");
 370    }
 371  }
 372  
 373  /**
 374   * The "events" collection of methods.
 375   * Typical usage is:
 376   *  <code>
 377   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 378   *   $events = $gamesManagementService->events;
 379   *  </code>
 380   */
 381  class Google_Service_GamesManagement_Events_Resource extends Google_Service_Resource
 382  {
 383  
 384    /**
 385     * Reset all player progress on the event for the currently authenticated
 386     * player. This method is only accessible to whitelisted tester accounts for
 387     * your application. All resources that use the event will also be reset.
 388     * (events.reset)
 389     *
 390     * @param string $eventId
 391     * The ID of the event.
 392     * @param array $optParams Optional parameters.
 393     */
 394    public function reset($eventId, $optParams = array())
 395    {
 396      $params = array('eventId' => $eventId);
 397      $params = array_merge($params, $optParams);
 398      return $this->call('reset', array($params));
 399    }
 400    /**
 401     * Reset all player progress on all unpublished events for the currently
 402     * authenticated player. This method is only accessible to whitelisted tester
 403     * accounts for your application. All resources that use the events will also be
 404     * reset. (events.resetAll)
 405     *
 406     * @param array $optParams Optional parameters.
 407     */
 408    public function resetAll($optParams = array())
 409    {
 410      $params = array();
 411      $params = array_merge($params, $optParams);
 412      return $this->call('resetAll', array($params));
 413    }
 414    /**
 415     * Reset all player progress on the event for all players. This method is only
 416     * available to user accounts for your developer console. Only draft events can
 417     * be reset. All resources that use the event will also be reset.
 418     * (events.resetForAllPlayers)
 419     *
 420     * @param string $eventId
 421     * The ID of the event.
 422     * @param array $optParams Optional parameters.
 423     */
 424    public function resetForAllPlayers($eventId, $optParams = array())
 425    {
 426      $params = array('eventId' => $eventId);
 427      $params = array_merge($params, $optParams);
 428      return $this->call('resetForAllPlayers', array($params));
 429    }
 430  }
 431  
 432  /**
 433   * The "players" collection of methods.
 434   * Typical usage is:
 435   *  <code>
 436   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 437   *   $players = $gamesManagementService->players;
 438   *  </code>
 439   */
 440  class Google_Service_GamesManagement_Players_Resource extends Google_Service_Resource
 441  {
 442  
 443    /**
 444     * Hide the given player's leaderboard scores from the given application. This
 445     * method is only available to user accounts for your developer console.
 446     * (players.hide)
 447     *
 448     * @param string $applicationId
 449     * The application being requested.
 450     * @param string $playerId
 451     * A player ID. A value of me may be used in place of the authenticated player's ID.
 452     * @param array $optParams Optional parameters.
 453     */
 454    public function hide($applicationId, $playerId, $optParams = array())
 455    {
 456      $params = array('applicationId' => $applicationId, 'playerId' => $playerId);
 457      $params = array_merge($params, $optParams);
 458      return $this->call('hide', array($params));
 459    }
 460    /**
 461     * Unhide the given player's leaderboard scores from the given application. This
 462     * method is only available to user accounts for your developer console.
 463     * (players.unhide)
 464     *
 465     * @param string $applicationId
 466     * The application being requested.
 467     * @param string $playerId
 468     * A player ID. A value of me may be used in place of the authenticated player's ID.
 469     * @param array $optParams Optional parameters.
 470     */
 471    public function unhide($applicationId, $playerId, $optParams = array())
 472    {
 473      $params = array('applicationId' => $applicationId, 'playerId' => $playerId);
 474      $params = array_merge($params, $optParams);
 475      return $this->call('unhide', array($params));
 476    }
 477  }
 478  
 479  /**
 480   * The "quests" collection of methods.
 481   * Typical usage is:
 482   *  <code>
 483   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 484   *   $quests = $gamesManagementService->quests;
 485   *  </code>
 486   */
 487  class Google_Service_GamesManagement_Quests_Resource extends Google_Service_Resource
 488  {
 489  
 490    /**
 491     * Reset all player progress on the quest for the currently authenticated
 492     * player. This method is only accessible to whitelisted tester accounts for
 493     * your application. (quests.reset)
 494     *
 495     * @param string $questId
 496     * The ID of the quest.
 497     * @param array $optParams Optional parameters.
 498     */
 499    public function reset($questId, $optParams = array())
 500    {
 501      $params = array('questId' => $questId);
 502      $params = array_merge($params, $optParams);
 503      return $this->call('reset', array($params));
 504    }
 505  }
 506  
 507  /**
 508   * The "rooms" collection of methods.
 509   * Typical usage is:
 510   *  <code>
 511   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 512   *   $rooms = $gamesManagementService->rooms;
 513   *  </code>
 514   */
 515  class Google_Service_GamesManagement_Rooms_Resource extends Google_Service_Resource
 516  {
 517  
 518    /**
 519     * Reset all rooms for the currently authenticated player for your application.
 520     * This method is only accessible to whitelisted tester accounts for your
 521     * application. (rooms.reset)
 522     *
 523     * @param array $optParams Optional parameters.
 524     */
 525    public function reset($optParams = array())
 526    {
 527      $params = array();
 528      $params = array_merge($params, $optParams);
 529      return $this->call('reset', array($params));
 530    }
 531  }
 532  
 533  /**
 534   * The "scores" collection of methods.
 535   * Typical usage is:
 536   *  <code>
 537   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 538   *   $scores = $gamesManagementService->scores;
 539   *  </code>
 540   */
 541  class Google_Service_GamesManagement_Scores_Resource extends Google_Service_Resource
 542  {
 543  
 544    /**
 545     * Reset scores for the specified leaderboard for the currently authenticated
 546     * player. This method is only accessible to whitelisted tester accounts for
 547     * your application. (scores.reset)
 548     *
 549     * @param string $leaderboardId
 550     * The ID of the leaderboard.
 551     * @param array $optParams Optional parameters.
 552     * @return Google_Service_GamesManagement_PlayerScoreResetResponse
 553     */
 554    public function reset($leaderboardId, $optParams = array())
 555    {
 556      $params = array('leaderboardId' => $leaderboardId);
 557      $params = array_merge($params, $optParams);
 558      return $this->call('reset', array($params), "Google_Service_GamesManagement_PlayerScoreResetResponse");
 559    }
 560    /**
 561     * Reset scores for the specified leaderboard for all players. This method is
 562     * only available to user accounts for your developer console. Only draft
 563     * leaderboards can be reset. (scores.resetForAllPlayers)
 564     *
 565     * @param string $leaderboardId
 566     * The ID of the leaderboard.
 567     * @param array $optParams Optional parameters.
 568     */
 569    public function resetForAllPlayers($leaderboardId, $optParams = array())
 570    {
 571      $params = array('leaderboardId' => $leaderboardId);
 572      $params = array_merge($params, $optParams);
 573      return $this->call('resetForAllPlayers', array($params));
 574    }
 575  }
 576  
 577  /**
 578   * The "turnBasedMatches" collection of methods.
 579   * Typical usage is:
 580   *  <code>
 581   *   $gamesManagementService = new Google_Service_GamesManagement(...);
 582   *   $turnBasedMatches = $gamesManagementService->turnBasedMatches;
 583   *  </code>
 584   */
 585  class Google_Service_GamesManagement_TurnBasedMatches_Resource extends Google_Service_Resource
 586  {
 587  
 588    /**
 589     * Reset all turn-based match data for a user. This method is only accessible to
 590     * whitelisted tester accounts for your application. (turnBasedMatches.reset)
 591     *
 592     * @param array $optParams Optional parameters.
 593     */
 594    public function reset($optParams = array())
 595    {
 596      $params = array();
 597      $params = array_merge($params, $optParams);
 598      return $this->call('reset', array($params));
 599    }
 600  }
 601  
 602  
 603  
 604  
 605  class Google_Service_GamesManagement_AchievementResetAllResponse extends Google_Collection
 606  {
 607    protected $collection_key = 'results';
 608    public $kind;
 609    protected $resultsType = 'Google_Service_GamesManagement_AchievementResetResponse';
 610    protected $resultsDataType = 'array';
 611  
 612    public function setKind($kind)
 613    {
 614      $this->kind = $kind;
 615    }
 616  
 617    public function getKind()
 618    {
 619      return $this->kind;
 620    }
 621  
 622    public function setResults($results)
 623    {
 624      $this->results = $results;
 625    }
 626  
 627    public function getResults()
 628    {
 629      return $this->results;
 630    }
 631  }
 632  
 633  class Google_Service_GamesManagement_AchievementResetResponse extends Google_Model
 634  {
 635    public $currentState;
 636    public $definitionId;
 637    public $kind;
 638    public $updateOccurred;
 639  
 640    public function setCurrentState($currentState)
 641    {
 642      $this->currentState = $currentState;
 643    }
 644  
 645    public function getCurrentState()
 646    {
 647      return $this->currentState;
 648    }
 649  
 650    public function setDefinitionId($definitionId)
 651    {
 652      $this->definitionId = $definitionId;
 653    }
 654  
 655    public function getDefinitionId()
 656    {
 657      return $this->definitionId;
 658    }
 659  
 660    public function setKind($kind)
 661    {
 662      $this->kind = $kind;
 663    }
 664  
 665    public function getKind()
 666    {
 667      return $this->kind;
 668    }
 669  
 670    public function setUpdateOccurred($updateOccurred)
 671    {
 672      $this->updateOccurred = $updateOccurred;
 673    }
 674  
 675    public function getUpdateOccurred()
 676    {
 677      return $this->updateOccurred;
 678    }
 679  }
 680  
 681  class Google_Service_GamesManagement_GamesPlayedResource extends Google_Model
 682  {
 683    public $autoMatched;
 684    public $timeMillis;
 685  
 686    public function setAutoMatched($autoMatched)
 687    {
 688      $this->autoMatched = $autoMatched;
 689    }
 690  
 691    public function getAutoMatched()
 692    {
 693      return $this->autoMatched;
 694    }
 695  
 696    public function setTimeMillis($timeMillis)
 697    {
 698      $this->timeMillis = $timeMillis;
 699    }
 700  
 701    public function getTimeMillis()
 702    {
 703      return $this->timeMillis;
 704    }
 705  }
 706  
 707  class Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Google_Model
 708  {
 709    public $currentExperiencePoints;
 710    protected $currentLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
 711    protected $currentLevelDataType = '';
 712    public $lastLevelUpTimestampMillis;
 713    protected $nextLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
 714    protected $nextLevelDataType = '';
 715  
 716    public function setCurrentExperiencePoints($currentExperiencePoints)
 717    {
 718      $this->currentExperiencePoints = $currentExperiencePoints;
 719    }
 720  
 721    public function getCurrentExperiencePoints()
 722    {
 723      return $this->currentExperiencePoints;
 724    }
 725  
 726    public function setCurrentLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel)
 727    {
 728      $this->currentLevel = $currentLevel;
 729    }
 730  
 731    public function getCurrentLevel()
 732    {
 733      return $this->currentLevel;
 734    }
 735  
 736    public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
 737    {
 738      $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
 739    }
 740  
 741    public function getLastLevelUpTimestampMillis()
 742    {
 743      return $this->lastLevelUpTimestampMillis;
 744    }
 745  
 746    public function setNextLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel)
 747    {
 748      $this->nextLevel = $nextLevel;
 749    }
 750  
 751    public function getNextLevel()
 752    {
 753      return $this->nextLevel;
 754    }
 755  }
 756  
 757  class Google_Service_GamesManagement_GamesPlayerLevelResource extends Google_Model
 758  {
 759    public $level;
 760    public $maxExperiencePoints;
 761    public $minExperiencePoints;
 762  
 763    public function setLevel($level)
 764    {
 765      $this->level = $level;
 766    }
 767  
 768    public function getLevel()
 769    {
 770      return $this->level;
 771    }
 772  
 773    public function setMaxExperiencePoints($maxExperiencePoints)
 774    {
 775      $this->maxExperiencePoints = $maxExperiencePoints;
 776    }
 777  
 778    public function getMaxExperiencePoints()
 779    {
 780      return $this->maxExperiencePoints;
 781    }
 782  
 783    public function setMinExperiencePoints($minExperiencePoints)
 784    {
 785      $this->minExperiencePoints = $minExperiencePoints;
 786    }
 787  
 788    public function getMinExperiencePoints()
 789    {
 790      return $this->minExperiencePoints;
 791    }
 792  }
 793  
 794  class Google_Service_GamesManagement_HiddenPlayer extends Google_Model
 795  {
 796    public $hiddenTimeMillis;
 797    public $kind;
 798    protected $playerType = 'Google_Service_GamesManagement_Player';
 799    protected $playerDataType = '';
 800  
 801    public function setHiddenTimeMillis($hiddenTimeMillis)
 802    {
 803      $this->hiddenTimeMillis = $hiddenTimeMillis;
 804    }
 805  
 806    public function getHiddenTimeMillis()
 807    {
 808      return $this->hiddenTimeMillis;
 809    }
 810  
 811    public function setKind($kind)
 812    {
 813      $this->kind = $kind;
 814    }
 815  
 816    public function getKind()
 817    {
 818      return $this->kind;
 819    }
 820  
 821    public function setPlayer(Google_Service_GamesManagement_Player $player)
 822    {
 823      $this->player = $player;
 824    }
 825  
 826    public function getPlayer()
 827    {
 828      return $this->player;
 829    }
 830  }
 831  
 832  class Google_Service_GamesManagement_HiddenPlayerList extends Google_Collection
 833  {
 834    protected $collection_key = 'items';
 835    protected $itemsType = 'Google_Service_GamesManagement_HiddenPlayer';
 836    protected $itemsDataType = 'array';
 837    public $kind;
 838    public $nextPageToken;
 839  
 840    public function setItems($items)
 841    {
 842      $this->items = $items;
 843    }
 844  
 845    public function getItems()
 846    {
 847      return $this->items;
 848    }
 849  
 850    public function setKind($kind)
 851    {
 852      $this->kind = $kind;
 853    }
 854  
 855    public function getKind()
 856    {
 857      return $this->kind;
 858    }
 859  
 860    public function setNextPageToken($nextPageToken)
 861    {
 862      $this->nextPageToken = $nextPageToken;
 863    }
 864  
 865    public function getNextPageToken()
 866    {
 867      return $this->nextPageToken;
 868    }
 869  }
 870  
 871  class Google_Service_GamesManagement_Player extends Google_Model
 872  {
 873    public $avatarImageUrl;
 874    public $displayName;
 875    protected $experienceInfoType = 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource';
 876    protected $experienceInfoDataType = '';
 877    public $kind;
 878    protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource';
 879    protected $lastPlayedWithDataType = '';
 880    protected $nameType = 'Google_Service_GamesManagement_PlayerName';
 881    protected $nameDataType = '';
 882    public $playerId;
 883    public $title;
 884  
 885    public function setAvatarImageUrl($avatarImageUrl)
 886    {
 887      $this->avatarImageUrl = $avatarImageUrl;
 888    }
 889  
 890    public function getAvatarImageUrl()
 891    {
 892      return $this->avatarImageUrl;
 893    }
 894  
 895    public function setDisplayName($displayName)
 896    {
 897      $this->displayName = $displayName;
 898    }
 899  
 900    public function getDisplayName()
 901    {
 902      return $this->displayName;
 903    }
 904  
 905    public function setExperienceInfo(Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo)
 906    {
 907      $this->experienceInfo = $experienceInfo;
 908    }
 909  
 910    public function getExperienceInfo()
 911    {
 912      return $this->experienceInfo;
 913    }
 914  
 915    public function setKind($kind)
 916    {
 917      $this->kind = $kind;
 918    }
 919  
 920    public function getKind()
 921    {
 922      return $this->kind;
 923    }
 924  
 925    public function setLastPlayedWith(Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith)
 926    {
 927      $this->lastPlayedWith = $lastPlayedWith;
 928    }
 929  
 930    public function getLastPlayedWith()
 931    {
 932      return $this->lastPlayedWith;
 933    }
 934  
 935    public function setName(Google_Service_GamesManagement_PlayerName $name)
 936    {
 937      $this->name = $name;
 938    }
 939  
 940    public function getName()
 941    {
 942      return $this->name;
 943    }
 944  
 945    public function setPlayerId($playerId)
 946    {
 947      $this->playerId = $playerId;
 948    }
 949  
 950    public function getPlayerId()
 951    {
 952      return $this->playerId;
 953    }
 954  
 955    public function setTitle($title)
 956    {
 957      $this->title = $title;
 958    }
 959  
 960    public function getTitle()
 961    {
 962      return $this->title;
 963    }
 964  }
 965  
 966  class Google_Service_GamesManagement_PlayerName extends Google_Model
 967  {
 968    public $familyName;
 969    public $givenName;
 970  
 971    public function setFamilyName($familyName)
 972    {
 973      $this->familyName = $familyName;
 974    }
 975  
 976    public function getFamilyName()
 977    {
 978      return $this->familyName;
 979    }
 980  
 981    public function setGivenName($givenName)
 982    {
 983      $this->givenName = $givenName;
 984    }
 985  
 986    public function getGivenName()
 987    {
 988      return $this->givenName;
 989    }
 990  }
 991  
 992  class Google_Service_GamesManagement_PlayerScoreResetResponse extends Google_Collection
 993  {
 994    protected $collection_key = 'resetScoreTimeSpans';
 995    public $kind;
 996    public $resetScoreTimeSpans;
 997  
 998    public function setKind($kind)
 999    {
1000      $this->kind = $kind;
1001    }
1002  
1003    public function getKind()
1004    {
1005      return $this->kind;
1006    }
1007  
1008    public function setResetScoreTimeSpans($resetScoreTimeSpans)
1009    {
1010      $this->resetScoreTimeSpans = $resetScoreTimeSpans;
1011    }
1012  
1013    public function getResetScoreTimeSpans()
1014    {
1015      return $this->resetScoreTimeSpans;
1016    }
1017  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1