OLD | NEW |
1 library googleapis.games.v1; | 1 library googleapis.games.v1; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection_1; | 4 import "dart:collection" as collection_1; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 ApplicationsResourceApi(common_internal.ApiRequester client) : | 428 ApplicationsResourceApi(common_internal.ApiRequester client) : |
429 _requester = client; | 429 _requester = client; |
430 | 430 |
431 /** | 431 /** |
432 * Retrieves the metadata of the application with the given ID. If the | 432 * Retrieves the metadata of the application with the given ID. If the |
433 * requested application is not available for the specified platformType, the | 433 * requested application is not available for the specified platformType, the |
434 * returned response will not include any instance data. | 434 * returned response will not include any instance data. |
435 * | 435 * |
436 * Request parameters: | 436 * Request parameters: |
437 * | 437 * |
438 * [applicationId] - The application being requested. | 438 * [applicationId] - The application ID from the Google Play developer |
| 439 * console. |
439 * | 440 * |
440 * [language] - The preferred language to use for strings returned by this | 441 * [language] - The preferred language to use for strings returned by this |
441 * method. | 442 * method. |
442 * | 443 * |
443 * [platformType] - Restrict application details returned to the specific | 444 * [platformType] - Restrict application details returned to the specific |
444 * platform. | 445 * platform. |
445 * Possible string values are: | 446 * Possible string values are: |
446 * - "ANDROID" : Retrieve applications that can be played on Android. | 447 * - "ANDROID" : Retrieve applications that can be played on Android. |
447 * - "IOS" : Retrieve applications that can be played on iOS. | 448 * - "IOS" : Retrieve applications that can be played on iOS. |
448 * - "WEB_APP" : Retrieve applications that can be played on desktop web. | 449 * - "WEB_APP" : Retrieve applications that can be played on desktop web. |
(...skipping 8093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8542 * string games#snapshot. | 8543 * string games#snapshot. |
8543 */ | 8544 */ |
8544 core.String kind; | 8545 core.String kind; |
8545 | 8546 |
8546 /** | 8547 /** |
8547 * The timestamp (in millis since Unix epoch) of the last modification to this | 8548 * The timestamp (in millis since Unix epoch) of the last modification to this |
8548 * snapshot. | 8549 * snapshot. |
8549 */ | 8550 */ |
8550 core.String lastModifiedMillis; | 8551 core.String lastModifiedMillis; |
8551 | 8552 |
| 8553 /** |
| 8554 * The progress value (64-bit integer set by developer) associated with this |
| 8555 * snapshot. |
| 8556 */ |
| 8557 core.String progressValue; |
| 8558 |
8552 /** The title of this snapshot. */ | 8559 /** The title of this snapshot. */ |
8553 core.String title; | 8560 core.String title; |
8554 | 8561 |
8555 /** | 8562 /** |
8556 * The type of this snapshot. | 8563 * The type of this snapshot. |
8557 * Possible values are: | 8564 * Possible values are: |
8558 * - "SAVE_GAME" - A snapshot representing a save game. | 8565 * - "SAVE_GAME" - A snapshot representing a save game. |
8559 */ | 8566 */ |
8560 core.String type; | 8567 core.String type; |
8561 | 8568 |
(...skipping 18 matching lines...) Expand all Loading... |
8580 } | 8587 } |
8581 if (_json.containsKey("id")) { | 8588 if (_json.containsKey("id")) { |
8582 id = _json["id"]; | 8589 id = _json["id"]; |
8583 } | 8590 } |
8584 if (_json.containsKey("kind")) { | 8591 if (_json.containsKey("kind")) { |
8585 kind = _json["kind"]; | 8592 kind = _json["kind"]; |
8586 } | 8593 } |
8587 if (_json.containsKey("lastModifiedMillis")) { | 8594 if (_json.containsKey("lastModifiedMillis")) { |
8588 lastModifiedMillis = _json["lastModifiedMillis"]; | 8595 lastModifiedMillis = _json["lastModifiedMillis"]; |
8589 } | 8596 } |
| 8597 if (_json.containsKey("progressValue")) { |
| 8598 progressValue = _json["progressValue"]; |
| 8599 } |
8590 if (_json.containsKey("title")) { | 8600 if (_json.containsKey("title")) { |
8591 title = _json["title"]; | 8601 title = _json["title"]; |
8592 } | 8602 } |
8593 if (_json.containsKey("type")) { | 8603 if (_json.containsKey("type")) { |
8594 type = _json["type"]; | 8604 type = _json["type"]; |
8595 } | 8605 } |
8596 if (_json.containsKey("uniqueName")) { | 8606 if (_json.containsKey("uniqueName")) { |
8597 uniqueName = _json["uniqueName"]; | 8607 uniqueName = _json["uniqueName"]; |
8598 } | 8608 } |
8599 } | 8609 } |
(...skipping 14 matching lines...) Expand all Loading... |
8614 } | 8624 } |
8615 if (id != null) { | 8625 if (id != null) { |
8616 _json["id"] = id; | 8626 _json["id"] = id; |
8617 } | 8627 } |
8618 if (kind != null) { | 8628 if (kind != null) { |
8619 _json["kind"] = kind; | 8629 _json["kind"] = kind; |
8620 } | 8630 } |
8621 if (lastModifiedMillis != null) { | 8631 if (lastModifiedMillis != null) { |
8622 _json["lastModifiedMillis"] = lastModifiedMillis; | 8632 _json["lastModifiedMillis"] = lastModifiedMillis; |
8623 } | 8633 } |
| 8634 if (progressValue != null) { |
| 8635 _json["progressValue"] = progressValue; |
| 8636 } |
8624 if (title != null) { | 8637 if (title != null) { |
8625 _json["title"] = title; | 8638 _json["title"] = title; |
8626 } | 8639 } |
8627 if (type != null) { | 8640 if (type != null) { |
8628 _json["type"] = type; | 8641 _json["type"] = type; |
8629 } | 8642 } |
8630 if (uniqueName != null) { | 8643 if (uniqueName != null) { |
8631 _json["uniqueName"] = uniqueName; | 8644 _json["uniqueName"] = uniqueName; |
8632 } | 8645 } |
8633 return _json; | 8646 return _json; |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9658 _json["pendingParticipantId"] = pendingParticipantId; | 9671 _json["pendingParticipantId"] = pendingParticipantId; |
9659 } | 9672 } |
9660 if (results != null) { | 9673 if (results != null) { |
9661 _json["results"] = results.map((value) => (value).toJson()).toList(); | 9674 _json["results"] = results.map((value) => (value).toJson()).toList(); |
9662 } | 9675 } |
9663 return _json; | 9676 return _json; |
9664 } | 9677 } |
9665 } | 9678 } |
9666 | 9679 |
9667 | 9680 |
OLD | NEW |