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_beta.clouduseraccounts.beta; | 3 library googleapis_beta.clouduseraccounts.beta; |
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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 | 1169 |
1170 AuthorizedKeysView.fromJson(core.Map _json) { | 1170 AuthorizedKeysView.fromJson(core.Map _json) { |
1171 if (_json.containsKey("keys")) { | 1171 if (_json.containsKey("keys")) { |
1172 keys = _json["keys"]; | 1172 keys = _json["keys"]; |
1173 } | 1173 } |
1174 if (_json.containsKey("sudoer")) { | 1174 if (_json.containsKey("sudoer")) { |
1175 sudoer = _json["sudoer"]; | 1175 sudoer = _json["sudoer"]; |
1176 } | 1176 } |
1177 } | 1177 } |
1178 | 1178 |
1179 core.Map toJson() { | 1179 core.Map<core.String, core.Object> toJson() { |
1180 var _json = new core.Map(); | 1180 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1181 if (keys != null) { | 1181 if (keys != null) { |
1182 _json["keys"] = keys; | 1182 _json["keys"] = keys; |
1183 } | 1183 } |
1184 if (sudoer != null) { | 1184 if (sudoer != null) { |
1185 _json["sudoer"] = sudoer; | 1185 _json["sudoer"] = sudoer; |
1186 } | 1186 } |
1187 return _json; | 1187 return _json; |
1188 } | 1188 } |
1189 } | 1189 } |
1190 | 1190 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 members = _json["members"]; | 1237 members = _json["members"]; |
1238 } | 1238 } |
1239 if (_json.containsKey("name")) { | 1239 if (_json.containsKey("name")) { |
1240 name = _json["name"]; | 1240 name = _json["name"]; |
1241 } | 1241 } |
1242 if (_json.containsKey("selfLink")) { | 1242 if (_json.containsKey("selfLink")) { |
1243 selfLink = _json["selfLink"]; | 1243 selfLink = _json["selfLink"]; |
1244 } | 1244 } |
1245 } | 1245 } |
1246 | 1246 |
1247 core.Map toJson() { | 1247 core.Map<core.String, core.Object> toJson() { |
1248 var _json = new core.Map(); | 1248 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1249 if (creationTimestamp != null) { | 1249 if (creationTimestamp != null) { |
1250 _json["creationTimestamp"] = creationTimestamp; | 1250 _json["creationTimestamp"] = creationTimestamp; |
1251 } | 1251 } |
1252 if (description != null) { | 1252 if (description != null) { |
1253 _json["description"] = description; | 1253 _json["description"] = description; |
1254 } | 1254 } |
1255 if (id != null) { | 1255 if (id != null) { |
1256 _json["id"] = id; | 1256 _json["id"] = id; |
1257 } | 1257 } |
1258 if (kind != null) { | 1258 if (kind != null) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 kind = _json["kind"]; | 1301 kind = _json["kind"]; |
1302 } | 1302 } |
1303 if (_json.containsKey("nextPageToken")) { | 1303 if (_json.containsKey("nextPageToken")) { |
1304 nextPageToken = _json["nextPageToken"]; | 1304 nextPageToken = _json["nextPageToken"]; |
1305 } | 1305 } |
1306 if (_json.containsKey("selfLink")) { | 1306 if (_json.containsKey("selfLink")) { |
1307 selfLink = _json["selfLink"]; | 1307 selfLink = _json["selfLink"]; |
1308 } | 1308 } |
1309 } | 1309 } |
1310 | 1310 |
1311 core.Map toJson() { | 1311 core.Map<core.String, core.Object> toJson() { |
1312 var _json = new core.Map(); | 1312 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1313 if (id != null) { | 1313 if (id != null) { |
1314 _json["id"] = id; | 1314 _json["id"] = id; |
1315 } | 1315 } |
1316 if (items != null) { | 1316 if (items != null) { |
1317 _json["items"] = items.map((value) => (value).toJson()).toList(); | 1317 _json["items"] = items.map((value) => (value).toJson()).toList(); |
1318 } | 1318 } |
1319 if (kind != null) { | 1319 if (kind != null) { |
1320 _json["kind"] = kind; | 1320 _json["kind"] = kind; |
1321 } | 1321 } |
1322 if (nextPageToken != null) { | 1322 if (nextPageToken != null) { |
(...skipping 11 matching lines...) Expand all Loading... |
1334 core.List<core.String> users; | 1334 core.List<core.String> users; |
1335 | 1335 |
1336 GroupsAddMemberRequest(); | 1336 GroupsAddMemberRequest(); |
1337 | 1337 |
1338 GroupsAddMemberRequest.fromJson(core.Map _json) { | 1338 GroupsAddMemberRequest.fromJson(core.Map _json) { |
1339 if (_json.containsKey("users")) { | 1339 if (_json.containsKey("users")) { |
1340 users = _json["users"]; | 1340 users = _json["users"]; |
1341 } | 1341 } |
1342 } | 1342 } |
1343 | 1343 |
1344 core.Map toJson() { | 1344 core.Map<core.String, core.Object> toJson() { |
1345 var _json = new core.Map(); | 1345 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1346 if (users != null) { | 1346 if (users != null) { |
1347 _json["users"] = users; | 1347 _json["users"] = users; |
1348 } | 1348 } |
1349 return _json; | 1349 return _json; |
1350 } | 1350 } |
1351 } | 1351 } |
1352 | 1352 |
1353 class GroupsRemoveMemberRequest { | 1353 class GroupsRemoveMemberRequest { |
1354 /** Fully-qualified URLs of the User resources to remove. */ | 1354 /** Fully-qualified URLs of the User resources to remove. */ |
1355 core.List<core.String> users; | 1355 core.List<core.String> users; |
1356 | 1356 |
1357 GroupsRemoveMemberRequest(); | 1357 GroupsRemoveMemberRequest(); |
1358 | 1358 |
1359 GroupsRemoveMemberRequest.fromJson(core.Map _json) { | 1359 GroupsRemoveMemberRequest.fromJson(core.Map _json) { |
1360 if (_json.containsKey("users")) { | 1360 if (_json.containsKey("users")) { |
1361 users = _json["users"]; | 1361 users = _json["users"]; |
1362 } | 1362 } |
1363 } | 1363 } |
1364 | 1364 |
1365 core.Map toJson() { | 1365 core.Map<core.String, core.Object> toJson() { |
1366 var _json = new core.Map(); | 1366 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1367 if (users != null) { | 1367 if (users != null) { |
1368 _json["users"] = users; | 1368 _json["users"] = users; |
1369 } | 1369 } |
1370 return _json; | 1370 return _json; |
1371 } | 1371 } |
1372 } | 1372 } |
1373 | 1373 |
1374 /** | 1374 /** |
1375 * A list of all Linux accounts for this project. This API is only used by | 1375 * A list of all Linux accounts for this project. This API is only used by |
1376 * Compute Engine virtual machines to get information about user accounts for a | 1376 * Compute Engine virtual machines to get information about user accounts for a |
(...skipping 18 matching lines...) Expand all Loading... |
1395 groupViews = _json["groupViews"].map((value) => new LinuxGroupView.fromJso
n(value)).toList(); | 1395 groupViews = _json["groupViews"].map((value) => new LinuxGroupView.fromJso
n(value)).toList(); |
1396 } | 1396 } |
1397 if (_json.containsKey("kind")) { | 1397 if (_json.containsKey("kind")) { |
1398 kind = _json["kind"]; | 1398 kind = _json["kind"]; |
1399 } | 1399 } |
1400 if (_json.containsKey("userViews")) { | 1400 if (_json.containsKey("userViews")) { |
1401 userViews = _json["userViews"].map((value) => new LinuxUserView.fromJson(v
alue)).toList(); | 1401 userViews = _json["userViews"].map((value) => new LinuxUserView.fromJson(v
alue)).toList(); |
1402 } | 1402 } |
1403 } | 1403 } |
1404 | 1404 |
1405 core.Map toJson() { | 1405 core.Map<core.String, core.Object> toJson() { |
1406 var _json = new core.Map(); | 1406 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1407 if (groupViews != null) { | 1407 if (groupViews != null) { |
1408 _json["groupViews"] = groupViews.map((value) => (value).toJson()).toList()
; | 1408 _json["groupViews"] = groupViews.map((value) => (value).toJson()).toList()
; |
1409 } | 1409 } |
1410 if (kind != null) { | 1410 if (kind != null) { |
1411 _json["kind"] = kind; | 1411 _json["kind"] = kind; |
1412 } | 1412 } |
1413 if (userViews != null) { | 1413 if (userViews != null) { |
1414 _json["userViews"] = userViews.map((value) => (value).toJson()).toList(); | 1414 _json["userViews"] = userViews.map((value) => (value).toJson()).toList(); |
1415 } | 1415 } |
1416 return _json; | 1416 return _json; |
1417 } | 1417 } |
1418 } | 1418 } |
1419 | 1419 |
1420 class LinuxGetAuthorizedKeysViewResponse { | 1420 class LinuxGetAuthorizedKeysViewResponse { |
1421 /** [Output Only] A list of authorized public keys for a user. */ | 1421 /** [Output Only] A list of authorized public keys for a user. */ |
1422 AuthorizedKeysView resource; | 1422 AuthorizedKeysView resource; |
1423 | 1423 |
1424 LinuxGetAuthorizedKeysViewResponse(); | 1424 LinuxGetAuthorizedKeysViewResponse(); |
1425 | 1425 |
1426 LinuxGetAuthorizedKeysViewResponse.fromJson(core.Map _json) { | 1426 LinuxGetAuthorizedKeysViewResponse.fromJson(core.Map _json) { |
1427 if (_json.containsKey("resource")) { | 1427 if (_json.containsKey("resource")) { |
1428 resource = new AuthorizedKeysView.fromJson(_json["resource"]); | 1428 resource = new AuthorizedKeysView.fromJson(_json["resource"]); |
1429 } | 1429 } |
1430 } | 1430 } |
1431 | 1431 |
1432 core.Map toJson() { | 1432 core.Map<core.String, core.Object> toJson() { |
1433 var _json = new core.Map(); | 1433 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1434 if (resource != null) { | 1434 if (resource != null) { |
1435 _json["resource"] = (resource).toJson(); | 1435 _json["resource"] = (resource).toJson(); |
1436 } | 1436 } |
1437 return _json; | 1437 return _json; |
1438 } | 1438 } |
1439 } | 1439 } |
1440 | 1440 |
1441 class LinuxGetLinuxAccountViewsResponse { | 1441 class LinuxGetLinuxAccountViewsResponse { |
1442 /** [Output Only] A list of authorized user accounts and groups. */ | 1442 /** [Output Only] A list of authorized user accounts and groups. */ |
1443 LinuxAccountViews resource; | 1443 LinuxAccountViews resource; |
1444 | 1444 |
1445 LinuxGetLinuxAccountViewsResponse(); | 1445 LinuxGetLinuxAccountViewsResponse(); |
1446 | 1446 |
1447 LinuxGetLinuxAccountViewsResponse.fromJson(core.Map _json) { | 1447 LinuxGetLinuxAccountViewsResponse.fromJson(core.Map _json) { |
1448 if (_json.containsKey("resource")) { | 1448 if (_json.containsKey("resource")) { |
1449 resource = new LinuxAccountViews.fromJson(_json["resource"]); | 1449 resource = new LinuxAccountViews.fromJson(_json["resource"]); |
1450 } | 1450 } |
1451 } | 1451 } |
1452 | 1452 |
1453 core.Map toJson() { | 1453 core.Map<core.String, core.Object> toJson() { |
1454 var _json = new core.Map(); | 1454 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1455 if (resource != null) { | 1455 if (resource != null) { |
1456 _json["resource"] = (resource).toJson(); | 1456 _json["resource"] = (resource).toJson(); |
1457 } | 1457 } |
1458 return _json; | 1458 return _json; |
1459 } | 1459 } |
1460 } | 1460 } |
1461 | 1461 |
1462 /** A detailed view of a Linux group. */ | 1462 /** A detailed view of a Linux group. */ |
1463 class LinuxGroupView { | 1463 class LinuxGroupView { |
1464 /** [Output Only] The Group ID. */ | 1464 /** [Output Only] The Group ID. */ |
(...skipping 10 matching lines...) Expand all Loading... |
1475 gid = _json["gid"]; | 1475 gid = _json["gid"]; |
1476 } | 1476 } |
1477 if (_json.containsKey("groupName")) { | 1477 if (_json.containsKey("groupName")) { |
1478 groupName = _json["groupName"]; | 1478 groupName = _json["groupName"]; |
1479 } | 1479 } |
1480 if (_json.containsKey("members")) { | 1480 if (_json.containsKey("members")) { |
1481 members = _json["members"]; | 1481 members = _json["members"]; |
1482 } | 1482 } |
1483 } | 1483 } |
1484 | 1484 |
1485 core.Map toJson() { | 1485 core.Map<core.String, core.Object> toJson() { |
1486 var _json = new core.Map(); | 1486 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1487 if (gid != null) { | 1487 if (gid != null) { |
1488 _json["gid"] = gid; | 1488 _json["gid"] = gid; |
1489 } | 1489 } |
1490 if (groupName != null) { | 1490 if (groupName != null) { |
1491 _json["groupName"] = groupName; | 1491 _json["groupName"] = groupName; |
1492 } | 1492 } |
1493 if (members != null) { | 1493 if (members != null) { |
1494 _json["members"] = members; | 1494 _json["members"] = members; |
1495 } | 1495 } |
1496 return _json; | 1496 return _json; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1528 shell = _json["shell"]; | 1528 shell = _json["shell"]; |
1529 } | 1529 } |
1530 if (_json.containsKey("uid")) { | 1530 if (_json.containsKey("uid")) { |
1531 uid = _json["uid"]; | 1531 uid = _json["uid"]; |
1532 } | 1532 } |
1533 if (_json.containsKey("username")) { | 1533 if (_json.containsKey("username")) { |
1534 username = _json["username"]; | 1534 username = _json["username"]; |
1535 } | 1535 } |
1536 } | 1536 } |
1537 | 1537 |
1538 core.Map toJson() { | 1538 core.Map<core.String, core.Object> toJson() { |
1539 var _json = new core.Map(); | 1539 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1540 if (gecos != null) { | 1540 if (gecos != null) { |
1541 _json["gecos"] = gecos; | 1541 _json["gecos"] = gecos; |
1542 } | 1542 } |
1543 if (gid != null) { | 1543 if (gid != null) { |
1544 _json["gid"] = gid; | 1544 _json["gid"] = gid; |
1545 } | 1545 } |
1546 if (homeDirectory != null) { | 1546 if (homeDirectory != null) { |
1547 _json["homeDirectory"] = homeDirectory; | 1547 _json["homeDirectory"] = homeDirectory; |
1548 } | 1548 } |
1549 if (shell != null) { | 1549 if (shell != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
1577 code = _json["code"]; | 1577 code = _json["code"]; |
1578 } | 1578 } |
1579 if (_json.containsKey("location")) { | 1579 if (_json.containsKey("location")) { |
1580 location = _json["location"]; | 1580 location = _json["location"]; |
1581 } | 1581 } |
1582 if (_json.containsKey("message")) { | 1582 if (_json.containsKey("message")) { |
1583 message = _json["message"]; | 1583 message = _json["message"]; |
1584 } | 1584 } |
1585 } | 1585 } |
1586 | 1586 |
1587 core.Map toJson() { | 1587 core.Map<core.String, core.Object> toJson() { |
1588 var _json = new core.Map(); | 1588 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1589 if (code != null) { | 1589 if (code != null) { |
1590 _json["code"] = code; | 1590 _json["code"] = code; |
1591 } | 1591 } |
1592 if (location != null) { | 1592 if (location != null) { |
1593 _json["location"] = location; | 1593 _json["location"] = location; |
1594 } | 1594 } |
1595 if (message != null) { | 1595 if (message != null) { |
1596 _json["message"] = message; | 1596 _json["message"] = message; |
1597 } | 1597 } |
1598 return _json; | 1598 return _json; |
(...skipping 12 matching lines...) Expand all Loading... |
1611 core.List<OperationErrorErrors> errors; | 1611 core.List<OperationErrorErrors> errors; |
1612 | 1612 |
1613 OperationError(); | 1613 OperationError(); |
1614 | 1614 |
1615 OperationError.fromJson(core.Map _json) { | 1615 OperationError.fromJson(core.Map _json) { |
1616 if (_json.containsKey("errors")) { | 1616 if (_json.containsKey("errors")) { |
1617 errors = _json["errors"].map((value) => new OperationErrorErrors.fromJson(
value)).toList(); | 1617 errors = _json["errors"].map((value) => new OperationErrorErrors.fromJson(
value)).toList(); |
1618 } | 1618 } |
1619 } | 1619 } |
1620 | 1620 |
1621 core.Map toJson() { | 1621 core.Map<core.String, core.Object> toJson() { |
1622 var _json = new core.Map(); | 1622 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1623 if (errors != null) { | 1623 if (errors != null) { |
1624 _json["errors"] = errors.map((value) => (value).toJson()).toList(); | 1624 _json["errors"] = errors.map((value) => (value).toJson()).toList(); |
1625 } | 1625 } |
1626 return _json; | 1626 return _json; |
1627 } | 1627 } |
1628 } | 1628 } |
1629 | 1629 |
1630 class OperationWarningsData { | 1630 class OperationWarningsData { |
1631 /** | 1631 /** |
1632 * [Output Only] A key that provides more detail on the warning being | 1632 * [Output Only] A key that provides more detail on the warning being |
(...skipping 12 matching lines...) Expand all Loading... |
1645 | 1645 |
1646 OperationWarningsData.fromJson(core.Map _json) { | 1646 OperationWarningsData.fromJson(core.Map _json) { |
1647 if (_json.containsKey("key")) { | 1647 if (_json.containsKey("key")) { |
1648 key = _json["key"]; | 1648 key = _json["key"]; |
1649 } | 1649 } |
1650 if (_json.containsKey("value")) { | 1650 if (_json.containsKey("value")) { |
1651 value = _json["value"]; | 1651 value = _json["value"]; |
1652 } | 1652 } |
1653 } | 1653 } |
1654 | 1654 |
1655 core.Map toJson() { | 1655 core.Map<core.String, core.Object> toJson() { |
1656 var _json = new core.Map(); | 1656 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1657 if (key != null) { | 1657 if (key != null) { |
1658 _json["key"] = key; | 1658 _json["key"] = key; |
1659 } | 1659 } |
1660 if (value != null) { | 1660 if (value != null) { |
1661 _json["value"] = value; | 1661 _json["value"] = value; |
1662 } | 1662 } |
1663 return _json; | 1663 return _json; |
1664 } | 1664 } |
1665 } | 1665 } |
1666 | 1666 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 code = _json["code"]; | 1702 code = _json["code"]; |
1703 } | 1703 } |
1704 if (_json.containsKey("data")) { | 1704 if (_json.containsKey("data")) { |
1705 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val
ue)).toList(); | 1705 data = _json["data"].map((value) => new OperationWarningsData.fromJson(val
ue)).toList(); |
1706 } | 1706 } |
1707 if (_json.containsKey("message")) { | 1707 if (_json.containsKey("message")) { |
1708 message = _json["message"]; | 1708 message = _json["message"]; |
1709 } | 1709 } |
1710 } | 1710 } |
1711 | 1711 |
1712 core.Map toJson() { | 1712 core.Map<core.String, core.Object> toJson() { |
1713 var _json = new core.Map(); | 1713 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1714 if (code != null) { | 1714 if (code != null) { |
1715 _json["code"] = code; | 1715 _json["code"] = code; |
1716 } | 1716 } |
1717 if (data != null) { | 1717 if (data != null) { |
1718 _json["data"] = data.map((value) => (value).toJson()).toList(); | 1718 _json["data"] = data.map((value) => (value).toJson()).toList(); |
1719 } | 1719 } |
1720 if (message != null) { | 1720 if (message != null) { |
1721 _json["message"] = message; | 1721 _json["message"] = message; |
1722 } | 1722 } |
1723 return _json; | 1723 return _json; |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1902 user = _json["user"]; | 1902 user = _json["user"]; |
1903 } | 1903 } |
1904 if (_json.containsKey("warnings")) { | 1904 if (_json.containsKey("warnings")) { |
1905 warnings = _json["warnings"].map((value) => new OperationWarnings.fromJson
(value)).toList(); | 1905 warnings = _json["warnings"].map((value) => new OperationWarnings.fromJson
(value)).toList(); |
1906 } | 1906 } |
1907 if (_json.containsKey("zone")) { | 1907 if (_json.containsKey("zone")) { |
1908 zone = _json["zone"]; | 1908 zone = _json["zone"]; |
1909 } | 1909 } |
1910 } | 1910 } |
1911 | 1911 |
1912 core.Map toJson() { | 1912 core.Map<core.String, core.Object> toJson() { |
1913 var _json = new core.Map(); | 1913 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1914 if (clientOperationId != null) { | 1914 if (clientOperationId != null) { |
1915 _json["clientOperationId"] = clientOperationId; | 1915 _json["clientOperationId"] = clientOperationId; |
1916 } | 1916 } |
1917 if (creationTimestamp != null) { | 1917 if (creationTimestamp != null) { |
1918 _json["creationTimestamp"] = creationTimestamp; | 1918 _json["creationTimestamp"] = creationTimestamp; |
1919 } | 1919 } |
1920 if (description != null) { | 1920 if (description != null) { |
1921 _json["description"] = description; | 1921 _json["description"] = description; |
1922 } | 1922 } |
1923 if (endTime != null) { | 1923 if (endTime != null) { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2022 kind = _json["kind"]; | 2022 kind = _json["kind"]; |
2023 } | 2023 } |
2024 if (_json.containsKey("nextPageToken")) { | 2024 if (_json.containsKey("nextPageToken")) { |
2025 nextPageToken = _json["nextPageToken"]; | 2025 nextPageToken = _json["nextPageToken"]; |
2026 } | 2026 } |
2027 if (_json.containsKey("selfLink")) { | 2027 if (_json.containsKey("selfLink")) { |
2028 selfLink = _json["selfLink"]; | 2028 selfLink = _json["selfLink"]; |
2029 } | 2029 } |
2030 } | 2030 } |
2031 | 2031 |
2032 core.Map toJson() { | 2032 core.Map<core.String, core.Object> toJson() { |
2033 var _json = new core.Map(); | 2033 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2034 if (id != null) { | 2034 if (id != null) { |
2035 _json["id"] = id; | 2035 _json["id"] = id; |
2036 } | 2036 } |
2037 if (items != null) { | 2037 if (items != null) { |
2038 _json["items"] = items.map((value) => (value).toJson()).toList(); | 2038 _json["items"] = items.map((value) => (value).toJson()).toList(); |
2039 } | 2039 } |
2040 if (kind != null) { | 2040 if (kind != null) { |
2041 _json["kind"] = kind; | 2041 _json["kind"] = kind; |
2042 } | 2042 } |
2043 if (nextPageToken != null) { | 2043 if (nextPageToken != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2085 expirationTimestamp = _json["expirationTimestamp"]; | 2085 expirationTimestamp = _json["expirationTimestamp"]; |
2086 } | 2086 } |
2087 if (_json.containsKey("fingerprint")) { | 2087 if (_json.containsKey("fingerprint")) { |
2088 fingerprint = _json["fingerprint"]; | 2088 fingerprint = _json["fingerprint"]; |
2089 } | 2089 } |
2090 if (_json.containsKey("key")) { | 2090 if (_json.containsKey("key")) { |
2091 key = _json["key"]; | 2091 key = _json["key"]; |
2092 } | 2092 } |
2093 } | 2093 } |
2094 | 2094 |
2095 core.Map toJson() { | 2095 core.Map<core.String, core.Object> toJson() { |
2096 var _json = new core.Map(); | 2096 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2097 if (creationTimestamp != null) { | 2097 if (creationTimestamp != null) { |
2098 _json["creationTimestamp"] = creationTimestamp; | 2098 _json["creationTimestamp"] = creationTimestamp; |
2099 } | 2099 } |
2100 if (description != null) { | 2100 if (description != null) { |
2101 _json["description"] = description; | 2101 _json["description"] = description; |
2102 } | 2102 } |
2103 if (expirationTimestamp != null) { | 2103 if (expirationTimestamp != null) { |
2104 _json["expirationTimestamp"] = expirationTimestamp; | 2104 _json["expirationTimestamp"] = expirationTimestamp; |
2105 } | 2105 } |
2106 if (fingerprint != null) { | 2106 if (fingerprint != null) { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2176 owner = _json["owner"]; | 2176 owner = _json["owner"]; |
2177 } | 2177 } |
2178 if (_json.containsKey("publicKeys")) { | 2178 if (_json.containsKey("publicKeys")) { |
2179 publicKeys = _json["publicKeys"].map((value) => new PublicKey.fromJson(val
ue)).toList(); | 2179 publicKeys = _json["publicKeys"].map((value) => new PublicKey.fromJson(val
ue)).toList(); |
2180 } | 2180 } |
2181 if (_json.containsKey("selfLink")) { | 2181 if (_json.containsKey("selfLink")) { |
2182 selfLink = _json["selfLink"]; | 2182 selfLink = _json["selfLink"]; |
2183 } | 2183 } |
2184 } | 2184 } |
2185 | 2185 |
2186 core.Map toJson() { | 2186 core.Map<core.String, core.Object> toJson() { |
2187 var _json = new core.Map(); | 2187 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2188 if (creationTimestamp != null) { | 2188 if (creationTimestamp != null) { |
2189 _json["creationTimestamp"] = creationTimestamp; | 2189 _json["creationTimestamp"] = creationTimestamp; |
2190 } | 2190 } |
2191 if (description != null) { | 2191 if (description != null) { |
2192 _json["description"] = description; | 2192 _json["description"] = description; |
2193 } | 2193 } |
2194 if (groups != null) { | 2194 if (groups != null) { |
2195 _json["groups"] = groups; | 2195 _json["groups"] = groups; |
2196 } | 2196 } |
2197 if (id != null) { | 2197 if (id != null) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2246 kind = _json["kind"]; | 2246 kind = _json["kind"]; |
2247 } | 2247 } |
2248 if (_json.containsKey("nextPageToken")) { | 2248 if (_json.containsKey("nextPageToken")) { |
2249 nextPageToken = _json["nextPageToken"]; | 2249 nextPageToken = _json["nextPageToken"]; |
2250 } | 2250 } |
2251 if (_json.containsKey("selfLink")) { | 2251 if (_json.containsKey("selfLink")) { |
2252 selfLink = _json["selfLink"]; | 2252 selfLink = _json["selfLink"]; |
2253 } | 2253 } |
2254 } | 2254 } |
2255 | 2255 |
2256 core.Map toJson() { | 2256 core.Map<core.String, core.Object> toJson() { |
2257 var _json = new core.Map(); | 2257 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2258 if (id != null) { | 2258 if (id != null) { |
2259 _json["id"] = id; | 2259 _json["id"] = id; |
2260 } | 2260 } |
2261 if (items != null) { | 2261 if (items != null) { |
2262 _json["items"] = items.map((value) => (value).toJson()).toList(); | 2262 _json["items"] = items.map((value) => (value).toJson()).toList(); |
2263 } | 2263 } |
2264 if (kind != null) { | 2264 if (kind != null) { |
2265 _json["kind"] = kind; | 2265 _json["kind"] = kind; |
2266 } | 2266 } |
2267 if (nextPageToken != null) { | 2267 if (nextPageToken != null) { |
2268 _json["nextPageToken"] = nextPageToken; | 2268 _json["nextPageToken"] = nextPageToken; |
2269 } | 2269 } |
2270 if (selfLink != null) { | 2270 if (selfLink != null) { |
2271 _json["selfLink"] = selfLink; | 2271 _json["selfLink"] = selfLink; |
2272 } | 2272 } |
2273 return _json; | 2273 return _json; |
2274 } | 2274 } |
2275 } | 2275 } |
OLD | NEW |