OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.games.v1; | 3 library googleapis.games.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 3286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3297 revealedIconUrl = _json["revealedIconUrl"]; | 3297 revealedIconUrl = _json["revealedIconUrl"]; |
3298 } | 3298 } |
3299 if (_json.containsKey("totalSteps")) { | 3299 if (_json.containsKey("totalSteps")) { |
3300 totalSteps = _json["totalSteps"]; | 3300 totalSteps = _json["totalSteps"]; |
3301 } | 3301 } |
3302 if (_json.containsKey("unlockedIconUrl")) { | 3302 if (_json.containsKey("unlockedIconUrl")) { |
3303 unlockedIconUrl = _json["unlockedIconUrl"]; | 3303 unlockedIconUrl = _json["unlockedIconUrl"]; |
3304 } | 3304 } |
3305 } | 3305 } |
3306 | 3306 |
3307 core.Map toJson() { | 3307 core.Map<core.String, core.Object> toJson() { |
3308 var _json = new core.Map(); | 3308 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3309 if (achievementType != null) { | 3309 if (achievementType != null) { |
3310 _json["achievementType"] = achievementType; | 3310 _json["achievementType"] = achievementType; |
3311 } | 3311 } |
3312 if (description != null) { | 3312 if (description != null) { |
3313 _json["description"] = description; | 3313 _json["description"] = description; |
3314 } | 3314 } |
3315 if (experiencePoints != null) { | 3315 if (experiencePoints != null) { |
3316 _json["experiencePoints"] = experiencePoints; | 3316 _json["experiencePoints"] = experiencePoints; |
3317 } | 3317 } |
3318 if (formattedTotalSteps != null) { | 3318 if (formattedTotalSteps != null) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3368 items = _json["items"].map((value) => new AchievementDefinition.fromJson(v
alue)).toList(); | 3368 items = _json["items"].map((value) => new AchievementDefinition.fromJson(v
alue)).toList(); |
3369 } | 3369 } |
3370 if (_json.containsKey("kind")) { | 3370 if (_json.containsKey("kind")) { |
3371 kind = _json["kind"]; | 3371 kind = _json["kind"]; |
3372 } | 3372 } |
3373 if (_json.containsKey("nextPageToken")) { | 3373 if (_json.containsKey("nextPageToken")) { |
3374 nextPageToken = _json["nextPageToken"]; | 3374 nextPageToken = _json["nextPageToken"]; |
3375 } | 3375 } |
3376 } | 3376 } |
3377 | 3377 |
3378 core.Map toJson() { | 3378 core.Map<core.String, core.Object> toJson() { |
3379 var _json = new core.Map(); | 3379 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3380 if (items != null) { | 3380 if (items != null) { |
3381 _json["items"] = items.map((value) => (value).toJson()).toList(); | 3381 _json["items"] = items.map((value) => (value).toJson()).toList(); |
3382 } | 3382 } |
3383 if (kind != null) { | 3383 if (kind != null) { |
3384 _json["kind"] = kind; | 3384 _json["kind"] = kind; |
3385 } | 3385 } |
3386 if (nextPageToken != null) { | 3386 if (nextPageToken != null) { |
3387 _json["nextPageToken"] = nextPageToken; | 3387 _json["nextPageToken"] = nextPageToken; |
3388 } | 3388 } |
3389 return _json; | 3389 return _json; |
(...skipping 22 matching lines...) Expand all Loading... |
3412 currentSteps = _json["currentSteps"]; | 3412 currentSteps = _json["currentSteps"]; |
3413 } | 3413 } |
3414 if (_json.containsKey("kind")) { | 3414 if (_json.containsKey("kind")) { |
3415 kind = _json["kind"]; | 3415 kind = _json["kind"]; |
3416 } | 3416 } |
3417 if (_json.containsKey("newlyUnlocked")) { | 3417 if (_json.containsKey("newlyUnlocked")) { |
3418 newlyUnlocked = _json["newlyUnlocked"]; | 3418 newlyUnlocked = _json["newlyUnlocked"]; |
3419 } | 3419 } |
3420 } | 3420 } |
3421 | 3421 |
3422 core.Map toJson() { | 3422 core.Map<core.String, core.Object> toJson() { |
3423 var _json = new core.Map(); | 3423 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3424 if (currentSteps != null) { | 3424 if (currentSteps != null) { |
3425 _json["currentSteps"] = currentSteps; | 3425 _json["currentSteps"] = currentSteps; |
3426 } | 3426 } |
3427 if (kind != null) { | 3427 if (kind != null) { |
3428 _json["kind"] = kind; | 3428 _json["kind"] = kind; |
3429 } | 3429 } |
3430 if (newlyUnlocked != null) { | 3430 if (newlyUnlocked != null) { |
3431 _json["newlyUnlocked"] = newlyUnlocked; | 3431 _json["newlyUnlocked"] = newlyUnlocked; |
3432 } | 3432 } |
3433 return _json; | 3433 return _json; |
(...skipping 20 matching lines...) Expand all Loading... |
3454 | 3454 |
3455 AchievementRevealResponse.fromJson(core.Map _json) { | 3455 AchievementRevealResponse.fromJson(core.Map _json) { |
3456 if (_json.containsKey("currentState")) { | 3456 if (_json.containsKey("currentState")) { |
3457 currentState = _json["currentState"]; | 3457 currentState = _json["currentState"]; |
3458 } | 3458 } |
3459 if (_json.containsKey("kind")) { | 3459 if (_json.containsKey("kind")) { |
3460 kind = _json["kind"]; | 3460 kind = _json["kind"]; |
3461 } | 3461 } |
3462 } | 3462 } |
3463 | 3463 |
3464 core.Map toJson() { | 3464 core.Map<core.String, core.Object> toJson() { |
3465 var _json = new core.Map(); | 3465 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3466 if (currentState != null) { | 3466 if (currentState != null) { |
3467 _json["currentState"] = currentState; | 3467 _json["currentState"] = currentState; |
3468 } | 3468 } |
3469 if (kind != null) { | 3469 if (kind != null) { |
3470 _json["kind"] = kind; | 3470 _json["kind"] = kind; |
3471 } | 3471 } |
3472 return _json; | 3472 return _json; |
3473 } | 3473 } |
3474 } | 3474 } |
3475 | 3475 |
(...skipping 19 matching lines...) Expand all Loading... |
3495 currentSteps = _json["currentSteps"]; | 3495 currentSteps = _json["currentSteps"]; |
3496 } | 3496 } |
3497 if (_json.containsKey("kind")) { | 3497 if (_json.containsKey("kind")) { |
3498 kind = _json["kind"]; | 3498 kind = _json["kind"]; |
3499 } | 3499 } |
3500 if (_json.containsKey("newlyUnlocked")) { | 3500 if (_json.containsKey("newlyUnlocked")) { |
3501 newlyUnlocked = _json["newlyUnlocked"]; | 3501 newlyUnlocked = _json["newlyUnlocked"]; |
3502 } | 3502 } |
3503 } | 3503 } |
3504 | 3504 |
3505 core.Map toJson() { | 3505 core.Map<core.String, core.Object> toJson() { |
3506 var _json = new core.Map(); | 3506 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3507 if (currentSteps != null) { | 3507 if (currentSteps != null) { |
3508 _json["currentSteps"] = currentSteps; | 3508 _json["currentSteps"] = currentSteps; |
3509 } | 3509 } |
3510 if (kind != null) { | 3510 if (kind != null) { |
3511 _json["kind"] = kind; | 3511 _json["kind"] = kind; |
3512 } | 3512 } |
3513 if (newlyUnlocked != null) { | 3513 if (newlyUnlocked != null) { |
3514 _json["newlyUnlocked"] = newlyUnlocked; | 3514 _json["newlyUnlocked"] = newlyUnlocked; |
3515 } | 3515 } |
3516 return _json; | 3516 return _json; |
(...skipping 17 matching lines...) Expand all Loading... |
3534 | 3534 |
3535 AchievementUnlockResponse.fromJson(core.Map _json) { | 3535 AchievementUnlockResponse.fromJson(core.Map _json) { |
3536 if (_json.containsKey("kind")) { | 3536 if (_json.containsKey("kind")) { |
3537 kind = _json["kind"]; | 3537 kind = _json["kind"]; |
3538 } | 3538 } |
3539 if (_json.containsKey("newlyUnlocked")) { | 3539 if (_json.containsKey("newlyUnlocked")) { |
3540 newlyUnlocked = _json["newlyUnlocked"]; | 3540 newlyUnlocked = _json["newlyUnlocked"]; |
3541 } | 3541 } |
3542 } | 3542 } |
3543 | 3543 |
3544 core.Map toJson() { | 3544 core.Map<core.String, core.Object> toJson() { |
3545 var _json = new core.Map(); | 3545 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3546 if (kind != null) { | 3546 if (kind != null) { |
3547 _json["kind"] = kind; | 3547 _json["kind"] = kind; |
3548 } | 3548 } |
3549 if (newlyUnlocked != null) { | 3549 if (newlyUnlocked != null) { |
3550 _json["newlyUnlocked"] = newlyUnlocked; | 3550 _json["newlyUnlocked"] = newlyUnlocked; |
3551 } | 3551 } |
3552 return _json; | 3552 return _json; |
3553 } | 3553 } |
3554 } | 3554 } |
3555 | 3555 |
(...skipping 11 matching lines...) Expand all Loading... |
3567 | 3567 |
3568 AchievementUpdateMultipleRequest.fromJson(core.Map _json) { | 3568 AchievementUpdateMultipleRequest.fromJson(core.Map _json) { |
3569 if (_json.containsKey("kind")) { | 3569 if (_json.containsKey("kind")) { |
3570 kind = _json["kind"]; | 3570 kind = _json["kind"]; |
3571 } | 3571 } |
3572 if (_json.containsKey("updates")) { | 3572 if (_json.containsKey("updates")) { |
3573 updates = _json["updates"].map((value) => new AchievementUpdateRequest.fro
mJson(value)).toList(); | 3573 updates = _json["updates"].map((value) => new AchievementUpdateRequest.fro
mJson(value)).toList(); |
3574 } | 3574 } |
3575 } | 3575 } |
3576 | 3576 |
3577 core.Map toJson() { | 3577 core.Map<core.String, core.Object> toJson() { |
3578 var _json = new core.Map(); | 3578 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3579 if (kind != null) { | 3579 if (kind != null) { |
3580 _json["kind"] = kind; | 3580 _json["kind"] = kind; |
3581 } | 3581 } |
3582 if (updates != null) { | 3582 if (updates != null) { |
3583 _json["updates"] = updates.map((value) => (value).toJson()).toList(); | 3583 _json["updates"] = updates.map((value) => (value).toJson()).toList(); |
3584 } | 3584 } |
3585 return _json; | 3585 return _json; |
3586 } | 3586 } |
3587 } | 3587 } |
3588 | 3588 |
(...skipping 11 matching lines...) Expand all Loading... |
3600 | 3600 |
3601 AchievementUpdateMultipleResponse.fromJson(core.Map _json) { | 3601 AchievementUpdateMultipleResponse.fromJson(core.Map _json) { |
3602 if (_json.containsKey("kind")) { | 3602 if (_json.containsKey("kind")) { |
3603 kind = _json["kind"]; | 3603 kind = _json["kind"]; |
3604 } | 3604 } |
3605 if (_json.containsKey("updatedAchievements")) { | 3605 if (_json.containsKey("updatedAchievements")) { |
3606 updatedAchievements = _json["updatedAchievements"].map((value) => new Achi
evementUpdateResponse.fromJson(value)).toList(); | 3606 updatedAchievements = _json["updatedAchievements"].map((value) => new Achi
evementUpdateResponse.fromJson(value)).toList(); |
3607 } | 3607 } |
3608 } | 3608 } |
3609 | 3609 |
3610 core.Map toJson() { | 3610 core.Map<core.String, core.Object> toJson() { |
3611 var _json = new core.Map(); | 3611 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3612 if (kind != null) { | 3612 if (kind != null) { |
3613 _json["kind"] = kind; | 3613 _json["kind"] = kind; |
3614 } | 3614 } |
3615 if (updatedAchievements != null) { | 3615 if (updatedAchievements != null) { |
3616 _json["updatedAchievements"] = updatedAchievements.map((value) => (value).
toJson()).toList(); | 3616 _json["updatedAchievements"] = updatedAchievements.map((value) => (value).
toJson()).toList(); |
3617 } | 3617 } |
3618 return _json; | 3618 return _json; |
3619 } | 3619 } |
3620 } | 3620 } |
3621 | 3621 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3662 kind = _json["kind"]; | 3662 kind = _json["kind"]; |
3663 } | 3663 } |
3664 if (_json.containsKey("setStepsAtLeastPayload")) { | 3664 if (_json.containsKey("setStepsAtLeastPayload")) { |
3665 setStepsAtLeastPayload = new GamesAchievementSetStepsAtLeast.fromJson(_jso
n["setStepsAtLeastPayload"]); | 3665 setStepsAtLeastPayload = new GamesAchievementSetStepsAtLeast.fromJson(_jso
n["setStepsAtLeastPayload"]); |
3666 } | 3666 } |
3667 if (_json.containsKey("updateType")) { | 3667 if (_json.containsKey("updateType")) { |
3668 updateType = _json["updateType"]; | 3668 updateType = _json["updateType"]; |
3669 } | 3669 } |
3670 } | 3670 } |
3671 | 3671 |
3672 core.Map toJson() { | 3672 core.Map<core.String, core.Object> toJson() { |
3673 var _json = new core.Map(); | 3673 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3674 if (achievementId != null) { | 3674 if (achievementId != null) { |
3675 _json["achievementId"] = achievementId; | 3675 _json["achievementId"] = achievementId; |
3676 } | 3676 } |
3677 if (incrementPayload != null) { | 3677 if (incrementPayload != null) { |
3678 _json["incrementPayload"] = (incrementPayload).toJson(); | 3678 _json["incrementPayload"] = (incrementPayload).toJson(); |
3679 } | 3679 } |
3680 if (kind != null) { | 3680 if (kind != null) { |
3681 _json["kind"] = kind; | 3681 _json["kind"] = kind; |
3682 } | 3682 } |
3683 if (setStepsAtLeastPayload != null) { | 3683 if (setStepsAtLeastPayload != null) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3733 kind = _json["kind"]; | 3733 kind = _json["kind"]; |
3734 } | 3734 } |
3735 if (_json.containsKey("newlyUnlocked")) { | 3735 if (_json.containsKey("newlyUnlocked")) { |
3736 newlyUnlocked = _json["newlyUnlocked"]; | 3736 newlyUnlocked = _json["newlyUnlocked"]; |
3737 } | 3737 } |
3738 if (_json.containsKey("updateOccurred")) { | 3738 if (_json.containsKey("updateOccurred")) { |
3739 updateOccurred = _json["updateOccurred"]; | 3739 updateOccurred = _json["updateOccurred"]; |
3740 } | 3740 } |
3741 } | 3741 } |
3742 | 3742 |
3743 core.Map toJson() { | 3743 core.Map<core.String, core.Object> toJson() { |
3744 var _json = new core.Map(); | 3744 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3745 if (achievementId != null) { | 3745 if (achievementId != null) { |
3746 _json["achievementId"] = achievementId; | 3746 _json["achievementId"] = achievementId; |
3747 } | 3747 } |
3748 if (currentState != null) { | 3748 if (currentState != null) { |
3749 _json["currentState"] = currentState; | 3749 _json["currentState"] = currentState; |
3750 } | 3750 } |
3751 if (currentSteps != null) { | 3751 if (currentSteps != null) { |
3752 _json["currentSteps"] = currentSteps; | 3752 _json["currentSteps"] = currentSteps; |
3753 } | 3753 } |
3754 if (kind != null) { | 3754 if (kind != null) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3793 max = _json["max"]; | 3793 max = _json["max"]; |
3794 } | 3794 } |
3795 if (_json.containsKey("min")) { | 3795 if (_json.containsKey("min")) { |
3796 min = _json["min"]; | 3796 min = _json["min"]; |
3797 } | 3797 } |
3798 if (_json.containsKey("sum")) { | 3798 if (_json.containsKey("sum")) { |
3799 sum = _json["sum"]; | 3799 sum = _json["sum"]; |
3800 } | 3800 } |
3801 } | 3801 } |
3802 | 3802 |
3803 core.Map toJson() { | 3803 core.Map<core.String, core.Object> toJson() { |
3804 var _json = new core.Map(); | 3804 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3805 if (count != null) { | 3805 if (count != null) { |
3806 _json["count"] = count; | 3806 _json["count"] = count; |
3807 } | 3807 } |
3808 if (kind != null) { | 3808 if (kind != null) { |
3809 _json["kind"] = kind; | 3809 _json["kind"] = kind; |
3810 } | 3810 } |
3811 if (max != null) { | 3811 if (max != null) { |
3812 _json["max"] = max; | 3812 _json["max"] = max; |
3813 } | 3813 } |
3814 if (min != null) { | 3814 if (min != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
3840 avatarImageUrl = _json["avatarImageUrl"]; | 3840 avatarImageUrl = _json["avatarImageUrl"]; |
3841 } | 3841 } |
3842 if (_json.containsKey("displayName")) { | 3842 if (_json.containsKey("displayName")) { |
3843 displayName = _json["displayName"]; | 3843 displayName = _json["displayName"]; |
3844 } | 3844 } |
3845 if (_json.containsKey("kind")) { | 3845 if (_json.containsKey("kind")) { |
3846 kind = _json["kind"]; | 3846 kind = _json["kind"]; |
3847 } | 3847 } |
3848 } | 3848 } |
3849 | 3849 |
3850 core.Map toJson() { | 3850 core.Map<core.String, core.Object> toJson() { |
3851 var _json = new core.Map(); | 3851 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3852 if (avatarImageUrl != null) { | 3852 if (avatarImageUrl != null) { |
3853 _json["avatarImageUrl"] = avatarImageUrl; | 3853 _json["avatarImageUrl"] = avatarImageUrl; |
3854 } | 3854 } |
3855 if (displayName != null) { | 3855 if (displayName != null) { |
3856 _json["displayName"] = displayName; | 3856 _json["displayName"] = displayName; |
3857 } | 3857 } |
3858 if (kind != null) { | 3858 if (kind != null) { |
3859 _json["kind"] = kind; | 3859 _json["kind"] = kind; |
3860 } | 3860 } |
3861 return _json; | 3861 return _json; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3942 leaderboardCount = _json["leaderboard_count"]; | 3942 leaderboardCount = _json["leaderboard_count"]; |
3943 } | 3943 } |
3944 if (_json.containsKey("name")) { | 3944 if (_json.containsKey("name")) { |
3945 name = _json["name"]; | 3945 name = _json["name"]; |
3946 } | 3946 } |
3947 if (_json.containsKey("themeColor")) { | 3947 if (_json.containsKey("themeColor")) { |
3948 themeColor = _json["themeColor"]; | 3948 themeColor = _json["themeColor"]; |
3949 } | 3949 } |
3950 } | 3950 } |
3951 | 3951 |
3952 core.Map toJson() { | 3952 core.Map<core.String, core.Object> toJson() { |
3953 var _json = new core.Map(); | 3953 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3954 if (achievementCount != null) { | 3954 if (achievementCount != null) { |
3955 _json["achievement_count"] = achievementCount; | 3955 _json["achievement_count"] = achievementCount; |
3956 } | 3956 } |
3957 if (assets != null) { | 3957 if (assets != null) { |
3958 _json["assets"] = assets.map((value) => (value).toJson()).toList(); | 3958 _json["assets"] = assets.map((value) => (value).toJson()).toList(); |
3959 } | 3959 } |
3960 if (author != null) { | 3960 if (author != null) { |
3961 _json["author"] = author; | 3961 _json["author"] = author; |
3962 } | 3962 } |
3963 if (category != null) { | 3963 if (category != null) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4013 kind = _json["kind"]; | 4013 kind = _json["kind"]; |
4014 } | 4014 } |
4015 if (_json.containsKey("primary")) { | 4015 if (_json.containsKey("primary")) { |
4016 primary = _json["primary"]; | 4016 primary = _json["primary"]; |
4017 } | 4017 } |
4018 if (_json.containsKey("secondary")) { | 4018 if (_json.containsKey("secondary")) { |
4019 secondary = _json["secondary"]; | 4019 secondary = _json["secondary"]; |
4020 } | 4020 } |
4021 } | 4021 } |
4022 | 4022 |
4023 core.Map toJson() { | 4023 core.Map<core.String, core.Object> toJson() { |
4024 var _json = new core.Map(); | 4024 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4025 if (kind != null) { | 4025 if (kind != null) { |
4026 _json["kind"] = kind; | 4026 _json["kind"] = kind; |
4027 } | 4027 } |
4028 if (primary != null) { | 4028 if (primary != null) { |
4029 _json["primary"] = primary; | 4029 _json["primary"] = primary; |
4030 } | 4030 } |
4031 if (secondary != null) { | 4031 if (secondary != null) { |
4032 _json["secondary"] = secondary; | 4032 _json["secondary"] = secondary; |
4033 } | 4033 } |
4034 return _json; | 4034 return _json; |
(...skipping 27 matching lines...) Expand all Loading... |
4062 alternatePlayerId = _json["alternate_player_id"]; | 4062 alternatePlayerId = _json["alternate_player_id"]; |
4063 } | 4063 } |
4064 if (_json.containsKey("kind")) { | 4064 if (_json.containsKey("kind")) { |
4065 kind = _json["kind"]; | 4065 kind = _json["kind"]; |
4066 } | 4066 } |
4067 if (_json.containsKey("player_id")) { | 4067 if (_json.containsKey("player_id")) { |
4068 playerId = _json["player_id"]; | 4068 playerId = _json["player_id"]; |
4069 } | 4069 } |
4070 } | 4070 } |
4071 | 4071 |
4072 core.Map toJson() { | 4072 core.Map<core.String, core.Object> toJson() { |
4073 var _json = new core.Map(); | 4073 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4074 if (alternatePlayerId != null) { | 4074 if (alternatePlayerId != null) { |
4075 _json["alternate_player_id"] = alternatePlayerId; | 4075 _json["alternate_player_id"] = alternatePlayerId; |
4076 } | 4076 } |
4077 if (kind != null) { | 4077 if (kind != null) { |
4078 _json["kind"] = kind; | 4078 _json["kind"] = kind; |
4079 } | 4079 } |
4080 if (playerId != null) { | 4080 if (playerId != null) { |
4081 _json["player_id"] = playerId; | 4081 _json["player_id"] = playerId; |
4082 } | 4082 } |
4083 return _json; | 4083 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
4103 category = _json["category"]; | 4103 category = _json["category"]; |
4104 } | 4104 } |
4105 if (_json.containsKey("experiencePoints")) { | 4105 if (_json.containsKey("experiencePoints")) { |
4106 experiencePoints = _json["experiencePoints"]; | 4106 experiencePoints = _json["experiencePoints"]; |
4107 } | 4107 } |
4108 if (_json.containsKey("kind")) { | 4108 if (_json.containsKey("kind")) { |
4109 kind = _json["kind"]; | 4109 kind = _json["kind"]; |
4110 } | 4110 } |
4111 } | 4111 } |
4112 | 4112 |
4113 core.Map toJson() { | 4113 core.Map<core.String, core.Object> toJson() { |
4114 var _json = new core.Map(); | 4114 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4115 if (category != null) { | 4115 if (category != null) { |
4116 _json["category"] = category; | 4116 _json["category"] = category; |
4117 } | 4117 } |
4118 if (experiencePoints != null) { | 4118 if (experiencePoints != null) { |
4119 _json["experiencePoints"] = experiencePoints; | 4119 _json["experiencePoints"] = experiencePoints; |
4120 } | 4120 } |
4121 if (kind != null) { | 4121 if (kind != null) { |
4122 _json["kind"] = kind; | 4122 _json["kind"] = kind; |
4123 } | 4123 } |
4124 return _json; | 4124 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
4144 items = _json["items"].map((value) => new Category.fromJson(value)).toList
(); | 4144 items = _json["items"].map((value) => new Category.fromJson(value)).toList
(); |
4145 } | 4145 } |
4146 if (_json.containsKey("kind")) { | 4146 if (_json.containsKey("kind")) { |
4147 kind = _json["kind"]; | 4147 kind = _json["kind"]; |
4148 } | 4148 } |
4149 if (_json.containsKey("nextPageToken")) { | 4149 if (_json.containsKey("nextPageToken")) { |
4150 nextPageToken = _json["nextPageToken"]; | 4150 nextPageToken = _json["nextPageToken"]; |
4151 } | 4151 } |
4152 } | 4152 } |
4153 | 4153 |
4154 core.Map toJson() { | 4154 core.Map<core.String, core.Object> toJson() { |
4155 var _json = new core.Map(); | 4155 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4156 if (items != null) { | 4156 if (items != null) { |
4157 _json["items"] = items.map((value) => (value).toJson()).toList(); | 4157 _json["items"] = items.map((value) => (value).toJson()).toList(); |
4158 } | 4158 } |
4159 if (kind != null) { | 4159 if (kind != null) { |
4160 _json["kind"] = kind; | 4160 _json["kind"] = kind; |
4161 } | 4161 } |
4162 if (nextPageToken != null) { | 4162 if (nextPageToken != null) { |
4163 _json["nextPageToken"] = nextPageToken; | 4163 _json["nextPageToken"] = nextPageToken; |
4164 } | 4164 } |
4165 return _json; | 4165 return _json; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4199 failureCause = _json["failureCause"]; | 4199 failureCause = _json["failureCause"]; |
4200 } | 4200 } |
4201 if (_json.containsKey("kind")) { | 4201 if (_json.containsKey("kind")) { |
4202 kind = _json["kind"]; | 4202 kind = _json["kind"]; |
4203 } | 4203 } |
4204 if (_json.containsKey("range")) { | 4204 if (_json.containsKey("range")) { |
4205 range = new EventPeriodRange.fromJson(_json["range"]); | 4205 range = new EventPeriodRange.fromJson(_json["range"]); |
4206 } | 4206 } |
4207 } | 4207 } |
4208 | 4208 |
4209 core.Map toJson() { | 4209 core.Map<core.String, core.Object> toJson() { |
4210 var _json = new core.Map(); | 4210 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4211 if (failureCause != null) { | 4211 if (failureCause != null) { |
4212 _json["failureCause"] = failureCause; | 4212 _json["failureCause"] = failureCause; |
4213 } | 4213 } |
4214 if (kind != null) { | 4214 if (kind != null) { |
4215 _json["kind"] = kind; | 4215 _json["kind"] = kind; |
4216 } | 4216 } |
4217 if (range != null) { | 4217 if (range != null) { |
4218 _json["range"] = (range).toJson(); | 4218 _json["range"] = (range).toJson(); |
4219 } | 4219 } |
4220 return _json; | 4220 return _json; |
(...skipping 14 matching lines...) Expand all Loading... |
4235 | 4235 |
4236 EventChild.fromJson(core.Map _json) { | 4236 EventChild.fromJson(core.Map _json) { |
4237 if (_json.containsKey("childId")) { | 4237 if (_json.containsKey("childId")) { |
4238 childId = _json["childId"]; | 4238 childId = _json["childId"]; |
4239 } | 4239 } |
4240 if (_json.containsKey("kind")) { | 4240 if (_json.containsKey("kind")) { |
4241 kind = _json["kind"]; | 4241 kind = _json["kind"]; |
4242 } | 4242 } |
4243 } | 4243 } |
4244 | 4244 |
4245 core.Map toJson() { | 4245 core.Map<core.String, core.Object> toJson() { |
4246 var _json = new core.Map(); | 4246 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4247 if (childId != null) { | 4247 if (childId != null) { |
4248 _json["childId"] = childId; | 4248 _json["childId"] = childId; |
4249 } | 4249 } |
4250 if (kind != null) { | 4250 if (kind != null) { |
4251 _json["kind"] = kind; | 4251 _json["kind"] = kind; |
4252 } | 4252 } |
4253 return _json; | 4253 return _json; |
4254 } | 4254 } |
4255 } | 4255 } |
4256 | 4256 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4307 isDefaultImageUrl = _json["isDefaultImageUrl"]; | 4307 isDefaultImageUrl = _json["isDefaultImageUrl"]; |
4308 } | 4308 } |
4309 if (_json.containsKey("kind")) { | 4309 if (_json.containsKey("kind")) { |
4310 kind = _json["kind"]; | 4310 kind = _json["kind"]; |
4311 } | 4311 } |
4312 if (_json.containsKey("visibility")) { | 4312 if (_json.containsKey("visibility")) { |
4313 visibility = _json["visibility"]; | 4313 visibility = _json["visibility"]; |
4314 } | 4314 } |
4315 } | 4315 } |
4316 | 4316 |
4317 core.Map toJson() { | 4317 core.Map<core.String, core.Object> toJson() { |
4318 var _json = new core.Map(); | 4318 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4319 if (childEvents != null) { | 4319 if (childEvents != null) { |
4320 _json["childEvents"] = childEvents.map((value) => (value).toJson()).toList
(); | 4320 _json["childEvents"] = childEvents.map((value) => (value).toJson()).toList
(); |
4321 } | 4321 } |
4322 if (description != null) { | 4322 if (description != null) { |
4323 _json["description"] = description; | 4323 _json["description"] = description; |
4324 } | 4324 } |
4325 if (displayName != null) { | 4325 if (displayName != null) { |
4326 _json["displayName"] = displayName; | 4326 _json["displayName"] = displayName; |
4327 } | 4327 } |
4328 if (id != null) { | 4328 if (id != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4363 items = _json["items"].map((value) => new EventDefinition.fromJson(value))
.toList(); | 4363 items = _json["items"].map((value) => new EventDefinition.fromJson(value))
.toList(); |
4364 } | 4364 } |
4365 if (_json.containsKey("kind")) { | 4365 if (_json.containsKey("kind")) { |
4366 kind = _json["kind"]; | 4366 kind = _json["kind"]; |
4367 } | 4367 } |
4368 if (_json.containsKey("nextPageToken")) { | 4368 if (_json.containsKey("nextPageToken")) { |
4369 nextPageToken = _json["nextPageToken"]; | 4369 nextPageToken = _json["nextPageToken"]; |
4370 } | 4370 } |
4371 } | 4371 } |
4372 | 4372 |
4373 core.Map toJson() { | 4373 core.Map<core.String, core.Object> toJson() { |
4374 var _json = new core.Map(); | 4374 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4375 if (items != null) { | 4375 if (items != null) { |
4376 _json["items"] = items.map((value) => (value).toJson()).toList(); | 4376 _json["items"] = items.map((value) => (value).toJson()).toList(); |
4377 } | 4377 } |
4378 if (kind != null) { | 4378 if (kind != null) { |
4379 _json["kind"] = kind; | 4379 _json["kind"] = kind; |
4380 } | 4380 } |
4381 if (nextPageToken != null) { | 4381 if (nextPageToken != null) { |
4382 _json["nextPageToken"] = nextPageToken; | 4382 _json["nextPageToken"] = nextPageToken; |
4383 } | 4383 } |
4384 return _json; | 4384 return _json; |
(...skipping 25 matching lines...) Expand all Loading... |
4410 kind = _json["kind"]; | 4410 kind = _json["kind"]; |
4411 } | 4411 } |
4412 if (_json.containsKey("periodEndMillis")) { | 4412 if (_json.containsKey("periodEndMillis")) { |
4413 periodEndMillis = _json["periodEndMillis"]; | 4413 periodEndMillis = _json["periodEndMillis"]; |
4414 } | 4414 } |
4415 if (_json.containsKey("periodStartMillis")) { | 4415 if (_json.containsKey("periodStartMillis")) { |
4416 periodStartMillis = _json["periodStartMillis"]; | 4416 periodStartMillis = _json["periodStartMillis"]; |
4417 } | 4417 } |
4418 } | 4418 } |
4419 | 4419 |
4420 core.Map toJson() { | 4420 core.Map<core.String, core.Object> toJson() { |
4421 var _json = new core.Map(); | 4421 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4422 if (kind != null) { | 4422 if (kind != null) { |
4423 _json["kind"] = kind; | 4423 _json["kind"] = kind; |
4424 } | 4424 } |
4425 if (periodEndMillis != null) { | 4425 if (periodEndMillis != null) { |
4426 _json["periodEndMillis"] = periodEndMillis; | 4426 _json["periodEndMillis"] = periodEndMillis; |
4427 } | 4427 } |
4428 if (periodStartMillis != null) { | 4428 if (periodStartMillis != null) { |
4429 _json["periodStartMillis"] = periodStartMillis; | 4429 _json["periodStartMillis"] = periodStartMillis; |
4430 } | 4430 } |
4431 return _json; | 4431 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
4451 kind = _json["kind"]; | 4451 kind = _json["kind"]; |
4452 } | 4452 } |
4453 if (_json.containsKey("timePeriod")) { | 4453 if (_json.containsKey("timePeriod")) { |
4454 timePeriod = new EventPeriodRange.fromJson(_json["timePeriod"]); | 4454 timePeriod = new EventPeriodRange.fromJson(_json["timePeriod"]); |
4455 } | 4455 } |
4456 if (_json.containsKey("updates")) { | 4456 if (_json.containsKey("updates")) { |
4457 updates = _json["updates"].map((value) => new EventUpdateRequest.fromJson(
value)).toList(); | 4457 updates = _json["updates"].map((value) => new EventUpdateRequest.fromJson(
value)).toList(); |
4458 } | 4458 } |
4459 } | 4459 } |
4460 | 4460 |
4461 core.Map toJson() { | 4461 core.Map<core.String, core.Object> toJson() { |
4462 var _json = new core.Map(); | 4462 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4463 if (kind != null) { | 4463 if (kind != null) { |
4464 _json["kind"] = kind; | 4464 _json["kind"] = kind; |
4465 } | 4465 } |
4466 if (timePeriod != null) { | 4466 if (timePeriod != null) { |
4467 _json["timePeriod"] = (timePeriod).toJson(); | 4467 _json["timePeriod"] = (timePeriod).toJson(); |
4468 } | 4468 } |
4469 if (updates != null) { | 4469 if (updates != null) { |
4470 _json["updates"] = updates.map((value) => (value).toJson()).toList(); | 4470 _json["updates"] = updates.map((value) => (value).toJson()).toList(); |
4471 } | 4471 } |
4472 return _json; | 4472 return _json; |
(...skipping 25 matching lines...) Expand all Loading... |
4498 eventId = _json["eventId"]; | 4498 eventId = _json["eventId"]; |
4499 } | 4499 } |
4500 if (_json.containsKey("failureCause")) { | 4500 if (_json.containsKey("failureCause")) { |
4501 failureCause = _json["failureCause"]; | 4501 failureCause = _json["failureCause"]; |
4502 } | 4502 } |
4503 if (_json.containsKey("kind")) { | 4503 if (_json.containsKey("kind")) { |
4504 kind = _json["kind"]; | 4504 kind = _json["kind"]; |
4505 } | 4505 } |
4506 } | 4506 } |
4507 | 4507 |
4508 core.Map toJson() { | 4508 core.Map<core.String, core.Object> toJson() { |
4509 var _json = new core.Map(); | 4509 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4510 if (eventId != null) { | 4510 if (eventId != null) { |
4511 _json["eventId"] = eventId; | 4511 _json["eventId"] = eventId; |
4512 } | 4512 } |
4513 if (failureCause != null) { | 4513 if (failureCause != null) { |
4514 _json["failureCause"] = failureCause; | 4514 _json["failureCause"] = failureCause; |
4515 } | 4515 } |
4516 if (kind != null) { | 4516 if (kind != null) { |
4517 _json["kind"] = kind; | 4517 _json["kind"] = kind; |
4518 } | 4518 } |
4519 return _json; | 4519 return _json; |
(...skipping 27 matching lines...) Expand all Loading... |
4547 kind = _json["kind"]; | 4547 kind = _json["kind"]; |
4548 } | 4548 } |
4549 if (_json.containsKey("requestId")) { | 4549 if (_json.containsKey("requestId")) { |
4550 requestId = _json["requestId"]; | 4550 requestId = _json["requestId"]; |
4551 } | 4551 } |
4552 if (_json.containsKey("timePeriods")) { | 4552 if (_json.containsKey("timePeriods")) { |
4553 timePeriods = _json["timePeriods"].map((value) => new EventPeriodUpdate.fr
omJson(value)).toList(); | 4553 timePeriods = _json["timePeriods"].map((value) => new EventPeriodUpdate.fr
omJson(value)).toList(); |
4554 } | 4554 } |
4555 } | 4555 } |
4556 | 4556 |
4557 core.Map toJson() { | 4557 core.Map<core.String, core.Object> toJson() { |
4558 var _json = new core.Map(); | 4558 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4559 if (currentTimeMillis != null) { | 4559 if (currentTimeMillis != null) { |
4560 _json["currentTimeMillis"] = currentTimeMillis; | 4560 _json["currentTimeMillis"] = currentTimeMillis; |
4561 } | 4561 } |
4562 if (kind != null) { | 4562 if (kind != null) { |
4563 _json["kind"] = kind; | 4563 _json["kind"] = kind; |
4564 } | 4564 } |
4565 if (requestId != null) { | 4565 if (requestId != null) { |
4566 _json["requestId"] = requestId; | 4566 _json["requestId"] = requestId; |
4567 } | 4567 } |
4568 if (timePeriods != null) { | 4568 if (timePeriods != null) { |
(...skipping 22 matching lines...) Expand all Loading... |
4591 definitionId = _json["definitionId"]; | 4591 definitionId = _json["definitionId"]; |
4592 } | 4592 } |
4593 if (_json.containsKey("kind")) { | 4593 if (_json.containsKey("kind")) { |
4594 kind = _json["kind"]; | 4594 kind = _json["kind"]; |
4595 } | 4595 } |
4596 if (_json.containsKey("updateCount")) { | 4596 if (_json.containsKey("updateCount")) { |
4597 updateCount = _json["updateCount"]; | 4597 updateCount = _json["updateCount"]; |
4598 } | 4598 } |
4599 } | 4599 } |
4600 | 4600 |
4601 core.Map toJson() { | 4601 core.Map<core.String, core.Object> toJson() { |
4602 var _json = new core.Map(); | 4602 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4603 if (definitionId != null) { | 4603 if (definitionId != null) { |
4604 _json["definitionId"] = definitionId; | 4604 _json["definitionId"] = definitionId; |
4605 } | 4605 } |
4606 if (kind != null) { | 4606 if (kind != null) { |
4607 _json["kind"] = kind; | 4607 _json["kind"] = kind; |
4608 } | 4608 } |
4609 if (updateCount != null) { | 4609 if (updateCount != null) { |
4610 _json["updateCount"] = updateCount; | 4610 _json["updateCount"] = updateCount; |
4611 } | 4611 } |
4612 return _json; | 4612 return _json; |
(...skipping 24 matching lines...) Expand all Loading... |
4637 eventFailures = _json["eventFailures"].map((value) => new EventRecordFailu
re.fromJson(value)).toList(); | 4637 eventFailures = _json["eventFailures"].map((value) => new EventRecordFailu
re.fromJson(value)).toList(); |
4638 } | 4638 } |
4639 if (_json.containsKey("kind")) { | 4639 if (_json.containsKey("kind")) { |
4640 kind = _json["kind"]; | 4640 kind = _json["kind"]; |
4641 } | 4641 } |
4642 if (_json.containsKey("playerEvents")) { | 4642 if (_json.containsKey("playerEvents")) { |
4643 playerEvents = _json["playerEvents"].map((value) => new PlayerEvent.fromJs
on(value)).toList(); | 4643 playerEvents = _json["playerEvents"].map((value) => new PlayerEvent.fromJs
on(value)).toList(); |
4644 } | 4644 } |
4645 } | 4645 } |
4646 | 4646 |
4647 core.Map toJson() { | 4647 core.Map<core.String, core.Object> toJson() { |
4648 var _json = new core.Map(); | 4648 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4649 if (batchFailures != null) { | 4649 if (batchFailures != null) { |
4650 _json["batchFailures"] = batchFailures.map((value) => (value).toJson()).to
List(); | 4650 _json["batchFailures"] = batchFailures.map((value) => (value).toJson()).to
List(); |
4651 } | 4651 } |
4652 if (eventFailures != null) { | 4652 if (eventFailures != null) { |
4653 _json["eventFailures"] = eventFailures.map((value) => (value).toJson()).to
List(); | 4653 _json["eventFailures"] = eventFailures.map((value) => (value).toJson()).to
List(); |
4654 } | 4654 } |
4655 if (kind != null) { | 4655 if (kind != null) { |
4656 _json["kind"] = kind; | 4656 _json["kind"] = kind; |
4657 } | 4657 } |
4658 if (playerEvents != null) { | 4658 if (playerEvents != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
4684 kind = _json["kind"]; | 4684 kind = _json["kind"]; |
4685 } | 4685 } |
4686 if (_json.containsKey("requestId")) { | 4686 if (_json.containsKey("requestId")) { |
4687 requestId = _json["requestId"]; | 4687 requestId = _json["requestId"]; |
4688 } | 4688 } |
4689 if (_json.containsKey("steps")) { | 4689 if (_json.containsKey("steps")) { |
4690 steps = _json["steps"]; | 4690 steps = _json["steps"]; |
4691 } | 4691 } |
4692 } | 4692 } |
4693 | 4693 |
4694 core.Map toJson() { | 4694 core.Map<core.String, core.Object> toJson() { |
4695 var _json = new core.Map(); | 4695 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4696 if (kind != null) { | 4696 if (kind != null) { |
4697 _json["kind"] = kind; | 4697 _json["kind"] = kind; |
4698 } | 4698 } |
4699 if (requestId != null) { | 4699 if (requestId != null) { |
4700 _json["requestId"] = requestId; | 4700 _json["requestId"] = requestId; |
4701 } | 4701 } |
4702 if (steps != null) { | 4702 if (steps != null) { |
4703 _json["steps"] = steps; | 4703 _json["steps"] = steps; |
4704 } | 4704 } |
4705 return _json; | 4705 return _json; |
(...skipping 17 matching lines...) Expand all Loading... |
4723 | 4723 |
4724 GamesAchievementSetStepsAtLeast.fromJson(core.Map _json) { | 4724 GamesAchievementSetStepsAtLeast.fromJson(core.Map _json) { |
4725 if (_json.containsKey("kind")) { | 4725 if (_json.containsKey("kind")) { |
4726 kind = _json["kind"]; | 4726 kind = _json["kind"]; |
4727 } | 4727 } |
4728 if (_json.containsKey("steps")) { | 4728 if (_json.containsKey("steps")) { |
4729 steps = _json["steps"]; | 4729 steps = _json["steps"]; |
4730 } | 4730 } |
4731 } | 4731 } |
4732 | 4732 |
4733 core.Map toJson() { | 4733 core.Map<core.String, core.Object> toJson() { |
4734 var _json = new core.Map(); | 4734 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4735 if (kind != null) { | 4735 if (kind != null) { |
4736 _json["kind"] = kind; | 4736 _json["kind"] = kind; |
4737 } | 4737 } |
4738 if (steps != null) { | 4738 if (steps != null) { |
4739 _json["steps"] = steps; | 4739 _json["steps"] = steps; |
4740 } | 4740 } |
4741 return _json; | 4741 return _json; |
4742 } | 4742 } |
4743 } | 4743 } |
4744 | 4744 |
(...skipping 26 matching lines...) Expand all Loading... |
4771 name = _json["name"]; | 4771 name = _json["name"]; |
4772 } | 4772 } |
4773 if (_json.containsKey("url")) { | 4773 if (_json.containsKey("url")) { |
4774 url = _json["url"]; | 4774 url = _json["url"]; |
4775 } | 4775 } |
4776 if (_json.containsKey("width")) { | 4776 if (_json.containsKey("width")) { |
4777 width = _json["width"]; | 4777 width = _json["width"]; |
4778 } | 4778 } |
4779 } | 4779 } |
4780 | 4780 |
4781 core.Map toJson() { | 4781 core.Map<core.String, core.Object> toJson() { |
4782 var _json = new core.Map(); | 4782 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4783 if (height != null) { | 4783 if (height != null) { |
4784 _json["height"] = height; | 4784 _json["height"] = height; |
4785 } | 4785 } |
4786 if (kind != null) { | 4786 if (kind != null) { |
4787 _json["kind"] = kind; | 4787 _json["kind"] = kind; |
4788 } | 4788 } |
4789 if (name != null) { | 4789 if (name != null) { |
4790 _json["name"] = name; | 4790 _json["name"] = name; |
4791 } | 4791 } |
4792 if (url != null) { | 4792 if (url != null) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4854 realtimePlay = _json["realtimePlay"]; | 4854 realtimePlay = _json["realtimePlay"]; |
4855 } | 4855 } |
4856 if (_json.containsKey("turnBasedPlay")) { | 4856 if (_json.containsKey("turnBasedPlay")) { |
4857 turnBasedPlay = _json["turnBasedPlay"]; | 4857 turnBasedPlay = _json["turnBasedPlay"]; |
4858 } | 4858 } |
4859 if (_json.containsKey("webInstance")) { | 4859 if (_json.containsKey("webInstance")) { |
4860 webInstance = new InstanceWebDetails.fromJson(_json["webInstance"]); | 4860 webInstance = new InstanceWebDetails.fromJson(_json["webInstance"]); |
4861 } | 4861 } |
4862 } | 4862 } |
4863 | 4863 |
4864 core.Map toJson() { | 4864 core.Map<core.String, core.Object> toJson() { |
4865 var _json = new core.Map(); | 4865 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4866 if (acquisitionUri != null) { | 4866 if (acquisitionUri != null) { |
4867 _json["acquisitionUri"] = acquisitionUri; | 4867 _json["acquisitionUri"] = acquisitionUri; |
4868 } | 4868 } |
4869 if (androidInstance != null) { | 4869 if (androidInstance != null) { |
4870 _json["androidInstance"] = (androidInstance).toJson(); | 4870 _json["androidInstance"] = (androidInstance).toJson(); |
4871 } | 4871 } |
4872 if (iosInstance != null) { | 4872 if (iosInstance != null) { |
4873 _json["iosInstance"] = (iosInstance).toJson(); | 4873 _json["iosInstance"] = (iosInstance).toJson(); |
4874 } | 4874 } |
4875 if (kind != null) { | 4875 if (kind != null) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4918 kind = _json["kind"]; | 4918 kind = _json["kind"]; |
4919 } | 4919 } |
4920 if (_json.containsKey("packageName")) { | 4920 if (_json.containsKey("packageName")) { |
4921 packageName = _json["packageName"]; | 4921 packageName = _json["packageName"]; |
4922 } | 4922 } |
4923 if (_json.containsKey("preferred")) { | 4923 if (_json.containsKey("preferred")) { |
4924 preferred = _json["preferred"]; | 4924 preferred = _json["preferred"]; |
4925 } | 4925 } |
4926 } | 4926 } |
4927 | 4927 |
4928 core.Map toJson() { | 4928 core.Map<core.String, core.Object> toJson() { |
4929 var _json = new core.Map(); | 4929 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4930 if (enablePiracyCheck != null) { | 4930 if (enablePiracyCheck != null) { |
4931 _json["enablePiracyCheck"] = enablePiracyCheck; | 4931 _json["enablePiracyCheck"] = enablePiracyCheck; |
4932 } | 4932 } |
4933 if (kind != null) { | 4933 if (kind != null) { |
4934 _json["kind"] = kind; | 4934 _json["kind"] = kind; |
4935 } | 4935 } |
4936 if (packageName != null) { | 4936 if (packageName != null) { |
4937 _json["packageName"] = packageName; | 4937 _json["packageName"] = packageName; |
4938 } | 4938 } |
4939 if (preferred != null) { | 4939 if (preferred != null) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4988 preferredForIphone = _json["preferredForIphone"]; | 4988 preferredForIphone = _json["preferredForIphone"]; |
4989 } | 4989 } |
4990 if (_json.containsKey("supportIpad")) { | 4990 if (_json.containsKey("supportIpad")) { |
4991 supportIpad = _json["supportIpad"]; | 4991 supportIpad = _json["supportIpad"]; |
4992 } | 4992 } |
4993 if (_json.containsKey("supportIphone")) { | 4993 if (_json.containsKey("supportIphone")) { |
4994 supportIphone = _json["supportIphone"]; | 4994 supportIphone = _json["supportIphone"]; |
4995 } | 4995 } |
4996 } | 4996 } |
4997 | 4997 |
4998 core.Map toJson() { | 4998 core.Map<core.String, core.Object> toJson() { |
4999 var _json = new core.Map(); | 4999 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5000 if (bundleIdentifier != null) { | 5000 if (bundleIdentifier != null) { |
5001 _json["bundleIdentifier"] = bundleIdentifier; | 5001 _json["bundleIdentifier"] = bundleIdentifier; |
5002 } | 5002 } |
5003 if (itunesAppId != null) { | 5003 if (itunesAppId != null) { |
5004 _json["itunesAppId"] = itunesAppId; | 5004 _json["itunesAppId"] = itunesAppId; |
5005 } | 5005 } |
5006 if (kind != null) { | 5006 if (kind != null) { |
5007 _json["kind"] = kind; | 5007 _json["kind"] = kind; |
5008 } | 5008 } |
5009 if (preferredForIpad != null) { | 5009 if (preferredForIpad != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5041 kind = _json["kind"]; | 5041 kind = _json["kind"]; |
5042 } | 5042 } |
5043 if (_json.containsKey("launchUrl")) { | 5043 if (_json.containsKey("launchUrl")) { |
5044 launchUrl = _json["launchUrl"]; | 5044 launchUrl = _json["launchUrl"]; |
5045 } | 5045 } |
5046 if (_json.containsKey("preferred")) { | 5046 if (_json.containsKey("preferred")) { |
5047 preferred = _json["preferred"]; | 5047 preferred = _json["preferred"]; |
5048 } | 5048 } |
5049 } | 5049 } |
5050 | 5050 |
5051 core.Map toJson() { | 5051 core.Map<core.String, core.Object> toJson() { |
5052 var _json = new core.Map(); | 5052 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5053 if (kind != null) { | 5053 if (kind != null) { |
5054 _json["kind"] = kind; | 5054 _json["kind"] = kind; |
5055 } | 5055 } |
5056 if (launchUrl != null) { | 5056 if (launchUrl != null) { |
5057 _json["launchUrl"] = launchUrl; | 5057 _json["launchUrl"] = launchUrl; |
5058 } | 5058 } |
5059 if (preferred != null) { | 5059 if (preferred != null) { |
5060 _json["preferred"] = preferred; | 5060 _json["preferred"] = preferred; |
5061 } | 5061 } |
5062 return _json; | 5062 return _json; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5107 kind = _json["kind"]; | 5107 kind = _json["kind"]; |
5108 } | 5108 } |
5109 if (_json.containsKey("name")) { | 5109 if (_json.containsKey("name")) { |
5110 name = _json["name"]; | 5110 name = _json["name"]; |
5111 } | 5111 } |
5112 if (_json.containsKey("order")) { | 5112 if (_json.containsKey("order")) { |
5113 order = _json["order"]; | 5113 order = _json["order"]; |
5114 } | 5114 } |
5115 } | 5115 } |
5116 | 5116 |
5117 core.Map toJson() { | 5117 core.Map<core.String, core.Object> toJson() { |
5118 var _json = new core.Map(); | 5118 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5119 if (iconUrl != null) { | 5119 if (iconUrl != null) { |
5120 _json["iconUrl"] = iconUrl; | 5120 _json["iconUrl"] = iconUrl; |
5121 } | 5121 } |
5122 if (id != null) { | 5122 if (id != null) { |
5123 _json["id"] = id; | 5123 _json["id"] = id; |
5124 } | 5124 } |
5125 if (isIconUrlDefault != null) { | 5125 if (isIconUrlDefault != null) { |
5126 _json["isIconUrlDefault"] = isIconUrlDefault; | 5126 _json["isIconUrlDefault"] = isIconUrlDefault; |
5127 } | 5127 } |
5128 if (kind != null) { | 5128 if (kind != null) { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5199 scoreValue = _json["scoreValue"]; | 5199 scoreValue = _json["scoreValue"]; |
5200 } | 5200 } |
5201 if (_json.containsKey("timeSpan")) { | 5201 if (_json.containsKey("timeSpan")) { |
5202 timeSpan = _json["timeSpan"]; | 5202 timeSpan = _json["timeSpan"]; |
5203 } | 5203 } |
5204 if (_json.containsKey("writeTimestampMillis")) { | 5204 if (_json.containsKey("writeTimestampMillis")) { |
5205 writeTimestampMillis = _json["writeTimestampMillis"]; | 5205 writeTimestampMillis = _json["writeTimestampMillis"]; |
5206 } | 5206 } |
5207 } | 5207 } |
5208 | 5208 |
5209 core.Map toJson() { | 5209 core.Map<core.String, core.Object> toJson() { |
5210 var _json = new core.Map(); | 5210 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5211 if (formattedScore != null) { | 5211 if (formattedScore != null) { |
5212 _json["formattedScore"] = formattedScore; | 5212 _json["formattedScore"] = formattedScore; |
5213 } | 5213 } |
5214 if (formattedScoreRank != null) { | 5214 if (formattedScoreRank != null) { |
5215 _json["formattedScoreRank"] = formattedScoreRank; | 5215 _json["formattedScoreRank"] = formattedScoreRank; |
5216 } | 5216 } |
5217 if (kind != null) { | 5217 if (kind != null) { |
5218 _json["kind"] = kind; | 5218 _json["kind"] = kind; |
5219 } | 5219 } |
5220 if (player != null) { | 5220 if (player != null) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5258 items = _json["items"].map((value) => new Leaderboard.fromJson(value)).toL
ist(); | 5258 items = _json["items"].map((value) => new Leaderboard.fromJson(value)).toL
ist(); |
5259 } | 5259 } |
5260 if (_json.containsKey("kind")) { | 5260 if (_json.containsKey("kind")) { |
5261 kind = _json["kind"]; | 5261 kind = _json["kind"]; |
5262 } | 5262 } |
5263 if (_json.containsKey("nextPageToken")) { | 5263 if (_json.containsKey("nextPageToken")) { |
5264 nextPageToken = _json["nextPageToken"]; | 5264 nextPageToken = _json["nextPageToken"]; |
5265 } | 5265 } |
5266 } | 5266 } |
5267 | 5267 |
5268 core.Map toJson() { | 5268 core.Map<core.String, core.Object> toJson() { |
5269 var _json = new core.Map(); | 5269 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5270 if (items != null) { | 5270 if (items != null) { |
5271 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5271 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5272 } | 5272 } |
5273 if (kind != null) { | 5273 if (kind != null) { |
5274 _json["kind"] = kind; | 5274 _json["kind"] = kind; |
5275 } | 5275 } |
5276 if (nextPageToken != null) { | 5276 if (nextPageToken != null) { |
5277 _json["nextPageToken"] = nextPageToken; | 5277 _json["nextPageToken"] = nextPageToken; |
5278 } | 5278 } |
5279 return _json; | 5279 return _json; |
(...skipping 29 matching lines...) Expand all Loading... |
5309 kind = _json["kind"]; | 5309 kind = _json["kind"]; |
5310 } | 5310 } |
5311 if (_json.containsKey("numScores")) { | 5311 if (_json.containsKey("numScores")) { |
5312 numScores = _json["numScores"]; | 5312 numScores = _json["numScores"]; |
5313 } | 5313 } |
5314 if (_json.containsKey("rank")) { | 5314 if (_json.containsKey("rank")) { |
5315 rank = _json["rank"]; | 5315 rank = _json["rank"]; |
5316 } | 5316 } |
5317 } | 5317 } |
5318 | 5318 |
5319 core.Map toJson() { | 5319 core.Map<core.String, core.Object> toJson() { |
5320 var _json = new core.Map(); | 5320 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5321 if (formattedNumScores != null) { | 5321 if (formattedNumScores != null) { |
5322 _json["formattedNumScores"] = formattedNumScores; | 5322 _json["formattedNumScores"] = formattedNumScores; |
5323 } | 5323 } |
5324 if (formattedRank != null) { | 5324 if (formattedRank != null) { |
5325 _json["formattedRank"] = formattedRank; | 5325 _json["formattedRank"] = formattedRank; |
5326 } | 5326 } |
5327 if (kind != null) { | 5327 if (kind != null) { |
5328 _json["kind"] = kind; | 5328 _json["kind"] = kind; |
5329 } | 5329 } |
5330 if (numScores != null) { | 5330 if (numScores != null) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5376 numScores = _json["numScores"]; | 5376 numScores = _json["numScores"]; |
5377 } | 5377 } |
5378 if (_json.containsKey("playerScore")) { | 5378 if (_json.containsKey("playerScore")) { |
5379 playerScore = new LeaderboardEntry.fromJson(_json["playerScore"]); | 5379 playerScore = new LeaderboardEntry.fromJson(_json["playerScore"]); |
5380 } | 5380 } |
5381 if (_json.containsKey("prevPageToken")) { | 5381 if (_json.containsKey("prevPageToken")) { |
5382 prevPageToken = _json["prevPageToken"]; | 5382 prevPageToken = _json["prevPageToken"]; |
5383 } | 5383 } |
5384 } | 5384 } |
5385 | 5385 |
5386 core.Map toJson() { | 5386 core.Map<core.String, core.Object> toJson() { |
5387 var _json = new core.Map(); | 5387 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5388 if (items != null) { | 5388 if (items != null) { |
5389 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5389 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5390 } | 5390 } |
5391 if (kind != null) { | 5391 if (kind != null) { |
5392 _json["kind"] = kind; | 5392 _json["kind"] = kind; |
5393 } | 5393 } |
5394 if (nextPageToken != null) { | 5394 if (nextPageToken != null) { |
5395 _json["nextPageToken"] = nextPageToken; | 5395 _json["nextPageToken"] = nextPageToken; |
5396 } | 5396 } |
5397 if (numScores != null) { | 5397 if (numScores != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5429 currentVersion = _json["currentVersion"]; | 5429 currentVersion = _json["currentVersion"]; |
5430 } | 5430 } |
5431 if (_json.containsKey("kind")) { | 5431 if (_json.containsKey("kind")) { |
5432 kind = _json["kind"]; | 5432 kind = _json["kind"]; |
5433 } | 5433 } |
5434 if (_json.containsKey("playerLevels")) { | 5434 if (_json.containsKey("playerLevels")) { |
5435 playerLevels = _json["playerLevels"].map((value) => new PlayerLevel.fromJs
on(value)).toList(); | 5435 playerLevels = _json["playerLevels"].map((value) => new PlayerLevel.fromJs
on(value)).toList(); |
5436 } | 5436 } |
5437 } | 5437 } |
5438 | 5438 |
5439 core.Map toJson() { | 5439 core.Map<core.String, core.Object> toJson() { |
5440 var _json = new core.Map(); | 5440 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5441 if (currentVersion != null) { | 5441 if (currentVersion != null) { |
5442 _json["currentVersion"] = currentVersion; | 5442 _json["currentVersion"] = currentVersion; |
5443 } | 5443 } |
5444 if (kind != null) { | 5444 if (kind != null) { |
5445 _json["kind"] = kind; | 5445 _json["kind"] = kind; |
5446 } | 5446 } |
5447 if (playerLevels != null) { | 5447 if (playerLevels != null) { |
5448 _json["playerLevels"] = playerLevels.map((value) => (value).toJson()).toLi
st(); | 5448 _json["playerLevels"] = playerLevels.map((value) => (value).toJson()).toLi
st(); |
5449 } | 5449 } |
5450 return _json; | 5450 return _json; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5503 networkOperatorCode = _json["networkOperatorCode"]; | 5503 networkOperatorCode = _json["networkOperatorCode"]; |
5504 } | 5504 } |
5505 if (_json.containsKey("networkOperatorName")) { | 5505 if (_json.containsKey("networkOperatorName")) { |
5506 networkOperatorName = _json["networkOperatorName"]; | 5506 networkOperatorName = _json["networkOperatorName"]; |
5507 } | 5507 } |
5508 if (_json.containsKey("registrationLatencyMillis")) { | 5508 if (_json.containsKey("registrationLatencyMillis")) { |
5509 registrationLatencyMillis = _json["registrationLatencyMillis"]; | 5509 registrationLatencyMillis = _json["registrationLatencyMillis"]; |
5510 } | 5510 } |
5511 } | 5511 } |
5512 | 5512 |
5513 core.Map toJson() { | 5513 core.Map<core.String, core.Object> toJson() { |
5514 var _json = new core.Map(); | 5514 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5515 if (androidNetworkSubtype != null) { | 5515 if (androidNetworkSubtype != null) { |
5516 _json["androidNetworkSubtype"] = androidNetworkSubtype; | 5516 _json["androidNetworkSubtype"] = androidNetworkSubtype; |
5517 } | 5517 } |
5518 if (androidNetworkType != null) { | 5518 if (androidNetworkType != null) { |
5519 _json["androidNetworkType"] = androidNetworkType; | 5519 _json["androidNetworkType"] = androidNetworkType; |
5520 } | 5520 } |
5521 if (iosNetworkType != null) { | 5521 if (iosNetworkType != null) { |
5522 _json["iosNetworkType"] = iosNetworkType; | 5522 _json["iosNetworkType"] = iosNetworkType; |
5523 } | 5523 } |
5524 if (kind != null) { | 5524 if (kind != null) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5577 participantId = _json["participantId"]; | 5577 participantId = _json["participantId"]; |
5578 } | 5578 } |
5579 if (_json.containsKey("placing")) { | 5579 if (_json.containsKey("placing")) { |
5580 placing = _json["placing"]; | 5580 placing = _json["placing"]; |
5581 } | 5581 } |
5582 if (_json.containsKey("result")) { | 5582 if (_json.containsKey("result")) { |
5583 result = _json["result"]; | 5583 result = _json["result"]; |
5584 } | 5584 } |
5585 } | 5585 } |
5586 | 5586 |
5587 core.Map toJson() { | 5587 core.Map<core.String, core.Object> toJson() { |
5588 var _json = new core.Map(); | 5588 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5589 if (kind != null) { | 5589 if (kind != null) { |
5590 _json["kind"] = kind; | 5590 _json["kind"] = kind; |
5591 } | 5591 } |
5592 if (participantId != null) { | 5592 if (participantId != null) { |
5593 _json["participantId"] = participantId; | 5593 _json["participantId"] = participantId; |
5594 } | 5594 } |
5595 if (placing != null) { | 5595 if (placing != null) { |
5596 _json["placing"] = placing; | 5596 _json["placing"] = placing; |
5597 } | 5597 } |
5598 if (result != null) { | 5598 if (result != null) { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5646 numMessagesSent = _json["numMessagesSent"]; | 5646 numMessagesSent = _json["numMessagesSent"]; |
5647 } | 5647 } |
5648 if (_json.containsKey("numSendFailures")) { | 5648 if (_json.containsKey("numSendFailures")) { |
5649 numSendFailures = _json["numSendFailures"]; | 5649 numSendFailures = _json["numSendFailures"]; |
5650 } | 5650 } |
5651 if (_json.containsKey("roundtripLatencyMillis")) { | 5651 if (_json.containsKey("roundtripLatencyMillis")) { |
5652 roundtripLatencyMillis = new AggregateStats.fromJson(_json["roundtripLaten
cyMillis"]); | 5652 roundtripLatencyMillis = new AggregateStats.fromJson(_json["roundtripLaten
cyMillis"]); |
5653 } | 5653 } |
5654 } | 5654 } |
5655 | 5655 |
5656 core.Map toJson() { | 5656 core.Map<core.String, core.Object> toJson() { |
5657 var _json = new core.Map(); | 5657 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5658 if (bytesReceived != null) { | 5658 if (bytesReceived != null) { |
5659 _json["bytesReceived"] = (bytesReceived).toJson(); | 5659 _json["bytesReceived"] = (bytesReceived).toJson(); |
5660 } | 5660 } |
5661 if (bytesSent != null) { | 5661 if (bytesSent != null) { |
5662 _json["bytesSent"] = (bytesSent).toJson(); | 5662 _json["bytesSent"] = (bytesSent).toJson(); |
5663 } | 5663 } |
5664 if (kind != null) { | 5664 if (kind != null) { |
5665 _json["kind"] = kind; | 5665 _json["kind"] = kind; |
5666 } | 5666 } |
5667 if (numMessagesLost != null) { | 5667 if (numMessagesLost != null) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5712 participantId = _json["participantId"]; | 5712 participantId = _json["participantId"]; |
5713 } | 5713 } |
5714 if (_json.containsKey("reliableChannel")) { | 5714 if (_json.containsKey("reliableChannel")) { |
5715 reliableChannel = new PeerChannelDiagnostics.fromJson(_json["reliableChann
el"]); | 5715 reliableChannel = new PeerChannelDiagnostics.fromJson(_json["reliableChann
el"]); |
5716 } | 5716 } |
5717 if (_json.containsKey("unreliableChannel")) { | 5717 if (_json.containsKey("unreliableChannel")) { |
5718 unreliableChannel = new PeerChannelDiagnostics.fromJson(_json["unreliableC
hannel"]); | 5718 unreliableChannel = new PeerChannelDiagnostics.fromJson(_json["unreliableC
hannel"]); |
5719 } | 5719 } |
5720 } | 5720 } |
5721 | 5721 |
5722 core.Map toJson() { | 5722 core.Map<core.String, core.Object> toJson() { |
5723 var _json = new core.Map(); | 5723 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5724 if (connectedTimestampMillis != null) { | 5724 if (connectedTimestampMillis != null) { |
5725 _json["connectedTimestampMillis"] = connectedTimestampMillis; | 5725 _json["connectedTimestampMillis"] = connectedTimestampMillis; |
5726 } | 5726 } |
5727 if (kind != null) { | 5727 if (kind != null) { |
5728 _json["kind"] = kind; | 5728 _json["kind"] = kind; |
5729 } | 5729 } |
5730 if (participantId != null) { | 5730 if (participantId != null) { |
5731 _json["participantId"] = participantId; | 5731 _json["participantId"] = participantId; |
5732 } | 5732 } |
5733 if (reliableChannel != null) { | 5733 if (reliableChannel != null) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5767 autoMatched = _json["autoMatched"]; | 5767 autoMatched = _json["autoMatched"]; |
5768 } | 5768 } |
5769 if (_json.containsKey("kind")) { | 5769 if (_json.containsKey("kind")) { |
5770 kind = _json["kind"]; | 5770 kind = _json["kind"]; |
5771 } | 5771 } |
5772 if (_json.containsKey("timeMillis")) { | 5772 if (_json.containsKey("timeMillis")) { |
5773 timeMillis = _json["timeMillis"]; | 5773 timeMillis = _json["timeMillis"]; |
5774 } | 5774 } |
5775 } | 5775 } |
5776 | 5776 |
5777 core.Map toJson() { | 5777 core.Map<core.String, core.Object> toJson() { |
5778 var _json = new core.Map(); | 5778 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5779 if (autoMatched != null) { | 5779 if (autoMatched != null) { |
5780 _json["autoMatched"] = autoMatched; | 5780 _json["autoMatched"] = autoMatched; |
5781 } | 5781 } |
5782 if (kind != null) { | 5782 if (kind != null) { |
5783 _json["kind"] = kind; | 5783 _json["kind"] = kind; |
5784 } | 5784 } |
5785 if (timeMillis != null) { | 5785 if (timeMillis != null) { |
5786 _json["timeMillis"] = timeMillis; | 5786 _json["timeMillis"] = timeMillis; |
5787 } | 5787 } |
5788 return _json; | 5788 return _json; |
(...skipping 20 matching lines...) Expand all Loading... |
5809 | 5809 |
5810 PlayerName.fromJson(core.Map _json) { | 5810 PlayerName.fromJson(core.Map _json) { |
5811 if (_json.containsKey("familyName")) { | 5811 if (_json.containsKey("familyName")) { |
5812 familyName = _json["familyName"]; | 5812 familyName = _json["familyName"]; |
5813 } | 5813 } |
5814 if (_json.containsKey("givenName")) { | 5814 if (_json.containsKey("givenName")) { |
5815 givenName = _json["givenName"]; | 5815 givenName = _json["givenName"]; |
5816 } | 5816 } |
5817 } | 5817 } |
5818 | 5818 |
5819 core.Map toJson() { | 5819 core.Map<core.String, core.Object> toJson() { |
5820 var _json = new core.Map(); | 5820 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5821 if (familyName != null) { | 5821 if (familyName != null) { |
5822 _json["familyName"] = familyName; | 5822 _json["familyName"] = familyName; |
5823 } | 5823 } |
5824 if (givenName != null) { | 5824 if (givenName != null) { |
5825 _json["givenName"] = givenName; | 5825 _json["givenName"] = givenName; |
5826 } | 5826 } |
5827 return _json; | 5827 return _json; |
5828 } | 5828 } |
5829 } | 5829 } |
5830 | 5830 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5909 playerId = _json["playerId"]; | 5909 playerId = _json["playerId"]; |
5910 } | 5910 } |
5911 if (_json.containsKey("profileSettings")) { | 5911 if (_json.containsKey("profileSettings")) { |
5912 profileSettings = new ProfileSettings.fromJson(_json["profileSettings"]); | 5912 profileSettings = new ProfileSettings.fromJson(_json["profileSettings"]); |
5913 } | 5913 } |
5914 if (_json.containsKey("title")) { | 5914 if (_json.containsKey("title")) { |
5915 title = _json["title"]; | 5915 title = _json["title"]; |
5916 } | 5916 } |
5917 } | 5917 } |
5918 | 5918 |
5919 core.Map toJson() { | 5919 core.Map<core.String, core.Object> toJson() { |
5920 var _json = new core.Map(); | 5920 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5921 if (avatarImageUrl != null) { | 5921 if (avatarImageUrl != null) { |
5922 _json["avatarImageUrl"] = avatarImageUrl; | 5922 _json["avatarImageUrl"] = avatarImageUrl; |
5923 } | 5923 } |
5924 if (bannerUrlLandscape != null) { | 5924 if (bannerUrlLandscape != null) { |
5925 _json["bannerUrlLandscape"] = bannerUrlLandscape; | 5925 _json["bannerUrlLandscape"] = bannerUrlLandscape; |
5926 } | 5926 } |
5927 if (bannerUrlPortrait != null) { | 5927 if (bannerUrlPortrait != null) { |
5928 _json["bannerUrlPortrait"] = bannerUrlPortrait; | 5928 _json["bannerUrlPortrait"] = bannerUrlPortrait; |
5929 } | 5929 } |
5930 if (displayName != null) { | 5930 if (displayName != null) { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6007 id = _json["id"]; | 6007 id = _json["id"]; |
6008 } | 6008 } |
6009 if (_json.containsKey("kind")) { | 6009 if (_json.containsKey("kind")) { |
6010 kind = _json["kind"]; | 6010 kind = _json["kind"]; |
6011 } | 6011 } |
6012 if (_json.containsKey("lastUpdatedTimestamp")) { | 6012 if (_json.containsKey("lastUpdatedTimestamp")) { |
6013 lastUpdatedTimestamp = _json["lastUpdatedTimestamp"]; | 6013 lastUpdatedTimestamp = _json["lastUpdatedTimestamp"]; |
6014 } | 6014 } |
6015 } | 6015 } |
6016 | 6016 |
6017 core.Map toJson() { | 6017 core.Map<core.String, core.Object> toJson() { |
6018 var _json = new core.Map(); | 6018 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6019 if (achievementState != null) { | 6019 if (achievementState != null) { |
6020 _json["achievementState"] = achievementState; | 6020 _json["achievementState"] = achievementState; |
6021 } | 6021 } |
6022 if (currentSteps != null) { | 6022 if (currentSteps != null) { |
6023 _json["currentSteps"] = currentSteps; | 6023 _json["currentSteps"] = currentSteps; |
6024 } | 6024 } |
6025 if (experiencePoints != null) { | 6025 if (experiencePoints != null) { |
6026 _json["experiencePoints"] = experiencePoints; | 6026 _json["experiencePoints"] = experiencePoints; |
6027 } | 6027 } |
6028 if (formattedCurrentStepsString != null) { | 6028 if (formattedCurrentStepsString != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6060 items = _json["items"].map((value) => new PlayerAchievement.fromJson(value
)).toList(); | 6060 items = _json["items"].map((value) => new PlayerAchievement.fromJson(value
)).toList(); |
6061 } | 6061 } |
6062 if (_json.containsKey("kind")) { | 6062 if (_json.containsKey("kind")) { |
6063 kind = _json["kind"]; | 6063 kind = _json["kind"]; |
6064 } | 6064 } |
6065 if (_json.containsKey("nextPageToken")) { | 6065 if (_json.containsKey("nextPageToken")) { |
6066 nextPageToken = _json["nextPageToken"]; | 6066 nextPageToken = _json["nextPageToken"]; |
6067 } | 6067 } |
6068 } | 6068 } |
6069 | 6069 |
6070 core.Map toJson() { | 6070 core.Map<core.String, core.Object> toJson() { |
6071 var _json = new core.Map(); | 6071 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6072 if (items != null) { | 6072 if (items != null) { |
6073 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6073 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6074 } | 6074 } |
6075 if (kind != null) { | 6075 if (kind != null) { |
6076 _json["kind"] = kind; | 6076 _json["kind"] = kind; |
6077 } | 6077 } |
6078 if (nextPageToken != null) { | 6078 if (nextPageToken != null) { |
6079 _json["nextPageToken"] = nextPageToken; | 6079 _json["nextPageToken"] = nextPageToken; |
6080 } | 6080 } |
6081 return _json; | 6081 return _json; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6115 kind = _json["kind"]; | 6115 kind = _json["kind"]; |
6116 } | 6116 } |
6117 if (_json.containsKey("numEvents")) { | 6117 if (_json.containsKey("numEvents")) { |
6118 numEvents = _json["numEvents"]; | 6118 numEvents = _json["numEvents"]; |
6119 } | 6119 } |
6120 if (_json.containsKey("playerId")) { | 6120 if (_json.containsKey("playerId")) { |
6121 playerId = _json["playerId"]; | 6121 playerId = _json["playerId"]; |
6122 } | 6122 } |
6123 } | 6123 } |
6124 | 6124 |
6125 core.Map toJson() { | 6125 core.Map<core.String, core.Object> toJson() { |
6126 var _json = new core.Map(); | 6126 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6127 if (definitionId != null) { | 6127 if (definitionId != null) { |
6128 _json["definitionId"] = definitionId; | 6128 _json["definitionId"] = definitionId; |
6129 } | 6129 } |
6130 if (formattedNumEvents != null) { | 6130 if (formattedNumEvents != null) { |
6131 _json["formattedNumEvents"] = formattedNumEvents; | 6131 _json["formattedNumEvents"] = formattedNumEvents; |
6132 } | 6132 } |
6133 if (kind != null) { | 6133 if (kind != null) { |
6134 _json["kind"] = kind; | 6134 _json["kind"] = kind; |
6135 } | 6135 } |
6136 if (numEvents != null) { | 6136 if (numEvents != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
6162 items = _json["items"].map((value) => new PlayerEvent.fromJson(value)).toL
ist(); | 6162 items = _json["items"].map((value) => new PlayerEvent.fromJson(value)).toL
ist(); |
6163 } | 6163 } |
6164 if (_json.containsKey("kind")) { | 6164 if (_json.containsKey("kind")) { |
6165 kind = _json["kind"]; | 6165 kind = _json["kind"]; |
6166 } | 6166 } |
6167 if (_json.containsKey("nextPageToken")) { | 6167 if (_json.containsKey("nextPageToken")) { |
6168 nextPageToken = _json["nextPageToken"]; | 6168 nextPageToken = _json["nextPageToken"]; |
6169 } | 6169 } |
6170 } | 6170 } |
6171 | 6171 |
6172 core.Map toJson() { | 6172 core.Map<core.String, core.Object> toJson() { |
6173 var _json = new core.Map(); | 6173 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6174 if (items != null) { | 6174 if (items != null) { |
6175 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6175 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6176 } | 6176 } |
6177 if (kind != null) { | 6177 if (kind != null) { |
6178 _json["kind"] = kind; | 6178 _json["kind"] = kind; |
6179 } | 6179 } |
6180 if (nextPageToken != null) { | 6180 if (nextPageToken != null) { |
6181 _json["nextPageToken"] = nextPageToken; | 6181 _json["nextPageToken"] = nextPageToken; |
6182 } | 6182 } |
6183 return _json; | 6183 return _json; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6221 kind = _json["kind"]; | 6221 kind = _json["kind"]; |
6222 } | 6222 } |
6223 if (_json.containsKey("lastLevelUpTimestampMillis")) { | 6223 if (_json.containsKey("lastLevelUpTimestampMillis")) { |
6224 lastLevelUpTimestampMillis = _json["lastLevelUpTimestampMillis"]; | 6224 lastLevelUpTimestampMillis = _json["lastLevelUpTimestampMillis"]; |
6225 } | 6225 } |
6226 if (_json.containsKey("nextLevel")) { | 6226 if (_json.containsKey("nextLevel")) { |
6227 nextLevel = new PlayerLevel.fromJson(_json["nextLevel"]); | 6227 nextLevel = new PlayerLevel.fromJson(_json["nextLevel"]); |
6228 } | 6228 } |
6229 } | 6229 } |
6230 | 6230 |
6231 core.Map toJson() { | 6231 core.Map<core.String, core.Object> toJson() { |
6232 var _json = new core.Map(); | 6232 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6233 if (currentExperiencePoints != null) { | 6233 if (currentExperiencePoints != null) { |
6234 _json["currentExperiencePoints"] = currentExperiencePoints; | 6234 _json["currentExperiencePoints"] = currentExperiencePoints; |
6235 } | 6235 } |
6236 if (currentLevel != null) { | 6236 if (currentLevel != null) { |
6237 _json["currentLevel"] = (currentLevel).toJson(); | 6237 _json["currentLevel"] = (currentLevel).toJson(); |
6238 } | 6238 } |
6239 if (kind != null) { | 6239 if (kind != null) { |
6240 _json["kind"] = kind; | 6240 _json["kind"] = kind; |
6241 } | 6241 } |
6242 if (lastLevelUpTimestampMillis != null) { | 6242 if (lastLevelUpTimestampMillis != null) { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6313 socialRank = new LeaderboardScoreRank.fromJson(_json["socialRank"]); | 6313 socialRank = new LeaderboardScoreRank.fromJson(_json["socialRank"]); |
6314 } | 6314 } |
6315 if (_json.containsKey("timeSpan")) { | 6315 if (_json.containsKey("timeSpan")) { |
6316 timeSpan = _json["timeSpan"]; | 6316 timeSpan = _json["timeSpan"]; |
6317 } | 6317 } |
6318 if (_json.containsKey("writeTimestamp")) { | 6318 if (_json.containsKey("writeTimestamp")) { |
6319 writeTimestamp = _json["writeTimestamp"]; | 6319 writeTimestamp = _json["writeTimestamp"]; |
6320 } | 6320 } |
6321 } | 6321 } |
6322 | 6322 |
6323 core.Map toJson() { | 6323 core.Map<core.String, core.Object> toJson() { |
6324 var _json = new core.Map(); | 6324 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6325 if (kind != null) { | 6325 if (kind != null) { |
6326 _json["kind"] = kind; | 6326 _json["kind"] = kind; |
6327 } | 6327 } |
6328 if (leaderboardId != null) { | 6328 if (leaderboardId != null) { |
6329 _json["leaderboard_id"] = leaderboardId; | 6329 _json["leaderboard_id"] = leaderboardId; |
6330 } | 6330 } |
6331 if (publicRank != null) { | 6331 if (publicRank != null) { |
6332 _json["publicRank"] = (publicRank).toJson(); | 6332 _json["publicRank"] = (publicRank).toJson(); |
6333 } | 6333 } |
6334 if (scoreString != null) { | 6334 if (scoreString != null) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6377 kind = _json["kind"]; | 6377 kind = _json["kind"]; |
6378 } | 6378 } |
6379 if (_json.containsKey("nextPageToken")) { | 6379 if (_json.containsKey("nextPageToken")) { |
6380 nextPageToken = _json["nextPageToken"]; | 6380 nextPageToken = _json["nextPageToken"]; |
6381 } | 6381 } |
6382 if (_json.containsKey("player")) { | 6382 if (_json.containsKey("player")) { |
6383 player = new Player.fromJson(_json["player"]); | 6383 player = new Player.fromJson(_json["player"]); |
6384 } | 6384 } |
6385 } | 6385 } |
6386 | 6386 |
6387 core.Map toJson() { | 6387 core.Map<core.String, core.Object> toJson() { |
6388 var _json = new core.Map(); | 6388 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6389 if (items != null) { | 6389 if (items != null) { |
6390 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6390 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6391 } | 6391 } |
6392 if (kind != null) { | 6392 if (kind != null) { |
6393 _json["kind"] = kind; | 6393 _json["kind"] = kind; |
6394 } | 6394 } |
6395 if (nextPageToken != null) { | 6395 if (nextPageToken != null) { |
6396 _json["nextPageToken"] = nextPageToken; | 6396 _json["nextPageToken"] = nextPageToken; |
6397 } | 6397 } |
6398 if (player != null) { | 6398 if (player != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
6426 level = _json["level"]; | 6426 level = _json["level"]; |
6427 } | 6427 } |
6428 if (_json.containsKey("maxExperiencePoints")) { | 6428 if (_json.containsKey("maxExperiencePoints")) { |
6429 maxExperiencePoints = _json["maxExperiencePoints"]; | 6429 maxExperiencePoints = _json["maxExperiencePoints"]; |
6430 } | 6430 } |
6431 if (_json.containsKey("minExperiencePoints")) { | 6431 if (_json.containsKey("minExperiencePoints")) { |
6432 minExperiencePoints = _json["minExperiencePoints"]; | 6432 minExperiencePoints = _json["minExperiencePoints"]; |
6433 } | 6433 } |
6434 } | 6434 } |
6435 | 6435 |
6436 core.Map toJson() { | 6436 core.Map<core.String, core.Object> toJson() { |
6437 var _json = new core.Map(); | 6437 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6438 if (kind != null) { | 6438 if (kind != null) { |
6439 _json["kind"] = kind; | 6439 _json["kind"] = kind; |
6440 } | 6440 } |
6441 if (level != null) { | 6441 if (level != null) { |
6442 _json["level"] = level; | 6442 _json["level"] = level; |
6443 } | 6443 } |
6444 if (maxExperiencePoints != null) { | 6444 if (maxExperiencePoints != null) { |
6445 _json["maxExperiencePoints"] = maxExperiencePoints; | 6445 _json["maxExperiencePoints"] = maxExperiencePoints; |
6446 } | 6446 } |
6447 if (minExperiencePoints != null) { | 6447 if (minExperiencePoints != null) { |
(...skipping 22 matching lines...) Expand all Loading... |
6470 items = _json["items"].map((value) => new Player.fromJson(value)).toList()
; | 6470 items = _json["items"].map((value) => new Player.fromJson(value)).toList()
; |
6471 } | 6471 } |
6472 if (_json.containsKey("kind")) { | 6472 if (_json.containsKey("kind")) { |
6473 kind = _json["kind"]; | 6473 kind = _json["kind"]; |
6474 } | 6474 } |
6475 if (_json.containsKey("nextPageToken")) { | 6475 if (_json.containsKey("nextPageToken")) { |
6476 nextPageToken = _json["nextPageToken"]; | 6476 nextPageToken = _json["nextPageToken"]; |
6477 } | 6477 } |
6478 } | 6478 } |
6479 | 6479 |
6480 core.Map toJson() { | 6480 core.Map<core.String, core.Object> toJson() { |
6481 var _json = new core.Map(); | 6481 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6482 if (items != null) { | 6482 if (items != null) { |
6483 _json["items"] = items.map((value) => (value).toJson()).toList(); | 6483 _json["items"] = items.map((value) => (value).toJson()).toList(); |
6484 } | 6484 } |
6485 if (kind != null) { | 6485 if (kind != null) { |
6486 _json["kind"] = kind; | 6486 _json["kind"] = kind; |
6487 } | 6487 } |
6488 if (nextPageToken != null) { | 6488 if (nextPageToken != null) { |
6489 _json["nextPageToken"] = nextPageToken; | 6489 _json["nextPageToken"] = nextPageToken; |
6490 } | 6490 } |
6491 return _json; | 6491 return _json; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6530 score = _json["score"]; | 6530 score = _json["score"]; |
6531 } | 6531 } |
6532 if (_json.containsKey("scoreTag")) { | 6532 if (_json.containsKey("scoreTag")) { |
6533 scoreTag = _json["scoreTag"]; | 6533 scoreTag = _json["scoreTag"]; |
6534 } | 6534 } |
6535 if (_json.containsKey("timeSpan")) { | 6535 if (_json.containsKey("timeSpan")) { |
6536 timeSpan = _json["timeSpan"]; | 6536 timeSpan = _json["timeSpan"]; |
6537 } | 6537 } |
6538 } | 6538 } |
6539 | 6539 |
6540 core.Map toJson() { | 6540 core.Map<core.String, core.Object> toJson() { |
6541 var _json = new core.Map(); | 6541 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6542 if (formattedScore != null) { | 6542 if (formattedScore != null) { |
6543 _json["formattedScore"] = formattedScore; | 6543 _json["formattedScore"] = formattedScore; |
6544 } | 6544 } |
6545 if (kind != null) { | 6545 if (kind != null) { |
6546 _json["kind"] = kind; | 6546 _json["kind"] = kind; |
6547 } | 6547 } |
6548 if (score != null) { | 6548 if (score != null) { |
6549 _json["score"] = score; | 6549 _json["score"] = score; |
6550 } | 6550 } |
6551 if (scoreTag != null) { | 6551 if (scoreTag != null) { |
(...skipping 20 matching lines...) Expand all Loading... |
6572 | 6572 |
6573 PlayerScoreListResponse.fromJson(core.Map _json) { | 6573 PlayerScoreListResponse.fromJson(core.Map _json) { |
6574 if (_json.containsKey("kind")) { | 6574 if (_json.containsKey("kind")) { |
6575 kind = _json["kind"]; | 6575 kind = _json["kind"]; |
6576 } | 6576 } |
6577 if (_json.containsKey("submittedScores")) { | 6577 if (_json.containsKey("submittedScores")) { |
6578 submittedScores = _json["submittedScores"].map((value) => new PlayerScoreR
esponse.fromJson(value)).toList(); | 6578 submittedScores = _json["submittedScores"].map((value) => new PlayerScoreR
esponse.fromJson(value)).toList(); |
6579 } | 6579 } |
6580 } | 6580 } |
6581 | 6581 |
6582 core.Map toJson() { | 6582 core.Map<core.String, core.Object> toJson() { |
6583 var _json = new core.Map(); | 6583 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6584 if (kind != null) { | 6584 if (kind != null) { |
6585 _json["kind"] = kind; | 6585 _json["kind"] = kind; |
6586 } | 6586 } |
6587 if (submittedScores != null) { | 6587 if (submittedScores != null) { |
6588 _json["submittedScores"] = submittedScores.map((value) => (value).toJson()
).toList(); | 6588 _json["submittedScores"] = submittedScores.map((value) => (value).toJson()
).toList(); |
6589 } | 6589 } |
6590 return _json; | 6590 return _json; |
6591 } | 6591 } |
6592 } | 6592 } |
6593 | 6593 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6639 leaderboardId = _json["leaderboardId"]; | 6639 leaderboardId = _json["leaderboardId"]; |
6640 } | 6640 } |
6641 if (_json.containsKey("scoreTag")) { | 6641 if (_json.containsKey("scoreTag")) { |
6642 scoreTag = _json["scoreTag"]; | 6642 scoreTag = _json["scoreTag"]; |
6643 } | 6643 } |
6644 if (_json.containsKey("unbeatenScores")) { | 6644 if (_json.containsKey("unbeatenScores")) { |
6645 unbeatenScores = _json["unbeatenScores"].map((value) => new PlayerScore.fr
omJson(value)).toList(); | 6645 unbeatenScores = _json["unbeatenScores"].map((value) => new PlayerScore.fr
omJson(value)).toList(); |
6646 } | 6646 } |
6647 } | 6647 } |
6648 | 6648 |
6649 core.Map toJson() { | 6649 core.Map<core.String, core.Object> toJson() { |
6650 var _json = new core.Map(); | 6650 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6651 if (beatenScoreTimeSpans != null) { | 6651 if (beatenScoreTimeSpans != null) { |
6652 _json["beatenScoreTimeSpans"] = beatenScoreTimeSpans; | 6652 _json["beatenScoreTimeSpans"] = beatenScoreTimeSpans; |
6653 } | 6653 } |
6654 if (formattedScore != null) { | 6654 if (formattedScore != null) { |
6655 _json["formattedScore"] = formattedScore; | 6655 _json["formattedScore"] = formattedScore; |
6656 } | 6656 } |
6657 if (kind != null) { | 6657 if (kind != null) { |
6658 _json["kind"] = kind; | 6658 _json["kind"] = kind; |
6659 } | 6659 } |
6660 if (leaderboardId != null) { | 6660 if (leaderboardId != null) { |
(...skipping 23 matching lines...) Expand all Loading... |
6684 | 6684 |
6685 PlayerScoreSubmissionList.fromJson(core.Map _json) { | 6685 PlayerScoreSubmissionList.fromJson(core.Map _json) { |
6686 if (_json.containsKey("kind")) { | 6686 if (_json.containsKey("kind")) { |
6687 kind = _json["kind"]; | 6687 kind = _json["kind"]; |
6688 } | 6688 } |
6689 if (_json.containsKey("scores")) { | 6689 if (_json.containsKey("scores")) { |
6690 scores = _json["scores"].map((value) => new ScoreSubmission.fromJson(value
)).toList(); | 6690 scores = _json["scores"].map((value) => new ScoreSubmission.fromJson(value
)).toList(); |
6691 } | 6691 } |
6692 } | 6692 } |
6693 | 6693 |
6694 core.Map toJson() { | 6694 core.Map<core.String, core.Object> toJson() { |
6695 var _json = new core.Map(); | 6695 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6696 if (kind != null) { | 6696 if (kind != null) { |
6697 _json["kind"] = kind; | 6697 _json["kind"] = kind; |
6698 } | 6698 } |
6699 if (scores != null) { | 6699 if (scores != null) { |
6700 _json["scores"] = scores.map((value) => (value).toJson()).toList(); | 6700 _json["scores"] = scores.map((value) => (value).toJson()).toList(); |
6701 } | 6701 } |
6702 return _json; | 6702 return _json; |
6703 } | 6703 } |
6704 } | 6704 } |
6705 | 6705 |
(...skipping 14 matching lines...) Expand all Loading... |
6720 | 6720 |
6721 ProfileSettings.fromJson(core.Map _json) { | 6721 ProfileSettings.fromJson(core.Map _json) { |
6722 if (_json.containsKey("kind")) { | 6722 if (_json.containsKey("kind")) { |
6723 kind = _json["kind"]; | 6723 kind = _json["kind"]; |
6724 } | 6724 } |
6725 if (_json.containsKey("profileVisible")) { | 6725 if (_json.containsKey("profileVisible")) { |
6726 profileVisible = _json["profileVisible"]; | 6726 profileVisible = _json["profileVisible"]; |
6727 } | 6727 } |
6728 } | 6728 } |
6729 | 6729 |
6730 core.Map toJson() { | 6730 core.Map<core.String, core.Object> toJson() { |
6731 var _json = new core.Map(); | 6731 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6732 if (kind != null) { | 6732 if (kind != null) { |
6733 _json["kind"] = kind; | 6733 _json["kind"] = kind; |
6734 } | 6734 } |
6735 if (profileVisible != null) { | 6735 if (profileVisible != null) { |
6736 _json["profileVisible"] = profileVisible; | 6736 _json["profileVisible"] = profileVisible; |
6737 } | 6737 } |
6738 return _json; | 6738 return _json; |
6739 } | 6739 } |
6740 } | 6740 } |
6741 | 6741 |
(...skipping 29 matching lines...) Expand all Loading... |
6771 id = new PushTokenId.fromJson(_json["id"]); | 6771 id = new PushTokenId.fromJson(_json["id"]); |
6772 } | 6772 } |
6773 if (_json.containsKey("kind")) { | 6773 if (_json.containsKey("kind")) { |
6774 kind = _json["kind"]; | 6774 kind = _json["kind"]; |
6775 } | 6775 } |
6776 if (_json.containsKey("language")) { | 6776 if (_json.containsKey("language")) { |
6777 language = _json["language"]; | 6777 language = _json["language"]; |
6778 } | 6778 } |
6779 } | 6779 } |
6780 | 6780 |
6781 core.Map toJson() { | 6781 core.Map<core.String, core.Object> toJson() { |
6782 var _json = new core.Map(); | 6782 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6783 if (clientRevision != null) { | 6783 if (clientRevision != null) { |
6784 _json["clientRevision"] = clientRevision; | 6784 _json["clientRevision"] = clientRevision; |
6785 } | 6785 } |
6786 if (id != null) { | 6786 if (id != null) { |
6787 _json["id"] = (id).toJson(); | 6787 _json["id"] = (id).toJson(); |
6788 } | 6788 } |
6789 if (kind != null) { | 6789 if (kind != null) { |
6790 _json["kind"] = kind; | 6790 _json["kind"] = kind; |
6791 } | 6791 } |
6792 if (language != null) { | 6792 if (language != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
6820 | 6820 |
6821 PushTokenIdIos.fromJson(core.Map _json) { | 6821 PushTokenIdIos.fromJson(core.Map _json) { |
6822 if (_json.containsKey("apns_device_token")) { | 6822 if (_json.containsKey("apns_device_token")) { |
6823 apnsDeviceToken = _json["apns_device_token"]; | 6823 apnsDeviceToken = _json["apns_device_token"]; |
6824 } | 6824 } |
6825 if (_json.containsKey("apns_environment")) { | 6825 if (_json.containsKey("apns_environment")) { |
6826 apnsEnvironment = _json["apns_environment"]; | 6826 apnsEnvironment = _json["apns_environment"]; |
6827 } | 6827 } |
6828 } | 6828 } |
6829 | 6829 |
6830 core.Map toJson() { | 6830 core.Map<core.String, core.Object> toJson() { |
6831 var _json = new core.Map(); | 6831 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6832 if (apnsDeviceToken != null) { | 6832 if (apnsDeviceToken != null) { |
6833 _json["apns_device_token"] = apnsDeviceToken; | 6833 _json["apns_device_token"] = apnsDeviceToken; |
6834 } | 6834 } |
6835 if (apnsEnvironment != null) { | 6835 if (apnsEnvironment != null) { |
6836 _json["apns_environment"] = apnsEnvironment; | 6836 _json["apns_environment"] = apnsEnvironment; |
6837 } | 6837 } |
6838 return _json; | 6838 return _json; |
6839 } | 6839 } |
6840 } | 6840 } |
6841 | 6841 |
(...skipping 11 matching lines...) Expand all Loading... |
6853 | 6853 |
6854 PushTokenId.fromJson(core.Map _json) { | 6854 PushTokenId.fromJson(core.Map _json) { |
6855 if (_json.containsKey("ios")) { | 6855 if (_json.containsKey("ios")) { |
6856 ios = new PushTokenIdIos.fromJson(_json["ios"]); | 6856 ios = new PushTokenIdIos.fromJson(_json["ios"]); |
6857 } | 6857 } |
6858 if (_json.containsKey("kind")) { | 6858 if (_json.containsKey("kind")) { |
6859 kind = _json["kind"]; | 6859 kind = _json["kind"]; |
6860 } | 6860 } |
6861 } | 6861 } |
6862 | 6862 |
6863 core.Map toJson() { | 6863 core.Map<core.String, core.Object> toJson() { |
6864 var _json = new core.Map(); | 6864 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6865 if (ios != null) { | 6865 if (ios != null) { |
6866 _json["ios"] = (ios).toJson(); | 6866 _json["ios"] = (ios).toJson(); |
6867 } | 6867 } |
6868 if (kind != null) { | 6868 if (kind != null) { |
6869 _json["kind"] = kind; | 6869 _json["kind"] = kind; |
6870 } | 6870 } |
6871 return _json; | 6871 return _json; |
6872 } | 6872 } |
6873 } | 6873 } |
6874 | 6874 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6990 notifyTimestampMillis = _json["notifyTimestampMillis"]; | 6990 notifyTimestampMillis = _json["notifyTimestampMillis"]; |
6991 } | 6991 } |
6992 if (_json.containsKey("startTimestampMillis")) { | 6992 if (_json.containsKey("startTimestampMillis")) { |
6993 startTimestampMillis = _json["startTimestampMillis"]; | 6993 startTimestampMillis = _json["startTimestampMillis"]; |
6994 } | 6994 } |
6995 if (_json.containsKey("state")) { | 6995 if (_json.containsKey("state")) { |
6996 state = _json["state"]; | 6996 state = _json["state"]; |
6997 } | 6997 } |
6998 } | 6998 } |
6999 | 6999 |
7000 core.Map toJson() { | 7000 core.Map<core.String, core.Object> toJson() { |
7001 var _json = new core.Map(); | 7001 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7002 if (acceptedTimestampMillis != null) { | 7002 if (acceptedTimestampMillis != null) { |
7003 _json["acceptedTimestampMillis"] = acceptedTimestampMillis; | 7003 _json["acceptedTimestampMillis"] = acceptedTimestampMillis; |
7004 } | 7004 } |
7005 if (applicationId != null) { | 7005 if (applicationId != null) { |
7006 _json["applicationId"] = applicationId; | 7006 _json["applicationId"] = applicationId; |
7007 } | 7007 } |
7008 if (bannerUrl != null) { | 7008 if (bannerUrl != null) { |
7009 _json["bannerUrl"] = bannerUrl; | 7009 _json["bannerUrl"] = bannerUrl; |
7010 } | 7010 } |
7011 if (description != null) { | 7011 if (description != null) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7074 formattedValue = _json["formattedValue"]; | 7074 formattedValue = _json["formattedValue"]; |
7075 } | 7075 } |
7076 if (_json.containsKey("kind")) { | 7076 if (_json.containsKey("kind")) { |
7077 kind = _json["kind"]; | 7077 kind = _json["kind"]; |
7078 } | 7078 } |
7079 if (_json.containsKey("value")) { | 7079 if (_json.containsKey("value")) { |
7080 value = _json["value"]; | 7080 value = _json["value"]; |
7081 } | 7081 } |
7082 } | 7082 } |
7083 | 7083 |
7084 core.Map toJson() { | 7084 core.Map<core.String, core.Object> toJson() { |
7085 var _json = new core.Map(); | 7085 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7086 if (formattedValue != null) { | 7086 if (formattedValue != null) { |
7087 _json["formattedValue"] = formattedValue; | 7087 _json["formattedValue"] = formattedValue; |
7088 } | 7088 } |
7089 if (kind != null) { | 7089 if (kind != null) { |
7090 _json["kind"] = kind; | 7090 _json["kind"] = kind; |
7091 } | 7091 } |
7092 if (value != null) { | 7092 if (value != null) { |
7093 _json["value"] = value; | 7093 _json["value"] = value; |
7094 } | 7094 } |
7095 return _json; | 7095 return _json; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7140 eventId = _json["eventId"]; | 7140 eventId = _json["eventId"]; |
7141 } | 7141 } |
7142 if (_json.containsKey("initialPlayerProgress")) { | 7142 if (_json.containsKey("initialPlayerProgress")) { |
7143 initialPlayerProgress = new QuestContribution.fromJson(_json["initialPlaye
rProgress"]); | 7143 initialPlayerProgress = new QuestContribution.fromJson(_json["initialPlaye
rProgress"]); |
7144 } | 7144 } |
7145 if (_json.containsKey("kind")) { | 7145 if (_json.containsKey("kind")) { |
7146 kind = _json["kind"]; | 7146 kind = _json["kind"]; |
7147 } | 7147 } |
7148 } | 7148 } |
7149 | 7149 |
7150 core.Map toJson() { | 7150 core.Map<core.String, core.Object> toJson() { |
7151 var _json = new core.Map(); | 7151 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7152 if (completionContribution != null) { | 7152 if (completionContribution != null) { |
7153 _json["completionContribution"] = (completionContribution).toJson(); | 7153 _json["completionContribution"] = (completionContribution).toJson(); |
7154 } | 7154 } |
7155 if (currentContribution != null) { | 7155 if (currentContribution != null) { |
7156 _json["currentContribution"] = (currentContribution).toJson(); | 7156 _json["currentContribution"] = (currentContribution).toJson(); |
7157 } | 7157 } |
7158 if (eventId != null) { | 7158 if (eventId != null) { |
7159 _json["eventId"] = eventId; | 7159 _json["eventId"] = eventId; |
7160 } | 7160 } |
7161 if (initialPlayerProgress != null) { | 7161 if (initialPlayerProgress != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
7187 items = _json["items"].map((value) => new Quest.fromJson(value)).toList(); | 7187 items = _json["items"].map((value) => new Quest.fromJson(value)).toList(); |
7188 } | 7188 } |
7189 if (_json.containsKey("kind")) { | 7189 if (_json.containsKey("kind")) { |
7190 kind = _json["kind"]; | 7190 kind = _json["kind"]; |
7191 } | 7191 } |
7192 if (_json.containsKey("nextPageToken")) { | 7192 if (_json.containsKey("nextPageToken")) { |
7193 nextPageToken = _json["nextPageToken"]; | 7193 nextPageToken = _json["nextPageToken"]; |
7194 } | 7194 } |
7195 } | 7195 } |
7196 | 7196 |
7197 core.Map toJson() { | 7197 core.Map<core.String, core.Object> toJson() { |
7198 var _json = new core.Map(); | 7198 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7199 if (items != null) { | 7199 if (items != null) { |
7200 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7200 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7201 } | 7201 } |
7202 if (kind != null) { | 7202 if (kind != null) { |
7203 _json["kind"] = kind; | 7203 _json["kind"] = kind; |
7204 } | 7204 } |
7205 if (nextPageToken != null) { | 7205 if (nextPageToken != null) { |
7206 _json["nextPageToken"] = nextPageToken; | 7206 _json["nextPageToken"] = nextPageToken; |
7207 } | 7207 } |
7208 return _json; | 7208 return _json; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7258 id = _json["id"]; | 7258 id = _json["id"]; |
7259 } | 7259 } |
7260 if (_json.containsKey("kind")) { | 7260 if (_json.containsKey("kind")) { |
7261 kind = _json["kind"]; | 7261 kind = _json["kind"]; |
7262 } | 7262 } |
7263 if (_json.containsKey("state")) { | 7263 if (_json.containsKey("state")) { |
7264 state = _json["state"]; | 7264 state = _json["state"]; |
7265 } | 7265 } |
7266 } | 7266 } |
7267 | 7267 |
7268 core.Map toJson() { | 7268 core.Map<core.String, core.Object> toJson() { |
7269 var _json = new core.Map(); | 7269 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7270 if (completionRewardData != null) { | 7270 if (completionRewardData != null) { |
7271 _json["completionRewardData"] = completionRewardData; | 7271 _json["completionRewardData"] = completionRewardData; |
7272 } | 7272 } |
7273 if (criteria != null) { | 7273 if (criteria != null) { |
7274 _json["criteria"] = criteria.map((value) => (value).toJson()).toList(); | 7274 _json["criteria"] = criteria.map((value) => (value).toJson()).toList(); |
7275 } | 7275 } |
7276 if (id != null) { | 7276 if (id != null) { |
7277 _json["id"] = id; | 7277 _json["id"] = id; |
7278 } | 7278 } |
7279 if (kind != null) { | 7279 if (kind != null) { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7316 apiVersion = _json["apiVersion"]; | 7316 apiVersion = _json["apiVersion"]; |
7317 } | 7317 } |
7318 if (_json.containsKey("kind")) { | 7318 if (_json.containsKey("kind")) { |
7319 kind = _json["kind"]; | 7319 kind = _json["kind"]; |
7320 } | 7320 } |
7321 if (_json.containsKey("revisionStatus")) { | 7321 if (_json.containsKey("revisionStatus")) { |
7322 revisionStatus = _json["revisionStatus"]; | 7322 revisionStatus = _json["revisionStatus"]; |
7323 } | 7323 } |
7324 } | 7324 } |
7325 | 7325 |
7326 core.Map toJson() { | 7326 core.Map<core.String, core.Object> toJson() { |
7327 var _json = new core.Map(); | 7327 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7328 if (apiVersion != null) { | 7328 if (apiVersion != null) { |
7329 _json["apiVersion"] = apiVersion; | 7329 _json["apiVersion"] = apiVersion; |
7330 } | 7330 } |
7331 if (kind != null) { | 7331 if (kind != null) { |
7332 _json["kind"] = kind; | 7332 _json["kind"] = kind; |
7333 } | 7333 } |
7334 if (revisionStatus != null) { | 7334 if (revisionStatus != null) { |
7335 _json["revisionStatus"] = revisionStatus; | 7335 _json["revisionStatus"] = revisionStatus; |
7336 } | 7336 } |
7337 return _json; | 7337 return _json; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7439 roomStatusVersion = _json["roomStatusVersion"]; | 7439 roomStatusVersion = _json["roomStatusVersion"]; |
7440 } | 7440 } |
7441 if (_json.containsKey("status")) { | 7441 if (_json.containsKey("status")) { |
7442 status = _json["status"]; | 7442 status = _json["status"]; |
7443 } | 7443 } |
7444 if (_json.containsKey("variant")) { | 7444 if (_json.containsKey("variant")) { |
7445 variant = _json["variant"]; | 7445 variant = _json["variant"]; |
7446 } | 7446 } |
7447 } | 7447 } |
7448 | 7448 |
7449 core.Map toJson() { | 7449 core.Map<core.String, core.Object> toJson() { |
7450 var _json = new core.Map(); | 7450 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7451 if (applicationId != null) { | 7451 if (applicationId != null) { |
7452 _json["applicationId"] = applicationId; | 7452 _json["applicationId"] = applicationId; |
7453 } | 7453 } |
7454 if (autoMatchingCriteria != null) { | 7454 if (autoMatchingCriteria != null) { |
7455 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); | 7455 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); |
7456 } | 7456 } |
7457 if (autoMatchingStatus != null) { | 7457 if (autoMatchingStatus != null) { |
7458 _json["autoMatchingStatus"] = (autoMatchingStatus).toJson(); | 7458 _json["autoMatchingStatus"] = (autoMatchingStatus).toJson(); |
7459 } | 7459 } |
7460 if (creationDetails != null) { | 7460 if (creationDetails != null) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7510 | 7510 |
7511 RoomAutoMatchStatus.fromJson(core.Map _json) { | 7511 RoomAutoMatchStatus.fromJson(core.Map _json) { |
7512 if (_json.containsKey("kind")) { | 7512 if (_json.containsKey("kind")) { |
7513 kind = _json["kind"]; | 7513 kind = _json["kind"]; |
7514 } | 7514 } |
7515 if (_json.containsKey("waitEstimateSeconds")) { | 7515 if (_json.containsKey("waitEstimateSeconds")) { |
7516 waitEstimateSeconds = _json["waitEstimateSeconds"]; | 7516 waitEstimateSeconds = _json["waitEstimateSeconds"]; |
7517 } | 7517 } |
7518 } | 7518 } |
7519 | 7519 |
7520 core.Map toJson() { | 7520 core.Map<core.String, core.Object> toJson() { |
7521 var _json = new core.Map(); | 7521 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7522 if (kind != null) { | 7522 if (kind != null) { |
7523 _json["kind"] = kind; | 7523 _json["kind"] = kind; |
7524 } | 7524 } |
7525 if (waitEstimateSeconds != null) { | 7525 if (waitEstimateSeconds != null) { |
7526 _json["waitEstimateSeconds"] = waitEstimateSeconds; | 7526 _json["waitEstimateSeconds"] = waitEstimateSeconds; |
7527 } | 7527 } |
7528 return _json; | 7528 return _json; |
7529 } | 7529 } |
7530 } | 7530 } |
7531 | 7531 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7563 kind = _json["kind"]; | 7563 kind = _json["kind"]; |
7564 } | 7564 } |
7565 if (_json.containsKey("maxAutoMatchingPlayers")) { | 7565 if (_json.containsKey("maxAutoMatchingPlayers")) { |
7566 maxAutoMatchingPlayers = _json["maxAutoMatchingPlayers"]; | 7566 maxAutoMatchingPlayers = _json["maxAutoMatchingPlayers"]; |
7567 } | 7567 } |
7568 if (_json.containsKey("minAutoMatchingPlayers")) { | 7568 if (_json.containsKey("minAutoMatchingPlayers")) { |
7569 minAutoMatchingPlayers = _json["minAutoMatchingPlayers"]; | 7569 minAutoMatchingPlayers = _json["minAutoMatchingPlayers"]; |
7570 } | 7570 } |
7571 } | 7571 } |
7572 | 7572 |
7573 core.Map toJson() { | 7573 core.Map<core.String, core.Object> toJson() { |
7574 var _json = new core.Map(); | 7574 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7575 if (exclusiveBitmask != null) { | 7575 if (exclusiveBitmask != null) { |
7576 _json["exclusiveBitmask"] = exclusiveBitmask; | 7576 _json["exclusiveBitmask"] = exclusiveBitmask; |
7577 } | 7577 } |
7578 if (kind != null) { | 7578 if (kind != null) { |
7579 _json["kind"] = kind; | 7579 _json["kind"] = kind; |
7580 } | 7580 } |
7581 if (maxAutoMatchingPlayers != null) { | 7581 if (maxAutoMatchingPlayers != null) { |
7582 _json["maxAutoMatchingPlayers"] = maxAutoMatchingPlayers; | 7582 _json["maxAutoMatchingPlayers"] = maxAutoMatchingPlayers; |
7583 } | 7583 } |
7584 if (minAutoMatchingPlayers != null) { | 7584 if (minAutoMatchingPlayers != null) { |
(...skipping 17 matching lines...) Expand all Loading... |
7602 | 7602 |
7603 RoomClientAddress.fromJson(core.Map _json) { | 7603 RoomClientAddress.fromJson(core.Map _json) { |
7604 if (_json.containsKey("kind")) { | 7604 if (_json.containsKey("kind")) { |
7605 kind = _json["kind"]; | 7605 kind = _json["kind"]; |
7606 } | 7606 } |
7607 if (_json.containsKey("xmppAddress")) { | 7607 if (_json.containsKey("xmppAddress")) { |
7608 xmppAddress = _json["xmppAddress"]; | 7608 xmppAddress = _json["xmppAddress"]; |
7609 } | 7609 } |
7610 } | 7610 } |
7611 | 7611 |
7612 core.Map toJson() { | 7612 core.Map<core.String, core.Object> toJson() { |
7613 var _json = new core.Map(); | 7613 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7614 if (kind != null) { | 7614 if (kind != null) { |
7615 _json["kind"] = kind; | 7615 _json["kind"] = kind; |
7616 } | 7616 } |
7617 if (xmppAddress != null) { | 7617 if (xmppAddress != null) { |
7618 _json["xmppAddress"] = xmppAddress; | 7618 _json["xmppAddress"] = xmppAddress; |
7619 } | 7619 } |
7620 return _json; | 7620 return _json; |
7621 } | 7621 } |
7622 } | 7622 } |
7623 | 7623 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7672 networkDiagnostics = new NetworkDiagnostics.fromJson(_json["networkDiagnos
tics"]); | 7672 networkDiagnostics = new NetworkDiagnostics.fromJson(_json["networkDiagnos
tics"]); |
7673 } | 7673 } |
7674 if (_json.containsKey("requestId")) { | 7674 if (_json.containsKey("requestId")) { |
7675 requestId = _json["requestId"]; | 7675 requestId = _json["requestId"]; |
7676 } | 7676 } |
7677 if (_json.containsKey("variant")) { | 7677 if (_json.containsKey("variant")) { |
7678 variant = _json["variant"]; | 7678 variant = _json["variant"]; |
7679 } | 7679 } |
7680 } | 7680 } |
7681 | 7681 |
7682 core.Map toJson() { | 7682 core.Map<core.String, core.Object> toJson() { |
7683 var _json = new core.Map(); | 7683 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7684 if (autoMatchingCriteria != null) { | 7684 if (autoMatchingCriteria != null) { |
7685 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); | 7685 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); |
7686 } | 7686 } |
7687 if (capabilities != null) { | 7687 if (capabilities != null) { |
7688 _json["capabilities"] = capabilities; | 7688 _json["capabilities"] = capabilities; |
7689 } | 7689 } |
7690 if (clientAddress != null) { | 7690 if (clientAddress != null) { |
7691 _json["clientAddress"] = (clientAddress).toJson(); | 7691 _json["clientAddress"] = (clientAddress).toJson(); |
7692 } | 7692 } |
7693 if (invitedPlayerIds != null) { | 7693 if (invitedPlayerIds != null) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7733 clientAddress = new RoomClientAddress.fromJson(_json["clientAddress"]); | 7733 clientAddress = new RoomClientAddress.fromJson(_json["clientAddress"]); |
7734 } | 7734 } |
7735 if (_json.containsKey("kind")) { | 7735 if (_json.containsKey("kind")) { |
7736 kind = _json["kind"]; | 7736 kind = _json["kind"]; |
7737 } | 7737 } |
7738 if (_json.containsKey("networkDiagnostics")) { | 7738 if (_json.containsKey("networkDiagnostics")) { |
7739 networkDiagnostics = new NetworkDiagnostics.fromJson(_json["networkDiagnos
tics"]); | 7739 networkDiagnostics = new NetworkDiagnostics.fromJson(_json["networkDiagnos
tics"]); |
7740 } | 7740 } |
7741 } | 7741 } |
7742 | 7742 |
7743 core.Map toJson() { | 7743 core.Map<core.String, core.Object> toJson() { |
7744 var _json = new core.Map(); | 7744 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7745 if (capabilities != null) { | 7745 if (capabilities != null) { |
7746 _json["capabilities"] = capabilities; | 7746 _json["capabilities"] = capabilities; |
7747 } | 7747 } |
7748 if (clientAddress != null) { | 7748 if (clientAddress != null) { |
7749 _json["clientAddress"] = (clientAddress).toJson(); | 7749 _json["clientAddress"] = (clientAddress).toJson(); |
7750 } | 7750 } |
7751 if (kind != null) { | 7751 if (kind != null) { |
7752 _json["kind"] = kind; | 7752 _json["kind"] = kind; |
7753 } | 7753 } |
7754 if (networkDiagnostics != null) { | 7754 if (networkDiagnostics != null) { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7818 networkOperatorName = _json["networkOperatorName"]; | 7818 networkOperatorName = _json["networkOperatorName"]; |
7819 } | 7819 } |
7820 if (_json.containsKey("peerSession")) { | 7820 if (_json.containsKey("peerSession")) { |
7821 peerSession = _json["peerSession"].map((value) => new PeerSessionDiagnosti
cs.fromJson(value)).toList(); | 7821 peerSession = _json["peerSession"].map((value) => new PeerSessionDiagnosti
cs.fromJson(value)).toList(); |
7822 } | 7822 } |
7823 if (_json.containsKey("socketsUsed")) { | 7823 if (_json.containsKey("socketsUsed")) { |
7824 socketsUsed = _json["socketsUsed"]; | 7824 socketsUsed = _json["socketsUsed"]; |
7825 } | 7825 } |
7826 } | 7826 } |
7827 | 7827 |
7828 core.Map toJson() { | 7828 core.Map<core.String, core.Object> toJson() { |
7829 var _json = new core.Map(); | 7829 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7830 if (androidNetworkSubtype != null) { | 7830 if (androidNetworkSubtype != null) { |
7831 _json["androidNetworkSubtype"] = androidNetworkSubtype; | 7831 _json["androidNetworkSubtype"] = androidNetworkSubtype; |
7832 } | 7832 } |
7833 if (androidNetworkType != null) { | 7833 if (androidNetworkType != null) { |
7834 _json["androidNetworkType"] = androidNetworkType; | 7834 _json["androidNetworkType"] = androidNetworkType; |
7835 } | 7835 } |
7836 if (iosNetworkType != null) { | 7836 if (iosNetworkType != null) { |
7837 _json["iosNetworkType"] = iosNetworkType; | 7837 _json["iosNetworkType"] = iosNetworkType; |
7838 } | 7838 } |
7839 if (kind != null) { | 7839 if (kind != null) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7897 kind = _json["kind"]; | 7897 kind = _json["kind"]; |
7898 } | 7898 } |
7899 if (_json.containsKey("leaveDiagnostics")) { | 7899 if (_json.containsKey("leaveDiagnostics")) { |
7900 leaveDiagnostics = new RoomLeaveDiagnostics.fromJson(_json["leaveDiagnosti
cs"]); | 7900 leaveDiagnostics = new RoomLeaveDiagnostics.fromJson(_json["leaveDiagnosti
cs"]); |
7901 } | 7901 } |
7902 if (_json.containsKey("reason")) { | 7902 if (_json.containsKey("reason")) { |
7903 reason = _json["reason"]; | 7903 reason = _json["reason"]; |
7904 } | 7904 } |
7905 } | 7905 } |
7906 | 7906 |
7907 core.Map toJson() { | 7907 core.Map<core.String, core.Object> toJson() { |
7908 var _json = new core.Map(); | 7908 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7909 if (kind != null) { | 7909 if (kind != null) { |
7910 _json["kind"] = kind; | 7910 _json["kind"] = kind; |
7911 } | 7911 } |
7912 if (leaveDiagnostics != null) { | 7912 if (leaveDiagnostics != null) { |
7913 _json["leaveDiagnostics"] = (leaveDiagnostics).toJson(); | 7913 _json["leaveDiagnostics"] = (leaveDiagnostics).toJson(); |
7914 } | 7914 } |
7915 if (reason != null) { | 7915 if (reason != null) { |
7916 _json["reason"] = reason; | 7916 _json["reason"] = reason; |
7917 } | 7917 } |
7918 return _json; | 7918 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
7938 items = _json["items"].map((value) => new Room.fromJson(value)).toList(); | 7938 items = _json["items"].map((value) => new Room.fromJson(value)).toList(); |
7939 } | 7939 } |
7940 if (_json.containsKey("kind")) { | 7940 if (_json.containsKey("kind")) { |
7941 kind = _json["kind"]; | 7941 kind = _json["kind"]; |
7942 } | 7942 } |
7943 if (_json.containsKey("nextPageToken")) { | 7943 if (_json.containsKey("nextPageToken")) { |
7944 nextPageToken = _json["nextPageToken"]; | 7944 nextPageToken = _json["nextPageToken"]; |
7945 } | 7945 } |
7946 } | 7946 } |
7947 | 7947 |
7948 core.Map toJson() { | 7948 core.Map<core.String, core.Object> toJson() { |
7949 var _json = new core.Map(); | 7949 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7950 if (items != null) { | 7950 if (items != null) { |
7951 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7951 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7952 } | 7952 } |
7953 if (kind != null) { | 7953 if (kind != null) { |
7954 _json["kind"] = kind; | 7954 _json["kind"] = kind; |
7955 } | 7955 } |
7956 if (nextPageToken != null) { | 7956 if (nextPageToken != null) { |
7957 _json["nextPageToken"] = nextPageToken; | 7957 _json["nextPageToken"] = nextPageToken; |
7958 } | 7958 } |
7959 return _json; | 7959 return _json; |
(...skipping 22 matching lines...) Expand all Loading... |
7982 kind = _json["kind"]; | 7982 kind = _json["kind"]; |
7983 } | 7983 } |
7984 if (_json.containsKey("modifiedTimestampMillis")) { | 7984 if (_json.containsKey("modifiedTimestampMillis")) { |
7985 modifiedTimestampMillis = _json["modifiedTimestampMillis"]; | 7985 modifiedTimestampMillis = _json["modifiedTimestampMillis"]; |
7986 } | 7986 } |
7987 if (_json.containsKey("participantId")) { | 7987 if (_json.containsKey("participantId")) { |
7988 participantId = _json["participantId"]; | 7988 participantId = _json["participantId"]; |
7989 } | 7989 } |
7990 } | 7990 } |
7991 | 7991 |
7992 core.Map toJson() { | 7992 core.Map<core.String, core.Object> toJson() { |
7993 var _json = new core.Map(); | 7993 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7994 if (kind != null) { | 7994 if (kind != null) { |
7995 _json["kind"] = kind; | 7995 _json["kind"] = kind; |
7996 } | 7996 } |
7997 if (modifiedTimestampMillis != null) { | 7997 if (modifiedTimestampMillis != null) { |
7998 _json["modifiedTimestampMillis"] = modifiedTimestampMillis; | 7998 _json["modifiedTimestampMillis"] = modifiedTimestampMillis; |
7999 } | 7999 } |
8000 if (participantId != null) { | 8000 if (participantId != null) { |
8001 _json["participantId"] = participantId; | 8001 _json["participantId"] = participantId; |
8002 } | 8002 } |
8003 return _json; | 8003 return _json; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8065 participantId = _json["participantId"]; | 8065 participantId = _json["participantId"]; |
8066 } | 8066 } |
8067 if (_json.containsKey("status")) { | 8067 if (_json.containsKey("status")) { |
8068 status = _json["status"]; | 8068 status = _json["status"]; |
8069 } | 8069 } |
8070 if (_json.containsKey("unreliableRoundtripLatencyMillis")) { | 8070 if (_json.containsKey("unreliableRoundtripLatencyMillis")) { |
8071 unreliableRoundtripLatencyMillis = _json["unreliableRoundtripLatencyMillis
"]; | 8071 unreliableRoundtripLatencyMillis = _json["unreliableRoundtripLatencyMillis
"]; |
8072 } | 8072 } |
8073 } | 8073 } |
8074 | 8074 |
8075 core.Map toJson() { | 8075 core.Map<core.String, core.Object> toJson() { |
8076 var _json = new core.Map(); | 8076 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8077 if (connectionSetupLatencyMillis != null) { | 8077 if (connectionSetupLatencyMillis != null) { |
8078 _json["connectionSetupLatencyMillis"] = connectionSetupLatencyMillis; | 8078 _json["connectionSetupLatencyMillis"] = connectionSetupLatencyMillis; |
8079 } | 8079 } |
8080 if (error != null) { | 8080 if (error != null) { |
8081 _json["error"] = error; | 8081 _json["error"] = error; |
8082 } | 8082 } |
8083 if (errorReason != null) { | 8083 if (errorReason != null) { |
8084 _json["error_reason"] = errorReason; | 8084 _json["error_reason"] = errorReason; |
8085 } | 8085 } |
8086 if (kind != null) { | 8086 if (kind != null) { |
(...skipping 26 matching lines...) Expand all Loading... |
8113 | 8113 |
8114 RoomP2PStatuses.fromJson(core.Map _json) { | 8114 RoomP2PStatuses.fromJson(core.Map _json) { |
8115 if (_json.containsKey("kind")) { | 8115 if (_json.containsKey("kind")) { |
8116 kind = _json["kind"]; | 8116 kind = _json["kind"]; |
8117 } | 8117 } |
8118 if (_json.containsKey("updates")) { | 8118 if (_json.containsKey("updates")) { |
8119 updates = _json["updates"].map((value) => new RoomP2PStatus.fromJson(value
)).toList(); | 8119 updates = _json["updates"].map((value) => new RoomP2PStatus.fromJson(value
)).toList(); |
8120 } | 8120 } |
8121 } | 8121 } |
8122 | 8122 |
8123 core.Map toJson() { | 8123 core.Map<core.String, core.Object> toJson() { |
8124 var _json = new core.Map(); | 8124 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8125 if (kind != null) { | 8125 if (kind != null) { |
8126 _json["kind"] = kind; | 8126 _json["kind"] = kind; |
8127 } | 8127 } |
8128 if (updates != null) { | 8128 if (updates != null) { |
8129 _json["updates"] = updates.map((value) => (value).toJson()).toList(); | 8129 _json["updates"] = updates.map((value) => (value).toJson()).toList(); |
8130 } | 8130 } |
8131 return _json; | 8131 return _json; |
8132 } | 8132 } |
8133 } | 8133 } |
8134 | 8134 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8227 leaveReason = _json["leaveReason"]; | 8227 leaveReason = _json["leaveReason"]; |
8228 } | 8228 } |
8229 if (_json.containsKey("player")) { | 8229 if (_json.containsKey("player")) { |
8230 player = new Player.fromJson(_json["player"]); | 8230 player = new Player.fromJson(_json["player"]); |
8231 } | 8231 } |
8232 if (_json.containsKey("status")) { | 8232 if (_json.containsKey("status")) { |
8233 status = _json["status"]; | 8233 status = _json["status"]; |
8234 } | 8234 } |
8235 } | 8235 } |
8236 | 8236 |
8237 core.Map toJson() { | 8237 core.Map<core.String, core.Object> toJson() { |
8238 var _json = new core.Map(); | 8238 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8239 if (autoMatched != null) { | 8239 if (autoMatched != null) { |
8240 _json["autoMatched"] = autoMatched; | 8240 _json["autoMatched"] = autoMatched; |
8241 } | 8241 } |
8242 if (autoMatchedPlayer != null) { | 8242 if (autoMatchedPlayer != null) { |
8243 _json["autoMatchedPlayer"] = (autoMatchedPlayer).toJson(); | 8243 _json["autoMatchedPlayer"] = (autoMatchedPlayer).toJson(); |
8244 } | 8244 } |
8245 if (capabilities != null) { | 8245 if (capabilities != null) { |
8246 _json["capabilities"] = capabilities; | 8246 _json["capabilities"] = capabilities; |
8247 } | 8247 } |
8248 if (clientAddress != null) { | 8248 if (clientAddress != null) { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8326 roomId = _json["roomId"]; | 8326 roomId = _json["roomId"]; |
8327 } | 8327 } |
8328 if (_json.containsKey("status")) { | 8328 if (_json.containsKey("status")) { |
8329 status = _json["status"]; | 8329 status = _json["status"]; |
8330 } | 8330 } |
8331 if (_json.containsKey("statusVersion")) { | 8331 if (_json.containsKey("statusVersion")) { |
8332 statusVersion = _json["statusVersion"]; | 8332 statusVersion = _json["statusVersion"]; |
8333 } | 8333 } |
8334 } | 8334 } |
8335 | 8335 |
8336 core.Map toJson() { | 8336 core.Map<core.String, core.Object> toJson() { |
8337 var _json = new core.Map(); | 8337 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8338 if (autoMatchingStatus != null) { | 8338 if (autoMatchingStatus != null) { |
8339 _json["autoMatchingStatus"] = (autoMatchingStatus).toJson(); | 8339 _json["autoMatchingStatus"] = (autoMatchingStatus).toJson(); |
8340 } | 8340 } |
8341 if (kind != null) { | 8341 if (kind != null) { |
8342 _json["kind"] = kind; | 8342 _json["kind"] = kind; |
8343 } | 8343 } |
8344 if (participants != null) { | 8344 if (participants != null) { |
8345 _json["participants"] = participants.map((value) => (value).toJson()).toLi
st(); | 8345 _json["participants"] = participants.map((value) => (value).toJson()).toLi
st(); |
8346 } | 8346 } |
8347 if (roomId != null) { | 8347 if (roomId != null) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8392 score = _json["score"]; | 8392 score = _json["score"]; |
8393 } | 8393 } |
8394 if (_json.containsKey("scoreTag")) { | 8394 if (_json.containsKey("scoreTag")) { |
8395 scoreTag = _json["scoreTag"]; | 8395 scoreTag = _json["scoreTag"]; |
8396 } | 8396 } |
8397 if (_json.containsKey("signature")) { | 8397 if (_json.containsKey("signature")) { |
8398 signature = _json["signature"]; | 8398 signature = _json["signature"]; |
8399 } | 8399 } |
8400 } | 8400 } |
8401 | 8401 |
8402 core.Map toJson() { | 8402 core.Map<core.String, core.Object> toJson() { |
8403 var _json = new core.Map(); | 8403 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8404 if (kind != null) { | 8404 if (kind != null) { |
8405 _json["kind"] = kind; | 8405 _json["kind"] = kind; |
8406 } | 8406 } |
8407 if (leaderboardId != null) { | 8407 if (leaderboardId != null) { |
8408 _json["leaderboardId"] = leaderboardId; | 8408 _json["leaderboardId"] = leaderboardId; |
8409 } | 8409 } |
8410 if (score != null) { | 8410 if (score != null) { |
8411 _json["score"] = score; | 8411 _json["score"] = score; |
8412 } | 8412 } |
8413 if (scoreTag != null) { | 8413 if (scoreTag != null) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8493 title = _json["title"]; | 8493 title = _json["title"]; |
8494 } | 8494 } |
8495 if (_json.containsKey("type")) { | 8495 if (_json.containsKey("type")) { |
8496 type = _json["type"]; | 8496 type = _json["type"]; |
8497 } | 8497 } |
8498 if (_json.containsKey("uniqueName")) { | 8498 if (_json.containsKey("uniqueName")) { |
8499 uniqueName = _json["uniqueName"]; | 8499 uniqueName = _json["uniqueName"]; |
8500 } | 8500 } |
8501 } | 8501 } |
8502 | 8502 |
8503 core.Map toJson() { | 8503 core.Map<core.String, core.Object> toJson() { |
8504 var _json = new core.Map(); | 8504 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8505 if (coverImage != null) { | 8505 if (coverImage != null) { |
8506 _json["coverImage"] = (coverImage).toJson(); | 8506 _json["coverImage"] = (coverImage).toJson(); |
8507 } | 8507 } |
8508 if (description != null) { | 8508 if (description != null) { |
8509 _json["description"] = description; | 8509 _json["description"] = description; |
8510 } | 8510 } |
8511 if (driveId != null) { | 8511 if (driveId != null) { |
8512 _json["driveId"] = driveId; | 8512 _json["driveId"] = driveId; |
8513 } | 8513 } |
8514 if (durationMillis != null) { | 8514 if (durationMillis != null) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8571 mimeType = _json["mime_type"]; | 8571 mimeType = _json["mime_type"]; |
8572 } | 8572 } |
8573 if (_json.containsKey("url")) { | 8573 if (_json.containsKey("url")) { |
8574 url = _json["url"]; | 8574 url = _json["url"]; |
8575 } | 8575 } |
8576 if (_json.containsKey("width")) { | 8576 if (_json.containsKey("width")) { |
8577 width = _json["width"]; | 8577 width = _json["width"]; |
8578 } | 8578 } |
8579 } | 8579 } |
8580 | 8580 |
8581 core.Map toJson() { | 8581 core.Map<core.String, core.Object> toJson() { |
8582 var _json = new core.Map(); | 8582 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8583 if (height != null) { | 8583 if (height != null) { |
8584 _json["height"] = height; | 8584 _json["height"] = height; |
8585 } | 8585 } |
8586 if (kind != null) { | 8586 if (kind != null) { |
8587 _json["kind"] = kind; | 8587 _json["kind"] = kind; |
8588 } | 8588 } |
8589 if (mimeType != null) { | 8589 if (mimeType != null) { |
8590 _json["mime_type"] = mimeType; | 8590 _json["mime_type"] = mimeType; |
8591 } | 8591 } |
8592 if (url != null) { | 8592 if (url != null) { |
(...skipping 28 matching lines...) Expand all Loading... |
8621 items = _json["items"].map((value) => new Snapshot.fromJson(value)).toList
(); | 8621 items = _json["items"].map((value) => new Snapshot.fromJson(value)).toList
(); |
8622 } | 8622 } |
8623 if (_json.containsKey("kind")) { | 8623 if (_json.containsKey("kind")) { |
8624 kind = _json["kind"]; | 8624 kind = _json["kind"]; |
8625 } | 8625 } |
8626 if (_json.containsKey("nextPageToken")) { | 8626 if (_json.containsKey("nextPageToken")) { |
8627 nextPageToken = _json["nextPageToken"]; | 8627 nextPageToken = _json["nextPageToken"]; |
8628 } | 8628 } |
8629 } | 8629 } |
8630 | 8630 |
8631 core.Map toJson() { | 8631 core.Map<core.String, core.Object> toJson() { |
8632 var _json = new core.Map(); | 8632 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8633 if (items != null) { | 8633 if (items != null) { |
8634 _json["items"] = items.map((value) => (value).toJson()).toList(); | 8634 _json["items"] = items.map((value) => (value).toJson()).toList(); |
8635 } | 8635 } |
8636 if (kind != null) { | 8636 if (kind != null) { |
8637 _json["kind"] = kind; | 8637 _json["kind"] = kind; |
8638 } | 8638 } |
8639 if (nextPageToken != null) { | 8639 if (nextPageToken != null) { |
8640 _json["nextPageToken"] = nextPageToken; | 8640 _json["nextPageToken"] = nextPageToken; |
8641 } | 8641 } |
8642 return _json; | 8642 return _json; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8677 kind = _json["kind"]; | 8677 kind = _json["kind"]; |
8678 } | 8678 } |
8679 if (_json.containsKey("maxAutoMatchingPlayers")) { | 8679 if (_json.containsKey("maxAutoMatchingPlayers")) { |
8680 maxAutoMatchingPlayers = _json["maxAutoMatchingPlayers"]; | 8680 maxAutoMatchingPlayers = _json["maxAutoMatchingPlayers"]; |
8681 } | 8681 } |
8682 if (_json.containsKey("minAutoMatchingPlayers")) { | 8682 if (_json.containsKey("minAutoMatchingPlayers")) { |
8683 minAutoMatchingPlayers = _json["minAutoMatchingPlayers"]; | 8683 minAutoMatchingPlayers = _json["minAutoMatchingPlayers"]; |
8684 } | 8684 } |
8685 } | 8685 } |
8686 | 8686 |
8687 core.Map toJson() { | 8687 core.Map<core.String, core.Object> toJson() { |
8688 var _json = new core.Map(); | 8688 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8689 if (exclusiveBitmask != null) { | 8689 if (exclusiveBitmask != null) { |
8690 _json["exclusiveBitmask"] = exclusiveBitmask; | 8690 _json["exclusiveBitmask"] = exclusiveBitmask; |
8691 } | 8691 } |
8692 if (kind != null) { | 8692 if (kind != null) { |
8693 _json["kind"] = kind; | 8693 _json["kind"] = kind; |
8694 } | 8694 } |
8695 if (maxAutoMatchingPlayers != null) { | 8695 if (maxAutoMatchingPlayers != null) { |
8696 _json["maxAutoMatchingPlayers"] = maxAutoMatchingPlayers; | 8696 _json["maxAutoMatchingPlayers"] = maxAutoMatchingPlayers; |
8697 } | 8697 } |
8698 if (minAutoMatchingPlayers != null) { | 8698 if (minAutoMatchingPlayers != null) { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8856 userMatchStatus = _json["userMatchStatus"]; | 8856 userMatchStatus = _json["userMatchStatus"]; |
8857 } | 8857 } |
8858 if (_json.containsKey("variant")) { | 8858 if (_json.containsKey("variant")) { |
8859 variant = _json["variant"]; | 8859 variant = _json["variant"]; |
8860 } | 8860 } |
8861 if (_json.containsKey("withParticipantId")) { | 8861 if (_json.containsKey("withParticipantId")) { |
8862 withParticipantId = _json["withParticipantId"]; | 8862 withParticipantId = _json["withParticipantId"]; |
8863 } | 8863 } |
8864 } | 8864 } |
8865 | 8865 |
8866 core.Map toJson() { | 8866 core.Map<core.String, core.Object> toJson() { |
8867 var _json = new core.Map(); | 8867 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8868 if (applicationId != null) { | 8868 if (applicationId != null) { |
8869 _json["applicationId"] = applicationId; | 8869 _json["applicationId"] = applicationId; |
8870 } | 8870 } |
8871 if (autoMatchingCriteria != null) { | 8871 if (autoMatchingCriteria != null) { |
8872 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); | 8872 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); |
8873 } | 8873 } |
8874 if (creationDetails != null) { | 8874 if (creationDetails != null) { |
8875 _json["creationDetails"] = (creationDetails).toJson(); | 8875 _json["creationDetails"] = (creationDetails).toJson(); |
8876 } | 8876 } |
8877 if (data != null) { | 8877 if (data != null) { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8965 kind = _json["kind"]; | 8965 kind = _json["kind"]; |
8966 } | 8966 } |
8967 if (_json.containsKey("requestId")) { | 8967 if (_json.containsKey("requestId")) { |
8968 requestId = _json["requestId"]; | 8968 requestId = _json["requestId"]; |
8969 } | 8969 } |
8970 if (_json.containsKey("variant")) { | 8970 if (_json.containsKey("variant")) { |
8971 variant = _json["variant"]; | 8971 variant = _json["variant"]; |
8972 } | 8972 } |
8973 } | 8973 } |
8974 | 8974 |
8975 core.Map toJson() { | 8975 core.Map<core.String, core.Object> toJson() { |
8976 var _json = new core.Map(); | 8976 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8977 if (autoMatchingCriteria != null) { | 8977 if (autoMatchingCriteria != null) { |
8978 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); | 8978 _json["autoMatchingCriteria"] = (autoMatchingCriteria).toJson(); |
8979 } | 8979 } |
8980 if (invitedPlayerIds != null) { | 8980 if (invitedPlayerIds != null) { |
8981 _json["invitedPlayerIds"] = invitedPlayerIds; | 8981 _json["invitedPlayerIds"] = invitedPlayerIds; |
8982 } | 8982 } |
8983 if (kind != null) { | 8983 if (kind != null) { |
8984 _json["kind"] = kind; | 8984 _json["kind"] = kind; |
8985 } | 8985 } |
8986 if (requestId != null) { | 8986 if (requestId != null) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9025 data = _json["data"]; | 9025 data = _json["data"]; |
9026 } | 9026 } |
9027 if (_json.containsKey("dataAvailable")) { | 9027 if (_json.containsKey("dataAvailable")) { |
9028 dataAvailable = _json["dataAvailable"]; | 9028 dataAvailable = _json["dataAvailable"]; |
9029 } | 9029 } |
9030 if (_json.containsKey("kind")) { | 9030 if (_json.containsKey("kind")) { |
9031 kind = _json["kind"]; | 9031 kind = _json["kind"]; |
9032 } | 9032 } |
9033 } | 9033 } |
9034 | 9034 |
9035 core.Map toJson() { | 9035 core.Map<core.String, core.Object> toJson() { |
9036 var _json = new core.Map(); | 9036 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9037 if (data != null) { | 9037 if (data != null) { |
9038 _json["data"] = data; | 9038 _json["data"] = data; |
9039 } | 9039 } |
9040 if (dataAvailable != null) { | 9040 if (dataAvailable != null) { |
9041 _json["dataAvailable"] = dataAvailable; | 9041 _json["dataAvailable"] = dataAvailable; |
9042 } | 9042 } |
9043 if (kind != null) { | 9043 if (kind != null) { |
9044 _json["kind"] = kind; | 9044 _json["kind"] = kind; |
9045 } | 9045 } |
9046 return _json; | 9046 return _json; |
(...skipping 24 matching lines...) Expand all Loading... |
9071 | 9071 |
9072 TurnBasedMatchDataRequest.fromJson(core.Map _json) { | 9072 TurnBasedMatchDataRequest.fromJson(core.Map _json) { |
9073 if (_json.containsKey("data")) { | 9073 if (_json.containsKey("data")) { |
9074 data = _json["data"]; | 9074 data = _json["data"]; |
9075 } | 9075 } |
9076 if (_json.containsKey("kind")) { | 9076 if (_json.containsKey("kind")) { |
9077 kind = _json["kind"]; | 9077 kind = _json["kind"]; |
9078 } | 9078 } |
9079 } | 9079 } |
9080 | 9080 |
9081 core.Map toJson() { | 9081 core.Map<core.String, core.Object> toJson() { |
9082 var _json = new core.Map(); | 9082 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9083 if (data != null) { | 9083 if (data != null) { |
9084 _json["data"] = data; | 9084 _json["data"] = data; |
9085 } | 9085 } |
9086 if (kind != null) { | 9086 if (kind != null) { |
9087 _json["kind"] = kind; | 9087 _json["kind"] = kind; |
9088 } | 9088 } |
9089 return _json; | 9089 return _json; |
9090 } | 9090 } |
9091 } | 9091 } |
9092 | 9092 |
(...skipping 16 matching lines...) Expand all Loading... |
9109 items = _json["items"].map((value) => new TurnBasedMatch.fromJson(value)).
toList(); | 9109 items = _json["items"].map((value) => new TurnBasedMatch.fromJson(value)).
toList(); |
9110 } | 9110 } |
9111 if (_json.containsKey("kind")) { | 9111 if (_json.containsKey("kind")) { |
9112 kind = _json["kind"]; | 9112 kind = _json["kind"]; |
9113 } | 9113 } |
9114 if (_json.containsKey("nextPageToken")) { | 9114 if (_json.containsKey("nextPageToken")) { |
9115 nextPageToken = _json["nextPageToken"]; | 9115 nextPageToken = _json["nextPageToken"]; |
9116 } | 9116 } |
9117 } | 9117 } |
9118 | 9118 |
9119 core.Map toJson() { | 9119 core.Map<core.String, core.Object> toJson() { |
9120 var _json = new core.Map(); | 9120 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9121 if (items != null) { | 9121 if (items != null) { |
9122 _json["items"] = items.map((value) => (value).toJson()).toList(); | 9122 _json["items"] = items.map((value) => (value).toJson()).toList(); |
9123 } | 9123 } |
9124 if (kind != null) { | 9124 if (kind != null) { |
9125 _json["kind"] = kind; | 9125 _json["kind"] = kind; |
9126 } | 9126 } |
9127 if (nextPageToken != null) { | 9127 if (nextPageToken != null) { |
9128 _json["nextPageToken"] = nextPageToken; | 9128 _json["nextPageToken"] = nextPageToken; |
9129 } | 9129 } |
9130 return _json; | 9130 return _json; |
(...skipping 22 matching lines...) Expand all Loading... |
9153 kind = _json["kind"]; | 9153 kind = _json["kind"]; |
9154 } | 9154 } |
9155 if (_json.containsKey("modifiedTimestampMillis")) { | 9155 if (_json.containsKey("modifiedTimestampMillis")) { |
9156 modifiedTimestampMillis = _json["modifiedTimestampMillis"]; | 9156 modifiedTimestampMillis = _json["modifiedTimestampMillis"]; |
9157 } | 9157 } |
9158 if (_json.containsKey("participantId")) { | 9158 if (_json.containsKey("participantId")) { |
9159 participantId = _json["participantId"]; | 9159 participantId = _json["participantId"]; |
9160 } | 9160 } |
9161 } | 9161 } |
9162 | 9162 |
9163 core.Map toJson() { | 9163 core.Map<core.String, core.Object> toJson() { |
9164 var _json = new core.Map(); | 9164 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9165 if (kind != null) { | 9165 if (kind != null) { |
9166 _json["kind"] = kind; | 9166 _json["kind"] = kind; |
9167 } | 9167 } |
9168 if (modifiedTimestampMillis != null) { | 9168 if (modifiedTimestampMillis != null) { |
9169 _json["modifiedTimestampMillis"] = modifiedTimestampMillis; | 9169 _json["modifiedTimestampMillis"] = modifiedTimestampMillis; |
9170 } | 9170 } |
9171 if (participantId != null) { | 9171 if (participantId != null) { |
9172 _json["participantId"] = participantId; | 9172 _json["participantId"] = participantId; |
9173 } | 9173 } |
9174 return _json; | 9174 return _json; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9235 kind = _json["kind"]; | 9235 kind = _json["kind"]; |
9236 } | 9236 } |
9237 if (_json.containsKey("player")) { | 9237 if (_json.containsKey("player")) { |
9238 player = new Player.fromJson(_json["player"]); | 9238 player = new Player.fromJson(_json["player"]); |
9239 } | 9239 } |
9240 if (_json.containsKey("status")) { | 9240 if (_json.containsKey("status")) { |
9241 status = _json["status"]; | 9241 status = _json["status"]; |
9242 } | 9242 } |
9243 } | 9243 } |
9244 | 9244 |
9245 core.Map toJson() { | 9245 core.Map<core.String, core.Object> toJson() { |
9246 var _json = new core.Map(); | 9246 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9247 if (autoMatched != null) { | 9247 if (autoMatched != null) { |
9248 _json["autoMatched"] = autoMatched; | 9248 _json["autoMatched"] = autoMatched; |
9249 } | 9249 } |
9250 if (autoMatchedPlayer != null) { | 9250 if (autoMatchedPlayer != null) { |
9251 _json["autoMatchedPlayer"] = (autoMatchedPlayer).toJson(); | 9251 _json["autoMatchedPlayer"] = (autoMatchedPlayer).toJson(); |
9252 } | 9252 } |
9253 if (id != null) { | 9253 if (id != null) { |
9254 _json["id"] = id; | 9254 _json["id"] = id; |
9255 } | 9255 } |
9256 if (kind != null) { | 9256 if (kind != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9291 kind = _json["kind"]; | 9291 kind = _json["kind"]; |
9292 } | 9292 } |
9293 if (_json.containsKey("previousMatch")) { | 9293 if (_json.containsKey("previousMatch")) { |
9294 previousMatch = new TurnBasedMatch.fromJson(_json["previousMatch"]); | 9294 previousMatch = new TurnBasedMatch.fromJson(_json["previousMatch"]); |
9295 } | 9295 } |
9296 if (_json.containsKey("rematch")) { | 9296 if (_json.containsKey("rematch")) { |
9297 rematch = new TurnBasedMatch.fromJson(_json["rematch"]); | 9297 rematch = new TurnBasedMatch.fromJson(_json["rematch"]); |
9298 } | 9298 } |
9299 } | 9299 } |
9300 | 9300 |
9301 core.Map toJson() { | 9301 core.Map<core.String, core.Object> toJson() { |
9302 var _json = new core.Map(); | 9302 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9303 if (kind != null) { | 9303 if (kind != null) { |
9304 _json["kind"] = kind; | 9304 _json["kind"] = kind; |
9305 } | 9305 } |
9306 if (previousMatch != null) { | 9306 if (previousMatch != null) { |
9307 _json["previousMatch"] = (previousMatch).toJson(); | 9307 _json["previousMatch"] = (previousMatch).toJson(); |
9308 } | 9308 } |
9309 if (rematch != null) { | 9309 if (rematch != null) { |
9310 _json["rematch"] = (rematch).toJson(); | 9310 _json["rematch"] = (rematch).toJson(); |
9311 } | 9311 } |
9312 return _json; | 9312 return _json; |
(...skipping 24 matching lines...) Expand all Loading... |
9337 kind = _json["kind"]; | 9337 kind = _json["kind"]; |
9338 } | 9338 } |
9339 if (_json.containsKey("matchVersion")) { | 9339 if (_json.containsKey("matchVersion")) { |
9340 matchVersion = _json["matchVersion"]; | 9340 matchVersion = _json["matchVersion"]; |
9341 } | 9341 } |
9342 if (_json.containsKey("results")) { | 9342 if (_json.containsKey("results")) { |
9343 results = _json["results"].map((value) => new ParticipantResult.fromJson(v
alue)).toList(); | 9343 results = _json["results"].map((value) => new ParticipantResult.fromJson(v
alue)).toList(); |
9344 } | 9344 } |
9345 } | 9345 } |
9346 | 9346 |
9347 core.Map toJson() { | 9347 core.Map<core.String, core.Object> toJson() { |
9348 var _json = new core.Map(); | 9348 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9349 if (data != null) { | 9349 if (data != null) { |
9350 _json["data"] = (data).toJson(); | 9350 _json["data"] = (data).toJson(); |
9351 } | 9351 } |
9352 if (kind != null) { | 9352 if (kind != null) { |
9353 _json["kind"] = kind; | 9353 _json["kind"] = kind; |
9354 } | 9354 } |
9355 if (matchVersion != null) { | 9355 if (matchVersion != null) { |
9356 _json["matchVersion"] = matchVersion; | 9356 _json["matchVersion"] = matchVersion; |
9357 } | 9357 } |
9358 if (results != null) { | 9358 if (results != null) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9392 kind = _json["kind"]; | 9392 kind = _json["kind"]; |
9393 } | 9393 } |
9394 if (_json.containsKey("moreAvailable")) { | 9394 if (_json.containsKey("moreAvailable")) { |
9395 moreAvailable = _json["moreAvailable"]; | 9395 moreAvailable = _json["moreAvailable"]; |
9396 } | 9396 } |
9397 if (_json.containsKey("nextPageToken")) { | 9397 if (_json.containsKey("nextPageToken")) { |
9398 nextPageToken = _json["nextPageToken"]; | 9398 nextPageToken = _json["nextPageToken"]; |
9399 } | 9399 } |
9400 } | 9400 } |
9401 | 9401 |
9402 core.Map toJson() { | 9402 core.Map<core.String, core.Object> toJson() { |
9403 var _json = new core.Map(); | 9403 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9404 if (items != null) { | 9404 if (items != null) { |
9405 _json["items"] = items.map((value) => (value).toJson()).toList(); | 9405 _json["items"] = items.map((value) => (value).toJson()).toList(); |
9406 } | 9406 } |
9407 if (kind != null) { | 9407 if (kind != null) { |
9408 _json["kind"] = kind; | 9408 _json["kind"] = kind; |
9409 } | 9409 } |
9410 if (moreAvailable != null) { | 9410 if (moreAvailable != null) { |
9411 _json["moreAvailable"] = moreAvailable; | 9411 _json["moreAvailable"] = moreAvailable; |
9412 } | 9412 } |
9413 if (nextPageToken != null) { | 9413 if (nextPageToken != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9455 matchVersion = _json["matchVersion"]; | 9455 matchVersion = _json["matchVersion"]; |
9456 } | 9456 } |
9457 if (_json.containsKey("pendingParticipantId")) { | 9457 if (_json.containsKey("pendingParticipantId")) { |
9458 pendingParticipantId = _json["pendingParticipantId"]; | 9458 pendingParticipantId = _json["pendingParticipantId"]; |
9459 } | 9459 } |
9460 if (_json.containsKey("results")) { | 9460 if (_json.containsKey("results")) { |
9461 results = _json["results"].map((value) => new ParticipantResult.fromJson(v
alue)).toList(); | 9461 results = _json["results"].map((value) => new ParticipantResult.fromJson(v
alue)).toList(); |
9462 } | 9462 } |
9463 } | 9463 } |
9464 | 9464 |
9465 core.Map toJson() { | 9465 core.Map<core.String, core.Object> toJson() { |
9466 var _json = new core.Map(); | 9466 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9467 if (data != null) { | 9467 if (data != null) { |
9468 _json["data"] = (data).toJson(); | 9468 _json["data"] = (data).toJson(); |
9469 } | 9469 } |
9470 if (kind != null) { | 9470 if (kind != null) { |
9471 _json["kind"] = kind; | 9471 _json["kind"] = kind; |
9472 } | 9472 } |
9473 if (matchVersion != null) { | 9473 if (matchVersion != null) { |
9474 _json["matchVersion"] = matchVersion; | 9474 _json["matchVersion"] = matchVersion; |
9475 } | 9475 } |
9476 if (pendingParticipantId != null) { | 9476 if (pendingParticipantId != null) { |
9477 _json["pendingParticipantId"] = pendingParticipantId; | 9477 _json["pendingParticipantId"] = pendingParticipantId; |
9478 } | 9478 } |
9479 if (results != null) { | 9479 if (results != null) { |
9480 _json["results"] = results.map((value) => (value).toJson()).toList(); | 9480 _json["results"] = results.map((value) => (value).toJson()).toList(); |
9481 } | 9481 } |
9482 return _json; | 9482 return _json; |
9483 } | 9483 } |
9484 } | 9484 } |
OLD | NEW |