1<?php 2/* 3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 4 * use this file except in compliance with the License. You may obtain a copy of 5 * the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 * License for the specific language governing permissions and limitations under 13 * the License. 14 */ 15 16 17 /** 18 * The "achievementDefinitions" collection of methods. 19 * Typical usage is: 20 * <code> 21 * $gamesService = new Google_GamesService(...); 22 * $achievementDefinitions = $gamesService->achievementDefinitions; 23 * </code> 24 */ 25 class Google_AchievementDefinitionsServiceResource extends Google_ServiceResource { 26 27 /** 28 * Lists all the achievement definitions for your application. (achievementDefinitions.list) 29 * 30 * @param array $optParams Optional parameters. 31 * 32 * @opt_param string language The preferred language to use for strings returned by this method. 33 * @opt_param int maxResults The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified maxResults. 34 * @opt_param string pageToken The token returned by the previous request. 35 * @return Google_AchievementDefinitionsListResponse 36 */ 37 public function listAchievementDefinitions($optParams = array()) { 38 $params = array(); 39 $params = array_merge($params, $optParams); 40 $data = $this->__call('list', array($params)); 41 if ($this->useObjects()) { 42 return new Google_AchievementDefinitionsListResponse($data); 43 } else { 44 return $data; 45 } 46 } 47 } 48 49 /** 50 * The "achievements" collection of methods. 51 * Typical usage is: 52 * <code> 53 * $gamesService = new Google_GamesService(...); 54 * $achievements = $gamesService->achievements; 55 * </code> 56 */ 57 class Google_AchievementsServiceResource extends Google_ServiceResource { 58 59 /** 60 * Increments the steps of the achievement with the given ID for the currently authenticated player. 61 * (achievements.increment) 62 * 63 * @param string $achievementId The ID of the achievement used by this method. 64 * @param int $stepsToIncrement The number of steps to increment. 65 * @param array $optParams Optional parameters. 66 * 67 * @opt_param string requestId A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the increment is performed correctly across retries. 68 * @return Google_AchievementIncrementResponse 69 */ 70 public function increment($achievementId, $stepsToIncrement, $optParams = array()) { 71 $params = array('achievementId' => $achievementId, 'stepsToIncrement' => $stepsToIncrement); 72 $params = array_merge($params, $optParams); 73 $data = $this->__call('increment', array($params)); 74 if ($this->useObjects()) { 75 return new Google_AchievementIncrementResponse($data); 76 } else { 77 return $data; 78 } 79 } 80 /** 81 * Lists the progress for all your application's achievements for the currently authenticated 82 * player. (achievements.list) 83 * 84 * @param string $playerId A player ID. A value of me may be used in place of the authenticated player's ID. 85 * @param array $optParams Optional parameters. 86 * 87 * @opt_param string language The preferred language to use for strings returned by this method. 88 * @opt_param int maxResults The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified maxResults. 89 * @opt_param string pageToken The token returned by the previous request. 90 * @opt_param string state Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned. 91 * @return Google_PlayerAchievementListResponse 92 */ 93 public function listAchievements($playerId, $optParams = array()) { 94 $params = array('playerId' => $playerId); 95 $params = array_merge($params, $optParams); 96 $data = $this->__call('list', array($params)); 97 if ($this->useObjects()) { 98 return new Google_PlayerAchievementListResponse($data); 99 } else { 100 return $data; 101 } 102 } 103 /** 104 * Sets the state of the achievement with the given ID to REVEALED for the currently authenticated 105 * player. (achievements.reveal) 106 * 107 * @param string $achievementId The ID of the achievement used by this method. 108 * @param array $optParams Optional parameters. 109 * @return Google_AchievementRevealResponse 110 */ 111 public function reveal($achievementId, $optParams = array()) { 112 $params = array('achievementId' => $achievementId); 113 $params = array_merge($params, $optParams); 114 $data = $this->__call('reveal', array($params)); 115 if ($this->useObjects()) { 116 return new Google_AchievementRevealResponse($data); 117 } else { 118 return $data; 119 } 120 } 121 /** 122 * Unlocks this achievement for the currently authenticated player. (achievements.unlock) 123 * 124 * @param string $achievementId The ID of the achievement used by this method. 125 * @param array $optParams Optional parameters. 126 * @return Google_AchievementUnlockResponse 127 */ 128 public function unlock($achievementId, $optParams = array()) { 129 $params = array('achievementId' => $achievementId); 130 $params = array_merge($params, $optParams); 131 $data = $this->__call('unlock', array($params)); 132 if ($this->useObjects()) { 133 return new Google_AchievementUnlockResponse($data); 134 } else { 135 return $data; 136 } 137 } 138 } 139 140 /** 141 * The "applications" collection of methods. 142 * Typical usage is: 143 * <code> 144 * $gamesService = new Google_GamesService(...); 145 * $applications = $gamesService->applications; 146 * </code> 147 */ 148 class Google_ApplicationsServiceResource extends Google_ServiceResource { 149 150 /** 151 * Retrieves the metadata of the application with the given ID. If the requested application is not 152 * available for the specified platformType, the returned response will not include any instance 153 * data. (applications.get) 154 * 155 * @param string $applicationId The application being requested. 156 * @param array $optParams Optional parameters. 157 * 158 * @opt_param string language The preferred language to use for strings returned by this method. 159 * @opt_param string platformType Restrict application details returned to the specific platform. 160 * @return Google_Application 161 */ 162 public function get($applicationId, $optParams = array()) { 163 $params = array('applicationId' => $applicationId); 164 $params = array_merge($params, $optParams); 165 $data = $this->__call('get', array($params)); 166 if ($this->useObjects()) { 167 return new Google_Application($data); 168 } else { 169 return $data; 170 } 171 } 172 /** 173 * Indicate that the the currently authenticated user is playing your application. 174 * (applications.played) 175 * 176 * @param array $optParams Optional parameters. 177 */ 178 public function played($optParams = array()) { 179 $params = array(); 180 $params = array_merge($params, $optParams); 181 $data = $this->__call('played', array($params)); 182 return $data; 183 } 184 } 185 186 /** 187 * The "leaderboards" collection of methods. 188 * Typical usage is: 189 * <code> 190 * $gamesService = new Google_GamesService(...); 191 * $leaderboards = $gamesService->leaderboards; 192 * </code> 193 */ 194 class Google_LeaderboardsServiceResource extends Google_ServiceResource { 195 196 /** 197 * Retrieves the metadata of the leaderboard with the given ID. (leaderboards.get) 198 * 199 * @param string $leaderboardId The ID of the leaderboard. 200 * @param array $optParams Optional parameters. 201 * 202 * @opt_param string language The preferred language to use for strings returned by this method. 203 * @return Google_Leaderboard 204 */ 205 public function get($leaderboardId, $optParams = array()) { 206 $params = array('leaderboardId' => $leaderboardId); 207 $params = array_merge($params, $optParams); 208 $data = $this->__call('get', array($params)); 209 if ($this->useObjects()) { 210 return new Google_Leaderboard($data); 211 } else { 212 return $data; 213 } 214 } 215 /** 216 * Lists all the leaderboard metadata for your application. (leaderboards.list) 217 * 218 * @param array $optParams Optional parameters. 219 * 220 * @opt_param string language The preferred language to use for strings returned by this method. 221 * @opt_param int maxResults The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the specified maxResults. 222 * @opt_param string pageToken The token returned by the previous request. 223 * @return Google_LeaderboardListResponse 224 */ 225 public function listLeaderboards($optParams = array()) { 226 $params = array(); 227 $params = array_merge($params, $optParams); 228 $data = $this->__call('list', array($params)); 229 if ($this->useObjects()) { 230 return new Google_LeaderboardListResponse($data); 231 } else { 232 return $data; 233 } 234 } 235 } 236 237 /** 238 * The "players" collection of methods. 239 * Typical usage is: 240 * <code> 241 * $gamesService = new Google_GamesService(...); 242 * $players = $gamesService->players; 243 * </code> 244 */ 245 class Google_PlayersServiceResource extends Google_ServiceResource { 246 247 /** 248 * Retrieves the Player resource with the given ID. To retrieve the player for the currently 249 * authenticated user, set playerId to me. (players.get) 250 * 251 * @param string $playerId A player ID. A value of me may be used in place of the authenticated player's ID. 252 * @param array $optParams Optional parameters. 253 * @return Google_Player 254 */ 255 public function get($playerId, $optParams = array()) { 256 $params = array('playerId' => $playerId); 257 $params = array_merge($params, $optParams); 258 $data = $this->__call('get', array($params)); 259 if ($this->useObjects()) { 260 return new Google_Player($data); 261 } else { 262 return $data; 263 } 264 } 265 } 266 267 /** 268 * The "revisions" collection of methods. 269 * Typical usage is: 270 * <code> 271 * $gamesService = new Google_GamesService(...); 272 * $revisions = $gamesService->revisions; 273 * </code> 274 */ 275 class Google_RevisionsServiceResource extends Google_ServiceResource { 276 277 /** 278 * Checks whether the games client is out of date. (revisions.check) 279 * 280 * @param string $clientRevision The revision of the client SDK used by your application. 281 * @param array $optParams Optional parameters. 282 * @return Google_RevisionCheckResponse 283 */ 284 public function check($clientRevision, $optParams = array()) { 285 $params = array('clientRevision' => $clientRevision); 286 $params = array_merge($params, $optParams); 287 $data = $this->__call('check', array($params)); 288 if ($this->useObjects()) { 289 return new Google_RevisionCheckResponse($data); 290 } else { 291 return $data; 292 } 293 } 294 } 295 296 /** 297 * The "rooms" collection of methods. 298 * Typical usage is: 299 * <code> 300 * $gamesService = new Google_GamesService(...); 301 * $rooms = $gamesService->rooms; 302 * </code> 303 */ 304 class Google_RoomsServiceResource extends Google_ServiceResource { 305 306 /** 307 * Create a room. For internal use by the Games SDK only. Calling this method directly is 308 * unsupported. (rooms.create) 309 * 310 * @param Google_RoomCreateRequest $postBody 311 * @param array $optParams Optional parameters. 312 * 313 * @opt_param string language The preferred language to use for strings returned by this method. 314 * @return Google_Room 315 */ 316 public function create(Google_RoomCreateRequest $postBody, $optParams = array()) { 317 $params = array('postBody' => $postBody); 318 $params = array_merge($params, $optParams); 319 $data = $this->__call('create', array($params)); 320 if ($this->useObjects()) { 321 return new Google_Room($data); 322 } else { 323 return $data; 324 } 325 } 326 /** 327 * Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method 328 * directly is unsupported. (rooms.decline) 329 * 330 * @param string $roomId The ID of the room. 331 * @param array $optParams Optional parameters. 332 * @return Google_Room 333 */ 334 public function decline($roomId, $optParams = array()) { 335 $params = array('roomId' => $roomId); 336 $params = array_merge($params, $optParams); 337 $data = $this->__call('decline', array($params)); 338 if ($this->useObjects()) { 339 return new Google_Room($data); 340 } else { 341 return $data; 342 } 343 } 344 /** 345 * Dismiss an invitation to join a room. For internal use by the Games SDK only. Calling this method 346 * directly is unsupported. (rooms.dismiss) 347 * 348 * @param string $roomId The ID of the room. 349 * @param array $optParams Optional parameters. 350 */ 351 public function dismiss($roomId, $optParams = array()) { 352 $params = array('roomId' => $roomId); 353 $params = array_merge($params, $optParams); 354 $data = $this->__call('dismiss', array($params)); 355 return $data; 356 } 357 /** 358 * Get the data for a room. (rooms.get) 359 * 360 * @param string $roomId The ID of the room. 361 * @param array $optParams Optional parameters. 362 * 363 * @opt_param string language Specify the preferred language to use to format room info. 364 * @return Google_Room 365 */ 366 public function get($roomId, $optParams = array()) { 367 $params = array('roomId' => $roomId); 368 $params = array_merge($params, $optParams); 369 $data = $this->__call('get', array($params)); 370 if ($this->useObjects()) { 371 return new Google_Room($data); 372 } else { 373 return $data; 374 } 375 } 376 /** 377 * Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported. 378 * (rooms.join) 379 * 380 * @param string $roomId The ID of the room. 381 * @param Google_RoomJoinRequest $postBody 382 * @param array $optParams Optional parameters. 383 * @return Google_Room 384 */ 385 public function join($roomId, Google_RoomJoinRequest $postBody, $optParams = array()) { 386 $params = array('roomId' => $roomId, 'postBody' => $postBody); 387 $params = array_merge($params, $optParams); 388 $data = $this->__call('join', array($params)); 389 if ($this->useObjects()) { 390 return new Google_Room($data); 391 } else { 392 return $data; 393 } 394 } 395 /** 396 * Leave a room. For internal use by the Games SDK only. Calling this method directly is 397 * unsupported. (rooms.leave) 398 * 399 * @param string $roomId The ID of the room. 400 * @param Google_RoomLeaveRequest $postBody 401 * @param array $optParams Optional parameters. 402 * @return Google_Room 403 */ 404 public function leave($roomId, Google_RoomLeaveRequest $postBody, $optParams = array()) { 405 $params = array('roomId' => $roomId, 'postBody' => $postBody); 406 $params = array_merge($params, $optParams); 407 $data = $this->__call('leave', array($params)); 408 if ($this->useObjects()) { 409 return new Google_Room($data); 410 } else { 411 return $data; 412 } 413 } 414 /** 415 * Returns invitations to join rooms. (rooms.list) 416 * 417 * @param array $optParams Optional parameters. 418 * 419 * @opt_param string language The preferred language to use for strings returned by this method. 420 * @opt_param int maxResults The maximum number of rooms to return in the response, used for paging. For any response, the actual number of rooms to return may be less than the specified maxResults. 421 * @opt_param string pageToken The token returned by the previous request. 422 * @return Google_RoomList 423 */ 424 public function listRooms($optParams = array()) { 425 $params = array(); 426 $params = array_merge($params, $optParams); 427 $data = $this->__call('list', array($params)); 428 if ($this->useObjects()) { 429 return new Google_RoomList($data); 430 } else { 431 return $data; 432 } 433 } 434 /** 435 * Updates sent by a client reporting the status of peers in a room. For internal use by the Games 436 * SDK only. Calling this method directly is unsupported. (rooms.reportStatus) 437 * 438 * @param string $roomId The ID of the room. 439 * @param Google_RoomP2PStatuses $postBody 440 * @param array $optParams Optional parameters. 441 * @return Google_RoomStatus 442 */ 443 public function reportStatus($roomId, Google_RoomP2PStatuses $postBody, $optParams = array()) { 444 $params = array('roomId' => $roomId, 'postBody' => $postBody); 445 $params = array_merge($params, $optParams); 446 $data = $this->__call('reportStatus', array($params)); 447 if ($this->useObjects()) { 448 return new Google_RoomStatus($data); 449 } else { 450 return $data; 451 } 452 } 453 } 454 455 /** 456 * The "scores" collection of methods. 457 * Typical usage is: 458 * <code> 459 * $gamesService = new Google_GamesService(...); 460 * $scores = $gamesService->scores; 461 * </code> 462 */ 463 class Google_ScoresServiceResource extends Google_ServiceResource { 464 465 /** 466 * Get high scores and optionally, ranks in leaderboards for the currently authenticated player. For 467 * a specific time span, leaderboardId can be set to ALL to retrieve data for all leaderboards in a 468 * given time span. (scores.get) 469 * 470 * @param string $playerId A player ID. A value of me may be used in place of the authenticated player's ID. 471 * @param string $leaderboardId The ID of the leaderboard. 472 * @param string $timeSpan The time span for the scores and ranks you're requesting. 473 * @param array $optParams Optional parameters. 474 * 475 * @opt_param string includeRankType The types of ranks to return. If the parameter is omitted, no ranks will be returned. 476 * @opt_param string language The preferred language to use for strings returned by this method. 477 * @opt_param int maxResults The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified maxResults. 478 * @opt_param string pageToken The token returned by the previous request. 479 * @return Google_PlayerLeaderboardScoreListResponse 480 */ 481 public function get($playerId, $leaderboardId, $timeSpan, $optParams = array()) { 482 $params = array('playerId' => $playerId, 'leaderboardId' => $leaderboardId, 'timeSpan' => $timeSpan); 483 $params = array_merge($params, $optParams); 484 $data = $this->__call('get', array($params)); 485 if ($this->useObjects()) { 486 return new Google_PlayerLeaderboardScoreListResponse($data); 487 } else { 488 return $data; 489 } 490 } 491 /** 492 * Lists the scores in a leaderboard, starting from the top. (scores.list) 493 * 494 * @param string $leaderboardId The ID of the leaderboard. 495 * @param string $collection The collection of scores you're requesting. 496 * @param string $timeSpan The time span for the scores and ranks you're requesting. 497 * @param array $optParams Optional parameters. 498 * 499 * @opt_param string language The preferred language to use for strings returned by this method. 500 * @opt_param int maxResults The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified maxResults. 501 * @opt_param string pageToken The token returned by the previous request. 502 * @return Google_LeaderboardScores 503 */ 504 public function listScores($leaderboardId, $collection, $timeSpan, $optParams = array()) { 505 $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan); 506 $params = array_merge($params, $optParams); 507 $data = $this->__call('list', array($params)); 508 if ($this->useObjects()) { 509 return new Google_LeaderboardScores($data); 510 } else { 511 return $data; 512 } 513 } 514 /** 515 * Lists the scores in a leaderboard around (and including) a player's score. (scores.listWindow) 516 * 517 * @param string $leaderboardId The ID of the leaderboard. 518 * @param string $collection The collection of scores you're requesting. 519 * @param string $timeSpan The time span for the scores and ranks you're requesting. 520 * @param array $optParams Optional parameters. 521 * 522 * @opt_param string language The preferred language to use for strings returned by this method. 523 * @opt_param int maxResults The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores returned may be less than the specified maxResults. 524 * @opt_param string pageToken The token returned by the previous request. 525 * @opt_param int resultsAbove The preferred number of scores to return above the player's score. More scores may be returned if the player is at the bottom of the leaderboard; fewer may be returned if the player is at the top. Must be less than or equal to maxResults. 526 * @opt_param bool returnTopIfAbsent True if the top scores should be returned when the player is not in the leaderboard. Defaults to true. 527 * @return Google_LeaderboardScores 528 */ 529 public function listWindow($leaderboardId, $collection, $timeSpan, $optParams = array()) { 530 $params = array('leaderboardId' => $leaderboardId, 'collection' => $collection, 'timeSpan' => $timeSpan); 531 $params = array_merge($params, $optParams); 532 $data = $this->__call('listWindow', array($params)); 533 if ($this->useObjects()) { 534 return new Google_LeaderboardScores($data); 535 } else { 536 return $data; 537 } 538 } 539 /** 540 * Submits a score to the specified leaderboard. (scores.submit) 541 * 542 * @param string $leaderboardId The ID of the leaderboard. 543 * @param string $score The score you're submitting. The submitted score is ignored if it is worse than a previously submitted score, where worse depends on the leaderboard sort order. The meaning of the score value depends on the leaderboard format type. For fixed-point, the score represents the raw value. For time, the score represents elapsed time in milliseconds. For currency, the score represents a value in micro units. 544 * @param array $optParams Optional parameters. 545 * 546 * @opt_param string language The preferred language to use for strings returned by this method. 547 * @return Google_PlayerScoreResponse 548 */ 549 public function submit($leaderboardId, $score, $optParams = array()) { 550 $params = array('leaderboardId' => $leaderboardId, 'score' => $score); 551 $params = array_merge($params, $optParams); 552 $data = $this->__call('submit', array($params)); 553 if ($this->useObjects()) { 554 return new Google_PlayerScoreResponse($data); 555 } else { 556 return $data; 557 } 558 } 559 /** 560 * Submits multiple scores to leaderboards. (scores.submitMultiple) 561 * 562 * @param Google_PlayerScoreSubmissionList $postBody 563 * @param array $optParams Optional parameters. 564 * 565 * @opt_param string language The preferred language to use for strings returned by this method. 566 * @return Google_PlayerScoreListResponse 567 */ 568 public function submitMultiple(Google_PlayerScoreSubmissionList $postBody, $optParams = array()) { 569 $params = array('postBody' => $postBody); 570 $params = array_merge($params, $optParams); 571 $data = $this->__call('submitMultiple', array($params)); 572 if ($this->useObjects()) { 573 return new Google_PlayerScoreListResponse($data); 574 } else { 575 return $data; 576 } 577 } 578 } 579 580/** 581 * Service definition for Google_Games (v1). 582 * 583 * <p> 584 * The API for Google Play Game Services. 585 * </p> 586 * 587 * <p> 588 * For more information about this service, see the 589 * <a href="https://developers.google.com/games/services/" target="_blank">API Documentation</a> 590 * </p> 591 * 592 * @author Google, Inc. 593 */ 594class Google_GamesService extends Google_Service { 595 public $achievementDefinitions; 596 public $achievements; 597 public $applications; 598 public $leaderboards; 599 public $players; 600 public $revisions; 601 public $rooms; 602 public $scores; 603 /** 604 * Constructs the internal representation of the Games service. 605 * 606 * @param Google_Client $client 607 */ 608 public function __construct(Google_Client $client) { 609 $this->servicePath = 'games/v1/'; 610 $this->version = 'v1'; 611 $this->serviceName = 'games'; 612 613 $client->addService($this->serviceName, $this->version); 614 $this->achievementDefinitions = new Google_AchievementDefinitionsServiceResource($this, $this->serviceName, 'achievementDefinitions', json_decode('{"methods": {"list": {"id": "games.achievementDefinitions.list", "path": "achievements", "httpMethod": "GET", "parameters": {"language": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "200", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "AchievementDefinitionsListResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 615 $this->achievements = new Google_AchievementsServiceResource($this, $this->serviceName, 'achievements', json_decode('{"methods": {"increment": {"id": "games.achievements.increment", "path": "achievements/{achievementId}/increment", "httpMethod": "POST", "parameters": {"achievementId": {"type": "string", "required": true, "location": "path"}, "requestId": {"type": "string", "format": "int64", "location": "query"}, "stepsToIncrement": {"type": "integer", "required": true, "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "AchievementIncrementResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "list": {"id": "games.achievements.list", "path": "players/{playerId}/achievements", "httpMethod": "GET", "parameters": {"language": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "200", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "playerId": {"type": "string", "required": true, "location": "path"}, "state": {"type": "string", "enum": ["ALL", "HIDDEN", "REVEALED", "UNLOCKED"], "location": "query"}}, "response": {"$ref": "PlayerAchievementListResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "reveal": {"id": "games.achievements.reveal", "path": "achievements/{achievementId}/reveal", "httpMethod": "POST", "parameters": {"achievementId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "AchievementRevealResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "unlock": {"id": "games.achievements.unlock", "path": "achievements/{achievementId}/unlock", "httpMethod": "POST", "parameters": {"achievementId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "AchievementUnlockResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 616 $this->applications = new Google_ApplicationsServiceResource($this, $this->serviceName, 'applications', json_decode('{"methods": {"get": {"id": "games.applications.get", "path": "applications/{applicationId}", "httpMethod": "GET", "parameters": {"applicationId": {"type": "string", "required": true, "location": "path"}, "language": {"type": "string", "location": "query"}, "platformType": {"type": "string", "enum": ["ANDROID", "IOS", "WEB_APP"], "location": "query"}}, "response": {"$ref": "Application"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "played": {"id": "games.applications.played", "path": "applications/played", "httpMethod": "POST", "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 617 $this->leaderboards = new Google_LeaderboardsServiceResource($this, $this->serviceName, 'leaderboards', json_decode('{"methods": {"get": {"id": "games.leaderboards.get", "path": "leaderboards/{leaderboardId}", "httpMethod": "GET", "parameters": {"language": {"type": "string", "location": "query"}, "leaderboardId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Leaderboard"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "list": {"id": "games.leaderboards.list", "path": "leaderboards", "httpMethod": "GET", "parameters": {"language": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "LeaderboardListResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 618 $this->players = new Google_PlayersServiceResource($this, $this->serviceName, 'players', json_decode('{"methods": {"get": {"id": "games.players.get", "path": "players/{playerId}", "httpMethod": "GET", "parameters": {"playerId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Player"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 619 $this->revisions = new Google_RevisionsServiceResource($this, $this->serviceName, 'revisions', json_decode('{"methods": {"check": {"id": "games.revisions.check", "path": "revisions/check", "httpMethod": "GET", "parameters": {"clientRevision": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "RevisionCheckResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 620 $this->rooms = new Google_RoomsServiceResource($this, $this->serviceName, 'rooms', json_decode('{"methods": {"create": {"id": "games.rooms.create", "path": "rooms/create", "httpMethod": "POST", "parameters": {"language": {"type": "string", "location": "query"}}, "request": {"$ref": "RoomCreateRequest"}, "response": {"$ref": "Room"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "decline": {"id": "games.rooms.decline", "path": "rooms/{roomId}/decline", "httpMethod": "POST", "parameters": {"roomId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Room"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "dismiss": {"id": "games.rooms.dismiss", "path": "rooms/{roomId}/dismiss", "httpMethod": "POST", "parameters": {"roomId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "get": {"id": "games.rooms.get", "path": "rooms/{roomId}", "httpMethod": "GET", "parameters": {"language": {"type": "string", "location": "query"}, "roomId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Room"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "join": {"id": "games.rooms.join", "path": "rooms/{roomId}/join", "httpMethod": "POST", "parameters": {"roomId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "RoomJoinRequest"}, "response": {"$ref": "Room"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "leave": {"id": "games.rooms.leave", "path": "rooms/{roomId}/leave", "httpMethod": "POST", "parameters": {"roomId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "RoomLeaveRequest"}, "response": {"$ref": "Room"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "list": {"id": "games.rooms.list", "path": "rooms", "httpMethod": "GET", "parameters": {"language": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "500", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "RoomList"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "reportStatus": {"id": "games.rooms.reportStatus", "path": "rooms/{roomId}/reportstatus", "httpMethod": "POST", "parameters": {"roomId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "RoomP2PStatuses"}, "response": {"$ref": "RoomStatus"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 621 $this->scores = new Google_ScoresServiceResource($this, $this->serviceName, 'scores', json_decode('{"methods": {"get": {"id": "games.scores.get", "path": "players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}", "httpMethod": "GET", "parameters": {"includeRankType": {"type": "string", "enum": ["ALL", "PUBLIC", "SOCIAL"], "location": "query"}, "language": {"type": "string", "location": "query"}, "leaderboardId": {"type": "string", "required": true, "location": "path"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "25", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "playerId": {"type": "string", "required": true, "location": "path"}, "timeSpan": {"type": "string", "required": true, "enum": ["ALL", "ALL_TIME", "DAILY", "WEEKLY"], "location": "path"}}, "response": {"$ref": "PlayerLeaderboardScoreListResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "list": {"id": "games.scores.list", "path": "leaderboards/{leaderboardId}/scores/{collection}", "httpMethod": "GET", "parameters": {"collection": {"type": "string", "required": true, "enum": ["PUBLIC", "SOCIAL"], "location": "path"}, "language": {"type": "string", "location": "query"}, "leaderboardId": {"type": "string", "required": true, "location": "path"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "25", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "timeSpan": {"type": "string", "required": true, "enum": ["ALL_TIME", "DAILY", "WEEKLY"], "location": "query"}}, "response": {"$ref": "LeaderboardScores"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "listWindow": {"id": "games.scores.listWindow", "path": "leaderboards/{leaderboardId}/window/{collection}", "httpMethod": "GET", "parameters": {"collection": {"type": "string", "required": true, "enum": ["PUBLIC", "SOCIAL"], "location": "path"}, "language": {"type": "string", "location": "query"}, "leaderboardId": {"type": "string", "required": true, "location": "path"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "25", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "resultsAbove": {"type": "integer", "format": "int32", "location": "query"}, "returnTopIfAbsent": {"type": "boolean", "location": "query"}, "timeSpan": {"type": "string", "required": true, "enum": ["ALL_TIME", "DAILY", "WEEKLY"], "location": "query"}}, "response": {"$ref": "LeaderboardScores"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "submit": {"id": "games.scores.submit", "path": "leaderboards/{leaderboardId}/scores", "httpMethod": "POST", "parameters": {"language": {"type": "string", "location": "query"}, "leaderboardId": {"type": "string", "required": true, "location": "path"}, "score": {"type": "string", "required": true, "format": "int64", "location": "query"}}, "response": {"$ref": "PlayerScoreResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "submitMultiple": {"id": "games.scores.submitMultiple", "path": "leaderboards/scores", "httpMethod": "POST", "parameters": {"language": {"type": "string", "location": "query"}}, "request": {"$ref": "PlayerScoreSubmissionList"}, "response": {"$ref": "PlayerScoreListResponse"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true)); 622 623 } 624} 625 626 627 628class Google_AchievementDefinition extends Google_Model { 629 public $achievementType; 630 public $description; 631 public $formattedTotalSteps; 632 public $id; 633 public $initialState; 634 public $isRevealedIconUrlDefault; 635 public $isUnlockedIconUrlDefault; 636 public $kind; 637 public $name; 638 public $revealedIconUrl; 639 public $totalSteps; 640 public $unlockedIconUrl; 641 public function setAchievementType( $achievementType) { 642 $this->achievementType = $achievementType; 643 } 644 public function getAchievementType() { 645 return $this->achievementType; 646 } 647 public function setDescription( $description) { 648 $this->description = $description; 649 } 650 public function getDescription() { 651 return $this->description; 652 } 653 public function setFormattedTotalSteps( $formattedTotalSteps) { 654 $this->formattedTotalSteps = $formattedTotalSteps; 655 } 656 public function getFormattedTotalSteps() { 657 return $this->formattedTotalSteps; 658 } 659 public function setId( $id) { 660 $this->id = $id; 661 } 662 public function getId() { 663 return $this->id; 664 } 665 public function setInitialState( $initialState) { 666 $this->initialState = $initialState; 667 } 668 public function getInitialState() { 669 return $this->initialState; 670 } 671 public function setIsRevealedIconUrlDefault( $isRevealedIconUrlDefault) { 672 $this->isRevealedIconUrlDefault = $isRevealedIconUrlDefault; 673 } 674 public function getIsRevealedIconUrlDefault() { 675 return $this->isRevealedIconUrlDefault; 676 } 677 public function setIsUnlockedIconUrlDefault( $isUnlockedIconUrlDefault) { 678 $this->isUnlockedIconUrlDefault = $isUnlockedIconUrlDefault; 679 } 680 public function getIsUnlockedIconUrlDefault() { 681 return $this->isUnlockedIconUrlDefault; 682 } 683 public function setKind( $kind) { 684 $this->kind = $kind; 685 } 686 public function getKind() { 687 return $this->kind; 688 } 689 public function setName( $name) { 690 $this->name = $name; 691 } 692 public function getName() { 693 return $this->name; 694 } 695 public function setRevealedIconUrl( $revealedIconUrl) { 696 $this->revealedIconUrl = $revealedIconUrl; 697 } 698 public function getRevealedIconUrl() { 699 return $this->revealedIconUrl; 700 } 701 public function setTotalSteps( $totalSteps) { 702 $this->totalSteps = $totalSteps; 703 } 704 public function getTotalSteps() { 705 return $this->totalSteps; 706 } 707 public function setUnlockedIconUrl( $unlockedIconUrl) { 708 $this->unlockedIconUrl = $unlockedIconUrl; 709 } 710 public function getUnlockedIconUrl() { 711 return $this->unlockedIconUrl; 712 } 713} 714 715class Google_AchievementDefinitionsListResponse extends Google_Model { 716 protected $__itemsType = 'Google_AchievementDefinition'; 717 protected $__itemsDataType = 'array'; 718 public $items; 719 public $kind; 720 public $nextPageToken; 721 public function setItems(/* array(Google_AchievementDefinition) */ $items) { 722 $this->assertIsArray($items, 'Google_AchievementDefinition', __METHOD__); 723 $this->items = $items; 724 } 725 public function getItems() { 726 return $this->items; 727 } 728 public function setKind( $kind) { 729 $this->kind = $kind; 730 } 731 public function getKind() { 732 return $this->kind; 733 } 734 public function setNextPageToken( $nextPageToken) { 735 $this->nextPageToken = $nextPageToken; 736 } 737 public function getNextPageToken() { 738 return $this->nextPageToken; 739 } 740} 741 742class Google_AchievementIncrementResponse extends Google_Model { 743 public $currentSteps; 744 public $kind; 745 public $newlyUnlocked; 746 public function setCurrentSteps( $currentSteps) { 747 $this->currentSteps = $currentSteps; 748 } 749 public function getCurrentSteps() { 750 return $this->currentSteps; 751 } 752 public function setKind( $kind) { 753 $this->kind = $kind; 754 } 755 public function getKind() { 756 return $this->kind; 757 } 758 public function setNewlyUnlocked( $newlyUnlocked) { 759 $this->newlyUnlocked = $newlyUnlocked; 760 } 761 public function getNewlyUnlocked() { 762 return $this->newlyUnlocked; 763 } 764} 765 766class Google_AchievementRevealResponse extends Google_Model { 767 public $currentState; 768 public $kind; 769 public function setCurrentState( $currentState) { 770 $this->currentState = $currentState; 771 } 772 public function getCurrentState() { 773 return $this->currentState; 774 } 775 public function setKind( $kind) { 776 $this->kind = $kind; 777 } 778 public function getKind() { 779 return $this->kind; 780 } 781} 782 783class Google_AchievementUnlockResponse extends Google_Model { 784 public $kind; 785 public $newlyUnlocked; 786 public function setKind( $kind) { 787 $this->kind = $kind; 788 } 789 public function getKind() { 790 return $this->kind; 791 } 792 public function setNewlyUnlocked( $newlyUnlocked) { 793 $this->newlyUnlocked = $newlyUnlocked; 794 } 795 public function getNewlyUnlocked() { 796 return $this->newlyUnlocked; 797 } 798} 799 800class Google_AggregateStats extends Google_Model { 801 public $count; 802 public $kind; 803 public $max; 804 public $min; 805 public $sum; 806 public function setCount( $count) { 807 $this->count = $count; 808 } 809 public function getCount() { 810 return $this->count; 811 } 812 public function setKind( $kind) { 813 $this->kind = $kind; 814 } 815 public function getKind() { 816 return $this->kind; 817 } 818 public function setMax( $max) { 819 $this->max = $max; 820 } 821 public function getMax() { 822 return $this->max; 823 } 824 public function setMin( $min) { 825 $this->min = $min; 826 } 827 public function getMin() { 828 return $this->min; 829 } 830 public function setSum( $sum) { 831 $this->sum = $sum; 832 } 833 public function getSum() { 834 return $this->sum; 835 } 836} 837 838class Google_AnonymousPlayer extends Google_Model { 839 public $avatarImageUrl; 840 public $displayName; 841 public $kind; 842 public function setAvatarImageUrl( $avatarImageUrl) { 843 $this->avatarImageUrl = $avatarImageUrl; 844 } 845 public function getAvatarImageUrl() { 846 return $this->avatarImageUrl; 847 } 848 public function setDisplayName( $displayName) { 849 $this->displayName = $displayName; 850 } 851 public function getDisplayName() { 852 return $this->displayName; 853 } 854 public function setKind( $kind) { 855 $this->kind = $kind; 856 } 857 public function getKind() { 858 return $this->kind; 859 } 860} 861 862class Google_Application extends Google_Model { 863 public $achievement_count; 864 protected $__assetsType = 'Google_ImageAsset'; 865 protected $__assetsDataType = 'array'; 866 public $assets; 867 public $author; 868 protected $__categoryType = 'Google_ApplicationCategory'; 869 protected $__categoryDataType = ''; 870 public $category; 871 public $description; 872 public $id; 873 protected $__instancesType = 'Google_Instance'; 874 protected $__instancesDataType = 'array'; 875 public $instances; 876 public $kind; 877 public $lastUpdatedTimestamp; 878 public $leaderboard_count; 879 public $name; 880 public function setAchievement_count( $achievement_count) { 881 $this->achievement_count = $achievement_count; 882 } 883 public function getAchievement_count() { 884 return $this->achievement_count; 885 } 886 public function setAssets(/* array(Google_ImageAsset) */ $assets) { 887 $this->assertIsArray($assets, 'Google_ImageAsset', __METHOD__); 888 $this->assets = $assets; 889 } 890 public function getAssets() { 891 return $this->assets; 892 } 893 public function setAuthor( $author) { 894 $this->author = $author; 895 } 896 public function getAuthor() { 897 return $this->author; 898 } 899 public function setCategory(Google_ApplicationCategory $category) { 900 $this->category = $category; 901 } 902 public function getCategory() { 903 return $this->category; 904 } 905 public function setDescription( $description) { 906 $this->description = $description; 907 } 908 public function getDescription() { 909 return $this->description; 910 } 911 public function setId( $id) { 912 $this->id = $id; 913 } 914 public function getId() { 915 return $this->id; 916 } 917 public function setInstances(/* array(Google_Instance) */ $instances) { 918 $this->assertIsArray($instances, 'Google_Instance', __METHOD__); 919 $this->instances = $instances; 920 } 921 public function getInstances() { 922 return $this->instances; 923 } 924 public function setKind( $kind) { 925 $this->kind = $kind; 926 } 927 public function getKind() { 928 return $this->kind; 929 } 930 public function setLastUpdatedTimestamp( $lastUpdatedTimestamp) { 931 $this->lastUpdatedTimestamp = $lastUpdatedTimestamp; 932 } 933 public function getLastUpdatedTimestamp() { 934 return $this->lastUpdatedTimestamp; 935 } 936 public function setLeaderboard_count( $leaderboard_count) { 937 $this->leaderboard_count = $leaderboard_count; 938 } 939 public function getLeaderboard_count() { 940 return $this->leaderboard_count; 941 } 942 public function setName( $name) { 943 $this->name = $name; 944 } 945 public function getName() { 946 return $this->name; 947 } 948} 949 950class Google_ApplicationCategory extends Google_Model { 951 public $kind; 952 public $primary; 953 public $secondary; 954 public function setKind( $kind) { 955 $this->kind = $kind; 956 } 957 public function getKind() { 958 return $this->kind; 959 } 960 public function setPrimary( $primary) { 961 $this->primary = $primary; 962 } 963 public function getPrimary() { 964 return $this->primary; 965 } 966 public function setSecondary( $secondary) { 967 $this->secondary = $secondary; 968 } 969 public function getSecondary() { 970 return $this->secondary; 971 } 972} 973 974class Google_ImageAsset extends Google_Model { 975 public $height; 976 public $kind; 977 public $name; 978 public $url; 979 public $width; 980 public function setHeight( $height) { 981 $this->height = $height; 982 } 983 public function getHeight() { 984 return $this->height; 985 } 986 public function setKind( $kind) { 987 $this->kind = $kind; 988 } 989 public function getKind() { 990 return $this->kind; 991 } 992 public function setName( $name) { 993 $this->name = $name; 994 } 995 public function getName() { 996 return $this->name; 997 } 998 public function setUrl( $url) { 999 $this->url = $url; 1000 } 1001 public function getUrl() { 1002 return $this->url; 1003 } 1004 public function setWidth( $width) { 1005 $this->width = $width; 1006 } 1007 public function getWidth() { 1008 return $this->width; 1009 } 1010} 1011 1012class Google_Instance extends Google_Model { 1013 public $acquisitionUri; 1014 protected $__androidInstanceType = 'Google_InstanceAndroidDetails'; 1015 protected $__androidInstanceDataType = ''; 1016 public $androidInstance; 1017 protected $__iosInstanceType = 'Google_InstanceIosDetails'; 1018 protected $__iosInstanceDataType = ''; 1019 public $iosInstance; 1020 public $kind; 1021 public $name; 1022 public $platformType; 1023 public $realtimePlay; 1024 public $turnBasedPlay; 1025 protected $__webInstanceType = 'Google_InstanceWebDetails'; 1026 protected $__webInstanceDataType = ''; 1027 public $webInstance; 1028 public function setAcquisitionUri( $acquisitionUri) { 1029 $this->acquisitionUri = $acquisitionUri; 1030 } 1031 public function getAcquisitionUri() { 1032 return $this->acquisitionUri; 1033 } 1034 public function setAndroidInstance(Google_InstanceAndroidDetails $androidInstance) { 1035 $this->androidInstance = $androidInstance; 1036 } 1037 public function getAndroidInstance() { 1038 return $this->androidInstance; 1039 } 1040 public function setIosInstance(Google_InstanceIosDetails $iosInstance) { 1041 $this->iosInstance = $iosInstance; 1042 } 1043 public function getIosInstance() { 1044 return $this->iosInstance; 1045 } 1046 public function setKind( $kind) { 1047 $this->kind = $kind; 1048 } 1049 public function getKind() { 1050 return $this->kind; 1051 } 1052 public function setName( $name) { 1053 $this->name = $name; 1054 } 1055 public function getName() { 1056 return $this->name; 1057 } 1058 public function setPlatformType( $platformType) { 1059 $this->platformType = $platformType; 1060 } 1061 public function getPlatformType() { 1062 return $this->platformType; 1063 } 1064 public function setRealtimePlay( $realtimePlay) { 1065 $this->realtimePlay = $realtimePlay; 1066 } 1067 public function getRealtimePlay() { 1068 return $this->realtimePlay; 1069 } 1070 public function setTurnBasedPlay( $turnBasedPlay) { 1071 $this->turnBasedPlay = $turnBasedPlay; 1072 } 1073 public function getTurnBasedPlay() { 1074 return $this->turnBasedPlay; 1075 } 1076 public function setWebInstance(Google_InstanceWebDetails $webInstance) { 1077 $this->webInstance = $webInstance; 1078 } 1079 public function getWebInstance() { 1080 return $this->webInstance; 1081 } 1082} 1083 1084class Google_InstanceAndroidDetails extends Google_Model { 1085 public $enablePiracyCheck; 1086 public $kind; 1087 public $packageName; 1088 public $preferred; 1089 public function setEnablePiracyCheck( $enablePiracyCheck) { 1090 $this->enablePiracyCheck = $enablePiracyCheck; 1091 } 1092 public function getEnablePiracyCheck() { 1093 return $this->enablePiracyCheck; 1094 } 1095 public function setKind( $kind) { 1096 $this->kind = $kind; 1097 } 1098 public function getKind() { 1099 return $this->kind; 1100 } 1101 public function setPackageName( $packageName) { 1102 $this->packageName = $packageName; 1103 } 1104 public function getPackageName() { 1105 return $this->packageName; 1106 } 1107 public function setPreferred( $preferred) { 1108 $this->preferred = $preferred; 1109 } 1110 public function getPreferred() { 1111 return $this->preferred; 1112 } 1113} 1114 1115class Google_InstanceIosDetails extends Google_Model { 1116 public $bundleIdentifier; 1117 public $itunesAppId; 1118 public $kind; 1119 public $preferredForIpad; 1120 public $preferredForIphone; 1121 public $supportIpad; 1122 public $supportIphone; 1123 public function setBundleIdentifier( $bundleIdentifier) { 1124 $this->bundleIdentifier = $bundleIdentifier; 1125 } 1126 public function getBundleIdentifier() { 1127 return $this->bundleIdentifier; 1128 } 1129 public function setItunesAppId( $itunesAppId) { 1130 $this->itunesAppId = $itunesAppId; 1131 } 1132 public function getItunesAppId() { 1133 return $this->itunesAppId; 1134 } 1135 public function setKind( $kind) { 1136 $this->kind = $kind; 1137 } 1138 public function getKind() { 1139 return $this->kind; 1140 } 1141 public function setPreferredForIpad( $preferredForIpad) { 1142 $this->preferredForIpad = $preferredForIpad; 1143 } 1144 public function getPreferredForIpad() { 1145 return $this->preferredForIpad; 1146 } 1147 public function setPreferredForIphone( $preferredForIphone) { 1148 $this->preferredForIphone = $preferredForIphone; 1149 } 1150 public function getPreferredForIphone() { 1151 return $this->preferredForIphone; 1152 } 1153 public function setSupportIpad( $supportIpad) { 1154 $this->supportIpad = $supportIpad; 1155 } 1156 public function getSupportIpad() { 1157 return $this->supportIpad; 1158 } 1159 public function setSupportIphone( $supportIphone) { 1160 $this->supportIphone = $supportIphone; 1161 } 1162 public function getSupportIphone() { 1163 return $this->supportIphone; 1164 } 1165} 1166 1167class Google_InstanceWebDetails extends Google_Model { 1168 public $kind; 1169 public $launchUrl; 1170 public $preferred; 1171 public function setKind( $kind) { 1172 $this->kind = $kind; 1173 } 1174 public function getKind() { 1175 return $this->kind; 1176 } 1177 public function setLaunchUrl( $launchUrl) { 1178 $this->launchUrl = $launchUrl; 1179 } 1180 public function getLaunchUrl() { 1181 return $this->launchUrl; 1182 } 1183 public function setPreferred( $preferred) { 1184 $this->preferred = $preferred; 1185 } 1186 public function getPreferred() { 1187 return $this->preferred; 1188 } 1189} 1190 1191class Google_Leaderboard extends Google_Model { 1192 public $iconUrl; 1193 public $id; 1194 public $isIconUrlDefault; 1195 public $kind; 1196 public $name; 1197 public $order; 1198 public function setIconUrl( $iconUrl) { 1199 $this->iconUrl = $iconUrl; 1200 } 1201 public function getIconUrl() { 1202 return $this->iconUrl; 1203 } 1204 public function setId( $id) { 1205 $this->id = $id; 1206 } 1207 public function getId() { 1208 return $this->id; 1209 } 1210 public function setIsIconUrlDefault( $isIconUrlDefault) { 1211 $this->isIconUrlDefault = $isIconUrlDefault; 1212 } 1213 public function getIsIconUrlDefault() { 1214 return $this->isIconUrlDefault; 1215 } 1216 public function setKind( $kind) { 1217 $this->kind = $kind; 1218 } 1219 public function getKind() { 1220 return $this->kind; 1221 } 1222 public function setName( $name) { 1223 $this->name = $name; 1224 } 1225 public function getName() { 1226 return $this->name; 1227 } 1228 public function setOrder( $order) { 1229 $this->order = $order; 1230 } 1231 public function getOrder() { 1232 return $this->order; 1233 } 1234} 1235 1236class Google_LeaderboardEntry extends Google_Model { 1237 public $formattedScore; 1238 public $formattedScoreRank; 1239 public $kind; 1240 protected $__playerType = 'Google_Player'; 1241 protected $__playerDataType = ''; 1242 public $player; 1243 public $scoreRank; 1244 public $scoreValue; 1245 public $timeSpan; 1246 public $writeTimestampMillis; 1247 public function setFormattedScore( $formattedScore) { 1248 $this->formattedScore = $formattedScore; 1249 } 1250 public function getFormattedScore() { 1251 return $this->formattedScore; 1252 } 1253 public function setFormattedScoreRank( $formattedScoreRank) { 1254 $this->formattedScoreRank = $formattedScoreRank; 1255 } 1256 public function getFormattedScoreRank() { 1257 return $this->formattedScoreRank; 1258 } 1259 public function setKind( $kind) { 1260 $this->kind = $kind; 1261 } 1262 public function getKind() { 1263 return $this->kind; 1264 } 1265 public function setPlayer(Google_Player $player) { 1266 $this->player = $player; 1267 } 1268 public function getPlayer() { 1269 return $this->player; 1270 } 1271 public function setScoreRank( $scoreRank) { 1272 $this->scoreRank = $scoreRank; 1273 } 1274 public function getScoreRank() { 1275 return $this->scoreRank; 1276 } 1277 public function setScoreValue( $scoreValue) { 1278 $this->scoreValue = $scoreValue; 1279 } 1280 public function getScoreValue() { 1281 return $this->scoreValue; 1282 } 1283 public function setTimeSpan( $timeSpan) { 1284 $this->timeSpan = $timeSpan; 1285 } 1286 public function getTimeSpan() { 1287 return $this->timeSpan; 1288 } 1289 public function setWriteTimestampMillis( $writeTimestampMillis) { 1290 $this->writeTimestampMillis = $writeTimestampMillis; 1291 } 1292 public function getWriteTimestampMillis() { 1293 return $this->writeTimestampMillis; 1294 } 1295} 1296 1297class Google_LeaderboardListResponse extends Google_Model { 1298 protected $__itemsType = 'Google_Leaderboard'; 1299 protected $__itemsDataType = 'array'; 1300 public $items; 1301 public $kind; 1302 public $nextPageToken; 1303 public function setItems(/* array(Google_Leaderboard) */ $items) { 1304 $this->assertIsArray($items, 'Google_Leaderboard', __METHOD__); 1305 $this->items = $items; 1306 } 1307 public function getItems() { 1308 return $this->items; 1309 } 1310 public function setKind( $kind) { 1311 $this->kind = $kind; 1312 } 1313 public function getKind() { 1314 return $this->kind; 1315 } 1316 public function setNextPageToken( $nextPageToken) { 1317 $this->nextPageToken = $nextPageToken; 1318 } 1319 public function getNextPageToken() { 1320 return $this->nextPageToken; 1321 } 1322} 1323 1324class Google_LeaderboardScoreRank extends Google_Model { 1325 public $formattedNumScores; 1326 public $formattedRank; 1327 public $kind; 1328 public $numScores; 1329 public $rank; 1330 public function setFormattedNumScores( $formattedNumScores) { 1331 $this->formattedNumScores = $formattedNumScores; 1332 } 1333 public function getFormattedNumScores() { 1334 return $this->formattedNumScores; 1335 } 1336 public function setFormattedRank( $formattedRank) { 1337 $this->formattedRank = $formattedRank; 1338 } 1339 public function getFormattedRank() { 1340 return $this->formattedRank; 1341 } 1342 public function setKind( $kind) { 1343 $this->kind = $kind; 1344 } 1345 public function getKind() { 1346 return $this->kind; 1347 } 1348 public function setNumScores( $numScores) { 1349 $this->numScores = $numScores; 1350 } 1351 public function getNumScores() { 1352 return $this->numScores; 1353 } 1354 public function setRank( $rank) { 1355 $this->rank = $rank; 1356 } 1357 public function getRank() { 1358 return $this->rank; 1359 } 1360} 1361 1362class Google_LeaderboardScores extends Google_Model { 1363 protected $__itemsType = 'Google_LeaderboardEntry'; 1364 protected $__itemsDataType = 'array'; 1365 public $items; 1366 public $kind; 1367 public $nextPageToken; 1368 public $numScores; 1369 protected $__playerScoreType = 'Google_LeaderboardEntry'; 1370 protected $__playerScoreDataType = ''; 1371 public $playerScore; 1372 public $prevPageToken; 1373 public function setItems(/* array(Google_LeaderboardEntry) */ $items) { 1374 $this->assertIsArray($items, 'Google_LeaderboardEntry', __METHOD__); 1375 $this->items = $items; 1376 } 1377 public function getItems() { 1378 return $this->items; 1379 } 1380 public function setKind( $kind) { 1381 $this->kind = $kind; 1382 } 1383 public function getKind() { 1384 return $this->kind; 1385 } 1386 public function setNextPageToken( $nextPageToken) { 1387 $this->nextPageToken = $nextPageToken; 1388 } 1389 public function getNextPageToken() { 1390 return $this->nextPageToken; 1391 } 1392 public function setNumScores( $numScores) { 1393 $this->numScores = $numScores; 1394 } 1395 public function getNumScores() { 1396 return $this->numScores; 1397 } 1398 public function setPlayerScore(Google_LeaderboardEntry $playerScore) { 1399 $this->playerScore = $playerScore; 1400 } 1401 public function getPlayerScore() { 1402 return $this->playerScore; 1403 } 1404 public function setPrevPageToken( $prevPageToken) { 1405 $this->prevPageToken = $prevPageToken; 1406 } 1407 public function getPrevPageToken() { 1408 return $this->prevPageToken; 1409 } 1410} 1411 1412class Google_NetworkDiagnostics extends Google_Model { 1413 public $androidNetworkSubtype; 1414 public $androidNetworkType; 1415 public $kind; 1416 public $registrationLatencyMillis; 1417 public function setAndroidNetworkSubtype( $androidNetworkSubtype) { 1418 $this->androidNetworkSubtype = $androidNetworkSubtype; 1419 } 1420 public function getAndroidNetworkSubtype() { 1421 return $this->androidNetworkSubtype; 1422 } 1423 public function setAndroidNetworkType( $androidNetworkType) { 1424 $this->androidNetworkType = $androidNetworkType; 1425 } 1426 public function getAndroidNetworkType() { 1427 return $this->androidNetworkType; 1428 } 1429 public function setKind( $kind) { 1430 $this->kind = $kind; 1431 } 1432 public function getKind() { 1433 return $this->kind; 1434 } 1435 public function setRegistrationLatencyMillis( $registrationLatencyMillis) { 1436 $this->registrationLatencyMillis = $registrationLatencyMillis; 1437 } 1438 public function getRegistrationLatencyMillis() { 1439 return $this->registrationLatencyMillis; 1440 } 1441} 1442 1443class Google_PeerChannelDiagnostics extends Google_Model { 1444 protected $__bytesReceivedType = 'Google_AggregateStats'; 1445 protected $__bytesReceivedDataType = ''; 1446 public $bytesReceived; 1447 protected $__bytesSentType = 'Google_AggregateStats'; 1448 protected $__bytesSentDataType = ''; 1449 public $bytesSent; 1450 public $kind; 1451 public $numMessagesLost; 1452 public $numMessagesReceived; 1453 public $numMessagesSent; 1454 public $numSendFailures; 1455 protected $__roundtripLatencyMillisType = 'Google_AggregateStats'; 1456 protected $__roundtripLatencyMillisDataType = ''; 1457 public $roundtripLatencyMillis; 1458 public function setBytesReceived(Google_AggregateStats $bytesReceived) { 1459 $this->bytesReceived = $bytesReceived; 1460 } 1461 public function getBytesReceived() { 1462 return $this->bytesReceived; 1463 } 1464 public function setBytesSent(Google_AggregateStats $bytesSent) { 1465 $this->bytesSent = $bytesSent; 1466 } 1467 public function getBytesSent() { 1468 return $this->bytesSent; 1469 } 1470 public function setKind( $kind) { 1471 $this->kind = $kind; 1472 } 1473 public function getKind() { 1474 return $this->kind; 1475 } 1476 public function setNumMessagesLost( $numMessagesLost) { 1477 $this->numMessagesLost = $numMessagesLost; 1478 } 1479 public function getNumMessagesLost() { 1480 return $this->numMessagesLost; 1481 } 1482 public function setNumMessagesReceived( $numMessagesReceived) { 1483 $this->numMessagesReceived = $numMessagesReceived; 1484 } 1485 public function getNumMessagesReceived() { 1486 return $this->numMessagesReceived; 1487 } 1488 public function setNumMessagesSent( $numMessagesSent) { 1489 $this->numMessagesSent = $numMessagesSent; 1490 } 1491 public function getNumMessagesSent() { 1492 return $this->numMessagesSent; 1493 } 1494 public function setNumSendFailures( $numSendFailures) { 1495 $this->numSendFailures = $numSendFailures; 1496 } 1497 public function getNumSendFailures() { 1498 return $this->numSendFailures; 1499 } 1500 public function setRoundtripLatencyMillis(Google_AggregateStats $roundtripLatencyMillis) { 1501 $this->roundtripLatencyMillis = $roundtripLatencyMillis; 1502 } 1503 public function getRoundtripLatencyMillis() { 1504 return $this->roundtripLatencyMillis; 1505 } 1506} 1507 1508class Google_PeerSessionDiagnostics extends Google_Model { 1509 public $connectedTimestampMillis; 1510 public $kind; 1511 public $participantId; 1512 protected $__reliableChannelType = 'Google_PeerChannelDiagnostics'; 1513 protected $__reliableChannelDataType = ''; 1514 public $reliableChannel; 1515 protected $__unreliableChannelType = 'Google_PeerChannelDiagnostics'; 1516 protected $__unreliableChannelDataType = ''; 1517 public $unreliableChannel; 1518 public function setConnectedTimestampMillis( $connectedTimestampMillis) { 1519 $this->connectedTimestampMillis = $connectedTimestampMillis; 1520 } 1521 public function getConnectedTimestampMillis() { 1522 return $this->connectedTimestampMillis; 1523 } 1524 public function setKind( $kind) { 1525 $this->kind = $kind; 1526 } 1527 public function getKind() { 1528 return $this->kind; 1529 } 1530 public function setParticipantId( $participantId) { 1531 $this->participantId = $participantId; 1532 } 1533 public function getParticipantId() { 1534 return $this->participantId; 1535 } 1536 public function setReliableChannel(Google_PeerChannelDiagnostics $reliableChannel) { 1537 $this->reliableChannel = $reliableChannel; 1538 } 1539 public function getReliableChannel() { 1540 return $this->reliableChannel; 1541 } 1542 public function setUnreliableChannel(Google_PeerChannelDiagnostics $unreliableChannel) { 1543 $this->unreliableChannel = $unreliableChannel; 1544 } 1545 public function getUnreliableChannel() { 1546 return $this->unreliableChannel; 1547 } 1548} 1549 1550class Google_Player extends Google_Model { 1551 public $avatarImageUrl; 1552 public $displayName; 1553 public $kind; 1554 public $playerId; 1555 public function setAvatarImageUrl( $avatarImageUrl) { 1556 $this->avatarImageUrl = $avatarImageUrl; 1557 } 1558 public function getAvatarImageUrl() { 1559 return $this->avatarImageUrl; 1560 } 1561 public function setDisplayName( $displayName) { 1562 $this->displayName = $displayName; 1563 } 1564 public function getDisplayName() { 1565 return $this->displayName; 1566 } 1567 public function setKind( $kind) { 1568 $this->kind = $kind; 1569 } 1570 public function getKind() { 1571 return $this->kind; 1572 } 1573 public function setPlayerId( $playerId) { 1574 $this->playerId = $playerId; 1575 } 1576 public function getPlayerId() { 1577 return $this->playerId; 1578 } 1579} 1580 1581class Google_PlayerAchievement extends Google_Model { 1582 public $achievementState; 1583 public $currentSteps; 1584 public $formattedCurrentStepsString; 1585 public $id; 1586 public $kind; 1587 public $lastUpdatedTimestamp; 1588 public function setAchievementState( $achievementState) { 1589 $this->achievementState = $achievementState; 1590 } 1591 public function getAchievementState() { 1592 return $this->achievementState; 1593 } 1594 public function setCurrentSteps( $currentSteps) { 1595 $this->currentSteps = $currentSteps; 1596 } 1597 public function getCurrentSteps() { 1598 return $this->currentSteps; 1599 } 1600 public function setFormattedCurrentStepsString( $formattedCurrentStepsString) { 1601 $this->formattedCurrentStepsString = $formattedCurrentStepsString; 1602 } 1603 public function getFormattedCurrentStepsString() { 1604 return $this->formattedCurrentStepsString; 1605 } 1606 public function setId( $id) { 1607 $this->id = $id; 1608 } 1609 public function getId() { 1610 return $this->id; 1611 } 1612 public function setKind( $kind) { 1613 $this->kind = $kind; 1614 } 1615 public function getKind() { 1616 return $this->kind; 1617 } 1618 public function setLastUpdatedTimestamp( $lastUpdatedTimestamp) { 1619 $this->lastUpdatedTimestamp = $lastUpdatedTimestamp; 1620 } 1621 public function getLastUpdatedTimestamp() { 1622 return $this->lastUpdatedTimestamp; 1623 } 1624} 1625 1626class Google_PlayerAchievementListResponse extends Google_Model { 1627 protected $__itemsType = 'Google_PlayerAchievement'; 1628 protected $__itemsDataType = 'array'; 1629 public $items; 1630 public $kind; 1631 public $nextPageToken; 1632 public function setItems(/* array(Google_PlayerAchievement) */ $items) { 1633 $this->assertIsArray($items, 'Google_PlayerAchievement', __METHOD__); 1634 $this->items = $items; 1635 } 1636 public function getItems() { 1637 return $this->items; 1638 } 1639 public function setKind( $kind) { 1640 $this->kind = $kind; 1641 } 1642 public function getKind() { 1643 return $this->kind; 1644 } 1645 public function setNextPageToken( $nextPageToken) { 1646 $this->nextPageToken = $nextPageToken; 1647 } 1648 public function getNextPageToken() { 1649 return $this->nextPageToken; 1650 } 1651} 1652 1653class Google_PlayerLeaderboardScore extends Google_Model { 1654 public $kind; 1655 public $leaderboard_id; 1656 protected $__publicRankType = 'Google_LeaderboardScoreRank'; 1657 protected $__publicRankDataType = ''; 1658 public $publicRank; 1659 public $scoreString; 1660 public $scoreValue; 1661 protected $__socialRankType = 'Google_LeaderboardScoreRank'; 1662 protected $__socialRankDataType = ''; 1663 public $socialRank; 1664 public $timeSpan; 1665 public $writeTimestamp; 1666 public function setKind( $kind) { 1667 $this->kind = $kind; 1668 } 1669 public function getKind() { 1670 return $this->kind; 1671 } 1672 public function setLeaderboard_id( $leaderboard_id) { 1673 $this->leaderboard_id = $leaderboard_id; 1674 } 1675 public function getLeaderboard_id() { 1676 return $this->leaderboard_id; 1677 } 1678 public function setPublicRank(Google_LeaderboardScoreRank $publicRank) { 1679 $this->publicRank = $publicRank; 1680 } 1681 public function getPublicRank() { 1682 return $this->publicRank; 1683 } 1684 public function setScoreString( $scoreString) { 1685 $this->scoreString = $scoreString; 1686 } 1687 public function getScoreString() { 1688 return $this->scoreString; 1689 } 1690 public function setScoreValue( $scoreValue) { 1691 $this->scoreValue = $scoreValue; 1692 } 1693 public function getScoreValue() { 1694 return $this->scoreValue; 1695 } 1696 public function setSocialRank(Google_LeaderboardScoreRank $socialRank) { 1697 $this->socialRank = $socialRank; 1698 } 1699 public function getSocialRank() { 1700 return $this->socialRank; 1701 } 1702 public function setTimeSpan( $timeSpan) { 1703 $this->timeSpan = $timeSpan; 1704 } 1705 public function getTimeSpan() { 1706 return $this->timeSpan; 1707 } 1708 public function setWriteTimestamp( $writeTimestamp) { 1709 $this->writeTimestamp = $writeTimestamp; 1710 } 1711 public function getWriteTimestamp() { 1712 return $this->writeTimestamp; 1713 } 1714} 1715 1716class Google_PlayerLeaderboardScoreListResponse extends Google_Model { 1717 protected $__itemsType = 'Google_PlayerLeaderboardScore'; 1718 protected $__itemsDataType = 'array'; 1719 public $items; 1720 public $kind; 1721 public $nextPageToken; 1722 public function setItems(/* array(Google_PlayerLeaderboardScore) */ $items) { 1723 $this->assertIsArray($items, 'Google_PlayerLeaderboardScore', __METHOD__); 1724 $this->items = $items; 1725 } 1726 public function getItems() { 1727 return $this->items; 1728 } 1729 public function setKind( $kind) { 1730 $this->kind = $kind; 1731 } 1732 public function getKind() { 1733 return $this->kind; 1734 } 1735 public function setNextPageToken( $nextPageToken) { 1736 $this->nextPageToken = $nextPageToken; 1737 } 1738 public function getNextPageToken() { 1739 return $this->nextPageToken; 1740 } 1741} 1742 1743class Google_PlayerScore extends Google_Model { 1744 public $formattedScore; 1745 public $kind; 1746 public $score; 1747 public $timeSpan; 1748 public function setFormattedScore( $formattedScore) { 1749 $this->formattedScore = $formattedScore; 1750 } 1751 public function getFormattedScore() { 1752 return $this->formattedScore; 1753 } 1754 public function setKind( $kind) { 1755 $this->kind = $kind; 1756 } 1757 public function getKind() { 1758 return $this->kind; 1759 } 1760 public function setScore( $score) { 1761 $this->score = $score; 1762 } 1763 public function getScore() { 1764 return $this->score; 1765 } 1766 public function setTimeSpan( $timeSpan) { 1767 $this->timeSpan = $timeSpan; 1768 } 1769 public function getTimeSpan() { 1770 return $this->timeSpan; 1771 } 1772} 1773 1774class Google_PlayerScoreListResponse extends Google_Model { 1775 public $kind; 1776 protected $__submittedScoresType = 'Google_PlayerScoreResponse'; 1777 protected $__submittedScoresDataType = 'array'; 1778 public $submittedScores; 1779 public function setKind( $kind) { 1780 $this->kind = $kind; 1781 } 1782 public function getKind() { 1783 return $this->kind; 1784 } 1785 public function setSubmittedScores(/* array(Google_PlayerScoreResponse) */ $submittedScores) { 1786 $this->assertIsArray($submittedScores, 'Google_PlayerScoreResponse', __METHOD__); 1787 $this->submittedScores = $submittedScores; 1788 } 1789 public function getSubmittedScores() { 1790 return $this->submittedScores; 1791 } 1792} 1793 1794class Google_PlayerScoreResponse extends Google_Model { 1795 public $beatenScoreTimeSpans; 1796 public $formattedScore; 1797 public $kind; 1798 public $leaderboardId; 1799 protected $__unbeatenScoresType = 'Google_PlayerScore'; 1800 protected $__unbeatenScoresDataType = 'array'; 1801 public $unbeatenScores; 1802 public function setBeatenScoreTimeSpans(/* array(Google_string) */ $beatenScoreTimeSpans) { 1803 $this->assertIsArray($beatenScoreTimeSpans, 'Google_string', __METHOD__); 1804 $this->beatenScoreTimeSpans = $beatenScoreTimeSpans; 1805 } 1806 public function getBeatenScoreTimeSpans() { 1807 return $this->beatenScoreTimeSpans; 1808 } 1809 public function setFormattedScore( $formattedScore) { 1810 $this->formattedScore = $formattedScore; 1811 } 1812 public function getFormattedScore() { 1813 return $this->formattedScore; 1814 } 1815 public function setKind( $kind) { 1816 $this->kind = $kind; 1817 } 1818 public function getKind() { 1819 return $this->kind; 1820 } 1821 public function setLeaderboardId( $leaderboardId) { 1822 $this->leaderboardId = $leaderboardId; 1823 } 1824 public function getLeaderboardId() { 1825 return $this->leaderboardId; 1826 } 1827 public function setUnbeatenScores(/* array(Google_PlayerScore) */ $unbeatenScores) { 1828 $this->assertIsArray($unbeatenScores, 'Google_PlayerScore', __METHOD__); 1829 $this->unbeatenScores = $unbeatenScores; 1830 } 1831 public function getUnbeatenScores() { 1832 return $this->unbeatenScores; 1833 } 1834} 1835 1836class Google_PlayerScoreSubmissionList extends Google_Model { 1837 public $kind; 1838 protected $__scoresType = 'Google_ScoreSubmission'; 1839 protected $__scoresDataType = 'array'; 1840 public $scores; 1841 public function setKind( $kind) { 1842 $this->kind = $kind; 1843 } 1844 public function getKind() { 1845 return $this->kind; 1846 } 1847 public function setScores(/* array(Google_ScoreSubmission) */ $scores) { 1848 $this->assertIsArray($scores, 'Google_ScoreSubmission', __METHOD__); 1849 $this->scores = $scores; 1850 } 1851 public function getScores() { 1852 return $this->scores; 1853 } 1854} 1855 1856class Google_RevisionCheckResponse extends Google_Model { 1857 public $kind; 1858 public $revisionStatus; 1859 public function setKind( $kind) { 1860 $this->kind = $kind; 1861 } 1862 public function getKind() { 1863 return $this->kind; 1864 } 1865 public function setRevisionStatus( $revisionStatus) { 1866 $this->revisionStatus = $revisionStatus; 1867 } 1868 public function getRevisionStatus() { 1869 return $this->revisionStatus; 1870 } 1871} 1872 1873class Google_Room extends Google_Model { 1874 public $applicationId; 1875 protected $__autoMatchingCriteriaType = 'Google_RoomAutoMatchingCriteria'; 1876 protected $__autoMatchingCriteriaDataType = ''; 1877 public $autoMatchingCriteria; 1878 protected $__autoMatchingStatusType = 'Google_RoomAutoMatchStatus'; 1879 protected $__autoMatchingStatusDataType = ''; 1880 public $autoMatchingStatus; 1881 protected $__creationDetailsType = 'Google_RoomModification'; 1882 protected $__creationDetailsDataType = ''; 1883 public $creationDetails; 1884 public $description; 1885 public $kind; 1886 protected $__lastUpdateDetailsType = 'Google_RoomModification'; 1887 protected $__lastUpdateDetailsDataType = ''; 1888 public $lastUpdateDetails; 1889 protected $__participantsType = 'Google_RoomParticipant'; 1890 protected $__participantsDataType = 'array'; 1891 public $participants; 1892 public $roomId; 1893 public $roomStatusVersion; 1894 public $status; 1895 public $variant; 1896 public function setApplicationId( $applicationId) { 1897 $this->applicationId = $applicationId; 1898 } 1899 public function getApplicationId() { 1900 return $this->applicationId; 1901 } 1902 public function setAutoMatchingCriteria(Google_RoomAutoMatchingCriteria $autoMatchingCriteria) { 1903 $this->autoMatchingCriteria = $autoMatchingCriteria; 1904 } 1905 public function getAutoMatchingCriteria() { 1906 return $this->autoMatchingCriteria; 1907 } 1908 public function setAutoMatchingStatus(Google_RoomAutoMatchStatus $autoMatchingStatus) { 1909 $this->autoMatchingStatus = $autoMatchingStatus; 1910 } 1911 public function getAutoMatchingStatus() { 1912 return $this->autoMatchingStatus; 1913 } 1914 public function setCreationDetails(Google_RoomModification $creationDetails) { 1915 $this->creationDetails = $creationDetails; 1916 } 1917 public function getCreationDetails() { 1918 return $this->creationDetails; 1919 } 1920 public function setDescription( $description) { 1921 $this->description = $description; 1922 } 1923 public function getDescription() { 1924 return $this->description; 1925 } 1926 public function setKind( $kind) { 1927 $this->kind = $kind; 1928 } 1929 public function getKind() { 1930 return $this->kind; 1931 } 1932 public function setLastUpdateDetails(Google_RoomModification $lastUpdateDetails) { 1933 $this->lastUpdateDetails = $lastUpdateDetails; 1934 } 1935 public function getLastUpdateDetails() { 1936 return $this->lastUpdateDetails; 1937 } 1938 public function setParticipants(/* array(Google_RoomParticipant) */ $participants) { 1939 $this->assertIsArray($participants, 'Google_RoomParticipant', __METHOD__); 1940 $this->participants = $participants; 1941 } 1942 public function getParticipants() { 1943 return $this->participants; 1944 } 1945 public function setRoomId( $roomId) { 1946 $this->roomId = $roomId; 1947 } 1948 public function getRoomId() { 1949 return $this->roomId; 1950 } 1951 public function setRoomStatusVersion( $roomStatusVersion) { 1952 $this->roomStatusVersion = $roomStatusVersion; 1953 } 1954 public function getRoomStatusVersion() { 1955 return $this->roomStatusVersion; 1956 } 1957 public function setStatus( $status) { 1958 $this->status = $status; 1959 } 1960 public function getStatus() { 1961 return $this->status; 1962 } 1963 public function setVariant( $variant) { 1964 $this->variant = $variant; 1965 } 1966 public function getVariant() { 1967 return $this->variant; 1968 } 1969} 1970 1971class Google_RoomAutoMatchStatus extends Google_Model { 1972 public $kind; 1973 public $waitEstimateSeconds; 1974 public function setKind( $kind) { 1975 $this->kind = $kind; 1976 } 1977 public function getKind() { 1978 return $this->kind; 1979 } 1980 public function setWaitEstimateSeconds( $waitEstimateSeconds) { 1981 $this->waitEstimateSeconds = $waitEstimateSeconds; 1982 } 1983 public function getWaitEstimateSeconds() { 1984 return $this->waitEstimateSeconds; 1985 } 1986} 1987 1988class Google_RoomAutoMatchingCriteria extends Google_Model { 1989 public $exclusiveBitmask; 1990 public $kind; 1991 public $maxAutoMatchingPlayers; 1992 public $minAutoMatchingPlayers; 1993 public function setExclusiveBitmask( $exclusiveBitmask) { 1994 $this->exclusiveBitmask = $exclusiveBitmask; 1995 } 1996 public function getExclusiveBitmask() { 1997 return $this->exclusiveBitmask; 1998 } 1999 public function setKind( $kind) { 2000 $this->kind = $kind; 2001 } 2002 public function getKind() { 2003 return $this->kind; 2004 } 2005 public function setMaxAutoMatchingPlayers( $maxAutoMatchingPlayers) { 2006 $this->maxAutoMatchingPlayers = $maxAutoMatchingPlayers; 2007 } 2008 public function getMaxAutoMatchingPlayers() { 2009 return $this->maxAutoMatchingPlayers; 2010 } 2011 public function setMinAutoMatchingPlayers( $minAutoMatchingPlayers) { 2012 $this->minAutoMatchingPlayers = $minAutoMatchingPlayers; 2013 } 2014 public function getMinAutoMatchingPlayers() { 2015 return $this->minAutoMatchingPlayers; 2016 } 2017} 2018 2019class Google_RoomClientAddress extends Google_Model { 2020 public $kind; 2021 public $xmppAddress; 2022 public function setKind( $kind) { 2023 $this->kind = $kind; 2024 } 2025 public function getKind() { 2026 return $this->kind; 2027 } 2028 public function setXmppAddress( $xmppAddress) { 2029 $this->xmppAddress = $xmppAddress; 2030 } 2031 public function getXmppAddress() { 2032 return $this->xmppAddress; 2033 } 2034} 2035 2036class Google_RoomCreateRequest extends Google_Model { 2037 protected $__autoMatchingCriteriaType = 'Google_RoomAutoMatchingCriteria'; 2038 protected $__autoMatchingCriteriaDataType = ''; 2039 public $autoMatchingCriteria; 2040 public $capabilities; 2041 protected $__clientAddressType = 'Google_RoomClientAddress'; 2042 protected $__clientAddressDataType = ''; 2043 public $clientAddress; 2044 public $invitedPlayerIds; 2045 public $kind; 2046 protected $__networkDiagnosticsType = 'Google_NetworkDiagnostics'; 2047 protected $__networkDiagnosticsDataType = ''; 2048 public $networkDiagnostics; 2049 public $variant; 2050 public function setAutoMatchingCriteria(Google_RoomAutoMatchingCriteria $autoMatchingCriteria) { 2051 $this->autoMatchingCriteria = $autoMatchingCriteria; 2052 } 2053 public function getAutoMatchingCriteria() { 2054 return $this->autoMatchingCriteria; 2055 } 2056 public function setCapabilities(/* array(Google_string) */ $capabilities) { 2057 $this->assertIsArray($capabilities, 'Google_string', __METHOD__); 2058 $this->capabilities = $capabilities; 2059 } 2060 public function getCapabilities() { 2061 return $this->capabilities; 2062 } 2063 public function setClientAddress(Google_RoomClientAddress $clientAddress) { 2064 $this->clientAddress = $clientAddress; 2065 } 2066 public function getClientAddress() { 2067 return $this->clientAddress; 2068 } 2069 public function setInvitedPlayerIds(/* array(Google_string) */ $invitedPlayerIds) { 2070 $this->assertIsArray($invitedPlayerIds, 'Google_string', __METHOD__); 2071 $this->invitedPlayerIds = $invitedPlayerIds; 2072 } 2073 public function getInvitedPlayerIds() { 2074 return $this->invitedPlayerIds; 2075 } 2076 public function setKind( $kind) { 2077 $this->kind = $kind; 2078 } 2079 public function getKind() { 2080 return $this->kind; 2081 } 2082 public function setNetworkDiagnostics(Google_NetworkDiagnostics $networkDiagnostics) { 2083 $this->networkDiagnostics = $networkDiagnostics; 2084 } 2085 public function getNetworkDiagnostics() { 2086 return $this->networkDiagnostics; 2087 } 2088 public function setVariant( $variant) { 2089 $this->variant = $variant; 2090 } 2091 public function getVariant() { 2092 return $this->variant; 2093 } 2094} 2095 2096class Google_RoomJoinRequest extends Google_Model { 2097 public $capabilities; 2098 protected $__clientAddressType = 'Google_RoomClientAddress'; 2099 protected $__clientAddressDataType = ''; 2100 public $clientAddress; 2101 public $kind; 2102 protected $__networkDiagnosticsType = 'Google_NetworkDiagnostics'; 2103 protected $__networkDiagnosticsDataType = ''; 2104 public $networkDiagnostics; 2105 public function setCapabilities(/* array(Google_string) */ $capabilities) { 2106 $this->assertIsArray($capabilities, 'Google_string', __METHOD__); 2107 $this->capabilities = $capabilities; 2108 } 2109 public function getCapabilities() { 2110 return $this->capabilities; 2111 } 2112 public function setClientAddress(Google_RoomClientAddress $clientAddress) { 2113 $this->clientAddress = $clientAddress; 2114 } 2115 public function getClientAddress() { 2116 return $this->clientAddress; 2117 } 2118 public function setKind( $kind) { 2119 $this->kind = $kind; 2120 } 2121 public function getKind() { 2122 return $this->kind; 2123 } 2124 public function setNetworkDiagnostics(Google_NetworkDiagnostics $networkDiagnostics) { 2125 $this->networkDiagnostics = $networkDiagnostics; 2126 } 2127 public function getNetworkDiagnostics() { 2128 return $this->networkDiagnostics; 2129 } 2130} 2131 2132class Google_RoomLeaveDiagnostics extends Google_Model { 2133 public $androidNetworkSubtype; 2134 public $androidNetworkType; 2135 public $kind; 2136 protected $__peerSessionType = 'Google_PeerSessionDiagnostics'; 2137 protected $__peerSessionDataType = 'array'; 2138 public $peerSession; 2139 public $socketsUsed; 2140 public function setAndroidNetworkSubtype( $androidNetworkSubtype) { 2141 $this->androidNetworkSubtype = $androidNetworkSubtype; 2142 } 2143 public function getAndroidNetworkSubtype() { 2144 return $this->androidNetworkSubtype; 2145 } 2146 public function setAndroidNetworkType( $androidNetworkType) { 2147 $this->androidNetworkType = $androidNetworkType; 2148 } 2149 public function getAndroidNetworkType() { 2150 return $this->androidNetworkType; 2151 } 2152 public function setKind( $kind) { 2153 $this->kind = $kind; 2154 } 2155 public function getKind() { 2156 return $this->kind; 2157 } 2158 public function setPeerSession(/* array(Google_PeerSessionDiagnostics) */ $peerSession) { 2159 $this->assertIsArray($peerSession, 'Google_PeerSessionDiagnostics', __METHOD__); 2160 $this->peerSession = $peerSession; 2161 } 2162 public function getPeerSession() { 2163 return $this->peerSession; 2164 } 2165 public function setSocketsUsed( $socketsUsed) { 2166 $this->socketsUsed = $socketsUsed; 2167 } 2168 public function getSocketsUsed() { 2169 return $this->socketsUsed; 2170 } 2171} 2172 2173class Google_RoomLeaveRequest extends Google_Model { 2174 public $kind; 2175 protected $__leaveDiagnosticsType = 'Google_RoomLeaveDiagnostics'; 2176 protected $__leaveDiagnosticsDataType = ''; 2177 public $leaveDiagnostics; 2178 public $reason; 2179 public function setKind( $kind) { 2180 $this->kind = $kind; 2181 } 2182 public function getKind() { 2183 return $this->kind; 2184 } 2185 public function setLeaveDiagnostics(Google_RoomLeaveDiagnostics $leaveDiagnostics) { 2186 $this->leaveDiagnostics = $leaveDiagnostics; 2187 } 2188 public function getLeaveDiagnostics() { 2189 return $this->leaveDiagnostics; 2190 } 2191 public function setReason( $reason) { 2192 $this->reason = $reason; 2193 } 2194 public function getReason() { 2195 return $this->reason; 2196 } 2197} 2198 2199class Google_RoomList extends Google_Model { 2200 protected $__itemsType = 'Google_Room'; 2201 protected $__itemsDataType = 'array'; 2202 public $items; 2203 public $kind; 2204 public $nextPageToken; 2205 public function setItems(/* array(Google_Room) */ $items) { 2206 $this->assertIsArray($items, 'Google_Room', __METHOD__); 2207 $this->items = $items; 2208 } 2209 public function getItems() { 2210 return $this->items; 2211 } 2212 public function setKind( $kind) { 2213 $this->kind = $kind; 2214 } 2215 public function getKind() { 2216 return $this->kind; 2217 } 2218 public function setNextPageToken( $nextPageToken) { 2219 $this->nextPageToken = $nextPageToken; 2220 } 2221 public function getNextPageToken() { 2222 return $this->nextPageToken; 2223 } 2224} 2225 2226class Google_RoomModification extends Google_Model { 2227 public $kind; 2228 public $modifiedTimestampMillis; 2229 public $participantId; 2230 public function setKind( $kind) { 2231 $this->kind = $kind; 2232 } 2233 public function getKind() { 2234 return $this->kind; 2235 } 2236 public function setModifiedTimestampMillis( $modifiedTimestampMillis) { 2237 $this->modifiedTimestampMillis = $modifiedTimestampMillis; 2238 } 2239 public function getModifiedTimestampMillis() { 2240 return $this->modifiedTimestampMillis; 2241 } 2242 public function setParticipantId( $participantId) { 2243 $this->participantId = $participantId; 2244 } 2245 public function getParticipantId() { 2246 return $this->participantId; 2247 } 2248} 2249 2250class Google_RoomP2PStatus extends Google_Model { 2251 public $connectionSetupLatencyMillis; 2252 public $error; 2253 public $error_reason; 2254 public $kind; 2255 public $participantId; 2256 public $status; 2257 public $unreliableRoundtripLatencyMillis; 2258 public function setConnectionSetupLatencyMillis( $connectionSetupLatencyMillis) { 2259 $this->connectionSetupLatencyMillis = $connectionSetupLatencyMillis; 2260 } 2261 public function getConnectionSetupLatencyMillis() { 2262 return $this->connectionSetupLatencyMillis; 2263 } 2264 public function setError( $error) { 2265 $this->error = $error; 2266 } 2267 public function getError() { 2268 return $this->error; 2269 } 2270 public function setError_reason( $error_reason) { 2271 $this->error_reason = $error_reason; 2272 } 2273 public function getError_reason() { 2274 return $this->error_reason; 2275 } 2276 public function setKind( $kind) { 2277 $this->kind = $kind; 2278 } 2279 public function getKind() { 2280 return $this->kind; 2281 } 2282 public function setParticipantId( $participantId) { 2283 $this->participantId = $participantId; 2284 } 2285 public function getParticipantId() { 2286 return $this->participantId; 2287 } 2288 public function setStatus( $status) { 2289 $this->status = $status; 2290 } 2291 public function getStatus() { 2292 return $this->status; 2293 } 2294 public function setUnreliableRoundtripLatencyMillis( $unreliableRoundtripLatencyMillis) { 2295 $this->unreliableRoundtripLatencyMillis = $unreliableRoundtripLatencyMillis; 2296 } 2297 public function getUnreliableRoundtripLatencyMillis() { 2298 return $this->unreliableRoundtripLatencyMillis; 2299 } 2300} 2301 2302class Google_RoomP2PStatuses extends Google_Model { 2303 public $kind; 2304 protected $__updatesType = 'Google_RoomP2PStatus'; 2305 protected $__updatesDataType = 'array'; 2306 public $updates; 2307 public function setKind( $kind) { 2308 $this->kind = $kind; 2309 } 2310 public function getKind() { 2311 return $this->kind; 2312 } 2313 public function setUpdates(/* array(Google_RoomP2PStatus) */ $updates) { 2314 $this->assertIsArray($updates, 'Google_RoomP2PStatus', __METHOD__); 2315 $this->updates = $updates; 2316 } 2317 public function getUpdates() { 2318 return $this->updates; 2319 } 2320} 2321 2322class Google_RoomParticipant extends Google_Model { 2323 protected $__autoMatchedPlayerType = 'Google_AnonymousPlayer'; 2324 protected $__autoMatchedPlayerDataType = ''; 2325 public $autoMatchedPlayer; 2326 public $capabilities; 2327 protected $__clientAddressType = 'Google_RoomClientAddress'; 2328 protected $__clientAddressDataType = ''; 2329 public $clientAddress; 2330 public $connected; 2331 public $id; 2332 public $kind; 2333 public $leaveReason; 2334 protected $__playerType = 'Google_Player'; 2335 protected $__playerDataType = ''; 2336 public $player; 2337 public $status; 2338 public function setAutoMatchedPlayer(Google_AnonymousPlayer $autoMatchedPlayer) { 2339 $this->autoMatchedPlayer = $autoMatchedPlayer; 2340 } 2341 public function getAutoMatchedPlayer() { 2342 return $this->autoMatchedPlayer; 2343 } 2344 public function setCapabilities(/* array(Google_string) */ $capabilities) { 2345 $this->assertIsArray($capabilities, 'Google_string', __METHOD__); 2346 $this->capabilities = $capabilities; 2347 } 2348 public function getCapabilities() { 2349 return $this->capabilities; 2350 } 2351 public function setClientAddress(Google_RoomClientAddress $clientAddress) { 2352 $this->clientAddress = $clientAddress; 2353 } 2354 public function getClientAddress() { 2355 return $this->clientAddress; 2356 } 2357 public function setConnected( $connected) { 2358 $this->connected = $connected; 2359 } 2360 public function getConnected() { 2361 return $this->connected; 2362 } 2363 public function setId( $id) { 2364 $this->id = $id; 2365 } 2366 public function getId() { 2367 return $this->id; 2368 } 2369 public function setKind( $kind) { 2370 $this->kind = $kind; 2371 } 2372 public function getKind() { 2373 return $this->kind; 2374 } 2375 public function setLeaveReason( $leaveReason) { 2376 $this->leaveReason = $leaveReason; 2377 } 2378 public function getLeaveReason() { 2379 return $this->leaveReason; 2380 } 2381 public function setPlayer(Google_Player $player) { 2382 $this->player = $player; 2383 } 2384 public function getPlayer() { 2385 return $this->player; 2386 } 2387 public function setStatus( $status) { 2388 $this->status = $status; 2389 } 2390 public function getStatus() { 2391 return $this->status; 2392 } 2393} 2394 2395class Google_RoomStatus extends Google_Model { 2396 protected $__autoMatchingStatusType = 'Google_RoomAutoMatchStatus'; 2397 protected $__autoMatchingStatusDataType = ''; 2398 public $autoMatchingStatus; 2399 public $kind; 2400 protected $__participantsType = 'Google_RoomParticipant'; 2401 protected $__participantsDataType = 'array'; 2402 public $participants; 2403 public $roomId; 2404 public $status; 2405 public $statusVersion; 2406 public function setAutoMatchingStatus(Google_RoomAutoMatchStatus $autoMatchingStatus) { 2407 $this->autoMatchingStatus = $autoMatchingStatus; 2408 } 2409 public function getAutoMatchingStatus() { 2410 return $this->autoMatchingStatus; 2411 } 2412 public function setKind( $kind) { 2413 $this->kind = $kind; 2414 } 2415 public function getKind() { 2416 return $this->kind; 2417 } 2418 public function setParticipants(/* array(Google_RoomParticipant) */ $participants) { 2419 $this->assertIsArray($participants, 'Google_RoomParticipant', __METHOD__); 2420 $this->participants = $participants; 2421 } 2422 public function getParticipants() { 2423 return $this->participants; 2424 } 2425 public function setRoomId( $roomId) { 2426 $this->roomId = $roomId; 2427 } 2428 public function getRoomId() { 2429 return $this->roomId; 2430 } 2431 public function setStatus( $status) { 2432 $this->status = $status; 2433 } 2434 public function getStatus() { 2435 return $this->status; 2436 } 2437 public function setStatusVersion( $statusVersion) { 2438 $this->statusVersion = $statusVersion; 2439 } 2440 public function getStatusVersion() { 2441 return $this->statusVersion; 2442 } 2443} 2444 2445class Google_ScoreSubmission extends Google_Model { 2446 public $kind; 2447 public $leaderboardId; 2448 public $score; 2449 public function setKind( $kind) { 2450 $this->kind = $kind; 2451 } 2452 public function getKind() { 2453 return $this->kind; 2454 } 2455 public function setLeaderboardId( $leaderboardId) { 2456 $this->leaderboardId = $leaderboardId; 2457 } 2458 public function getLeaderboardId() { 2459 return $this->leaderboardId; 2460 } 2461 public function setScore( $score) { 2462 $this->score = $score; 2463 } 2464 public function getScore() { 2465 return $this->score; 2466 } 2467} 2468