| 1 |
<?php |
| 2 |
/* |
| 3 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 |
* use this file except in compliance with the License. You may obtain a copy of |
| 5 |
* the License at |
| 6 |
* |
| 7 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
* |
| 9 |
* Unless required by applicable law or agreed to in writing, software |
| 10 |
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 |
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 |
* License for the specific language governing permissions and limitations under |
| 13 |
* the License. |
| 14 |
*/ |
| 15 |
|
| 16 |
/** |
| 17 |
* Service definition for GamesConfiguration (v1configuration). |
| 18 |
* |
| 19 |
* <p> |
| 20 |
* The Publishing API for Google Play Game Services.</p> |
| 21 |
* |
| 22 |
* <p> |
| 23 |
* For more information about this service, see the API |
| 24 |
* <a href="https://developers.google.com/games/services" target="_blank">Documentation</a> |
| 25 |
* </p> |
| 26 |
* |
| 27 |
* @author Google, Inc. |
| 28 |
*/ |
| 29 |
class Google_Service_GamesConfiguration extends Google_Service |
| 30 |
{ |
| 31 |
/** View and manage your Google Play Developer account. */ |
| 32 |
const ANDROIDPUBLISHER = |
| 33 |
"https://www.googleapis.com/auth/androidpublisher"; |
| 34 |
|
| 35 |
public $achievementConfigurations; |
| 36 |
public $imageConfigurations; |
| 37 |
public $leaderboardConfigurations; |
| 38 |
|
| 39 |
|
| 40 |
/** |
| 41 |
* Constructs the internal representation of the GamesConfiguration service. |
| 42 |
* |
| 43 |
* @param Google_Client $client |
| 44 |
*/ |
| 45 |
public function __construct(Google_Client $client) |
| 46 |
{ |
| 47 |
parent::__construct($client); |
| 48 |
$this->rootUrl = 'https://www.googleapis.com/'; |
| 49 |
$this->servicePath = 'games/v1configuration/'; |
| 50 |
$this->version = 'v1configuration'; |
| 51 |
$this->serviceName = 'gamesConfiguration'; |
| 52 |
|
| 53 |
$this->achievementConfigurations = new Google_Service_GamesConfiguration_AchievementConfigurations_Resource( |
| 54 |
$this, |
| 55 |
$this->serviceName, |
| 56 |
'achievementConfigurations', |
| 57 |
array( |
| 58 |
'methods' => array( |
| 59 |
'delete' => array( |
| 60 |
'path' => 'achievements/{achievementId}', |
| 61 |
'httpMethod' => 'DELETE', |
| 62 |
'parameters' => array( |
| 63 |
'achievementId' => array( |
| 64 |
'location' => 'path', |
| 65 |
'type' => 'string', |
| 66 |
'required' => true, |
| 67 |
), |
| 68 |
), |
| 69 |
),'get' => array( |
| 70 |
'path' => 'achievements/{achievementId}', |
| 71 |
'httpMethod' => 'GET', |
| 72 |
'parameters' => array( |
| 73 |
'achievementId' => array( |
| 74 |
'location' => 'path', |
| 75 |
'type' => 'string', |
| 76 |
'required' => true, |
| 77 |
), |
| 78 |
), |
| 79 |
),'insert' => array( |
| 80 |
'path' => 'applications/{applicationId}/achievements', |
| 81 |
'httpMethod' => 'POST', |
| 82 |
'parameters' => array( |
| 83 |
'applicationId' => array( |
| 84 |
'location' => 'path', |
| 85 |
'type' => 'string', |
| 86 |
'required' => true, |
| 87 |
), |
| 88 |
), |
| 89 |
),'list' => array( |
| 90 |
'path' => 'applications/{applicationId}/achievements', |
| 91 |
'httpMethod' => 'GET', |
| 92 |
'parameters' => array( |
| 93 |
'applicationId' => array( |
| 94 |
'location' => 'path', |
| 95 |
'type' => 'string', |
| 96 |
'required' => true, |
| 97 |
), |
| 98 |
'maxResults' => array( |
| 99 |
'location' => 'query', |
| 100 |
'type' => 'integer', |
| 101 |
), |
| 102 |
'pageToken' => array( |
| 103 |
'location' => 'query', |
| 104 |
'type' => 'string', |
| 105 |
), |
| 106 |
), |
| 107 |
),'patch' => array( |
| 108 |
'path' => 'achievements/{achievementId}', |
| 109 |
'httpMethod' => 'PATCH', |
| 110 |
'parameters' => array( |
| 111 |
'achievementId' => array( |
| 112 |
'location' => 'path', |
| 113 |
'type' => 'string', |
| 114 |
'required' => true, |
| 115 |
), |
| 116 |
), |
| 117 |
),'update' => array( |
| 118 |
'path' => 'achievements/{achievementId}', |
| 119 |
'httpMethod' => 'PUT', |
| 120 |
'parameters' => array( |
| 121 |
'achievementId' => array( |
| 122 |
'location' => 'path', |
| 123 |
'type' => 'string', |
| 124 |
'required' => true, |
| 125 |
), |
| 126 |
), |
| 127 |
), |
| 128 |
) |
| 129 |
) |
| 130 |
); |
| 131 |
$this->imageConfigurations = new Google_Service_GamesConfiguration_ImageConfigurations_Resource( |
| 132 |
$this, |
| 133 |
$this->serviceName, |
| 134 |
'imageConfigurations', |
| 135 |
array( |
| 136 |
'methods' => array( |
| 137 |
'upload' => array( |
| 138 |
'path' => 'images/{resourceId}/imageType/{imageType}', |
| 139 |
'httpMethod' => 'POST', |
| 140 |
'parameters' => array( |
| 141 |
'resourceId' => array( |
| 142 |
'location' => 'path', |
| 143 |
'type' => 'string', |
| 144 |
'required' => true, |
| 145 |
), |
| 146 |
'imageType' => array( |
| 147 |
'location' => 'path', |
| 148 |
'type' => 'string', |
| 149 |
'required' => true, |
| 150 |
), |
| 151 |
), |
| 152 |
), |
| 153 |
) |
| 154 |
) |
| 155 |
); |
| 156 |
$this->leaderboardConfigurations = new Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource( |
| 157 |
$this, |
| 158 |
$this->serviceName, |
| 159 |
'leaderboardConfigurations', |
| 160 |
array( |
| 161 |
'methods' => array( |
| 162 |
'delete' => array( |
| 163 |
'path' => 'leaderboards/{leaderboardId}', |
| 164 |
'httpMethod' => 'DELETE', |
| 165 |
'parameters' => array( |
| 166 |
'leaderboardId' => array( |
| 167 |
'location' => 'path', |
| 168 |
'type' => 'string', |
| 169 |
'required' => true, |
| 170 |
), |
| 171 |
), |
| 172 |
),'get' => array( |
| 173 |
'path' => 'leaderboards/{leaderboardId}', |
| 174 |
'httpMethod' => 'GET', |
| 175 |
'parameters' => array( |
| 176 |
'leaderboardId' => array( |
| 177 |
'location' => 'path', |
| 178 |
'type' => 'string', |
| 179 |
'required' => true, |
| 180 |
), |
| 181 |
), |
| 182 |
),'insert' => array( |
| 183 |
'path' => 'applications/{applicationId}/leaderboards', |
| 184 |
'httpMethod' => 'POST', |
| 185 |
'parameters' => array( |
| 186 |
'applicationId' => array( |
| 187 |
'location' => 'path', |
| 188 |
'type' => 'string', |
| 189 |
'required' => true, |
| 190 |
), |
| 191 |
), |
| 192 |
),'list' => array( |
| 193 |
'path' => 'applications/{applicationId}/leaderboards', |
| 194 |
'httpMethod' => 'GET', |
| 195 |
'parameters' => array( |
| 196 |
'applicationId' => array( |
| 197 |
'location' => 'path', |
| 198 |
'type' => 'string', |
| 199 |
'required' => true, |
| 200 |
), |
| 201 |
'maxResults' => array( |
| 202 |
'location' => 'query', |
| 203 |
'type' => 'integer', |
| 204 |
), |
| 205 |
'pageToken' => array( |
| 206 |
'location' => 'query', |
| 207 |
'type' => 'string', |
| 208 |
), |
| 209 |
), |
| 210 |
),'patch' => array( |
| 211 |
'path' => 'leaderboards/{leaderboardId}', |
| 212 |
'httpMethod' => 'PATCH', |
| 213 |
'parameters' => array( |
| 214 |
'leaderboardId' => array( |
| 215 |
'location' => 'path', |
| 216 |
'type' => 'string', |
| 217 |
'required' => true, |
| 218 |
), |
| 219 |
), |
| 220 |
),'update' => array( |
| 221 |
'path' => 'leaderboards/{leaderboardId}', |
| 222 |
'httpMethod' => 'PUT', |
| 223 |
'parameters' => array( |
| 224 |
'leaderboardId' => array( |
| 225 |
'location' => 'path', |
| 226 |
'type' => 'string', |
| 227 |
'required' => true, |
| 228 |
), |
| 229 |
), |
| 230 |
), |
| 231 |
) |
| 232 |
) |
| 233 |
); |
| 234 |
} |
| 235 |
} |
| 236 |
|
| 237 |
|
| 238 |
/** |
| 239 |
* The "achievementConfigurations" collection of methods. |
| 240 |
* Typical usage is: |
| 241 |
* <code> |
| 242 |
* $gamesConfigurationService = new Google_Service_GamesConfiguration(...); |
| 243 |
* $achievementConfigurations = $gamesConfigurationService->achievementConfigurations; |
| 244 |
* </code> |
| 245 |
*/ |
| 246 |
class Google_Service_GamesConfiguration_AchievementConfigurations_Resource extends Google_Service_Resource |
| 247 |
{ |
| 248 |
|
| 249 |
/** |
| 250 |
* Delete the achievement configuration with the given ID. |
| 251 |
* (achievementConfigurations.delete) |
| 252 |
* |
| 253 |
* @param string $achievementId The ID of the achievement used by this method. |
| 254 |
* @param array $optParams Optional parameters. |
| 255 |
*/ |
| 256 |
public function delete($achievementId, $optParams = array()) |
| 257 |
{ |
| 258 |
$params = array('achievementId' => $achievementId); |
| 259 |
$params = array_merge($params, $optParams); |
| 260 |
return $this->call('delete', array($params)); |
| 261 |
} |
| 262 |
|
| 263 |
/** |
| 264 |
* Retrieves the metadata of the achievement configuration with the given ID. |
| 265 |
* (achievementConfigurations.get) |
| 266 |
* |
| 267 |
* @param string $achievementId The ID of the achievement used by this method. |
| 268 |
* @param array $optParams Optional parameters. |
| 269 |
* @return Google_Service_GamesConfiguration_AchievementConfiguration |
| 270 |
*/ |
| 271 |
public function get($achievementId, $optParams = array()) |
| 272 |
{ |
| 273 |
$params = array('achievementId' => $achievementId); |
| 274 |
$params = array_merge($params, $optParams); |
| 275 |
return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); |
| 276 |
} |
| 277 |
|
| 278 |
/** |
| 279 |
* Insert a new achievement configuration in this application. |
| 280 |
* (achievementConfigurations.insert) |
| 281 |
* |
| 282 |
* @param string $applicationId The application ID from the Google Play |
| 283 |
* developer console. |
| 284 |
* @param Google_AchievementConfiguration $postBody |
| 285 |
* @param array $optParams Optional parameters. |
| 286 |
* @return Google_Service_GamesConfiguration_AchievementConfiguration |
| 287 |
*/ |
| 288 |
public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) |
| 289 |
{ |
| 290 |
$params = array('applicationId' => $applicationId, 'postBody' => $postBody); |
| 291 |
$params = array_merge($params, $optParams); |
| 292 |
return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); |
| 293 |
} |
| 294 |
|
| 295 |
/** |
| 296 |
* Returns a list of the achievement configurations in this application. |
| 297 |
* (achievementConfigurations.listAchievementConfigurations) |
| 298 |
* |
| 299 |
* @param string $applicationId The application ID from the Google Play |
| 300 |
* developer console. |
| 301 |
* @param array $optParams Optional parameters. |
| 302 |
* |
| 303 |
* @opt_param int maxResults The maximum number of resource configurations to |
| 304 |
* return in the response, used for paging. For any response, the actual number |
| 305 |
* of resources returned may be less than the specified maxResults. |
| 306 |
* @opt_param string pageToken The token returned by the previous request. |
| 307 |
* @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse |
| 308 |
*/ |
| 309 |
public function listAchievementConfigurations($applicationId, $optParams = array()) |
| 310 |
{ |
| 311 |
$params = array('applicationId' => $applicationId); |
| 312 |
$params = array_merge($params, $optParams); |
| 313 |
return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse"); |
| 314 |
} |
| 315 |
|
| 316 |
/** |
| 317 |
* Update the metadata of the achievement configuration with the given ID. This |
| 318 |
* method supports patch semantics. (achievementConfigurations.patch) |
| 319 |
* |
| 320 |
* @param string $achievementId The ID of the achievement used by this method. |
| 321 |
* @param Google_AchievementConfiguration $postBody |
| 322 |
* @param array $optParams Optional parameters. |
| 323 |
* @return Google_Service_GamesConfiguration_AchievementConfiguration |
| 324 |
*/ |
| 325 |
public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) |
| 326 |
{ |
| 327 |
$params = array('achievementId' => $achievementId, 'postBody' => $postBody); |
| 328 |
$params = array_merge($params, $optParams); |
| 329 |
return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); |
| 330 |
} |
| 331 |
|
| 332 |
/** |
| 333 |
* Update the metadata of the achievement configuration with the given ID. |
| 334 |
* (achievementConfigurations.update) |
| 335 |
* |
| 336 |
* @param string $achievementId The ID of the achievement used by this method. |
| 337 |
* @param Google_AchievementConfiguration $postBody |
| 338 |
* @param array $optParams Optional parameters. |
| 339 |
* @return Google_Service_GamesConfiguration_AchievementConfiguration |
| 340 |
*/ |
| 341 |
public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) |
| 342 |
{ |
| 343 |
$params = array('achievementId' => $achievementId, 'postBody' => $postBody); |
| 344 |
$params = array_merge($params, $optParams); |
| 345 |
return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); |
| 346 |
} |
| 347 |
} |
| 348 |
|
| 349 |
/** |
| 350 |
* The "imageConfigurations" collection of methods. |
| 351 |
* Typical usage is: |
| 352 |
* <code> |
| 353 |
* $gamesConfigurationService = new Google_Service_GamesConfiguration(...); |
| 354 |
* $imageConfigurations = $gamesConfigurationService->imageConfigurations; |
| 355 |
* </code> |
| 356 |
*/ |
| 357 |
class Google_Service_GamesConfiguration_ImageConfigurations_Resource extends Google_Service_Resource |
| 358 |
{ |
| 359 |
|
| 360 |
/** |
| 361 |
* Uploads an image for a resource with the given ID and image type. |
| 362 |
* (imageConfigurations.upload) |
| 363 |
* |
| 364 |
* @param string $resourceId The ID of the resource used by this method. |
| 365 |
* @param string $imageType Selects which image in a resource for this method. |
| 366 |
* @param array $optParams Optional parameters. |
| 367 |
* @return Google_Service_GamesConfiguration_ImageConfiguration |
| 368 |
*/ |
| 369 |
public function upload($resourceId, $imageType, $optParams = array()) |
| 370 |
{ |
| 371 |
$params = array('resourceId' => $resourceId, 'imageType' => $imageType); |
| 372 |
$params = array_merge($params, $optParams); |
| 373 |
return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration"); |
| 374 |
} |
| 375 |
} |
| 376 |
|
| 377 |
/** |
| 378 |
* The "leaderboardConfigurations" collection of methods. |
| 379 |
* Typical usage is: |
| 380 |
* <code> |
| 381 |
* $gamesConfigurationService = new Google_Service_GamesConfiguration(...); |
| 382 |
* $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations; |
| 383 |
* </code> |
| 384 |
*/ |
| 385 |
class Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource extends Google_Service_Resource |
| 386 |
{ |
| 387 |
|
| 388 |
/** |
| 389 |
* Delete the leaderboard configuration with the given ID. |
| 390 |
* (leaderboardConfigurations.delete) |
| 391 |
* |
| 392 |
* @param string $leaderboardId The ID of the leaderboard. |
| 393 |
* @param array $optParams Optional parameters. |
| 394 |
*/ |
| 395 |
public function delete($leaderboardId, $optParams = array()) |
| 396 |
{ |
| 397 |
$params = array('leaderboardId' => $leaderboardId); |
| 398 |
$params = array_merge($params, $optParams); |
| 399 |
return $this->call('delete', array($params)); |
| 400 |
} |
| 401 |
|
| 402 |
/** |
| 403 |
* Retrieves the metadata of the leaderboard configuration with the given ID. |
| 404 |
* (leaderboardConfigurations.get) |
| 405 |
* |
| 406 |
* @param string $leaderboardId The ID of the leaderboard. |
| 407 |
* @param array $optParams Optional parameters. |
| 408 |
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration |
| 409 |
*/ |
| 410 |
public function get($leaderboardId, $optParams = array()) |
| 411 |
{ |
| 412 |
$params = array('leaderboardId' => $leaderboardId); |
| 413 |
$params = array_merge($params, $optParams); |
| 414 |
return $this->call('get', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); |
| 415 |
} |
| 416 |
|
| 417 |
/** |
| 418 |
* Insert a new leaderboard configuration in this application. |
| 419 |
* (leaderboardConfigurations.insert) |
| 420 |
* |
| 421 |
* @param string $applicationId The application ID from the Google Play |
| 422 |
* developer console. |
| 423 |
* @param Google_LeaderboardConfiguration $postBody |
| 424 |
* @param array $optParams Optional parameters. |
| 425 |
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration |
| 426 |
*/ |
| 427 |
public function insert($applicationId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) |
| 428 |
{ |
| 429 |
$params = array('applicationId' => $applicationId, 'postBody' => $postBody); |
| 430 |
$params = array_merge($params, $optParams); |
| 431 |
return $this->call('insert', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); |
| 432 |
} |
| 433 |
|
| 434 |
/** |
| 435 |
* Returns a list of the leaderboard configurations in this application. |
| 436 |
* (leaderboardConfigurations.listLeaderboardConfigurations) |
| 437 |
* |
| 438 |
* @param string $applicationId The application ID from the Google Play |
| 439 |
* developer console. |
| 440 |
* @param array $optParams Optional parameters. |
| 441 |
* |
| 442 |
* @opt_param int maxResults The maximum number of resource configurations to |
| 443 |
* return in the response, used for paging. For any response, the actual number |
| 444 |
* of resources returned may be less than the specified maxResults. |
| 445 |
* @opt_param string pageToken The token returned by the previous request. |
| 446 |
* @return Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse |
| 447 |
*/ |
| 448 |
public function listLeaderboardConfigurations($applicationId, $optParams = array()) |
| 449 |
{ |
| 450 |
$params = array('applicationId' => $applicationId); |
| 451 |
$params = array_merge($params, $optParams); |
| 452 |
return $this->call('list', array($params), "Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse"); |
| 453 |
} |
| 454 |
|
| 455 |
/** |
| 456 |
* Update the metadata of the leaderboard configuration with the given ID. This |
| 457 |
* method supports patch semantics. (leaderboardConfigurations.patch) |
| 458 |
* |
| 459 |
* @param string $leaderboardId The ID of the leaderboard. |
| 460 |
* @param Google_LeaderboardConfiguration $postBody |
| 461 |
* @param array $optParams Optional parameters. |
| 462 |
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration |
| 463 |
*/ |
| 464 |
public function patch($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) |
| 465 |
{ |
| 466 |
$params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody); |
| 467 |
$params = array_merge($params, $optParams); |
| 468 |
return $this->call('patch', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); |
| 469 |
} |
| 470 |
|
| 471 |
/** |
| 472 |
* Update the metadata of the leaderboard configuration with the given ID. |
| 473 |
* (leaderboardConfigurations.update) |
| 474 |
* |
| 475 |
* @param string $leaderboardId The ID of the leaderboard. |
| 476 |
* @param Google_LeaderboardConfiguration $postBody |
| 477 |
* @param array $optParams Optional parameters. |
| 478 |
* @return Google_Service_GamesConfiguration_LeaderboardConfiguration |
| 479 |
*/ |
| 480 |
public function update($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array()) |
| 481 |
{ |
| 482 |
$params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody); |
| 483 |
$params = array_merge($params, $optParams); |
| 484 |
return $this->call('update', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration"); |
| 485 |
} |
| 486 |
} |
| 487 |
|
| 488 |
|
| 489 |
|
| 490 |
|
| 491 |
class Google_Service_GamesConfiguration_AchievementConfiguration extends Google_Model |
| 492 |
{ |
| 493 |
protected $internal_gapi_mappings = array( |
| 494 |
); |
| 495 |
public $achievementType; |
| 496 |
protected $draftType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail'; |
| 497 |
protected $draftDataType = ''; |
| 498 |
public $id; |
| 499 |
public $initialState; |
| 500 |
public $kind; |
| 501 |
protected $publishedType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail'; |
| 502 |
protected $publishedDataType = ''; |
| 503 |
public $stepsToUnlock; |
| 504 |
public $token; |
| 505 |
|
| 506 |
|
| 507 |
public function setAchievementType($achievementType) |
| 508 |
{ |
| 509 |
$this->achievementType = $achievementType; |
| 510 |
} |
| 511 |
public function getAchievementType() |
| 512 |
{ |
| 513 |
return $this->achievementType; |
| 514 |
} |
| 515 |
public function setDraft(Google_Service_GamesConfiguration_AchievementConfigurationDetail $draft) |
| 516 |
{ |
| 517 |
$this->draft = $draft; |
| 518 |
} |
| 519 |
public function getDraft() |
| 520 |
{ |
| 521 |
return $this->draft; |
| 522 |
} |
| 523 |
public function setId($id) |
| 524 |
{ |
| 525 |
$this->id = $id; |
| 526 |
} |
| 527 |
public function getId() |
| 528 |
{ |
| 529 |
return $this->id; |
| 530 |
} |
| 531 |
public function setInitialState($initialState) |
| 532 |
{ |
| 533 |
$this->initialState = $initialState; |
| 534 |
} |
| 535 |
public function getInitialState() |
| 536 |
{ |
| 537 |
return $this->initialState; |
| 538 |
} |
| 539 |
public function setKind($kind) |
| 540 |
{ |
| 541 |
$this->kind = $kind; |
| 542 |
} |
| 543 |
public function getKind() |
| 544 |
{ |
| 545 |
return $this->kind; |
| 546 |
} |
| 547 |
public function setPublished(Google_Service_GamesConfiguration_AchievementConfigurationDetail $published) |
| 548 |
{ |
| 549 |
$this->published = $published; |
| 550 |
} |
| 551 |
public function getPublished() |
| 552 |
{ |
| 553 |
return $this->published; |
| 554 |
} |
| 555 |
public function setStepsToUnlock($stepsToUnlock) |
| 556 |
{ |
| 557 |
$this->stepsToUnlock = $stepsToUnlock; |
| 558 |
} |
| 559 |
public function getStepsToUnlock() |
| 560 |
{ |
| 561 |
return $this->stepsToUnlock; |
| 562 |
} |
| 563 |
public function setToken($token) |
| 564 |
{ |
| 565 |
$this->token = $token; |
| 566 |
} |
| 567 |
public function getToken() |
| 568 |
{ |
| 569 |
return $this->token; |
| 570 |
} |
| 571 |
} |
| 572 |
|
| 573 |
class Google_Service_GamesConfiguration_AchievementConfigurationDetail extends Google_Model |
| 574 |
{ |
| 575 |
protected $internal_gapi_mappings = array( |
| 576 |
); |
| 577 |
protected $descriptionType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 578 |
protected $descriptionDataType = ''; |
| 579 |
public $iconUrl; |
| 580 |
public $kind; |
| 581 |
protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 582 |
protected $nameDataType = ''; |
| 583 |
public $pointValue; |
| 584 |
public $sortRank; |
| 585 |
|
| 586 |
|
| 587 |
public function setDescription(Google_Service_GamesConfiguration_LocalizedStringBundle $description) |
| 588 |
{ |
| 589 |
$this->description = $description; |
| 590 |
} |
| 591 |
public function getDescription() |
| 592 |
{ |
| 593 |
return $this->description; |
| 594 |
} |
| 595 |
public function setIconUrl($iconUrl) |
| 596 |
{ |
| 597 |
$this->iconUrl = $iconUrl; |
| 598 |
} |
| 599 |
public function getIconUrl() |
| 600 |
{ |
| 601 |
return $this->iconUrl; |
| 602 |
} |
| 603 |
public function setKind($kind) |
| 604 |
{ |
| 605 |
$this->kind = $kind; |
| 606 |
} |
| 607 |
public function getKind() |
| 608 |
{ |
| 609 |
return $this->kind; |
| 610 |
} |
| 611 |
public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name) |
| 612 |
{ |
| 613 |
$this->name = $name; |
| 614 |
} |
| 615 |
public function getName() |
| 616 |
{ |
| 617 |
return $this->name; |
| 618 |
} |
| 619 |
public function setPointValue($pointValue) |
| 620 |
{ |
| 621 |
$this->pointValue = $pointValue; |
| 622 |
} |
| 623 |
public function getPointValue() |
| 624 |
{ |
| 625 |
return $this->pointValue; |
| 626 |
} |
| 627 |
public function setSortRank($sortRank) |
| 628 |
{ |
| 629 |
$this->sortRank = $sortRank; |
| 630 |
} |
| 631 |
public function getSortRank() |
| 632 |
{ |
| 633 |
return $this->sortRank; |
| 634 |
} |
| 635 |
} |
| 636 |
|
| 637 |
class Google_Service_GamesConfiguration_AchievementConfigurationListResponse extends Google_Collection |
| 638 |
{ |
| 639 |
protected $collection_key = 'items'; |
| 640 |
protected $internal_gapi_mappings = array( |
| 641 |
); |
| 642 |
protected $itemsType = 'Google_Service_GamesConfiguration_AchievementConfiguration'; |
| 643 |
protected $itemsDataType = 'array'; |
| 644 |
public $kind; |
| 645 |
public $nextPageToken; |
| 646 |
|
| 647 |
|
| 648 |
public function setItems($items) |
| 649 |
{ |
| 650 |
$this->items = $items; |
| 651 |
} |
| 652 |
public function getItems() |
| 653 |
{ |
| 654 |
return $this->items; |
| 655 |
} |
| 656 |
public function setKind($kind) |
| 657 |
{ |
| 658 |
$this->kind = $kind; |
| 659 |
} |
| 660 |
public function getKind() |
| 661 |
{ |
| 662 |
return $this->kind; |
| 663 |
} |
| 664 |
public function setNextPageToken($nextPageToken) |
| 665 |
{ |
| 666 |
$this->nextPageToken = $nextPageToken; |
| 667 |
} |
| 668 |
public function getNextPageToken() |
| 669 |
{ |
| 670 |
return $this->nextPageToken; |
| 671 |
} |
| 672 |
} |
| 673 |
|
| 674 |
class Google_Service_GamesConfiguration_GamesNumberAffixConfiguration extends Google_Model |
| 675 |
{ |
| 676 |
protected $internal_gapi_mappings = array( |
| 677 |
); |
| 678 |
protected $fewType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 679 |
protected $fewDataType = ''; |
| 680 |
protected $manyType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 681 |
protected $manyDataType = ''; |
| 682 |
protected $oneType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 683 |
protected $oneDataType = ''; |
| 684 |
protected $otherType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 685 |
protected $otherDataType = ''; |
| 686 |
protected $twoType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 687 |
protected $twoDataType = ''; |
| 688 |
protected $zeroType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 689 |
protected $zeroDataType = ''; |
| 690 |
|
| 691 |
|
| 692 |
public function setFew(Google_Service_GamesConfiguration_LocalizedStringBundle $few) |
| 693 |
{ |
| 694 |
$this->few = $few; |
| 695 |
} |
| 696 |
public function getFew() |
| 697 |
{ |
| 698 |
return $this->few; |
| 699 |
} |
| 700 |
public function setMany(Google_Service_GamesConfiguration_LocalizedStringBundle $many) |
| 701 |
{ |
| 702 |
$this->many = $many; |
| 703 |
} |
| 704 |
public function getMany() |
| 705 |
{ |
| 706 |
return $this->many; |
| 707 |
} |
| 708 |
public function setOne(Google_Service_GamesConfiguration_LocalizedStringBundle $one) |
| 709 |
{ |
| 710 |
$this->one = $one; |
| 711 |
} |
| 712 |
public function getOne() |
| 713 |
{ |
| 714 |
return $this->one; |
| 715 |
} |
| 716 |
public function setOther(Google_Service_GamesConfiguration_LocalizedStringBundle $other) |
| 717 |
{ |
| 718 |
$this->other = $other; |
| 719 |
} |
| 720 |
public function getOther() |
| 721 |
{ |
| 722 |
return $this->other; |
| 723 |
} |
| 724 |
public function setTwo(Google_Service_GamesConfiguration_LocalizedStringBundle $two) |
| 725 |
{ |
| 726 |
$this->two = $two; |
| 727 |
} |
| 728 |
public function getTwo() |
| 729 |
{ |
| 730 |
return $this->two; |
| 731 |
} |
| 732 |
public function setZero(Google_Service_GamesConfiguration_LocalizedStringBundle $zero) |
| 733 |
{ |
| 734 |
$this->zero = $zero; |
| 735 |
} |
| 736 |
public function getZero() |
| 737 |
{ |
| 738 |
return $this->zero; |
| 739 |
} |
| 740 |
} |
| 741 |
|
| 742 |
class Google_Service_GamesConfiguration_GamesNumberFormatConfiguration extends Google_Model |
| 743 |
{ |
| 744 |
protected $internal_gapi_mappings = array( |
| 745 |
); |
| 746 |
public $currencyCode; |
| 747 |
public $numDecimalPlaces; |
| 748 |
public $numberFormatType; |
| 749 |
protected $suffixType = 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration'; |
| 750 |
protected $suffixDataType = ''; |
| 751 |
|
| 752 |
|
| 753 |
public function setCurrencyCode($currencyCode) |
| 754 |
{ |
| 755 |
$this->currencyCode = $currencyCode; |
| 756 |
} |
| 757 |
public function getCurrencyCode() |
| 758 |
{ |
| 759 |
return $this->currencyCode; |
| 760 |
} |
| 761 |
public function setNumDecimalPlaces($numDecimalPlaces) |
| 762 |
{ |
| 763 |
$this->numDecimalPlaces = $numDecimalPlaces; |
| 764 |
} |
| 765 |
public function getNumDecimalPlaces() |
| 766 |
{ |
| 767 |
return $this->numDecimalPlaces; |
| 768 |
} |
| 769 |
public function setNumberFormatType($numberFormatType) |
| 770 |
{ |
| 771 |
$this->numberFormatType = $numberFormatType; |
| 772 |
} |
| 773 |
public function getNumberFormatType() |
| 774 |
{ |
| 775 |
return $this->numberFormatType; |
| 776 |
} |
| 777 |
public function setSuffix(Google_Service_GamesConfiguration_GamesNumberAffixConfiguration $suffix) |
| 778 |
{ |
| 779 |
$this->suffix = $suffix; |
| 780 |
} |
| 781 |
public function getSuffix() |
| 782 |
{ |
| 783 |
return $this->suffix; |
| 784 |
} |
| 785 |
} |
| 786 |
|
| 787 |
class Google_Service_GamesConfiguration_ImageConfiguration extends Google_Model |
| 788 |
{ |
| 789 |
protected $internal_gapi_mappings = array( |
| 790 |
); |
| 791 |
public $imageType; |
| 792 |
public $kind; |
| 793 |
public $resourceId; |
| 794 |
public $url; |
| 795 |
|
| 796 |
|
| 797 |
public function setImageType($imageType) |
| 798 |
{ |
| 799 |
$this->imageType = $imageType; |
| 800 |
} |
| 801 |
public function getImageType() |
| 802 |
{ |
| 803 |
return $this->imageType; |
| 804 |
} |
| 805 |
public function setKind($kind) |
| 806 |
{ |
| 807 |
$this->kind = $kind; |
| 808 |
} |
| 809 |
public function getKind() |
| 810 |
{ |
| 811 |
return $this->kind; |
| 812 |
} |
| 813 |
public function setResourceId($resourceId) |
| 814 |
{ |
| 815 |
$this->resourceId = $resourceId; |
| 816 |
} |
| 817 |
public function getResourceId() |
| 818 |
{ |
| 819 |
return $this->resourceId; |
| 820 |
} |
| 821 |
public function setUrl($url) |
| 822 |
{ |
| 823 |
$this->url = $url; |
| 824 |
} |
| 825 |
public function getUrl() |
| 826 |
{ |
| 827 |
return $this->url; |
| 828 |
} |
| 829 |
} |
| 830 |
|
| 831 |
class Google_Service_GamesConfiguration_LeaderboardConfiguration extends Google_Model |
| 832 |
{ |
| 833 |
protected $internal_gapi_mappings = array( |
| 834 |
); |
| 835 |
protected $draftType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail'; |
| 836 |
protected $draftDataType = ''; |
| 837 |
public $id; |
| 838 |
public $kind; |
| 839 |
protected $publishedType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail'; |
| 840 |
protected $publishedDataType = ''; |
| 841 |
public $scoreMax; |
| 842 |
public $scoreMin; |
| 843 |
public $scoreOrder; |
| 844 |
public $token; |
| 845 |
|
| 846 |
|
| 847 |
public function setDraft(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $draft) |
| 848 |
{ |
| 849 |
$this->draft = $draft; |
| 850 |
} |
| 851 |
public function getDraft() |
| 852 |
{ |
| 853 |
return $this->draft; |
| 854 |
} |
| 855 |
public function setId($id) |
| 856 |
{ |
| 857 |
$this->id = $id; |
| 858 |
} |
| 859 |
public function getId() |
| 860 |
{ |
| 861 |
return $this->id; |
| 862 |
} |
| 863 |
public function setKind($kind) |
| 864 |
{ |
| 865 |
$this->kind = $kind; |
| 866 |
} |
| 867 |
public function getKind() |
| 868 |
{ |
| 869 |
return $this->kind; |
| 870 |
} |
| 871 |
public function setPublished(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $published) |
| 872 |
{ |
| 873 |
$this->published = $published; |
| 874 |
} |
| 875 |
public function getPublished() |
| 876 |
{ |
| 877 |
return $this->published; |
| 878 |
} |
| 879 |
public function setScoreMax($scoreMax) |
| 880 |
{ |
| 881 |
$this->scoreMax = $scoreMax; |
| 882 |
} |
| 883 |
public function getScoreMax() |
| 884 |
{ |
| 885 |
return $this->scoreMax; |
| 886 |
} |
| 887 |
public function setScoreMin($scoreMin) |
| 888 |
{ |
| 889 |
$this->scoreMin = $scoreMin; |
| 890 |
} |
| 891 |
public function getScoreMin() |
| 892 |
{ |
| 893 |
return $this->scoreMin; |
| 894 |
} |
| 895 |
public function setScoreOrder($scoreOrder) |
| 896 |
{ |
| 897 |
$this->scoreOrder = $scoreOrder; |
| 898 |
} |
| 899 |
public function getScoreOrder() |
| 900 |
{ |
| 901 |
return $this->scoreOrder; |
| 902 |
} |
| 903 |
public function setToken($token) |
| 904 |
{ |
| 905 |
$this->token = $token; |
| 906 |
} |
| 907 |
public function getToken() |
| 908 |
{ |
| 909 |
return $this->token; |
| 910 |
} |
| 911 |
} |
| 912 |
|
| 913 |
class Google_Service_GamesConfiguration_LeaderboardConfigurationDetail extends Google_Model |
| 914 |
{ |
| 915 |
protected $internal_gapi_mappings = array( |
| 916 |
); |
| 917 |
public $iconUrl; |
| 918 |
public $kind; |
| 919 |
protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle'; |
| 920 |
protected $nameDataType = ''; |
| 921 |
protected $scoreFormatType = 'Google_Service_GamesConfiguration_GamesNumberFormatConfiguration'; |
| 922 |
protected $scoreFormatDataType = ''; |
| 923 |
public $sortRank; |
| 924 |
|
| 925 |
|
| 926 |
public function setIconUrl($iconUrl) |
| 927 |
{ |
| 928 |
$this->iconUrl = $iconUrl; |
| 929 |
} |
| 930 |
public function getIconUrl() |
| 931 |
{ |
| 932 |
return $this->iconUrl; |
| 933 |
} |
| 934 |
public function setKind($kind) |
| 935 |
{ |
| 936 |
$this->kind = $kind; |
| 937 |
} |
| 938 |
public function getKind() |
| 939 |
{ |
| 940 |
return $this->kind; |
| 941 |
} |
| 942 |
public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name) |
| 943 |
{ |
| 944 |
$this->name = $name; |
| 945 |
} |
| 946 |
public function getName() |
| 947 |
{ |
| 948 |
return $this->name; |
| 949 |
} |
| 950 |
public function setScoreFormat(Google_Service_GamesConfiguration_GamesNumberFormatConfiguration $scoreFormat) |
| 951 |
{ |
| 952 |
$this->scoreFormat = $scoreFormat; |
| 953 |
} |
| 954 |
public function getScoreFormat() |
| 955 |
{ |
| 956 |
return $this->scoreFormat; |
| 957 |
} |
| 958 |
public function setSortRank($sortRank) |
| 959 |
{ |
| 960 |
$this->sortRank = $sortRank; |
| 961 |
} |
| 962 |
public function getSortRank() |
| 963 |
{ |
| 964 |
return $this->sortRank; |
| 965 |
} |
| 966 |
} |
| 967 |
|
| 968 |
class Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse extends Google_Collection |
| 969 |
{ |
| 970 |
protected $collection_key = 'items'; |
| 971 |
protected $internal_gapi_mappings = array( |
| 972 |
); |
| 973 |
protected $itemsType = 'Google_Service_GamesConfiguration_LeaderboardConfiguration'; |
| 974 |
protected $itemsDataType = 'array'; |
| 975 |
public $kind; |
| 976 |
public $nextPageToken; |
| 977 |
|
| 978 |
|
| 979 |
public function setItems($items) |
| 980 |
{ |
| 981 |
$this->items = $items; |
| 982 |
} |
| 983 |
public function getItems() |
| 984 |
{ |
| 985 |
return $this->items; |
| 986 |
} |
| 987 |
public function setKind($kind) |
| 988 |
{ |
| 989 |
$this->kind = $kind; |
| 990 |
} |
| 991 |
public function getKind() |
| 992 |
{ |
| 993 |
return $this->kind; |
| 994 |
} |
| 995 |
public function setNextPageToken($nextPageToken) |
| 996 |
{ |
| 997 |
$this->nextPageToken = $nextPageToken; |
| 998 |
} |
| 999 |
public function getNextPageToken() |
| 1000 |
{ |
| 1001 |
return $this->nextPageToken; |
| 1002 |
} |
| 1003 |
} |
| 1004 |
|
| 1005 |
class Google_Service_GamesConfiguration_LocalizedString extends Google_Model |
| 1006 |
{ |
| 1007 |
protected $internal_gapi_mappings = array( |
| 1008 |
); |
| 1009 |
public $kind; |
| 1010 |
public $locale; |
| 1011 |
public $value; |
| 1012 |
|
| 1013 |
|
| 1014 |
public function setKind($kind) |
| 1015 |
{ |
| 1016 |
$this->kind = $kind; |
| 1017 |
} |
| 1018 |
public function getKind() |
| 1019 |
{ |
| 1020 |
return $this->kind; |
| 1021 |
} |
| 1022 |
public function setLocale($locale) |
| 1023 |
{ |
| 1024 |
$this->locale = $locale; |
| 1025 |
} |
| 1026 |
public function getLocale() |
| 1027 |
{ |
| 1028 |
return $this->locale; |
| 1029 |
} |
| 1030 |
public function setValue($value) |
| 1031 |
{ |
| 1032 |
$this->value = $value; |
| 1033 |
} |
| 1034 |
public function getValue() |
| 1035 |
{ |
| 1036 |
return $this->value; |
| 1037 |
} |
| 1038 |
} |
| 1039 |
|
| 1040 |
class Google_Service_GamesConfiguration_LocalizedStringBundle extends Google_Collection |
| 1041 |
{ |
| 1042 |
protected $collection_key = 'translations'; |
| 1043 |
protected $internal_gapi_mappings = array( |
| 1044 |
); |
| 1045 |
public $kind; |
| 1046 |
protected $translationsType = 'Google_Service_GamesConfiguration_LocalizedString'; |
| 1047 |
protected $translationsDataType = 'array'; |
| 1048 |
|
| 1049 |
|
| 1050 |
public function setKind($kind) |
| 1051 |
{ |
| 1052 |
$this->kind = $kind; |
| 1053 |
} |
| 1054 |
public function getKind() |
| 1055 |
{ |
| 1056 |
return $this->kind; |
| 1057 |
} |
| 1058 |
public function setTranslations($translations) |
| 1059 |
{ |
| 1060 |
$this->translations = $translations; |
| 1061 |
} |
| 1062 |
public function getTranslations() |
| 1063 |
{ |
| 1064 |
return $this->translations; |
| 1065 |
} |
| 1066 |
} |
| 1067 |
|