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

Side by Side Diff: generated/googleapis/lib/adexchangebuyer/v1_3.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.adexchangebuyer.v1_3; 3 library googleapis.adexchangebuyer.v1_3;
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 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1072 maximumQps = _json["maximumQps"]; 1072 maximumQps = _json["maximumQps"];
1073 } 1073 }
1074 if (_json.containsKey("region")) { 1074 if (_json.containsKey("region")) {
1075 region = _json["region"]; 1075 region = _json["region"];
1076 } 1076 }
1077 if (_json.containsKey("url")) { 1077 if (_json.containsKey("url")) {
1078 url = _json["url"]; 1078 url = _json["url"];
1079 } 1079 }
1080 } 1080 }
1081 1081
1082 core.Map toJson() { 1082 core.Map<core.String, core.Object> toJson() {
1083 var _json = new core.Map(); 1083 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1084 if (maximumQps != null) { 1084 if (maximumQps != null) {
1085 _json["maximumQps"] = maximumQps; 1085 _json["maximumQps"] = maximumQps;
1086 } 1086 }
1087 if (region != null) { 1087 if (region != null) {
1088 _json["region"] = region; 1088 _json["region"] = region;
1089 } 1089 }
1090 if (url != null) { 1090 if (url != null) {
1091 _json["url"] = url; 1091 _json["url"] = url;
1092 } 1092 }
1093 return _json; 1093 return _json;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 maximumActiveCreatives = _json["maximumActiveCreatives"]; 1148 maximumActiveCreatives = _json["maximumActiveCreatives"];
1149 } 1149 }
1150 if (_json.containsKey("maximumTotalQps")) { 1150 if (_json.containsKey("maximumTotalQps")) {
1151 maximumTotalQps = _json["maximumTotalQps"]; 1151 maximumTotalQps = _json["maximumTotalQps"];
1152 } 1152 }
1153 if (_json.containsKey("numberActiveCreatives")) { 1153 if (_json.containsKey("numberActiveCreatives")) {
1154 numberActiveCreatives = _json["numberActiveCreatives"]; 1154 numberActiveCreatives = _json["numberActiveCreatives"];
1155 } 1155 }
1156 } 1156 }
1157 1157
1158 core.Map toJson() { 1158 core.Map<core.String, core.Object> toJson() {
1159 var _json = new core.Map(); 1159 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1160 if (bidderLocation != null) { 1160 if (bidderLocation != null) {
1161 _json["bidderLocation"] = bidderLocation.map((value) => (value).toJson()). toList(); 1161 _json["bidderLocation"] = bidderLocation.map((value) => (value).toJson()). toList();
1162 } 1162 }
1163 if (cookieMatchingNid != null) { 1163 if (cookieMatchingNid != null) {
1164 _json["cookieMatchingNid"] = cookieMatchingNid; 1164 _json["cookieMatchingNid"] = cookieMatchingNid;
1165 } 1165 }
1166 if (cookieMatchingUrl != null) { 1166 if (cookieMatchingUrl != null) {
1167 _json["cookieMatchingUrl"] = cookieMatchingUrl; 1167 _json["cookieMatchingUrl"] = cookieMatchingUrl;
1168 } 1168 }
1169 if (id != null) { 1169 if (id != null) {
(...skipping 29 matching lines...) Expand all
1199 1199
1200 AccountsList.fromJson(core.Map _json) { 1200 AccountsList.fromJson(core.Map _json) {
1201 if (_json.containsKey("items")) { 1201 if (_json.containsKey("items")) {
1202 items = _json["items"].map((value) => new Account.fromJson(value)).toList( ); 1202 items = _json["items"].map((value) => new Account.fromJson(value)).toList( );
1203 } 1203 }
1204 if (_json.containsKey("kind")) { 1204 if (_json.containsKey("kind")) {
1205 kind = _json["kind"]; 1205 kind = _json["kind"];
1206 } 1206 }
1207 } 1207 }
1208 1208
1209 core.Map toJson() { 1209 core.Map<core.String, core.Object> toJson() {
1210 var _json = new core.Map(); 1210 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1211 if (items != null) { 1211 if (items != null) {
1212 _json["items"] = items.map((value) => (value).toJson()).toList(); 1212 _json["items"] = items.map((value) => (value).toJson()).toList();
1213 } 1213 }
1214 if (kind != null) { 1214 if (kind != null) {
1215 _json["kind"] = kind; 1215 _json["kind"] = kind;
1216 } 1216 }
1217 return _json; 1217 return _json;
1218 } 1218 }
1219 } 1219 }
1220 1220
(...skipping 22 matching lines...) Expand all
1243 accountName = _json["accountName"]; 1243 accountName = _json["accountName"];
1244 } 1244 }
1245 if (_json.containsKey("billingId")) { 1245 if (_json.containsKey("billingId")) {
1246 billingId = _json["billingId"]; 1246 billingId = _json["billingId"];
1247 } 1247 }
1248 if (_json.containsKey("kind")) { 1248 if (_json.containsKey("kind")) {
1249 kind = _json["kind"]; 1249 kind = _json["kind"];
1250 } 1250 }
1251 } 1251 }
1252 1252
1253 core.Map toJson() { 1253 core.Map<core.String, core.Object> toJson() {
1254 var _json = new core.Map(); 1254 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1255 if (accountId != null) { 1255 if (accountId != null) {
1256 _json["accountId"] = accountId; 1256 _json["accountId"] = accountId;
1257 } 1257 }
1258 if (accountName != null) { 1258 if (accountName != null) {
1259 _json["accountName"] = accountName; 1259 _json["accountName"] = accountName;
1260 } 1260 }
1261 if (billingId != null) { 1261 if (billingId != null) {
1262 _json["billingId"] = billingId; 1262 _json["billingId"] = billingId;
1263 } 1263 }
1264 if (kind != null) { 1264 if (kind != null) {
(...skipping 17 matching lines...) Expand all
1282 1282
1283 BillingInfoList.fromJson(core.Map _json) { 1283 BillingInfoList.fromJson(core.Map _json) {
1284 if (_json.containsKey("items")) { 1284 if (_json.containsKey("items")) {
1285 items = _json["items"].map((value) => new BillingInfo.fromJson(value)).toL ist(); 1285 items = _json["items"].map((value) => new BillingInfo.fromJson(value)).toL ist();
1286 } 1286 }
1287 if (_json.containsKey("kind")) { 1287 if (_json.containsKey("kind")) {
1288 kind = _json["kind"]; 1288 kind = _json["kind"];
1289 } 1289 }
1290 } 1290 }
1291 1291
1292 core.Map toJson() { 1292 core.Map<core.String, core.Object> toJson() {
1293 var _json = new core.Map(); 1293 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1294 if (items != null) { 1294 if (items != null) {
1295 _json["items"] = items.map((value) => (value).toJson()).toList(); 1295 _json["items"] = items.map((value) => (value).toJson()).toList();
1296 } 1296 }
1297 if (kind != null) { 1297 if (kind != null) {
1298 _json["kind"] = kind; 1298 _json["kind"] = kind;
1299 } 1299 }
1300 return _json; 1300 return _json;
1301 } 1301 }
1302 } 1302 }
1303 1303
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 currencyCode = _json["currencyCode"]; 1338 currencyCode = _json["currencyCode"];
1339 } 1339 }
1340 if (_json.containsKey("id")) { 1340 if (_json.containsKey("id")) {
1341 id = _json["id"]; 1341 id = _json["id"];
1342 } 1342 }
1343 if (_json.containsKey("kind")) { 1343 if (_json.containsKey("kind")) {
1344 kind = _json["kind"]; 1344 kind = _json["kind"];
1345 } 1345 }
1346 } 1346 }
1347 1347
1348 core.Map toJson() { 1348 core.Map<core.String, core.Object> toJson() {
1349 var _json = new core.Map(); 1349 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1350 if (accountId != null) { 1350 if (accountId != null) {
1351 _json["accountId"] = accountId; 1351 _json["accountId"] = accountId;
1352 } 1352 }
1353 if (billingId != null) { 1353 if (billingId != null) {
1354 _json["billingId"] = billingId; 1354 _json["billingId"] = billingId;
1355 } 1355 }
1356 if (budgetAmount != null) { 1356 if (budgetAmount != null) {
1357 _json["budgetAmount"] = budgetAmount; 1357 _json["budgetAmount"] = budgetAmount;
1358 } 1358 }
1359 if (currencyCode != null) { 1359 if (currencyCode != null) {
(...skipping 19 matching lines...) Expand all
1379 1379
1380 CreativeCorrections.fromJson(core.Map _json) { 1380 CreativeCorrections.fromJson(core.Map _json) {
1381 if (_json.containsKey("details")) { 1381 if (_json.containsKey("details")) {
1382 details = _json["details"]; 1382 details = _json["details"];
1383 } 1383 }
1384 if (_json.containsKey("reason")) { 1384 if (_json.containsKey("reason")) {
1385 reason = _json["reason"]; 1385 reason = _json["reason"];
1386 } 1386 }
1387 } 1387 }
1388 1388
1389 core.Map toJson() { 1389 core.Map<core.String, core.Object> toJson() {
1390 var _json = new core.Map(); 1390 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1391 if (details != null) { 1391 if (details != null) {
1392 _json["details"] = details; 1392 _json["details"] = details;
1393 } 1393 }
1394 if (reason != null) { 1394 if (reason != null) {
1395 _json["reason"] = reason; 1395 _json["reason"] = reason;
1396 } 1396 }
1397 return _json; 1397 return _json;
1398 } 1398 }
1399 } 1399 }
1400 1400
1401 class CreativeDisapprovalReasons { 1401 class CreativeDisapprovalReasons {
1402 /** Additional details about the reason for disapproval. */ 1402 /** Additional details about the reason for disapproval. */
1403 core.List<core.String> details; 1403 core.List<core.String> details;
1404 /** The categorized reason for disapproval. */ 1404 /** The categorized reason for disapproval. */
1405 core.String reason; 1405 core.String reason;
1406 1406
1407 CreativeDisapprovalReasons(); 1407 CreativeDisapprovalReasons();
1408 1408
1409 CreativeDisapprovalReasons.fromJson(core.Map _json) { 1409 CreativeDisapprovalReasons.fromJson(core.Map _json) {
1410 if (_json.containsKey("details")) { 1410 if (_json.containsKey("details")) {
1411 details = _json["details"]; 1411 details = _json["details"];
1412 } 1412 }
1413 if (_json.containsKey("reason")) { 1413 if (_json.containsKey("reason")) {
1414 reason = _json["reason"]; 1414 reason = _json["reason"];
1415 } 1415 }
1416 } 1416 }
1417 1417
1418 core.Map toJson() { 1418 core.Map<core.String, core.Object> toJson() {
1419 var _json = new core.Map(); 1419 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1420 if (details != null) { 1420 if (details != null) {
1421 _json["details"] = details; 1421 _json["details"] = details;
1422 } 1422 }
1423 if (reason != null) { 1423 if (reason != null) {
1424 _json["reason"] = reason; 1424 _json["reason"] = reason;
1425 } 1425 }
1426 return _json; 1426 return _json;
1427 } 1427 }
1428 } 1428 }
1429 1429
(...skipping 13 matching lines...) Expand all
1443 1443
1444 CreativeFilteringReasonsReasons.fromJson(core.Map _json) { 1444 CreativeFilteringReasonsReasons.fromJson(core.Map _json) {
1445 if (_json.containsKey("filteringCount")) { 1445 if (_json.containsKey("filteringCount")) {
1446 filteringCount = _json["filteringCount"]; 1446 filteringCount = _json["filteringCount"];
1447 } 1447 }
1448 if (_json.containsKey("filteringStatus")) { 1448 if (_json.containsKey("filteringStatus")) {
1449 filteringStatus = _json["filteringStatus"]; 1449 filteringStatus = _json["filteringStatus"];
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 (filteringCount != null) { 1455 if (filteringCount != null) {
1456 _json["filteringCount"] = filteringCount; 1456 _json["filteringCount"] = filteringCount;
1457 } 1457 }
1458 if (filteringStatus != null) { 1458 if (filteringStatus != null) {
1459 _json["filteringStatus"] = filteringStatus; 1459 _json["filteringStatus"] = filteringStatus;
1460 } 1460 }
1461 return _json; 1461 return _json;
1462 } 1462 }
1463 } 1463 }
1464 1464
(...skipping 14 matching lines...) Expand all
1479 1479
1480 CreativeFilteringReasons.fromJson(core.Map _json) { 1480 CreativeFilteringReasons.fromJson(core.Map _json) {
1481 if (_json.containsKey("date")) { 1481 if (_json.containsKey("date")) {
1482 date = _json["date"]; 1482 date = _json["date"];
1483 } 1483 }
1484 if (_json.containsKey("reasons")) { 1484 if (_json.containsKey("reasons")) {
1485 reasons = _json["reasons"].map((value) => new CreativeFilteringReasonsReas ons.fromJson(value)).toList(); 1485 reasons = _json["reasons"].map((value) => new CreativeFilteringReasonsReas ons.fromJson(value)).toList();
1486 } 1486 }
1487 } 1487 }
1488 1488
1489 core.Map toJson() { 1489 core.Map<core.String, core.Object> toJson() {
1490 var _json = new core.Map(); 1490 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1491 if (date != null) { 1491 if (date != null) {
1492 _json["date"] = date; 1492 _json["date"] = date;
1493 } 1493 }
1494 if (reasons != null) { 1494 if (reasons != null) {
1495 _json["reasons"] = reasons.map((value) => (value).toJson()).toList(); 1495 _json["reasons"] = reasons.map((value) => (value).toJson()).toList();
1496 } 1496 }
1497 return _json; 1497 return _json;
1498 } 1498 }
1499 } 1499 }
1500 1500
(...skipping 10 matching lines...) Expand all
1511 height = _json["height"]; 1511 height = _json["height"];
1512 } 1512 }
1513 if (_json.containsKey("url")) { 1513 if (_json.containsKey("url")) {
1514 url = _json["url"]; 1514 url = _json["url"];
1515 } 1515 }
1516 if (_json.containsKey("width")) { 1516 if (_json.containsKey("width")) {
1517 width = _json["width"]; 1517 width = _json["width"];
1518 } 1518 }
1519 } 1519 }
1520 1520
1521 core.Map toJson() { 1521 core.Map<core.String, core.Object> toJson() {
1522 var _json = new core.Map(); 1522 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1523 if (height != null) { 1523 if (height != null) {
1524 _json["height"] = height; 1524 _json["height"] = height;
1525 } 1525 }
1526 if (url != null) { 1526 if (url != null) {
1527 _json["url"] = url; 1527 _json["url"] = url;
1528 } 1528 }
1529 if (width != null) { 1529 if (width != null) {
1530 _json["width"] = width; 1530 _json["width"] = width;
1531 } 1531 }
1532 return _json; 1532 return _json;
(...skipping 13 matching lines...) Expand all
1546 height = _json["height"]; 1546 height = _json["height"];
1547 } 1547 }
1548 if (_json.containsKey("url")) { 1548 if (_json.containsKey("url")) {
1549 url = _json["url"]; 1549 url = _json["url"];
1550 } 1550 }
1551 if (_json.containsKey("width")) { 1551 if (_json.containsKey("width")) {
1552 width = _json["width"]; 1552 width = _json["width"];
1553 } 1553 }
1554 } 1554 }
1555 1555
1556 core.Map toJson() { 1556 core.Map<core.String, core.Object> toJson() {
1557 var _json = new core.Map(); 1557 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1558 if (height != null) { 1558 if (height != null) {
1559 _json["height"] = height; 1559 _json["height"] = height;
1560 } 1560 }
1561 if (url != null) { 1561 if (url != null) {
1562 _json["url"] = url; 1562 _json["url"] = url;
1563 } 1563 }
1564 if (width != null) { 1564 if (width != null) {
1565 _json["width"] = width; 1565 _json["width"] = width;
1566 } 1566 }
1567 return _json; 1567 return _json;
(...skipping 13 matching lines...) Expand all
1581 height = _json["height"]; 1581 height = _json["height"];
1582 } 1582 }
1583 if (_json.containsKey("url")) { 1583 if (_json.containsKey("url")) {
1584 url = _json["url"]; 1584 url = _json["url"];
1585 } 1585 }
1586 if (_json.containsKey("width")) { 1586 if (_json.containsKey("width")) {
1587 width = _json["width"]; 1587 width = _json["width"];
1588 } 1588 }
1589 } 1589 }
1590 1590
1591 core.Map toJson() { 1591 core.Map<core.String, core.Object> toJson() {
1592 var _json = new core.Map(); 1592 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1593 if (height != null) { 1593 if (height != null) {
1594 _json["height"] = height; 1594 _json["height"] = height;
1595 } 1595 }
1596 if (url != null) { 1596 if (url != null) {
1597 _json["url"] = url; 1597 _json["url"] = url;
1598 } 1598 }
1599 if (width != null) { 1599 if (width != null) {
1600 _json["width"] = width; 1600 _json["width"] = width;
1601 } 1601 }
1602 return _json; 1602 return _json;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 price = _json["price"]; 1663 price = _json["price"];
1664 } 1664 }
1665 if (_json.containsKey("starRating")) { 1665 if (_json.containsKey("starRating")) {
1666 starRating = _json["starRating"]; 1666 starRating = _json["starRating"];
1667 } 1667 }
1668 if (_json.containsKey("store")) { 1668 if (_json.containsKey("store")) {
1669 store = _json["store"]; 1669 store = _json["store"];
1670 } 1670 }
1671 } 1671 }
1672 1672
1673 core.Map toJson() { 1673 core.Map<core.String, core.Object> toJson() {
1674 var _json = new core.Map(); 1674 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1675 if (advertiser != null) { 1675 if (advertiser != null) {
1676 _json["advertiser"] = advertiser; 1676 _json["advertiser"] = advertiser;
1677 } 1677 }
1678 if (appIcon != null) { 1678 if (appIcon != null) {
1679 _json["appIcon"] = (appIcon).toJson(); 1679 _json["appIcon"] = (appIcon).toJson();
1680 } 1680 }
1681 if (body != null) { 1681 if (body != null) {
1682 _json["body"] = body; 1682 _json["body"] = body;
1683 } 1683 }
1684 if (callToAction != null) { 1684 if (callToAction != null) {
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 version = _json["version"]; 1872 version = _json["version"];
1873 } 1873 }
1874 if (_json.containsKey("videoURL")) { 1874 if (_json.containsKey("videoURL")) {
1875 videoURL = _json["videoURL"]; 1875 videoURL = _json["videoURL"];
1876 } 1876 }
1877 if (_json.containsKey("width")) { 1877 if (_json.containsKey("width")) {
1878 width = _json["width"]; 1878 width = _json["width"];
1879 } 1879 }
1880 } 1880 }
1881 1881
1882 core.Map toJson() { 1882 core.Map<core.String, core.Object> toJson() {
1883 var _json = new core.Map(); 1883 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1884 if (HTMLSnippet != null) { 1884 if (HTMLSnippet != null) {
1885 _json["HTMLSnippet"] = HTMLSnippet; 1885 _json["HTMLSnippet"] = HTMLSnippet;
1886 } 1886 }
1887 if (accountId != null) { 1887 if (accountId != null) {
1888 _json["accountId"] = accountId; 1888 _json["accountId"] = accountId;
1889 } 1889 }
1890 if (advertiserId != null) { 1890 if (advertiserId != null) {
1891 _json["advertiserId"] = advertiserId; 1891 _json["advertiserId"] = advertiserId;
1892 } 1892 }
1893 if (advertiserName != null) { 1893 if (advertiserName != null) {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1980 items = _json["items"].map((value) => new Creative.fromJson(value)).toList (); 1980 items = _json["items"].map((value) => new Creative.fromJson(value)).toList ();
1981 } 1981 }
1982 if (_json.containsKey("kind")) { 1982 if (_json.containsKey("kind")) {
1983 kind = _json["kind"]; 1983 kind = _json["kind"];
1984 } 1984 }
1985 if (_json.containsKey("nextPageToken")) { 1985 if (_json.containsKey("nextPageToken")) {
1986 nextPageToken = _json["nextPageToken"]; 1986 nextPageToken = _json["nextPageToken"];
1987 } 1987 }
1988 } 1988 }
1989 1989
1990 core.Map toJson() { 1990 core.Map<core.String, core.Object> toJson() {
1991 var _json = new core.Map(); 1991 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1992 if (items != null) { 1992 if (items != null) {
1993 _json["items"] = items.map((value) => (value).toJson()).toList(); 1993 _json["items"] = items.map((value) => (value).toJson()).toList();
1994 } 1994 }
1995 if (kind != null) { 1995 if (kind != null) {
1996 _json["kind"] = kind; 1996 _json["kind"] = kind;
1997 } 1997 }
1998 if (nextPageToken != null) { 1998 if (nextPageToken != null) {
1999 _json["nextPageToken"] = nextPageToken; 1999 _json["nextPageToken"] = nextPageToken;
2000 } 2000 }
2001 return _json; 2001 return _json;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
2105 publisherBlocksOverriden = _json["publisherBlocksOverriden"]; 2105 publisherBlocksOverriden = _json["publisherBlocksOverriden"];
2106 } 2106 }
2107 if (_json.containsKey("sellerNetwork")) { 2107 if (_json.containsKey("sellerNetwork")) {
2108 sellerNetwork = _json["sellerNetwork"]; 2108 sellerNetwork = _json["sellerNetwork"];
2109 } 2109 }
2110 if (_json.containsKey("startTime")) { 2110 if (_json.containsKey("startTime")) {
2111 startTime = _json["startTime"]; 2111 startTime = _json["startTime"];
2112 } 2112 }
2113 } 2113 }
2114 2114
2115 core.Map toJson() { 2115 core.Map<core.String, core.Object> toJson() {
2116 var _json = new core.Map(); 2116 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2117 if (accountId != null) { 2117 if (accountId != null) {
2118 _json["accountId"] = accountId; 2118 _json["accountId"] = accountId;
2119 } 2119 }
2120 if (advertiser != null) { 2120 if (advertiser != null) {
2121 _json["advertiser"] = advertiser; 2121 _json["advertiser"] = advertiser;
2122 } 2122 }
2123 if (allowsAlcohol != null) { 2123 if (allowsAlcohol != null) {
2124 _json["allowsAlcohol"] = allowsAlcohol; 2124 _json["allowsAlcohol"] = allowsAlcohol;
2125 } 2125 }
2126 if (buyerAccountId != null) { 2126 if (buyerAccountId != null) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
2178 2178
2179 DirectDealsList.fromJson(core.Map _json) { 2179 DirectDealsList.fromJson(core.Map _json) {
2180 if (_json.containsKey("directDeals")) { 2180 if (_json.containsKey("directDeals")) {
2181 directDeals = _json["directDeals"].map((value) => new DirectDeal.fromJson( value)).toList(); 2181 directDeals = _json["directDeals"].map((value) => new DirectDeal.fromJson( value)).toList();
2182 } 2182 }
2183 if (_json.containsKey("kind")) { 2183 if (_json.containsKey("kind")) {
2184 kind = _json["kind"]; 2184 kind = _json["kind"];
2185 } 2185 }
2186 } 2186 }
2187 2187
2188 core.Map toJson() { 2188 core.Map<core.String, core.Object> toJson() {
2189 var _json = new core.Map(); 2189 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2190 if (directDeals != null) { 2190 if (directDeals != null) {
2191 _json["directDeals"] = directDeals.map((value) => (value).toJson()).toList (); 2191 _json["directDeals"] = directDeals.map((value) => (value).toJson()).toList ();
2192 } 2192 }
2193 if (kind != null) { 2193 if (kind != null) {
2194 _json["kind"] = kind; 2194 _json["kind"] = kind;
2195 } 2195 }
2196 return _json; 2196 return _json;
2197 } 2197 }
2198 } 2198 }
2199 2199
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 successfulRequestRate = _json["successfulRequestRate"]; 2348 successfulRequestRate = _json["successfulRequestRate"];
2349 } 2349 }
2350 if (_json.containsKey("timestamp")) { 2350 if (_json.containsKey("timestamp")) {
2351 timestamp = _json["timestamp"]; 2351 timestamp = _json["timestamp"];
2352 } 2352 }
2353 if (_json.containsKey("unsuccessfulRequestRate")) { 2353 if (_json.containsKey("unsuccessfulRequestRate")) {
2354 unsuccessfulRequestRate = _json["unsuccessfulRequestRate"]; 2354 unsuccessfulRequestRate = _json["unsuccessfulRequestRate"];
2355 } 2355 }
2356 } 2356 }
2357 2357
2358 core.Map toJson() { 2358 core.Map<core.String, core.Object> toJson() {
2359 var _json = new core.Map(); 2359 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2360 if (bidRate != null) { 2360 if (bidRate != null) {
2361 _json["bidRate"] = bidRate; 2361 _json["bidRate"] = bidRate;
2362 } 2362 }
2363 if (bidRequestRate != null) { 2363 if (bidRequestRate != null) {
2364 _json["bidRequestRate"] = bidRequestRate; 2364 _json["bidRequestRate"] = bidRequestRate;
2365 } 2365 }
2366 if (calloutStatusRate != null) { 2366 if (calloutStatusRate != null) {
2367 _json["calloutStatusRate"] = calloutStatusRate; 2367 _json["calloutStatusRate"] = calloutStatusRate;
2368 } 2368 }
2369 if (cookieMatcherStatusRate != null) { 2369 if (cookieMatcherStatusRate != null) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
2438 2438
2439 PerformanceReportList.fromJson(core.Map _json) { 2439 PerformanceReportList.fromJson(core.Map _json) {
2440 if (_json.containsKey("kind")) { 2440 if (_json.containsKey("kind")) {
2441 kind = _json["kind"]; 2441 kind = _json["kind"];
2442 } 2442 }
2443 if (_json.containsKey("performanceReport")) { 2443 if (_json.containsKey("performanceReport")) {
2444 performanceReport = _json["performanceReport"].map((value) => new Performa nceReport.fromJson(value)).toList(); 2444 performanceReport = _json["performanceReport"].map((value) => new Performa nceReport.fromJson(value)).toList();
2445 } 2445 }
2446 } 2446 }
2447 2447
2448 core.Map toJson() { 2448 core.Map<core.String, core.Object> toJson() {
2449 var _json = new core.Map(); 2449 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2450 if (kind != null) { 2450 if (kind != null) {
2451 _json["kind"] = kind; 2451 _json["kind"] = kind;
2452 } 2452 }
2453 if (performanceReport != null) { 2453 if (performanceReport != null) {
2454 _json["performanceReport"] = performanceReport.map((value) => (value).toJs on()).toList(); 2454 _json["performanceReport"] = performanceReport.map((value) => (value).toJs on()).toList();
2455 } 2455 }
2456 return _json; 2456 return _json;
2457 } 2457 }
2458 } 2458 }
2459 2459
2460 class PretargetingConfigDimensions { 2460 class PretargetingConfigDimensions {
2461 /** Height in pixels. */ 2461 /** Height in pixels. */
2462 core.String height; 2462 core.String height;
2463 /** Width in pixels. */ 2463 /** Width in pixels. */
2464 core.String width; 2464 core.String width;
2465 2465
2466 PretargetingConfigDimensions(); 2466 PretargetingConfigDimensions();
2467 2467
2468 PretargetingConfigDimensions.fromJson(core.Map _json) { 2468 PretargetingConfigDimensions.fromJson(core.Map _json) {
2469 if (_json.containsKey("height")) { 2469 if (_json.containsKey("height")) {
2470 height = _json["height"]; 2470 height = _json["height"];
2471 } 2471 }
2472 if (_json.containsKey("width")) { 2472 if (_json.containsKey("width")) {
2473 width = _json["width"]; 2473 width = _json["width"];
2474 } 2474 }
2475 } 2475 }
2476 2476
2477 core.Map toJson() { 2477 core.Map<core.String, core.Object> toJson() {
2478 var _json = new core.Map(); 2478 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2479 if (height != null) { 2479 if (height != null) {
2480 _json["height"] = height; 2480 _json["height"] = height;
2481 } 2481 }
2482 if (width != null) { 2482 if (width != null) {
2483 _json["width"] = width; 2483 _json["width"] = width;
2484 } 2484 }
2485 return _json; 2485 return _json;
2486 } 2486 }
2487 } 2487 }
2488 2488
(...skipping 11 matching lines...) Expand all
2500 2500
2501 PretargetingConfigExcludedPlacements.fromJson(core.Map _json) { 2501 PretargetingConfigExcludedPlacements.fromJson(core.Map _json) {
2502 if (_json.containsKey("token")) { 2502 if (_json.containsKey("token")) {
2503 token = _json["token"]; 2503 token = _json["token"];
2504 } 2504 }
2505 if (_json.containsKey("type")) { 2505 if (_json.containsKey("type")) {
2506 type = _json["type"]; 2506 type = _json["type"];
2507 } 2507 }
2508 } 2508 }
2509 2509
2510 core.Map toJson() { 2510 core.Map<core.String, core.Object> toJson() {
2511 var _json = new core.Map(); 2511 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2512 if (token != null) { 2512 if (token != null) {
2513 _json["token"] = token; 2513 _json["token"] = token;
2514 } 2514 }
2515 if (type != null) { 2515 if (type != null) {
2516 _json["type"] = type; 2516 _json["type"] = type;
2517 } 2517 }
2518 return _json; 2518 return _json;
2519 } 2519 }
2520 } 2520 }
2521 2521
(...skipping 11 matching lines...) Expand all
2533 2533
2534 PretargetingConfigPlacements.fromJson(core.Map _json) { 2534 PretargetingConfigPlacements.fromJson(core.Map _json) {
2535 if (_json.containsKey("token")) { 2535 if (_json.containsKey("token")) {
2536 token = _json["token"]; 2536 token = _json["token"];
2537 } 2537 }
2538 if (_json.containsKey("type")) { 2538 if (_json.containsKey("type")) {
2539 type = _json["type"]; 2539 type = _json["type"];
2540 } 2540 }
2541 } 2541 }
2542 2542
2543 core.Map toJson() { 2543 core.Map<core.String, core.Object> toJson() {
2544 var _json = new core.Map(); 2544 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2545 if (token != null) { 2545 if (token != null) {
2546 _json["token"] = token; 2546 _json["token"] = token;
2547 } 2547 }
2548 if (type != null) { 2548 if (type != null) {
2549 _json["type"] = type; 2549 _json["type"] = type;
2550 } 2550 }
2551 return _json; 2551 return _json;
2552 } 2552 }
2553 } 2553 }
2554 2554
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
2706 userLists = _json["userLists"]; 2706 userLists = _json["userLists"];
2707 } 2707 }
2708 if (_json.containsKey("vendorTypes")) { 2708 if (_json.containsKey("vendorTypes")) {
2709 vendorTypes = _json["vendorTypes"]; 2709 vendorTypes = _json["vendorTypes"];
2710 } 2710 }
2711 if (_json.containsKey("verticals")) { 2711 if (_json.containsKey("verticals")) {
2712 verticals = _json["verticals"]; 2712 verticals = _json["verticals"];
2713 } 2713 }
2714 } 2714 }
2715 2715
2716 core.Map toJson() { 2716 core.Map<core.String, core.Object> toJson() {
2717 var _json = new core.Map(); 2717 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2718 if (billingId != null) { 2718 if (billingId != null) {
2719 _json["billingId"] = billingId; 2719 _json["billingId"] = billingId;
2720 } 2720 }
2721 if (configId != null) { 2721 if (configId != null) {
2722 _json["configId"] = configId; 2722 _json["configId"] = configId;
2723 } 2723 }
2724 if (configName != null) { 2724 if (configName != null) {
2725 _json["configName"] = configName; 2725 _json["configName"] = configName;
2726 } 2726 }
2727 if (creativeType != null) { 2727 if (creativeType != null) {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
2798 2798
2799 PretargetingConfigList.fromJson(core.Map _json) { 2799 PretargetingConfigList.fromJson(core.Map _json) {
2800 if (_json.containsKey("items")) { 2800 if (_json.containsKey("items")) {
2801 items = _json["items"].map((value) => new PretargetingConfig.fromJson(valu e)).toList(); 2801 items = _json["items"].map((value) => new PretargetingConfig.fromJson(valu e)).toList();
2802 } 2802 }
2803 if (_json.containsKey("kind")) { 2803 if (_json.containsKey("kind")) {
2804 kind = _json["kind"]; 2804 kind = _json["kind"];
2805 } 2805 }
2806 } 2806 }
2807 2807
2808 core.Map toJson() { 2808 core.Map<core.String, core.Object> toJson() {
2809 var _json = new core.Map(); 2809 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2810 if (items != null) { 2810 if (items != null) {
2811 _json["items"] = items.map((value) => (value).toJson()).toList(); 2811 _json["items"] = items.map((value) => (value).toJson()).toList();
2812 } 2812 }
2813 if (kind != null) { 2813 if (kind != null) {
2814 _json["kind"] = kind; 2814 _json["kind"] = kind;
2815 } 2815 }
2816 return _json; 2816 return _json;
2817 } 2817 }
2818 } 2818 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/acceleratedmobilepageurl/v1.dart ('k') | generated/googleapis/lib/adexchangebuyer/v1_4.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698