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.dns.v2beta1; | 3 library googleapis_beta.dns.v2beta1; |
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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 kind = _json["kind"]; | 1020 kind = _json["kind"]; |
1021 } | 1021 } |
1022 if (_json.containsKey("startTime")) { | 1022 if (_json.containsKey("startTime")) { |
1023 startTime = _json["startTime"]; | 1023 startTime = _json["startTime"]; |
1024 } | 1024 } |
1025 if (_json.containsKey("status")) { | 1025 if (_json.containsKey("status")) { |
1026 status = _json["status"]; | 1026 status = _json["status"]; |
1027 } | 1027 } |
1028 } | 1028 } |
1029 | 1029 |
1030 core.Map toJson() { | 1030 core.Map<core.String, core.Object> toJson() { |
1031 var _json = new core.Map(); | 1031 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1032 if (additions != null) { | 1032 if (additions != null) { |
1033 _json["additions"] = additions.map((value) => (value).toJson()).toList(); | 1033 _json["additions"] = additions.map((value) => (value).toJson()).toList(); |
1034 } | 1034 } |
1035 if (deletions != null) { | 1035 if (deletions != null) { |
1036 _json["deletions"] = deletions.map((value) => (value).toJson()).toList(); | 1036 _json["deletions"] = deletions.map((value) => (value).toJson()).toList(); |
1037 } | 1037 } |
1038 if (id != null) { | 1038 if (id != null) { |
1039 _json["id"] = id; | 1039 _json["id"] = id; |
1040 } | 1040 } |
1041 if (isServing != null) { | 1041 if (isServing != null) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 header = new ResponseHeader.fromJson(_json["header"]); | 1088 header = new ResponseHeader.fromJson(_json["header"]); |
1089 } | 1089 } |
1090 if (_json.containsKey("kind")) { | 1090 if (_json.containsKey("kind")) { |
1091 kind = _json["kind"]; | 1091 kind = _json["kind"]; |
1092 } | 1092 } |
1093 if (_json.containsKey("nextPageToken")) { | 1093 if (_json.containsKey("nextPageToken")) { |
1094 nextPageToken = _json["nextPageToken"]; | 1094 nextPageToken = _json["nextPageToken"]; |
1095 } | 1095 } |
1096 } | 1096 } |
1097 | 1097 |
1098 core.Map toJson() { | 1098 core.Map<core.String, core.Object> toJson() { |
1099 var _json = new core.Map(); | 1099 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1100 if (changes != null) { | 1100 if (changes != null) { |
1101 _json["changes"] = changes.map((value) => (value).toJson()).toList(); | 1101 _json["changes"] = changes.map((value) => (value).toJson()).toList(); |
1102 } | 1102 } |
1103 if (header != null) { | 1103 if (header != null) { |
1104 _json["header"] = (header).toJson(); | 1104 _json["header"] = (header).toJson(); |
1105 } | 1105 } |
1106 if (kind != null) { | 1106 if (kind != null) { |
1107 _json["kind"] = kind; | 1107 _json["kind"] = kind; |
1108 } | 1108 } |
1109 if (nextPageToken != null) { | 1109 if (nextPageToken != null) { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1213 kind = _json["kind"]; | 1213 kind = _json["kind"]; |
1214 } | 1214 } |
1215 if (_json.containsKey("publicKey")) { | 1215 if (_json.containsKey("publicKey")) { |
1216 publicKey = _json["publicKey"]; | 1216 publicKey = _json["publicKey"]; |
1217 } | 1217 } |
1218 if (_json.containsKey("type")) { | 1218 if (_json.containsKey("type")) { |
1219 type = _json["type"]; | 1219 type = _json["type"]; |
1220 } | 1220 } |
1221 } | 1221 } |
1222 | 1222 |
1223 core.Map toJson() { | 1223 core.Map<core.String, core.Object> toJson() { |
1224 var _json = new core.Map(); | 1224 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1225 if (algorithm != null) { | 1225 if (algorithm != null) { |
1226 _json["algorithm"] = algorithm; | 1226 _json["algorithm"] = algorithm; |
1227 } | 1227 } |
1228 if (creationTime != null) { | 1228 if (creationTime != null) { |
1229 _json["creationTime"] = creationTime; | 1229 _json["creationTime"] = creationTime; |
1230 } | 1230 } |
1231 if (description != null) { | 1231 if (description != null) { |
1232 _json["description"] = description; | 1232 _json["description"] = description; |
1233 } | 1233 } |
1234 if (digests != null) { | 1234 if (digests != null) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1278 | 1278 |
1279 DnsKeyDigest.fromJson(core.Map _json) { | 1279 DnsKeyDigest.fromJson(core.Map _json) { |
1280 if (_json.containsKey("digest")) { | 1280 if (_json.containsKey("digest")) { |
1281 digest = _json["digest"]; | 1281 digest = _json["digest"]; |
1282 } | 1282 } |
1283 if (_json.containsKey("type")) { | 1283 if (_json.containsKey("type")) { |
1284 type = _json["type"]; | 1284 type = _json["type"]; |
1285 } | 1285 } |
1286 } | 1286 } |
1287 | 1287 |
1288 core.Map toJson() { | 1288 core.Map<core.String, core.Object> toJson() { |
1289 var _json = new core.Map(); | 1289 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1290 if (digest != null) { | 1290 if (digest != null) { |
1291 _json["digest"] = digest; | 1291 _json["digest"] = digest; |
1292 } | 1292 } |
1293 if (type != null) { | 1293 if (type != null) { |
1294 _json["type"] = type; | 1294 _json["type"] = type; |
1295 } | 1295 } |
1296 return _json; | 1296 return _json; |
1297 } | 1297 } |
1298 } | 1298 } |
1299 | 1299 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 keyLength = _json["keyLength"]; | 1341 keyLength = _json["keyLength"]; |
1342 } | 1342 } |
1343 if (_json.containsKey("keyType")) { | 1343 if (_json.containsKey("keyType")) { |
1344 keyType = _json["keyType"]; | 1344 keyType = _json["keyType"]; |
1345 } | 1345 } |
1346 if (_json.containsKey("kind")) { | 1346 if (_json.containsKey("kind")) { |
1347 kind = _json["kind"]; | 1347 kind = _json["kind"]; |
1348 } | 1348 } |
1349 } | 1349 } |
1350 | 1350 |
1351 core.Map toJson() { | 1351 core.Map<core.String, core.Object> toJson() { |
1352 var _json = new core.Map(); | 1352 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1353 if (algorithm != null) { | 1353 if (algorithm != null) { |
1354 _json["algorithm"] = algorithm; | 1354 _json["algorithm"] = algorithm; |
1355 } | 1355 } |
1356 if (keyLength != null) { | 1356 if (keyLength != null) { |
1357 _json["keyLength"] = keyLength; | 1357 _json["keyLength"] = keyLength; |
1358 } | 1358 } |
1359 if (keyType != null) { | 1359 if (keyType != null) { |
1360 _json["keyType"] = keyType; | 1360 _json["keyType"] = keyType; |
1361 } | 1361 } |
1362 if (kind != null) { | 1362 if (kind != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1397 header = new ResponseHeader.fromJson(_json["header"]); | 1397 header = new ResponseHeader.fromJson(_json["header"]); |
1398 } | 1398 } |
1399 if (_json.containsKey("kind")) { | 1399 if (_json.containsKey("kind")) { |
1400 kind = _json["kind"]; | 1400 kind = _json["kind"]; |
1401 } | 1401 } |
1402 if (_json.containsKey("nextPageToken")) { | 1402 if (_json.containsKey("nextPageToken")) { |
1403 nextPageToken = _json["nextPageToken"]; | 1403 nextPageToken = _json["nextPageToken"]; |
1404 } | 1404 } |
1405 } | 1405 } |
1406 | 1406 |
1407 core.Map toJson() { | 1407 core.Map<core.String, core.Object> toJson() { |
1408 var _json = new core.Map(); | 1408 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1409 if (dnsKeys != null) { | 1409 if (dnsKeys != null) { |
1410 _json["dnsKeys"] = dnsKeys.map((value) => (value).toJson()).toList(); | 1410 _json["dnsKeys"] = dnsKeys.map((value) => (value).toJson()).toList(); |
1411 } | 1411 } |
1412 if (header != null) { | 1412 if (header != null) { |
1413 _json["header"] = (header).toJson(); | 1413 _json["header"] = (header).toJson(); |
1414 } | 1414 } |
1415 if (kind != null) { | 1415 if (kind != null) { |
1416 _json["kind"] = kind; | 1416 _json["kind"] = kind; |
1417 } | 1417 } |
1418 if (nextPageToken != null) { | 1418 if (nextPageToken != null) { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1494 name = _json["name"]; | 1494 name = _json["name"]; |
1495 } | 1495 } |
1496 if (_json.containsKey("nameServerSet")) { | 1496 if (_json.containsKey("nameServerSet")) { |
1497 nameServerSet = _json["nameServerSet"]; | 1497 nameServerSet = _json["nameServerSet"]; |
1498 } | 1498 } |
1499 if (_json.containsKey("nameServers")) { | 1499 if (_json.containsKey("nameServers")) { |
1500 nameServers = _json["nameServers"]; | 1500 nameServers = _json["nameServers"]; |
1501 } | 1501 } |
1502 } | 1502 } |
1503 | 1503 |
1504 core.Map toJson() { | 1504 core.Map<core.String, core.Object> toJson() { |
1505 var _json = new core.Map(); | 1505 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1506 if (creationTime != null) { | 1506 if (creationTime != null) { |
1507 _json["creationTime"] = creationTime; | 1507 _json["creationTime"] = creationTime; |
1508 } | 1508 } |
1509 if (description != null) { | 1509 if (description != null) { |
1510 _json["description"] = description; | 1510 _json["description"] = description; |
1511 } | 1511 } |
1512 if (dnsName != null) { | 1512 if (dnsName != null) { |
1513 _json["dnsName"] = dnsName; | 1513 _json["dnsName"] = dnsName; |
1514 } | 1514 } |
1515 if (dnssecConfig != null) { | 1515 if (dnssecConfig != null) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 kind = _json["kind"]; | 1572 kind = _json["kind"]; |
1573 } | 1573 } |
1574 if (_json.containsKey("nonExistence")) { | 1574 if (_json.containsKey("nonExistence")) { |
1575 nonExistence = _json["nonExistence"]; | 1575 nonExistence = _json["nonExistence"]; |
1576 } | 1576 } |
1577 if (_json.containsKey("state")) { | 1577 if (_json.containsKey("state")) { |
1578 state = _json["state"]; | 1578 state = _json["state"]; |
1579 } | 1579 } |
1580 } | 1580 } |
1581 | 1581 |
1582 core.Map toJson() { | 1582 core.Map<core.String, core.Object> toJson() { |
1583 var _json = new core.Map(); | 1583 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1584 if (defaultKeySpecs != null) { | 1584 if (defaultKeySpecs != null) { |
1585 _json["defaultKeySpecs"] = defaultKeySpecs.map((value) => (value).toJson()
).toList(); | 1585 _json["defaultKeySpecs"] = defaultKeySpecs.map((value) => (value).toJson()
).toList(); |
1586 } | 1586 } |
1587 if (kind != null) { | 1587 if (kind != null) { |
1588 _json["kind"] = kind; | 1588 _json["kind"] = kind; |
1589 } | 1589 } |
1590 if (nonExistence != null) { | 1590 if (nonExistence != null) { |
1591 _json["nonExistence"] = nonExistence; | 1591 _json["nonExistence"] = nonExistence; |
1592 } | 1592 } |
1593 if (state != null) { | 1593 if (state != null) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1627 kind = _json["kind"]; | 1627 kind = _json["kind"]; |
1628 } | 1628 } |
1629 if (_json.containsKey("nextPageToken")) { | 1629 if (_json.containsKey("nextPageToken")) { |
1630 nextPageToken = _json["nextPageToken"]; | 1630 nextPageToken = _json["nextPageToken"]; |
1631 } | 1631 } |
1632 if (_json.containsKey("operations")) { | 1632 if (_json.containsKey("operations")) { |
1633 operations = _json["operations"].map((value) => new Operation.fromJson(val
ue)).toList(); | 1633 operations = _json["operations"].map((value) => new Operation.fromJson(val
ue)).toList(); |
1634 } | 1634 } |
1635 } | 1635 } |
1636 | 1636 |
1637 core.Map toJson() { | 1637 core.Map<core.String, core.Object> toJson() { |
1638 var _json = new core.Map(); | 1638 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1639 if (header != null) { | 1639 if (header != null) { |
1640 _json["header"] = (header).toJson(); | 1640 _json["header"] = (header).toJson(); |
1641 } | 1641 } |
1642 if (kind != null) { | 1642 if (kind != null) { |
1643 _json["kind"] = kind; | 1643 _json["kind"] = kind; |
1644 } | 1644 } |
1645 if (nextPageToken != null) { | 1645 if (nextPageToken != null) { |
1646 _json["nextPageToken"] = nextPageToken; | 1646 _json["nextPageToken"] = nextPageToken; |
1647 } | 1647 } |
1648 if (operations != null) { | 1648 if (operations != null) { |
1649 _json["operations"] = operations.map((value) => (value).toJson()).toList()
; | 1649 _json["operations"] = operations.map((value) => (value).toJson()).toList()
; |
1650 } | 1650 } |
1651 return _json; | 1651 return _json; |
1652 } | 1652 } |
1653 } | 1653 } |
1654 | 1654 |
1655 class ManagedZonesDeleteResponse { | 1655 class ManagedZonesDeleteResponse { |
1656 ResponseHeader header; | 1656 ResponseHeader header; |
1657 | 1657 |
1658 ManagedZonesDeleteResponse(); | 1658 ManagedZonesDeleteResponse(); |
1659 | 1659 |
1660 ManagedZonesDeleteResponse.fromJson(core.Map _json) { | 1660 ManagedZonesDeleteResponse.fromJson(core.Map _json) { |
1661 if (_json.containsKey("header")) { | 1661 if (_json.containsKey("header")) { |
1662 header = new ResponseHeader.fromJson(_json["header"]); | 1662 header = new ResponseHeader.fromJson(_json["header"]); |
1663 } | 1663 } |
1664 } | 1664 } |
1665 | 1665 |
1666 core.Map toJson() { | 1666 core.Map<core.String, core.Object> toJson() { |
1667 var _json = new core.Map(); | 1667 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1668 if (header != null) { | 1668 if (header != null) { |
1669 _json["header"] = (header).toJson(); | 1669 _json["header"] = (header).toJson(); |
1670 } | 1670 } |
1671 return _json; | 1671 return _json; |
1672 } | 1672 } |
1673 } | 1673 } |
1674 | 1674 |
1675 class ManagedZonesListResponse { | 1675 class ManagedZonesListResponse { |
1676 ResponseHeader header; | 1676 ResponseHeader header; |
1677 /** Type of resource. */ | 1677 /** Type of resource. */ |
(...skipping 24 matching lines...) Expand all Loading... |
1702 kind = _json["kind"]; | 1702 kind = _json["kind"]; |
1703 } | 1703 } |
1704 if (_json.containsKey("managedZones")) { | 1704 if (_json.containsKey("managedZones")) { |
1705 managedZones = _json["managedZones"].map((value) => new ManagedZone.fromJs
on(value)).toList(); | 1705 managedZones = _json["managedZones"].map((value) => new ManagedZone.fromJs
on(value)).toList(); |
1706 } | 1706 } |
1707 if (_json.containsKey("nextPageToken")) { | 1707 if (_json.containsKey("nextPageToken")) { |
1708 nextPageToken = _json["nextPageToken"]; | 1708 nextPageToken = _json["nextPageToken"]; |
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 (header != null) { | 1714 if (header != null) { |
1715 _json["header"] = (header).toJson(); | 1715 _json["header"] = (header).toJson(); |
1716 } | 1716 } |
1717 if (kind != null) { | 1717 if (kind != null) { |
1718 _json["kind"] = kind; | 1718 _json["kind"] = kind; |
1719 } | 1719 } |
1720 if (managedZones != null) { | 1720 if (managedZones != null) { |
1721 _json["managedZones"] = managedZones.map((value) => (value).toJson()).toLi
st(); | 1721 _json["managedZones"] = managedZones.map((value) => (value).toJson()).toLi
st(); |
1722 } | 1722 } |
1723 if (nextPageToken != null) { | 1723 if (nextPageToken != null) { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1797 type = _json["type"]; | 1797 type = _json["type"]; |
1798 } | 1798 } |
1799 if (_json.containsKey("user")) { | 1799 if (_json.containsKey("user")) { |
1800 user = _json["user"]; | 1800 user = _json["user"]; |
1801 } | 1801 } |
1802 if (_json.containsKey("zoneContext")) { | 1802 if (_json.containsKey("zoneContext")) { |
1803 zoneContext = new OperationManagedZoneContext.fromJson(_json["zoneContext"
]); | 1803 zoneContext = new OperationManagedZoneContext.fromJson(_json["zoneContext"
]); |
1804 } | 1804 } |
1805 } | 1805 } |
1806 | 1806 |
1807 core.Map toJson() { | 1807 core.Map<core.String, core.Object> toJson() { |
1808 var _json = new core.Map(); | 1808 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1809 if (dnsKeyContext != null) { | 1809 if (dnsKeyContext != null) { |
1810 _json["dnsKeyContext"] = (dnsKeyContext).toJson(); | 1810 _json["dnsKeyContext"] = (dnsKeyContext).toJson(); |
1811 } | 1811 } |
1812 if (id != null) { | 1812 if (id != null) { |
1813 _json["id"] = id; | 1813 _json["id"] = id; |
1814 } | 1814 } |
1815 if (kind != null) { | 1815 if (kind != null) { |
1816 _json["kind"] = kind; | 1816 _json["kind"] = kind; |
1817 } | 1817 } |
1818 if (startTime != null) { | 1818 if (startTime != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
1844 | 1844 |
1845 OperationDnsKeyContext.fromJson(core.Map _json) { | 1845 OperationDnsKeyContext.fromJson(core.Map _json) { |
1846 if (_json.containsKey("newValue")) { | 1846 if (_json.containsKey("newValue")) { |
1847 newValue = new DnsKey.fromJson(_json["newValue"]); | 1847 newValue = new DnsKey.fromJson(_json["newValue"]); |
1848 } | 1848 } |
1849 if (_json.containsKey("oldValue")) { | 1849 if (_json.containsKey("oldValue")) { |
1850 oldValue = new DnsKey.fromJson(_json["oldValue"]); | 1850 oldValue = new DnsKey.fromJson(_json["oldValue"]); |
1851 } | 1851 } |
1852 } | 1852 } |
1853 | 1853 |
1854 core.Map toJson() { | 1854 core.Map<core.String, core.Object> toJson() { |
1855 var _json = new core.Map(); | 1855 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1856 if (newValue != null) { | 1856 if (newValue != null) { |
1857 _json["newValue"] = (newValue).toJson(); | 1857 _json["newValue"] = (newValue).toJson(); |
1858 } | 1858 } |
1859 if (oldValue != null) { | 1859 if (oldValue != null) { |
1860 _json["oldValue"] = (oldValue).toJson(); | 1860 _json["oldValue"] = (oldValue).toJson(); |
1861 } | 1861 } |
1862 return _json; | 1862 return _json; |
1863 } | 1863 } |
1864 } | 1864 } |
1865 | 1865 |
1866 class OperationManagedZoneContext { | 1866 class OperationManagedZoneContext { |
1867 /** The post-operation ManagedZone resource. */ | 1867 /** The post-operation ManagedZone resource. */ |
1868 ManagedZone newValue; | 1868 ManagedZone newValue; |
1869 /** The pre-operation ManagedZone resource. */ | 1869 /** The pre-operation ManagedZone resource. */ |
1870 ManagedZone oldValue; | 1870 ManagedZone oldValue; |
1871 | 1871 |
1872 OperationManagedZoneContext(); | 1872 OperationManagedZoneContext(); |
1873 | 1873 |
1874 OperationManagedZoneContext.fromJson(core.Map _json) { | 1874 OperationManagedZoneContext.fromJson(core.Map _json) { |
1875 if (_json.containsKey("newValue")) { | 1875 if (_json.containsKey("newValue")) { |
1876 newValue = new ManagedZone.fromJson(_json["newValue"]); | 1876 newValue = new ManagedZone.fromJson(_json["newValue"]); |
1877 } | 1877 } |
1878 if (_json.containsKey("oldValue")) { | 1878 if (_json.containsKey("oldValue")) { |
1879 oldValue = new ManagedZone.fromJson(_json["oldValue"]); | 1879 oldValue = new ManagedZone.fromJson(_json["oldValue"]); |
1880 } | 1880 } |
1881 } | 1881 } |
1882 | 1882 |
1883 core.Map toJson() { | 1883 core.Map<core.String, core.Object> toJson() { |
1884 var _json = new core.Map(); | 1884 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1885 if (newValue != null) { | 1885 if (newValue != null) { |
1886 _json["newValue"] = (newValue).toJson(); | 1886 _json["newValue"] = (newValue).toJson(); |
1887 } | 1887 } |
1888 if (oldValue != null) { | 1888 if (oldValue != null) { |
1889 _json["oldValue"] = (oldValue).toJson(); | 1889 _json["oldValue"] = (oldValue).toJson(); |
1890 } | 1890 } |
1891 return _json; | 1891 return _json; |
1892 } | 1892 } |
1893 } | 1893 } |
1894 | 1894 |
(...skipping 28 matching lines...) Expand all Loading... |
1923 kind = _json["kind"]; | 1923 kind = _json["kind"]; |
1924 } | 1924 } |
1925 if (_json.containsKey("number")) { | 1925 if (_json.containsKey("number")) { |
1926 number = _json["number"]; | 1926 number = _json["number"]; |
1927 } | 1927 } |
1928 if (_json.containsKey("quota")) { | 1928 if (_json.containsKey("quota")) { |
1929 quota = new Quota.fromJson(_json["quota"]); | 1929 quota = new Quota.fromJson(_json["quota"]); |
1930 } | 1930 } |
1931 } | 1931 } |
1932 | 1932 |
1933 core.Map toJson() { | 1933 core.Map<core.String, core.Object> toJson() { |
1934 var _json = new core.Map(); | 1934 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1935 if (id != null) { | 1935 if (id != null) { |
1936 _json["id"] = id; | 1936 _json["id"] = id; |
1937 } | 1937 } |
1938 if (kind != null) { | 1938 if (kind != null) { |
1939 _json["kind"] = kind; | 1939 _json["kind"] = kind; |
1940 } | 1940 } |
1941 if (number != null) { | 1941 if (number != null) { |
1942 _json["number"] = number; | 1942 _json["number"] = number; |
1943 } | 1943 } |
1944 if (quota != null) { | 1944 if (quota != null) { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2005 rrsetsPerManagedZone = _json["rrsetsPerManagedZone"]; | 2005 rrsetsPerManagedZone = _json["rrsetsPerManagedZone"]; |
2006 } | 2006 } |
2007 if (_json.containsKey("totalRrdataSizePerChange")) { | 2007 if (_json.containsKey("totalRrdataSizePerChange")) { |
2008 totalRrdataSizePerChange = _json["totalRrdataSizePerChange"]; | 2008 totalRrdataSizePerChange = _json["totalRrdataSizePerChange"]; |
2009 } | 2009 } |
2010 if (_json.containsKey("whitelistedKeySpecs")) { | 2010 if (_json.containsKey("whitelistedKeySpecs")) { |
2011 whitelistedKeySpecs = _json["whitelistedKeySpecs"].map((value) => new DnsK
eySpec.fromJson(value)).toList(); | 2011 whitelistedKeySpecs = _json["whitelistedKeySpecs"].map((value) => new DnsK
eySpec.fromJson(value)).toList(); |
2012 } | 2012 } |
2013 } | 2013 } |
2014 | 2014 |
2015 core.Map toJson() { | 2015 core.Map<core.String, core.Object> toJson() { |
2016 var _json = new core.Map(); | 2016 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2017 if (dnsKeysPerManagedZone != null) { | 2017 if (dnsKeysPerManagedZone != null) { |
2018 _json["dnsKeysPerManagedZone"] = dnsKeysPerManagedZone; | 2018 _json["dnsKeysPerManagedZone"] = dnsKeysPerManagedZone; |
2019 } | 2019 } |
2020 if (kind != null) { | 2020 if (kind != null) { |
2021 _json["kind"] = kind; | 2021 _json["kind"] = kind; |
2022 } | 2022 } |
2023 if (managedZones != null) { | 2023 if (managedZones != null) { |
2024 _json["managedZones"] = managedZones; | 2024 _json["managedZones"] = managedZones; |
2025 } | 2025 } |
2026 if (resourceRecordsPerRrset != null) { | 2026 if (resourceRecordsPerRrset != null) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2084 signatureRrdatas = _json["signatureRrdatas"]; | 2084 signatureRrdatas = _json["signatureRrdatas"]; |
2085 } | 2085 } |
2086 if (_json.containsKey("ttl")) { | 2086 if (_json.containsKey("ttl")) { |
2087 ttl = _json["ttl"]; | 2087 ttl = _json["ttl"]; |
2088 } | 2088 } |
2089 if (_json.containsKey("type")) { | 2089 if (_json.containsKey("type")) { |
2090 type = _json["type"]; | 2090 type = _json["type"]; |
2091 } | 2091 } |
2092 } | 2092 } |
2093 | 2093 |
2094 core.Map toJson() { | 2094 core.Map<core.String, core.Object> toJson() { |
2095 var _json = new core.Map(); | 2095 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2096 if (kind != null) { | 2096 if (kind != null) { |
2097 _json["kind"] = kind; | 2097 _json["kind"] = kind; |
2098 } | 2098 } |
2099 if (name != null) { | 2099 if (name != null) { |
2100 _json["name"] = name; | 2100 _json["name"] = name; |
2101 } | 2101 } |
2102 if (rrdatas != null) { | 2102 if (rrdatas != null) { |
2103 _json["rrdatas"] = rrdatas; | 2103 _json["rrdatas"] = rrdatas; |
2104 } | 2104 } |
2105 if (signatureRrdatas != null) { | 2105 if (signatureRrdatas != null) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2145 kind = _json["kind"]; | 2145 kind = _json["kind"]; |
2146 } | 2146 } |
2147 if (_json.containsKey("nextPageToken")) { | 2147 if (_json.containsKey("nextPageToken")) { |
2148 nextPageToken = _json["nextPageToken"]; | 2148 nextPageToken = _json["nextPageToken"]; |
2149 } | 2149 } |
2150 if (_json.containsKey("rrsets")) { | 2150 if (_json.containsKey("rrsets")) { |
2151 rrsets = _json["rrsets"].map((value) => new ResourceRecordSet.fromJson(val
ue)).toList(); | 2151 rrsets = _json["rrsets"].map((value) => new ResourceRecordSet.fromJson(val
ue)).toList(); |
2152 } | 2152 } |
2153 } | 2153 } |
2154 | 2154 |
2155 core.Map toJson() { | 2155 core.Map<core.String, core.Object> toJson() { |
2156 var _json = new core.Map(); | 2156 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2157 if (header != null) { | 2157 if (header != null) { |
2158 _json["header"] = (header).toJson(); | 2158 _json["header"] = (header).toJson(); |
2159 } | 2159 } |
2160 if (kind != null) { | 2160 if (kind != null) { |
2161 _json["kind"] = kind; | 2161 _json["kind"] = kind; |
2162 } | 2162 } |
2163 if (nextPageToken != null) { | 2163 if (nextPageToken != null) { |
2164 _json["nextPageToken"] = nextPageToken; | 2164 _json["nextPageToken"] = nextPageToken; |
2165 } | 2165 } |
2166 if (rrsets != null) { | 2166 if (rrsets != null) { |
(...skipping 13 matching lines...) Expand all Loading... |
2180 core.String operationId; | 2180 core.String operationId; |
2181 | 2181 |
2182 ResponseHeader(); | 2182 ResponseHeader(); |
2183 | 2183 |
2184 ResponseHeader.fromJson(core.Map _json) { | 2184 ResponseHeader.fromJson(core.Map _json) { |
2185 if (_json.containsKey("operationId")) { | 2185 if (_json.containsKey("operationId")) { |
2186 operationId = _json["operationId"]; | 2186 operationId = _json["operationId"]; |
2187 } | 2187 } |
2188 } | 2188 } |
2189 | 2189 |
2190 core.Map toJson() { | 2190 core.Map<core.String, core.Object> toJson() { |
2191 var _json = new core.Map(); | 2191 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2192 if (operationId != null) { | 2192 if (operationId != null) { |
2193 _json["operationId"] = operationId; | 2193 _json["operationId"] = operationId; |
2194 } | 2194 } |
2195 return _json; | 2195 return _json; |
2196 } | 2196 } |
2197 } | 2197 } |
OLD | NEW |