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.gamesManagement.v1management; | 3 library googleapis.gamesManagement.v1management; |
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 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1198 | 1198 |
1199 AchievementResetAllResponse.fromJson(core.Map _json) { | 1199 AchievementResetAllResponse.fromJson(core.Map _json) { |
1200 if (_json.containsKey("kind")) { | 1200 if (_json.containsKey("kind")) { |
1201 kind = _json["kind"]; | 1201 kind = _json["kind"]; |
1202 } | 1202 } |
1203 if (_json.containsKey("results")) { | 1203 if (_json.containsKey("results")) { |
1204 results = _json["results"].map((value) => new AchievementResetResponse.fro
mJson(value)).toList(); | 1204 results = _json["results"].map((value) => new AchievementResetResponse.fro
mJson(value)).toList(); |
1205 } | 1205 } |
1206 } | 1206 } |
1207 | 1207 |
1208 core.Map toJson() { | 1208 core.Map<core.String, core.Object> toJson() { |
1209 var _json = new core.Map(); | 1209 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1210 if (kind != null) { | 1210 if (kind != null) { |
1211 _json["kind"] = kind; | 1211 _json["kind"] = kind; |
1212 } | 1212 } |
1213 if (results != null) { | 1213 if (results != null) { |
1214 _json["results"] = results.map((value) => (value).toJson()).toList(); | 1214 _json["results"] = results.map((value) => (value).toJson()).toList(); |
1215 } | 1215 } |
1216 return _json; | 1216 return _json; |
1217 } | 1217 } |
1218 } | 1218 } |
1219 | 1219 |
(...skipping 11 matching lines...) Expand all Loading... |
1231 | 1231 |
1232 AchievementResetMultipleForAllRequest.fromJson(core.Map _json) { | 1232 AchievementResetMultipleForAllRequest.fromJson(core.Map _json) { |
1233 if (_json.containsKey("achievement_ids")) { | 1233 if (_json.containsKey("achievement_ids")) { |
1234 achievementIds = _json["achievement_ids"]; | 1234 achievementIds = _json["achievement_ids"]; |
1235 } | 1235 } |
1236 if (_json.containsKey("kind")) { | 1236 if (_json.containsKey("kind")) { |
1237 kind = _json["kind"]; | 1237 kind = _json["kind"]; |
1238 } | 1238 } |
1239 } | 1239 } |
1240 | 1240 |
1241 core.Map toJson() { | 1241 core.Map<core.String, core.Object> toJson() { |
1242 var _json = new core.Map(); | 1242 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1243 if (achievementIds != null) { | 1243 if (achievementIds != null) { |
1244 _json["achievement_ids"] = achievementIds; | 1244 _json["achievement_ids"] = achievementIds; |
1245 } | 1245 } |
1246 if (kind != null) { | 1246 if (kind != null) { |
1247 _json["kind"] = kind; | 1247 _json["kind"] = kind; |
1248 } | 1248 } |
1249 return _json; | 1249 return _json; |
1250 } | 1250 } |
1251 } | 1251 } |
1252 | 1252 |
(...skipping 28 matching lines...) Expand all Loading... |
1281 definitionId = _json["definitionId"]; | 1281 definitionId = _json["definitionId"]; |
1282 } | 1282 } |
1283 if (_json.containsKey("kind")) { | 1283 if (_json.containsKey("kind")) { |
1284 kind = _json["kind"]; | 1284 kind = _json["kind"]; |
1285 } | 1285 } |
1286 if (_json.containsKey("updateOccurred")) { | 1286 if (_json.containsKey("updateOccurred")) { |
1287 updateOccurred = _json["updateOccurred"]; | 1287 updateOccurred = _json["updateOccurred"]; |
1288 } | 1288 } |
1289 } | 1289 } |
1290 | 1290 |
1291 core.Map toJson() { | 1291 core.Map<core.String, core.Object> toJson() { |
1292 var _json = new core.Map(); | 1292 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1293 if (currentState != null) { | 1293 if (currentState != null) { |
1294 _json["currentState"] = currentState; | 1294 _json["currentState"] = currentState; |
1295 } | 1295 } |
1296 if (definitionId != null) { | 1296 if (definitionId != null) { |
1297 _json["definitionId"] = definitionId; | 1297 _json["definitionId"] = definitionId; |
1298 } | 1298 } |
1299 if (kind != null) { | 1299 if (kind != null) { |
1300 _json["kind"] = kind; | 1300 _json["kind"] = kind; |
1301 } | 1301 } |
1302 if (updateOccurred != null) { | 1302 if (updateOccurred != null) { |
(...skipping 17 matching lines...) Expand all Loading... |
1320 | 1320 |
1321 EventsResetMultipleForAllRequest.fromJson(core.Map _json) { | 1321 EventsResetMultipleForAllRequest.fromJson(core.Map _json) { |
1322 if (_json.containsKey("event_ids")) { | 1322 if (_json.containsKey("event_ids")) { |
1323 eventIds = _json["event_ids"]; | 1323 eventIds = _json["event_ids"]; |
1324 } | 1324 } |
1325 if (_json.containsKey("kind")) { | 1325 if (_json.containsKey("kind")) { |
1326 kind = _json["kind"]; | 1326 kind = _json["kind"]; |
1327 } | 1327 } |
1328 } | 1328 } |
1329 | 1329 |
1330 core.Map toJson() { | 1330 core.Map<core.String, core.Object> toJson() { |
1331 var _json = new core.Map(); | 1331 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1332 if (eventIds != null) { | 1332 if (eventIds != null) { |
1333 _json["event_ids"] = eventIds; | 1333 _json["event_ids"] = eventIds; |
1334 } | 1334 } |
1335 if (kind != null) { | 1335 if (kind != null) { |
1336 _json["kind"] = kind; | 1336 _json["kind"] = kind; |
1337 } | 1337 } |
1338 return _json; | 1338 return _json; |
1339 } | 1339 } |
1340 } | 1340 } |
1341 | 1341 |
(...skipping 16 matching lines...) Expand all Loading... |
1358 | 1358 |
1359 GamesPlayedResource.fromJson(core.Map _json) { | 1359 GamesPlayedResource.fromJson(core.Map _json) { |
1360 if (_json.containsKey("autoMatched")) { | 1360 if (_json.containsKey("autoMatched")) { |
1361 autoMatched = _json["autoMatched"]; | 1361 autoMatched = _json["autoMatched"]; |
1362 } | 1362 } |
1363 if (_json.containsKey("timeMillis")) { | 1363 if (_json.containsKey("timeMillis")) { |
1364 timeMillis = _json["timeMillis"]; | 1364 timeMillis = _json["timeMillis"]; |
1365 } | 1365 } |
1366 } | 1366 } |
1367 | 1367 |
1368 core.Map toJson() { | 1368 core.Map<core.String, core.Object> toJson() { |
1369 var _json = new core.Map(); | 1369 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1370 if (autoMatched != null) { | 1370 if (autoMatched != null) { |
1371 _json["autoMatched"] = autoMatched; | 1371 _json["autoMatched"] = autoMatched; |
1372 } | 1372 } |
1373 if (timeMillis != null) { | 1373 if (timeMillis != null) { |
1374 _json["timeMillis"] = timeMillis; | 1374 _json["timeMillis"] = timeMillis; |
1375 } | 1375 } |
1376 return _json; | 1376 return _json; |
1377 } | 1377 } |
1378 } | 1378 } |
1379 | 1379 |
(...skipping 26 matching lines...) Expand all Loading... |
1406 currentLevel = new GamesPlayerLevelResource.fromJson(_json["currentLevel"]
); | 1406 currentLevel = new GamesPlayerLevelResource.fromJson(_json["currentLevel"]
); |
1407 } | 1407 } |
1408 if (_json.containsKey("lastLevelUpTimestampMillis")) { | 1408 if (_json.containsKey("lastLevelUpTimestampMillis")) { |
1409 lastLevelUpTimestampMillis = _json["lastLevelUpTimestampMillis"]; | 1409 lastLevelUpTimestampMillis = _json["lastLevelUpTimestampMillis"]; |
1410 } | 1410 } |
1411 if (_json.containsKey("nextLevel")) { | 1411 if (_json.containsKey("nextLevel")) { |
1412 nextLevel = new GamesPlayerLevelResource.fromJson(_json["nextLevel"]); | 1412 nextLevel = new GamesPlayerLevelResource.fromJson(_json["nextLevel"]); |
1413 } | 1413 } |
1414 } | 1414 } |
1415 | 1415 |
1416 core.Map toJson() { | 1416 core.Map<core.String, core.Object> toJson() { |
1417 var _json = new core.Map(); | 1417 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1418 if (currentExperiencePoints != null) { | 1418 if (currentExperiencePoints != null) { |
1419 _json["currentExperiencePoints"] = currentExperiencePoints; | 1419 _json["currentExperiencePoints"] = currentExperiencePoints; |
1420 } | 1420 } |
1421 if (currentLevel != null) { | 1421 if (currentLevel != null) { |
1422 _json["currentLevel"] = (currentLevel).toJson(); | 1422 _json["currentLevel"] = (currentLevel).toJson(); |
1423 } | 1423 } |
1424 if (lastLevelUpTimestampMillis != null) { | 1424 if (lastLevelUpTimestampMillis != null) { |
1425 _json["lastLevelUpTimestampMillis"] = lastLevelUpTimestampMillis; | 1425 _json["lastLevelUpTimestampMillis"] = lastLevelUpTimestampMillis; |
1426 } | 1426 } |
1427 if (nextLevel != null) { | 1427 if (nextLevel != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
1447 level = _json["level"]; | 1447 level = _json["level"]; |
1448 } | 1448 } |
1449 if (_json.containsKey("maxExperiencePoints")) { | 1449 if (_json.containsKey("maxExperiencePoints")) { |
1450 maxExperiencePoints = _json["maxExperiencePoints"]; | 1450 maxExperiencePoints = _json["maxExperiencePoints"]; |
1451 } | 1451 } |
1452 if (_json.containsKey("minExperiencePoints")) { | 1452 if (_json.containsKey("minExperiencePoints")) { |
1453 minExperiencePoints = _json["minExperiencePoints"]; | 1453 minExperiencePoints = _json["minExperiencePoints"]; |
1454 } | 1454 } |
1455 } | 1455 } |
1456 | 1456 |
1457 core.Map toJson() { | 1457 core.Map<core.String, core.Object> toJson() { |
1458 var _json = new core.Map(); | 1458 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1459 if (level != null) { | 1459 if (level != null) { |
1460 _json["level"] = level; | 1460 _json["level"] = level; |
1461 } | 1461 } |
1462 if (maxExperiencePoints != null) { | 1462 if (maxExperiencePoints != null) { |
1463 _json["maxExperiencePoints"] = maxExperiencePoints; | 1463 _json["maxExperiencePoints"] = maxExperiencePoints; |
1464 } | 1464 } |
1465 if (minExperiencePoints != null) { | 1465 if (minExperiencePoints != null) { |
1466 _json["minExperiencePoints"] = minExperiencePoints; | 1466 _json["minExperiencePoints"] = minExperiencePoints; |
1467 } | 1467 } |
1468 return _json; | 1468 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
1488 hiddenTimeMillis = _json["hiddenTimeMillis"]; | 1488 hiddenTimeMillis = _json["hiddenTimeMillis"]; |
1489 } | 1489 } |
1490 if (_json.containsKey("kind")) { | 1490 if (_json.containsKey("kind")) { |
1491 kind = _json["kind"]; | 1491 kind = _json["kind"]; |
1492 } | 1492 } |
1493 if (_json.containsKey("player")) { | 1493 if (_json.containsKey("player")) { |
1494 player = new Player.fromJson(_json["player"]); | 1494 player = new Player.fromJson(_json["player"]); |
1495 } | 1495 } |
1496 } | 1496 } |
1497 | 1497 |
1498 core.Map toJson() { | 1498 core.Map<core.String, core.Object> toJson() { |
1499 var _json = new core.Map(); | 1499 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1500 if (hiddenTimeMillis != null) { | 1500 if (hiddenTimeMillis != null) { |
1501 _json["hiddenTimeMillis"] = hiddenTimeMillis; | 1501 _json["hiddenTimeMillis"] = hiddenTimeMillis; |
1502 } | 1502 } |
1503 if (kind != null) { | 1503 if (kind != null) { |
1504 _json["kind"] = kind; | 1504 _json["kind"] = kind; |
1505 } | 1505 } |
1506 if (player != null) { | 1506 if (player != null) { |
1507 _json["player"] = (player).toJson(); | 1507 _json["player"] = (player).toJson(); |
1508 } | 1508 } |
1509 return _json; | 1509 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
1529 items = _json["items"].map((value) => new HiddenPlayer.fromJson(value)).to
List(); | 1529 items = _json["items"].map((value) => new HiddenPlayer.fromJson(value)).to
List(); |
1530 } | 1530 } |
1531 if (_json.containsKey("kind")) { | 1531 if (_json.containsKey("kind")) { |
1532 kind = _json["kind"]; | 1532 kind = _json["kind"]; |
1533 } | 1533 } |
1534 if (_json.containsKey("nextPageToken")) { | 1534 if (_json.containsKey("nextPageToken")) { |
1535 nextPageToken = _json["nextPageToken"]; | 1535 nextPageToken = _json["nextPageToken"]; |
1536 } | 1536 } |
1537 } | 1537 } |
1538 | 1538 |
1539 core.Map toJson() { | 1539 core.Map<core.String, core.Object> toJson() { |
1540 var _json = new core.Map(); | 1540 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1541 if (items != null) { | 1541 if (items != null) { |
1542 _json["items"] = items.map((value) => (value).toJson()).toList(); | 1542 _json["items"] = items.map((value) => (value).toJson()).toList(); |
1543 } | 1543 } |
1544 if (kind != null) { | 1544 if (kind != null) { |
1545 _json["kind"] = kind; | 1545 _json["kind"] = kind; |
1546 } | 1546 } |
1547 if (nextPageToken != null) { | 1547 if (nextPageToken != null) { |
1548 _json["nextPageToken"] = nextPageToken; | 1548 _json["nextPageToken"] = nextPageToken; |
1549 } | 1549 } |
1550 return _json; | 1550 return _json; |
(...skipping 20 matching lines...) Expand all Loading... |
1571 | 1571 |
1572 PlayerName.fromJson(core.Map _json) { | 1572 PlayerName.fromJson(core.Map _json) { |
1573 if (_json.containsKey("familyName")) { | 1573 if (_json.containsKey("familyName")) { |
1574 familyName = _json["familyName"]; | 1574 familyName = _json["familyName"]; |
1575 } | 1575 } |
1576 if (_json.containsKey("givenName")) { | 1576 if (_json.containsKey("givenName")) { |
1577 givenName = _json["givenName"]; | 1577 givenName = _json["givenName"]; |
1578 } | 1578 } |
1579 } | 1579 } |
1580 | 1580 |
1581 core.Map toJson() { | 1581 core.Map<core.String, core.Object> toJson() { |
1582 var _json = new core.Map(); | 1582 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1583 if (familyName != null) { | 1583 if (familyName != null) { |
1584 _json["familyName"] = familyName; | 1584 _json["familyName"] = familyName; |
1585 } | 1585 } |
1586 if (givenName != null) { | 1586 if (givenName != null) { |
1587 _json["givenName"] = givenName; | 1587 _json["givenName"] = givenName; |
1588 } | 1588 } |
1589 return _json; | 1589 return _json; |
1590 } | 1590 } |
1591 } | 1591 } |
1592 | 1592 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1671 playerId = _json["playerId"]; | 1671 playerId = _json["playerId"]; |
1672 } | 1672 } |
1673 if (_json.containsKey("profileSettings")) { | 1673 if (_json.containsKey("profileSettings")) { |
1674 profileSettings = new ProfileSettings.fromJson(_json["profileSettings"]); | 1674 profileSettings = new ProfileSettings.fromJson(_json["profileSettings"]); |
1675 } | 1675 } |
1676 if (_json.containsKey("title")) { | 1676 if (_json.containsKey("title")) { |
1677 title = _json["title"]; | 1677 title = _json["title"]; |
1678 } | 1678 } |
1679 } | 1679 } |
1680 | 1680 |
1681 core.Map toJson() { | 1681 core.Map<core.String, core.Object> toJson() { |
1682 var _json = new core.Map(); | 1682 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1683 if (avatarImageUrl != null) { | 1683 if (avatarImageUrl != null) { |
1684 _json["avatarImageUrl"] = avatarImageUrl; | 1684 _json["avatarImageUrl"] = avatarImageUrl; |
1685 } | 1685 } |
1686 if (bannerUrlLandscape != null) { | 1686 if (bannerUrlLandscape != null) { |
1687 _json["bannerUrlLandscape"] = bannerUrlLandscape; | 1687 _json["bannerUrlLandscape"] = bannerUrlLandscape; |
1688 } | 1688 } |
1689 if (bannerUrlPortrait != null) { | 1689 if (bannerUrlPortrait != null) { |
1690 _json["bannerUrlPortrait"] = bannerUrlPortrait; | 1690 _json["bannerUrlPortrait"] = bannerUrlPortrait; |
1691 } | 1691 } |
1692 if (displayName != null) { | 1692 if (displayName != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1734 | 1734 |
1735 PlayerScoreResetAllResponse.fromJson(core.Map _json) { | 1735 PlayerScoreResetAllResponse.fromJson(core.Map _json) { |
1736 if (_json.containsKey("kind")) { | 1736 if (_json.containsKey("kind")) { |
1737 kind = _json["kind"]; | 1737 kind = _json["kind"]; |
1738 } | 1738 } |
1739 if (_json.containsKey("results")) { | 1739 if (_json.containsKey("results")) { |
1740 results = _json["results"].map((value) => new PlayerScoreResetResponse.fro
mJson(value)).toList(); | 1740 results = _json["results"].map((value) => new PlayerScoreResetResponse.fro
mJson(value)).toList(); |
1741 } | 1741 } |
1742 } | 1742 } |
1743 | 1743 |
1744 core.Map toJson() { | 1744 core.Map<core.String, core.Object> toJson() { |
1745 var _json = new core.Map(); | 1745 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1746 if (kind != null) { | 1746 if (kind != null) { |
1747 _json["kind"] = kind; | 1747 _json["kind"] = kind; |
1748 } | 1748 } |
1749 if (results != null) { | 1749 if (results != null) { |
1750 _json["results"] = results.map((value) => (value).toJson()).toList(); | 1750 _json["results"] = results.map((value) => (value).toJson()).toList(); |
1751 } | 1751 } |
1752 return _json; | 1752 return _json; |
1753 } | 1753 } |
1754 } | 1754 } |
1755 | 1755 |
(...skipping 22 matching lines...) Expand all Loading... |
1778 definitionId = _json["definitionId"]; | 1778 definitionId = _json["definitionId"]; |
1779 } | 1779 } |
1780 if (_json.containsKey("kind")) { | 1780 if (_json.containsKey("kind")) { |
1781 kind = _json["kind"]; | 1781 kind = _json["kind"]; |
1782 } | 1782 } |
1783 if (_json.containsKey("resetScoreTimeSpans")) { | 1783 if (_json.containsKey("resetScoreTimeSpans")) { |
1784 resetScoreTimeSpans = _json["resetScoreTimeSpans"]; | 1784 resetScoreTimeSpans = _json["resetScoreTimeSpans"]; |
1785 } | 1785 } |
1786 } | 1786 } |
1787 | 1787 |
1788 core.Map toJson() { | 1788 core.Map<core.String, core.Object> toJson() { |
1789 var _json = new core.Map(); | 1789 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1790 if (definitionId != null) { | 1790 if (definitionId != null) { |
1791 _json["definitionId"] = definitionId; | 1791 _json["definitionId"] = definitionId; |
1792 } | 1792 } |
1793 if (kind != null) { | 1793 if (kind != null) { |
1794 _json["kind"] = kind; | 1794 _json["kind"] = kind; |
1795 } | 1795 } |
1796 if (resetScoreTimeSpans != null) { | 1796 if (resetScoreTimeSpans != null) { |
1797 _json["resetScoreTimeSpans"] = resetScoreTimeSpans; | 1797 _json["resetScoreTimeSpans"] = resetScoreTimeSpans; |
1798 } | 1798 } |
1799 return _json; | 1799 return _json; |
(...skipping 17 matching lines...) Expand all Loading... |
1817 | 1817 |
1818 ProfileSettings.fromJson(core.Map _json) { | 1818 ProfileSettings.fromJson(core.Map _json) { |
1819 if (_json.containsKey("kind")) { | 1819 if (_json.containsKey("kind")) { |
1820 kind = _json["kind"]; | 1820 kind = _json["kind"]; |
1821 } | 1821 } |
1822 if (_json.containsKey("profileVisible")) { | 1822 if (_json.containsKey("profileVisible")) { |
1823 profileVisible = _json["profileVisible"]; | 1823 profileVisible = _json["profileVisible"]; |
1824 } | 1824 } |
1825 } | 1825 } |
1826 | 1826 |
1827 core.Map toJson() { | 1827 core.Map<core.String, core.Object> toJson() { |
1828 var _json = new core.Map(); | 1828 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1829 if (kind != null) { | 1829 if (kind != null) { |
1830 _json["kind"] = kind; | 1830 _json["kind"] = kind; |
1831 } | 1831 } |
1832 if (profileVisible != null) { | 1832 if (profileVisible != null) { |
1833 _json["profileVisible"] = profileVisible; | 1833 _json["profileVisible"] = profileVisible; |
1834 } | 1834 } |
1835 return _json; | 1835 return _json; |
1836 } | 1836 } |
1837 } | 1837 } |
1838 | 1838 |
(...skipping 11 matching lines...) Expand all Loading... |
1850 | 1850 |
1851 QuestsResetMultipleForAllRequest.fromJson(core.Map _json) { | 1851 QuestsResetMultipleForAllRequest.fromJson(core.Map _json) { |
1852 if (_json.containsKey("kind")) { | 1852 if (_json.containsKey("kind")) { |
1853 kind = _json["kind"]; | 1853 kind = _json["kind"]; |
1854 } | 1854 } |
1855 if (_json.containsKey("quest_ids")) { | 1855 if (_json.containsKey("quest_ids")) { |
1856 questIds = _json["quest_ids"]; | 1856 questIds = _json["quest_ids"]; |
1857 } | 1857 } |
1858 } | 1858 } |
1859 | 1859 |
1860 core.Map toJson() { | 1860 core.Map<core.String, core.Object> toJson() { |
1861 var _json = new core.Map(); | 1861 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1862 if (kind != null) { | 1862 if (kind != null) { |
1863 _json["kind"] = kind; | 1863 _json["kind"] = kind; |
1864 } | 1864 } |
1865 if (questIds != null) { | 1865 if (questIds != null) { |
1866 _json["quest_ids"] = questIds; | 1866 _json["quest_ids"] = questIds; |
1867 } | 1867 } |
1868 return _json; | 1868 return _json; |
1869 } | 1869 } |
1870 } | 1870 } |
1871 | 1871 |
(...skipping 11 matching lines...) Expand all Loading... |
1883 | 1883 |
1884 ScoresResetMultipleForAllRequest.fromJson(core.Map _json) { | 1884 ScoresResetMultipleForAllRequest.fromJson(core.Map _json) { |
1885 if (_json.containsKey("kind")) { | 1885 if (_json.containsKey("kind")) { |
1886 kind = _json["kind"]; | 1886 kind = _json["kind"]; |
1887 } | 1887 } |
1888 if (_json.containsKey("leaderboard_ids")) { | 1888 if (_json.containsKey("leaderboard_ids")) { |
1889 leaderboardIds = _json["leaderboard_ids"]; | 1889 leaderboardIds = _json["leaderboard_ids"]; |
1890 } | 1890 } |
1891 } | 1891 } |
1892 | 1892 |
1893 core.Map toJson() { | 1893 core.Map<core.String, core.Object> toJson() { |
1894 var _json = new core.Map(); | 1894 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1895 if (kind != null) { | 1895 if (kind != null) { |
1896 _json["kind"] = kind; | 1896 _json["kind"] = kind; |
1897 } | 1897 } |
1898 if (leaderboardIds != null) { | 1898 if (leaderboardIds != null) { |
1899 _json["leaderboard_ids"] = leaderboardIds; | 1899 _json["leaderboard_ids"] = leaderboardIds; |
1900 } | 1900 } |
1901 return _json; | 1901 return _json; |
1902 } | 1902 } |
1903 } | 1903 } |
OLD | NEW |