Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: generated/googleapis/lib/adexchangeseller/v1_1.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.adexchangeseller.v1_1; 3 library googleapis.adexchangeseller.v1_1;
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 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 id = _json["id"]; 1060 id = _json["id"];
1061 } 1061 }
1062 if (_json.containsKey("kind")) { 1062 if (_json.containsKey("kind")) {
1063 kind = _json["kind"]; 1063 kind = _json["kind"];
1064 } 1064 }
1065 if (_json.containsKey("name")) { 1065 if (_json.containsKey("name")) {
1066 name = _json["name"]; 1066 name = _json["name"];
1067 } 1067 }
1068 } 1068 }
1069 1069
1070 core.Map toJson() { 1070 core.Map<core.String, core.Object> toJson() {
1071 var _json = new core.Map(); 1071 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1072 if (id != null) { 1072 if (id != null) {
1073 _json["id"] = id; 1073 _json["id"] = id;
1074 } 1074 }
1075 if (kind != null) { 1075 if (kind != null) {
1076 _json["kind"] = kind; 1076 _json["kind"] = kind;
1077 } 1077 }
1078 if (name != null) { 1078 if (name != null) {
1079 _json["name"] = name; 1079 _json["name"] = name;
1080 } 1080 }
1081 return _json; 1081 return _json;
(...skipping 28 matching lines...) Expand all
1110 kind = _json["kind"]; 1110 kind = _json["kind"];
1111 } 1111 }
1112 if (_json.containsKey("productCode")) { 1112 if (_json.containsKey("productCode")) {
1113 productCode = _json["productCode"]; 1113 productCode = _json["productCode"];
1114 } 1114 }
1115 if (_json.containsKey("supportsReporting")) { 1115 if (_json.containsKey("supportsReporting")) {
1116 supportsReporting = _json["supportsReporting"]; 1116 supportsReporting = _json["supportsReporting"];
1117 } 1117 }
1118 } 1118 }
1119 1119
1120 core.Map toJson() { 1120 core.Map<core.String, core.Object> toJson() {
1121 var _json = new core.Map(); 1121 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1122 if (arcOptIn != null) { 1122 if (arcOptIn != null) {
1123 _json["arcOptIn"] = arcOptIn; 1123 _json["arcOptIn"] = arcOptIn;
1124 } 1124 }
1125 if (id != null) { 1125 if (id != null) {
1126 _json["id"] = id; 1126 _json["id"] = id;
1127 } 1127 }
1128 if (kind != null) { 1128 if (kind != null) {
1129 _json["kind"] = kind; 1129 _json["kind"] = kind;
1130 } 1130 }
1131 if (productCode != null) { 1131 if (productCode != null) {
(...skipping 29 matching lines...) Expand all
1161 items = _json["items"].map((value) => new AdClient.fromJson(value)).toList (); 1161 items = _json["items"].map((value) => new AdClient.fromJson(value)).toList ();
1162 } 1162 }
1163 if (_json.containsKey("kind")) { 1163 if (_json.containsKey("kind")) {
1164 kind = _json["kind"]; 1164 kind = _json["kind"];
1165 } 1165 }
1166 if (_json.containsKey("nextPageToken")) { 1166 if (_json.containsKey("nextPageToken")) {
1167 nextPageToken = _json["nextPageToken"]; 1167 nextPageToken = _json["nextPageToken"];
1168 } 1168 }
1169 } 1169 }
1170 1170
1171 core.Map toJson() { 1171 core.Map<core.String, core.Object> toJson() {
1172 var _json = new core.Map(); 1172 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1173 if (etag != null) { 1173 if (etag != null) {
1174 _json["etag"] = etag; 1174 _json["etag"] = etag;
1175 } 1175 }
1176 if (items != null) { 1176 if (items != null) {
1177 _json["items"] = items.map((value) => (value).toJson()).toList(); 1177 _json["items"] = items.map((value) => (value).toJson()).toList();
1178 } 1178 }
1179 if (kind != null) { 1179 if (kind != null) {
1180 _json["kind"] = kind; 1180 _json["kind"] = kind;
1181 } 1181 }
1182 if (nextPageToken != null) { 1182 if (nextPageToken != null) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 kind = _json["kind"]; 1226 kind = _json["kind"];
1227 } 1227 }
1228 if (_json.containsKey("name")) { 1228 if (_json.containsKey("name")) {
1229 name = _json["name"]; 1229 name = _json["name"];
1230 } 1230 }
1231 if (_json.containsKey("status")) { 1231 if (_json.containsKey("status")) {
1232 status = _json["status"]; 1232 status = _json["status"];
1233 } 1233 }
1234 } 1234 }
1235 1235
1236 core.Map toJson() { 1236 core.Map<core.String, core.Object> toJson() {
1237 var _json = new core.Map(); 1237 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1238 if (code != null) { 1238 if (code != null) {
1239 _json["code"] = code; 1239 _json["code"] = code;
1240 } 1240 }
1241 if (id != null) { 1241 if (id != null) {
1242 _json["id"] = id; 1242 _json["id"] = id;
1243 } 1243 }
1244 if (kind != null) { 1244 if (kind != null) {
1245 _json["kind"] = kind; 1245 _json["kind"] = kind;
1246 } 1246 }
1247 if (name != null) { 1247 if (name != null) {
(...skipping 29 matching lines...) Expand all
1277 items = _json["items"].map((value) => new AdUnit.fromJson(value)).toList() ; 1277 items = _json["items"].map((value) => new AdUnit.fromJson(value)).toList() ;
1278 } 1278 }
1279 if (_json.containsKey("kind")) { 1279 if (_json.containsKey("kind")) {
1280 kind = _json["kind"]; 1280 kind = _json["kind"];
1281 } 1281 }
1282 if (_json.containsKey("nextPageToken")) { 1282 if (_json.containsKey("nextPageToken")) {
1283 nextPageToken = _json["nextPageToken"]; 1283 nextPageToken = _json["nextPageToken"];
1284 } 1284 }
1285 } 1285 }
1286 1286
1287 core.Map toJson() { 1287 core.Map<core.String, core.Object> toJson() {
1288 var _json = new core.Map(); 1288 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1289 if (etag != null) { 1289 if (etag != null) {
1290 _json["etag"] = etag; 1290 _json["etag"] = etag;
1291 } 1291 }
1292 if (items != null) { 1292 if (items != null) {
1293 _json["items"] = items.map((value) => (value).toJson()).toList(); 1293 _json["items"] = items.map((value) => (value).toJson()).toList();
1294 } 1294 }
1295 if (kind != null) { 1295 if (kind != null) {
1296 _json["kind"] = kind; 1296 _json["kind"] = kind;
1297 } 1297 }
1298 if (nextPageToken != null) { 1298 if (nextPageToken != null) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 message = _json["message"]; 1334 message = _json["message"];
1335 } 1335 }
1336 if (_json.containsKey("severity")) { 1336 if (_json.containsKey("severity")) {
1337 severity = _json["severity"]; 1337 severity = _json["severity"];
1338 } 1338 }
1339 if (_json.containsKey("type")) { 1339 if (_json.containsKey("type")) {
1340 type = _json["type"]; 1340 type = _json["type"];
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 (id != null) { 1346 if (id != null) {
1347 _json["id"] = id; 1347 _json["id"] = id;
1348 } 1348 }
1349 if (kind != null) { 1349 if (kind != null) {
1350 _json["kind"] = kind; 1350 _json["kind"] = kind;
1351 } 1351 }
1352 if (message != null) { 1352 if (message != null) {
1353 _json["message"] = message; 1353 _json["message"] = message;
1354 } 1354 }
1355 if (severity != null) { 1355 if (severity != null) {
(...skipping 16 matching lines...) Expand all
1372 1372
1373 Alerts.fromJson(core.Map _json) { 1373 Alerts.fromJson(core.Map _json) {
1374 if (_json.containsKey("items")) { 1374 if (_json.containsKey("items")) {
1375 items = _json["items"].map((value) => new Alert.fromJson(value)).toList(); 1375 items = _json["items"].map((value) => new Alert.fromJson(value)).toList();
1376 } 1376 }
1377 if (_json.containsKey("kind")) { 1377 if (_json.containsKey("kind")) {
1378 kind = _json["kind"]; 1378 kind = _json["kind"];
1379 } 1379 }
1380 } 1380 }
1381 1381
1382 core.Map toJson() { 1382 core.Map<core.String, core.Object> toJson() {
1383 var _json = new core.Map(); 1383 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1384 if (items != null) { 1384 if (items != null) {
1385 _json["items"] = items.map((value) => (value).toJson()).toList(); 1385 _json["items"] = items.map((value) => (value).toJson()).toList();
1386 } 1386 }
1387 if (kind != null) { 1387 if (kind != null) {
1388 _json["kind"] = kind; 1388 _json["kind"] = kind;
1389 } 1389 }
1390 return _json; 1390 return _json;
1391 } 1391 }
1392 } 1392 }
1393 1393
(...skipping 24 matching lines...) Expand all
1418 description = _json["description"]; 1418 description = _json["description"];
1419 } 1419 }
1420 if (_json.containsKey("location")) { 1420 if (_json.containsKey("location")) {
1421 location = _json["location"]; 1421 location = _json["location"];
1422 } 1422 }
1423 if (_json.containsKey("siteLanguage")) { 1423 if (_json.containsKey("siteLanguage")) {
1424 siteLanguage = _json["siteLanguage"]; 1424 siteLanguage = _json["siteLanguage"];
1425 } 1425 }
1426 } 1426 }
1427 1427
1428 core.Map toJson() { 1428 core.Map<core.String, core.Object> toJson() {
1429 var _json = new core.Map(); 1429 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1430 if (adsAppearOn != null) { 1430 if (adsAppearOn != null) {
1431 _json["adsAppearOn"] = adsAppearOn; 1431 _json["adsAppearOn"] = adsAppearOn;
1432 } 1432 }
1433 if (description != null) { 1433 if (description != null) {
1434 _json["description"] = description; 1434 _json["description"] = description;
1435 } 1435 }
1436 if (location != null) { 1436 if (location != null) {
1437 _json["location"] = location; 1437 _json["location"] = location;
1438 } 1438 }
1439 if (siteLanguage != null) { 1439 if (siteLanguage != null) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 kind = _json["kind"]; 1472 kind = _json["kind"];
1473 } 1473 }
1474 if (_json.containsKey("name")) { 1474 if (_json.containsKey("name")) {
1475 name = _json["name"]; 1475 name = _json["name"];
1476 } 1476 }
1477 if (_json.containsKey("targetingInfo")) { 1477 if (_json.containsKey("targetingInfo")) {
1478 targetingInfo = new CustomChannelTargetingInfo.fromJson(_json["targetingIn fo"]); 1478 targetingInfo = new CustomChannelTargetingInfo.fromJson(_json["targetingIn fo"]);
1479 } 1479 }
1480 } 1480 }
1481 1481
1482 core.Map toJson() { 1482 core.Map<core.String, core.Object> toJson() {
1483 var _json = new core.Map(); 1483 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1484 if (code != null) { 1484 if (code != null) {
1485 _json["code"] = code; 1485 _json["code"] = code;
1486 } 1486 }
1487 if (id != null) { 1487 if (id != null) {
1488 _json["id"] = id; 1488 _json["id"] = id;
1489 } 1489 }
1490 if (kind != null) { 1490 if (kind != null) {
1491 _json["kind"] = kind; 1491 _json["kind"] = kind;
1492 } 1492 }
1493 if (name != null) { 1493 if (name != null) {
(...skipping 29 matching lines...) Expand all
1523 items = _json["items"].map((value) => new CustomChannel.fromJson(value)).t oList(); 1523 items = _json["items"].map((value) => new CustomChannel.fromJson(value)).t oList();
1524 } 1524 }
1525 if (_json.containsKey("kind")) { 1525 if (_json.containsKey("kind")) {
1526 kind = _json["kind"]; 1526 kind = _json["kind"];
1527 } 1527 }
1528 if (_json.containsKey("nextPageToken")) { 1528 if (_json.containsKey("nextPageToken")) {
1529 nextPageToken = _json["nextPageToken"]; 1529 nextPageToken = _json["nextPageToken"];
1530 } 1530 }
1531 } 1531 }
1532 1532
1533 core.Map toJson() { 1533 core.Map<core.String, core.Object> toJson() {
1534 var _json = new core.Map(); 1534 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1535 if (etag != null) { 1535 if (etag != null) {
1536 _json["etag"] = etag; 1536 _json["etag"] = etag;
1537 } 1537 }
1538 if (items != null) { 1538 if (items != null) {
1539 _json["items"] = items.map((value) => (value).toJson()).toList(); 1539 _json["items"] = items.map((value) => (value).toJson()).toList();
1540 } 1540 }
1541 if (kind != null) { 1541 if (kind != null) {
1542 _json["kind"] = kind; 1542 _json["kind"] = kind;
1543 } 1543 }
1544 if (nextPageToken != null) { 1544 if (nextPageToken != null) {
(...skipping 12 matching lines...) Expand all
1557 1557
1558 Metadata.fromJson(core.Map _json) { 1558 Metadata.fromJson(core.Map _json) {
1559 if (_json.containsKey("items")) { 1559 if (_json.containsKey("items")) {
1560 items = _json["items"].map((value) => new ReportingMetadataEntry.fromJson( value)).toList(); 1560 items = _json["items"].map((value) => new ReportingMetadataEntry.fromJson( value)).toList();
1561 } 1561 }
1562 if (_json.containsKey("kind")) { 1562 if (_json.containsKey("kind")) {
1563 kind = _json["kind"]; 1563 kind = _json["kind"];
1564 } 1564 }
1565 } 1565 }
1566 1566
1567 core.Map toJson() { 1567 core.Map<core.String, core.Object> toJson() {
1568 var _json = new core.Map(); 1568 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1569 if (items != null) { 1569 if (items != null) {
1570 _json["items"] = items.map((value) => (value).toJson()).toList(); 1570 _json["items"] = items.map((value) => (value).toJson()).toList();
1571 } 1571 }
1572 if (kind != null) { 1572 if (kind != null) {
1573 _json["kind"] = kind; 1573 _json["kind"] = kind;
1574 } 1574 }
1575 return _json; 1575 return _json;
1576 } 1576 }
1577 } 1577 }
1578 1578
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 id = _json["id"]; 1630 id = _json["id"];
1631 } 1631 }
1632 if (_json.containsKey("kind")) { 1632 if (_json.containsKey("kind")) {
1633 kind = _json["kind"]; 1633 kind = _json["kind"];
1634 } 1634 }
1635 if (_json.containsKey("startTime")) { 1635 if (_json.containsKey("startTime")) {
1636 startTime = _json["startTime"]; 1636 startTime = _json["startTime"];
1637 } 1637 }
1638 } 1638 }
1639 1639
1640 core.Map toJson() { 1640 core.Map<core.String, core.Object> toJson() {
1641 var _json = new core.Map(); 1641 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1642 if (advertiserName != null) { 1642 if (advertiserName != null) {
1643 _json["advertiserName"] = advertiserName; 1643 _json["advertiserName"] = advertiserName;
1644 } 1644 }
1645 if (buyerNetworkName != null) { 1645 if (buyerNetworkName != null) {
1646 _json["buyerNetworkName"] = buyerNetworkName; 1646 _json["buyerNetworkName"] = buyerNetworkName;
1647 } 1647 }
1648 if (currencyCode != null) { 1648 if (currencyCode != null) {
1649 _json["currencyCode"] = currencyCode; 1649 _json["currencyCode"] = currencyCode;
1650 } 1650 }
1651 if (endTime != null) { 1651 if (endTime != null) {
(...skipping 25 matching lines...) Expand all
1677 1677
1678 PreferredDeals.fromJson(core.Map _json) { 1678 PreferredDeals.fromJson(core.Map _json) {
1679 if (_json.containsKey("items")) { 1679 if (_json.containsKey("items")) {
1680 items = _json["items"].map((value) => new PreferredDeal.fromJson(value)).t oList(); 1680 items = _json["items"].map((value) => new PreferredDeal.fromJson(value)).t oList();
1681 } 1681 }
1682 if (_json.containsKey("kind")) { 1682 if (_json.containsKey("kind")) {
1683 kind = _json["kind"]; 1683 kind = _json["kind"];
1684 } 1684 }
1685 } 1685 }
1686 1686
1687 core.Map toJson() { 1687 core.Map<core.String, core.Object> toJson() {
1688 var _json = new core.Map(); 1688 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1689 if (items != null) { 1689 if (items != null) {
1690 _json["items"] = items.map((value) => (value).toJson()).toList(); 1690 _json["items"] = items.map((value) => (value).toJson()).toList();
1691 } 1691 }
1692 if (kind != null) { 1692 if (kind != null) {
1693 _json["kind"] = kind; 1693 _json["kind"] = kind;
1694 } 1694 }
1695 return _json; 1695 return _json;
1696 } 1696 }
1697 } 1697 }
1698 1698
(...skipping 18 matching lines...) Expand all
1717 currency = _json["currency"]; 1717 currency = _json["currency"];
1718 } 1718 }
1719 if (_json.containsKey("name")) { 1719 if (_json.containsKey("name")) {
1720 name = _json["name"]; 1720 name = _json["name"];
1721 } 1721 }
1722 if (_json.containsKey("type")) { 1722 if (_json.containsKey("type")) {
1723 type = _json["type"]; 1723 type = _json["type"];
1724 } 1724 }
1725 } 1725 }
1726 1726
1727 core.Map toJson() { 1727 core.Map<core.String, core.Object> toJson() {
1728 var _json = new core.Map(); 1728 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1729 if (currency != null) { 1729 if (currency != null) {
1730 _json["currency"] = currency; 1730 _json["currency"] = currency;
1731 } 1731 }
1732 if (name != null) { 1732 if (name != null) {
1733 _json["name"] = name; 1733 _json["name"] = name;
1734 } 1734 }
1735 if (type != null) { 1735 if (type != null) {
1736 _json["type"] = type; 1736 _json["type"] = type;
1737 } 1737 }
1738 return _json; 1738 return _json;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 totalMatchedRows = _json["totalMatchedRows"]; 1792 totalMatchedRows = _json["totalMatchedRows"];
1793 } 1793 }
1794 if (_json.containsKey("totals")) { 1794 if (_json.containsKey("totals")) {
1795 totals = _json["totals"]; 1795 totals = _json["totals"];
1796 } 1796 }
1797 if (_json.containsKey("warnings")) { 1797 if (_json.containsKey("warnings")) {
1798 warnings = _json["warnings"]; 1798 warnings = _json["warnings"];
1799 } 1799 }
1800 } 1800 }
1801 1801
1802 core.Map toJson() { 1802 core.Map<core.String, core.Object> toJson() {
1803 var _json = new core.Map(); 1803 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1804 if (averages != null) { 1804 if (averages != null) {
1805 _json["averages"] = averages; 1805 _json["averages"] = averages;
1806 } 1806 }
1807 if (headers != null) { 1807 if (headers != null) {
1808 _json["headers"] = headers.map((value) => (value).toJson()).toList(); 1808 _json["headers"] = headers.map((value) => (value).toJson()).toList();
1809 } 1809 }
1810 if (kind != null) { 1810 if (kind != null) {
1811 _json["kind"] = kind; 1811 _json["kind"] = kind;
1812 } 1812 }
1813 if (rows != null) { 1813 if (rows != null) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 requiredDimensions = _json["requiredDimensions"]; 1887 requiredDimensions = _json["requiredDimensions"];
1888 } 1888 }
1889 if (_json.containsKey("requiredMetrics")) { 1889 if (_json.containsKey("requiredMetrics")) {
1890 requiredMetrics = _json["requiredMetrics"]; 1890 requiredMetrics = _json["requiredMetrics"];
1891 } 1891 }
1892 if (_json.containsKey("supportedProducts")) { 1892 if (_json.containsKey("supportedProducts")) {
1893 supportedProducts = _json["supportedProducts"]; 1893 supportedProducts = _json["supportedProducts"];
1894 } 1894 }
1895 } 1895 }
1896 1896
1897 core.Map toJson() { 1897 core.Map<core.String, core.Object> toJson() {
1898 var _json = new core.Map(); 1898 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1899 if (compatibleDimensions != null) { 1899 if (compatibleDimensions != null) {
1900 _json["compatibleDimensions"] = compatibleDimensions; 1900 _json["compatibleDimensions"] = compatibleDimensions;
1901 } 1901 }
1902 if (compatibleMetrics != null) { 1902 if (compatibleMetrics != null) {
1903 _json["compatibleMetrics"] = compatibleMetrics; 1903 _json["compatibleMetrics"] = compatibleMetrics;
1904 } 1904 }
1905 if (id != null) { 1905 if (id != null) {
1906 _json["id"] = id; 1906 _json["id"] = id;
1907 } 1907 }
1908 if (kind != null) { 1908 if (kind != null) {
(...skipping 27 matching lines...) Expand all
1936 id = _json["id"]; 1936 id = _json["id"];
1937 } 1937 }
1938 if (_json.containsKey("kind")) { 1938 if (_json.containsKey("kind")) {
1939 kind = _json["kind"]; 1939 kind = _json["kind"];
1940 } 1940 }
1941 if (_json.containsKey("name")) { 1941 if (_json.containsKey("name")) {
1942 name = _json["name"]; 1942 name = _json["name"];
1943 } 1943 }
1944 } 1944 }
1945 1945
1946 core.Map toJson() { 1946 core.Map<core.String, core.Object> toJson() {
1947 var _json = new core.Map(); 1947 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1948 if (id != null) { 1948 if (id != null) {
1949 _json["id"] = id; 1949 _json["id"] = id;
1950 } 1950 }
1951 if (kind != null) { 1951 if (kind != null) {
1952 _json["kind"] = kind; 1952 _json["kind"] = kind;
1953 } 1953 }
1954 if (name != null) { 1954 if (name != null) {
1955 _json["name"] = name; 1955 _json["name"] = name;
1956 } 1956 }
1957 return _json; 1957 return _json;
(...skipping 23 matching lines...) Expand all
1981 items = _json["items"].map((value) => new SavedReport.fromJson(value)).toL ist(); 1981 items = _json["items"].map((value) => new SavedReport.fromJson(value)).toL ist();
1982 } 1982 }
1983 if (_json.containsKey("kind")) { 1983 if (_json.containsKey("kind")) {
1984 kind = _json["kind"]; 1984 kind = _json["kind"];
1985 } 1985 }
1986 if (_json.containsKey("nextPageToken")) { 1986 if (_json.containsKey("nextPageToken")) {
1987 nextPageToken = _json["nextPageToken"]; 1987 nextPageToken = _json["nextPageToken"];
1988 } 1988 }
1989 } 1989 }
1990 1990
1991 core.Map toJson() { 1991 core.Map<core.String, core.Object> toJson() {
1992 var _json = new core.Map(); 1992 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1993 if (etag != null) { 1993 if (etag != null) {
1994 _json["etag"] = etag; 1994 _json["etag"] = etag;
1995 } 1995 }
1996 if (items != null) { 1996 if (items != null) {
1997 _json["items"] = items.map((value) => (value).toJson()).toList(); 1997 _json["items"] = items.map((value) => (value).toJson()).toList();
1998 } 1998 }
1999 if (kind != null) { 1999 if (kind != null) {
2000 _json["kind"] = kind; 2000 _json["kind"] = kind;
2001 } 2001 }
2002 if (nextPageToken != null) { 2002 if (nextPageToken != null) {
(...skipping 24 matching lines...) Expand all
2027 id = _json["id"]; 2027 id = _json["id"];
2028 } 2028 }
2029 if (_json.containsKey("kind")) { 2029 if (_json.containsKey("kind")) {
2030 kind = _json["kind"]; 2030 kind = _json["kind"];
2031 } 2031 }
2032 if (_json.containsKey("urlPattern")) { 2032 if (_json.containsKey("urlPattern")) {
2033 urlPattern = _json["urlPattern"]; 2033 urlPattern = _json["urlPattern"];
2034 } 2034 }
2035 } 2035 }
2036 2036
2037 core.Map toJson() { 2037 core.Map<core.String, core.Object> toJson() {
2038 var _json = new core.Map(); 2038 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2039 if (id != null) { 2039 if (id != null) {
2040 _json["id"] = id; 2040 _json["id"] = id;
2041 } 2041 }
2042 if (kind != null) { 2042 if (kind != null) {
2043 _json["kind"] = kind; 2043 _json["kind"] = kind;
2044 } 2044 }
2045 if (urlPattern != null) { 2045 if (urlPattern != null) {
2046 _json["urlPattern"] = urlPattern; 2046 _json["urlPattern"] = urlPattern;
2047 } 2047 }
2048 return _json; 2048 return _json;
(...skipping 23 matching lines...) Expand all
2072 items = _json["items"].map((value) => new UrlChannel.fromJson(value)).toLi st(); 2072 items = _json["items"].map((value) => new UrlChannel.fromJson(value)).toLi st();
2073 } 2073 }
2074 if (_json.containsKey("kind")) { 2074 if (_json.containsKey("kind")) {
2075 kind = _json["kind"]; 2075 kind = _json["kind"];
2076 } 2076 }
2077 if (_json.containsKey("nextPageToken")) { 2077 if (_json.containsKey("nextPageToken")) {
2078 nextPageToken = _json["nextPageToken"]; 2078 nextPageToken = _json["nextPageToken"];
2079 } 2079 }
2080 } 2080 }
2081 2081
2082 core.Map toJson() { 2082 core.Map<core.String, core.Object> toJson() {
2083 var _json = new core.Map(); 2083 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2084 if (etag != null) { 2084 if (etag != null) {
2085 _json["etag"] = etag; 2085 _json["etag"] = etag;
2086 } 2086 }
2087 if (items != null) { 2087 if (items != null) {
2088 _json["items"] = items.map((value) => (value).toJson()).toList(); 2088 _json["items"] = items.map((value) => (value).toJson()).toList();
2089 } 2089 }
2090 if (kind != null) { 2090 if (kind != null) {
2091 _json["kind"] = kind; 2091 _json["kind"] = kind;
2092 } 2092 }
2093 if (nextPageToken != null) { 2093 if (nextPageToken != null) {
2094 _json["nextPageToken"] = nextPageToken; 2094 _json["nextPageToken"] = nextPageToken;
2095 } 2095 }
2096 return _json; 2096 return _json;
2097 } 2097 }
2098 } 2098 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/adexchangebuyer/v1_4.dart ('k') | generated/googleapis/lib/adexchangeseller/v2_0.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698