| 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.doubleclicksearch.v2; | 3 library googleapis.doubleclicksearch.v2; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
| 7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
| 8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
| 9 | 9 |
| 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 segmentationId = _json["segmentationId"]; | 624 segmentationId = _json["segmentationId"]; |
| 625 } | 625 } |
| 626 if (_json.containsKey("segmentationName")) { | 626 if (_json.containsKey("segmentationName")) { |
| 627 segmentationName = _json["segmentationName"]; | 627 segmentationName = _json["segmentationName"]; |
| 628 } | 628 } |
| 629 if (_json.containsKey("segmentationType")) { | 629 if (_json.containsKey("segmentationType")) { |
| 630 segmentationType = _json["segmentationType"]; | 630 segmentationType = _json["segmentationType"]; |
| 631 } | 631 } |
| 632 } | 632 } |
| 633 | 633 |
| 634 core.Map toJson() { | 634 core.Map<core.String, core.Object> toJson() { |
| 635 var _json = new core.Map(); | 635 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 636 if (advertiserId != null) { | 636 if (advertiserId != null) { |
| 637 _json["advertiserId"] = advertiserId; | 637 _json["advertiserId"] = advertiserId; |
| 638 } | 638 } |
| 639 if (agencyId != null) { | 639 if (agencyId != null) { |
| 640 _json["agencyId"] = agencyId; | 640 _json["agencyId"] = agencyId; |
| 641 } | 641 } |
| 642 if (availabilityTimestamp != null) { | 642 if (availabilityTimestamp != null) { |
| 643 _json["availabilityTimestamp"] = availabilityTimestamp; | 643 _json["availabilityTimestamp"] = availabilityTimestamp; |
| 644 } | 644 } |
| 645 if (segmentationId != null) { | 645 if (segmentationId != null) { |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 state = _json["state"]; | 877 state = _json["state"]; |
| 878 } | 878 } |
| 879 if (_json.containsKey("storeId")) { | 879 if (_json.containsKey("storeId")) { |
| 880 storeId = _json["storeId"]; | 880 storeId = _json["storeId"]; |
| 881 } | 881 } |
| 882 if (_json.containsKey("type")) { | 882 if (_json.containsKey("type")) { |
| 883 type = _json["type"]; | 883 type = _json["type"]; |
| 884 } | 884 } |
| 885 } | 885 } |
| 886 | 886 |
| 887 core.Map toJson() { | 887 core.Map<core.String, core.Object> toJson() { |
| 888 var _json = new core.Map(); | 888 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 889 if (adGroupId != null) { | 889 if (adGroupId != null) { |
| 890 _json["adGroupId"] = adGroupId; | 890 _json["adGroupId"] = adGroupId; |
| 891 } | 891 } |
| 892 if (adId != null) { | 892 if (adId != null) { |
| 893 _json["adId"] = adId; | 893 _json["adId"] = adId; |
| 894 } | 894 } |
| 895 if (advertiserId != null) { | 895 if (advertiserId != null) { |
| 896 _json["advertiserId"] = advertiserId; | 896 _json["advertiserId"] = advertiserId; |
| 897 } | 897 } |
| 898 if (agencyId != null) { | 898 if (agencyId != null) { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1003 | 1003 |
| 1004 ConversionList.fromJson(core.Map _json) { | 1004 ConversionList.fromJson(core.Map _json) { |
| 1005 if (_json.containsKey("conversion")) { | 1005 if (_json.containsKey("conversion")) { |
| 1006 conversion = _json["conversion"].map((value) => new Conversion.fromJson(va
lue)).toList(); | 1006 conversion = _json["conversion"].map((value) => new Conversion.fromJson(va
lue)).toList(); |
| 1007 } | 1007 } |
| 1008 if (_json.containsKey("kind")) { | 1008 if (_json.containsKey("kind")) { |
| 1009 kind = _json["kind"]; | 1009 kind = _json["kind"]; |
| 1010 } | 1010 } |
| 1011 } | 1011 } |
| 1012 | 1012 |
| 1013 core.Map toJson() { | 1013 core.Map<core.String, core.Object> toJson() { |
| 1014 var _json = new core.Map(); | 1014 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1015 if (conversion != null) { | 1015 if (conversion != null) { |
| 1016 _json["conversion"] = conversion.map((value) => (value).toJson()).toList()
; | 1016 _json["conversion"] = conversion.map((value) => (value).toJson()).toList()
; |
| 1017 } | 1017 } |
| 1018 if (kind != null) { | 1018 if (kind != null) { |
| 1019 _json["kind"] = kind; | 1019 _json["kind"] = kind; |
| 1020 } | 1020 } |
| 1021 return _json; | 1021 return _json; |
| 1022 } | 1022 } |
| 1023 } | 1023 } |
| 1024 | 1024 |
| 1025 /** A message containing the custome dimension. */ | 1025 /** A message containing the custome dimension. */ |
| 1026 class CustomDimension { | 1026 class CustomDimension { |
| 1027 /** Custom dimension name. */ | 1027 /** Custom dimension name. */ |
| 1028 core.String name; | 1028 core.String name; |
| 1029 /** Custom dimension value. */ | 1029 /** Custom dimension value. */ |
| 1030 core.String value; | 1030 core.String value; |
| 1031 | 1031 |
| 1032 CustomDimension(); | 1032 CustomDimension(); |
| 1033 | 1033 |
| 1034 CustomDimension.fromJson(core.Map _json) { | 1034 CustomDimension.fromJson(core.Map _json) { |
| 1035 if (_json.containsKey("name")) { | 1035 if (_json.containsKey("name")) { |
| 1036 name = _json["name"]; | 1036 name = _json["name"]; |
| 1037 } | 1037 } |
| 1038 if (_json.containsKey("value")) { | 1038 if (_json.containsKey("value")) { |
| 1039 value = _json["value"]; | 1039 value = _json["value"]; |
| 1040 } | 1040 } |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 core.Map toJson() { | 1043 core.Map<core.String, core.Object> toJson() { |
| 1044 var _json = new core.Map(); | 1044 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1045 if (name != null) { | 1045 if (name != null) { |
| 1046 _json["name"] = name; | 1046 _json["name"] = name; |
| 1047 } | 1047 } |
| 1048 if (value != null) { | 1048 if (value != null) { |
| 1049 _json["value"] = value; | 1049 _json["value"] = value; |
| 1050 } | 1050 } |
| 1051 return _json; | 1051 return _json; |
| 1052 } | 1052 } |
| 1053 } | 1053 } |
| 1054 | 1054 |
| 1055 /** A message containing the custome metric. */ | 1055 /** A message containing the custome metric. */ |
| 1056 class CustomMetric { | 1056 class CustomMetric { |
| 1057 /** Custom metric name. */ | 1057 /** Custom metric name. */ |
| 1058 core.String name; | 1058 core.String name; |
| 1059 /** Custom metric numeric value. */ | 1059 /** Custom metric numeric value. */ |
| 1060 core.double value; | 1060 core.double value; |
| 1061 | 1061 |
| 1062 CustomMetric(); | 1062 CustomMetric(); |
| 1063 | 1063 |
| 1064 CustomMetric.fromJson(core.Map _json) { | 1064 CustomMetric.fromJson(core.Map _json) { |
| 1065 if (_json.containsKey("name")) { | 1065 if (_json.containsKey("name")) { |
| 1066 name = _json["name"]; | 1066 name = _json["name"]; |
| 1067 } | 1067 } |
| 1068 if (_json.containsKey("value")) { | 1068 if (_json.containsKey("value")) { |
| 1069 value = _json["value"]; | 1069 value = _json["value"]; |
| 1070 } | 1070 } |
| 1071 } | 1071 } |
| 1072 | 1072 |
| 1073 core.Map toJson() { | 1073 core.Map<core.String, core.Object> toJson() { |
| 1074 var _json = new core.Map(); | 1074 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1075 if (name != null) { | 1075 if (name != null) { |
| 1076 _json["name"] = name; | 1076 _json["name"] = name; |
| 1077 } | 1077 } |
| 1078 if (value != null) { | 1078 if (value != null) { |
| 1079 _json["value"] = value; | 1079 _json["value"] = value; |
| 1080 } | 1080 } |
| 1081 return _json; | 1081 return _json; |
| 1082 } | 1082 } |
| 1083 } | 1083 } |
| 1084 | 1084 |
| 1085 class ReportFiles { | 1085 class ReportFiles { |
| 1086 /** The size of this report file in bytes. */ | 1086 /** The size of this report file in bytes. */ |
| 1087 core.String byteCount; | 1087 core.String byteCount; |
| 1088 /** Use this url to download the report file. */ | 1088 /** Use this url to download the report file. */ |
| 1089 core.String url; | 1089 core.String url; |
| 1090 | 1090 |
| 1091 ReportFiles(); | 1091 ReportFiles(); |
| 1092 | 1092 |
| 1093 ReportFiles.fromJson(core.Map _json) { | 1093 ReportFiles.fromJson(core.Map _json) { |
| 1094 if (_json.containsKey("byteCount")) { | 1094 if (_json.containsKey("byteCount")) { |
| 1095 byteCount = _json["byteCount"]; | 1095 byteCount = _json["byteCount"]; |
| 1096 } | 1096 } |
| 1097 if (_json.containsKey("url")) { | 1097 if (_json.containsKey("url")) { |
| 1098 url = _json["url"]; | 1098 url = _json["url"]; |
| 1099 } | 1099 } |
| 1100 } | 1100 } |
| 1101 | 1101 |
| 1102 core.Map toJson() { | 1102 core.Map<core.String, core.Object> toJson() { |
| 1103 var _json = new core.Map(); | 1103 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1104 if (byteCount != null) { | 1104 if (byteCount != null) { |
| 1105 _json["byteCount"] = byteCount; | 1105 _json["byteCount"] = byteCount; |
| 1106 } | 1106 } |
| 1107 if (url != null) { | 1107 if (url != null) { |
| 1108 _json["url"] = url; | 1108 _json["url"] = url; |
| 1109 } | 1109 } |
| 1110 return _json; | 1110 return _json; |
| 1111 } | 1111 } |
| 1112 } | 1112 } |
| 1113 | 1113 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1183 rows = _json["rows"].map((value) => new ReportRow.fromJson(value)).toList(
); | 1183 rows = _json["rows"].map((value) => new ReportRow.fromJson(value)).toList(
); |
| 1184 } | 1184 } |
| 1185 if (_json.containsKey("statisticsCurrencyCode")) { | 1185 if (_json.containsKey("statisticsCurrencyCode")) { |
| 1186 statisticsCurrencyCode = _json["statisticsCurrencyCode"]; | 1186 statisticsCurrencyCode = _json["statisticsCurrencyCode"]; |
| 1187 } | 1187 } |
| 1188 if (_json.containsKey("statisticsTimeZone")) { | 1188 if (_json.containsKey("statisticsTimeZone")) { |
| 1189 statisticsTimeZone = _json["statisticsTimeZone"]; | 1189 statisticsTimeZone = _json["statisticsTimeZone"]; |
| 1190 } | 1190 } |
| 1191 } | 1191 } |
| 1192 | 1192 |
| 1193 core.Map toJson() { | 1193 core.Map<core.String, core.Object> toJson() { |
| 1194 var _json = new core.Map(); | 1194 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1195 if (files != null) { | 1195 if (files != null) { |
| 1196 _json["files"] = files.map((value) => (value).toJson()).toList(); | 1196 _json["files"] = files.map((value) => (value).toJson()).toList(); |
| 1197 } | 1197 } |
| 1198 if (id != null) { | 1198 if (id != null) { |
| 1199 _json["id"] = id; | 1199 _json["id"] = id; |
| 1200 } | 1200 } |
| 1201 if (isReportReady != null) { | 1201 if (isReportReady != null) { |
| 1202 _json["isReportReady"] = isReportReady; | 1202 _json["isReportReady"] = isReportReady; |
| 1203 } | 1203 } |
| 1204 if (kind != null) { | 1204 if (kind != null) { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1316 productReportPerspective = _json["productReportPerspective"]; | 1316 productReportPerspective = _json["productReportPerspective"]; |
| 1317 } | 1317 } |
| 1318 if (_json.containsKey("savedColumnName")) { | 1318 if (_json.containsKey("savedColumnName")) { |
| 1319 savedColumnName = _json["savedColumnName"]; | 1319 savedColumnName = _json["savedColumnName"]; |
| 1320 } | 1320 } |
| 1321 if (_json.containsKey("startDate")) { | 1321 if (_json.containsKey("startDate")) { |
| 1322 startDate = _json["startDate"]; | 1322 startDate = _json["startDate"]; |
| 1323 } | 1323 } |
| 1324 } | 1324 } |
| 1325 | 1325 |
| 1326 core.Map toJson() { | 1326 core.Map<core.String, core.Object> toJson() { |
| 1327 var _json = new core.Map(); | 1327 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1328 if (columnName != null) { | 1328 if (columnName != null) { |
| 1329 _json["columnName"] = columnName; | 1329 _json["columnName"] = columnName; |
| 1330 } | 1330 } |
| 1331 if (customDimensionName != null) { | 1331 if (customDimensionName != null) { |
| 1332 _json["customDimensionName"] = customDimensionName; | 1332 _json["customDimensionName"] = customDimensionName; |
| 1333 } | 1333 } |
| 1334 if (customMetricName != null) { | 1334 if (customMetricName != null) { |
| 1335 _json["customMetricName"] = customMetricName; | 1335 _json["customMetricName"] = customMetricName; |
| 1336 } | 1336 } |
| 1337 if (endDate != null) { | 1337 if (endDate != null) { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1385 column = new ReportApiColumnSpec.fromJson(_json["column"]); | 1385 column = new ReportApiColumnSpec.fromJson(_json["column"]); |
| 1386 } | 1386 } |
| 1387 if (_json.containsKey("operator")) { | 1387 if (_json.containsKey("operator")) { |
| 1388 operator = _json["operator"]; | 1388 operator = _json["operator"]; |
| 1389 } | 1389 } |
| 1390 if (_json.containsKey("values")) { | 1390 if (_json.containsKey("values")) { |
| 1391 values = _json["values"]; | 1391 values = _json["values"]; |
| 1392 } | 1392 } |
| 1393 } | 1393 } |
| 1394 | 1394 |
| 1395 core.Map toJson() { | 1395 core.Map<core.String, core.Object> toJson() { |
| 1396 var _json = new core.Map(); | 1396 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1397 if (column != null) { | 1397 if (column != null) { |
| 1398 _json["column"] = (column).toJson(); | 1398 _json["column"] = (column).toJson(); |
| 1399 } | 1399 } |
| 1400 if (operator != null) { | 1400 if (operator != null) { |
| 1401 _json["operator"] = operator; | 1401 _json["operator"] = operator; |
| 1402 } | 1402 } |
| 1403 if (values != null) { | 1403 if (values != null) { |
| 1404 _json["values"] = values; | 1404 _json["values"] = values; |
| 1405 } | 1405 } |
| 1406 return _json; | 1406 return _json; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1420 | 1420 |
| 1421 ReportRequestOrderBy.fromJson(core.Map _json) { | 1421 ReportRequestOrderBy.fromJson(core.Map _json) { |
| 1422 if (_json.containsKey("column")) { | 1422 if (_json.containsKey("column")) { |
| 1423 column = new ReportApiColumnSpec.fromJson(_json["column"]); | 1423 column = new ReportApiColumnSpec.fromJson(_json["column"]); |
| 1424 } | 1424 } |
| 1425 if (_json.containsKey("sortOrder")) { | 1425 if (_json.containsKey("sortOrder")) { |
| 1426 sortOrder = _json["sortOrder"]; | 1426 sortOrder = _json["sortOrder"]; |
| 1427 } | 1427 } |
| 1428 } | 1428 } |
| 1429 | 1429 |
| 1430 core.Map toJson() { | 1430 core.Map<core.String, core.Object> toJson() { |
| 1431 var _json = new core.Map(); | 1431 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1432 if (column != null) { | 1432 if (column != null) { |
| 1433 _json["column"] = (column).toJson(); | 1433 _json["column"] = (column).toJson(); |
| 1434 } | 1434 } |
| 1435 if (sortOrder != null) { | 1435 if (sortOrder != null) { |
| 1436 _json["sortOrder"] = sortOrder; | 1436 _json["sortOrder"] = sortOrder; |
| 1437 } | 1437 } |
| 1438 return _json; | 1438 return _json; |
| 1439 } | 1439 } |
| 1440 } | 1440 } |
| 1441 | 1441 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1479 campaignId = _json["campaignId"]; | 1479 campaignId = _json["campaignId"]; |
| 1480 } | 1480 } |
| 1481 if (_json.containsKey("engineAccountId")) { | 1481 if (_json.containsKey("engineAccountId")) { |
| 1482 engineAccountId = _json["engineAccountId"]; | 1482 engineAccountId = _json["engineAccountId"]; |
| 1483 } | 1483 } |
| 1484 if (_json.containsKey("keywordId")) { | 1484 if (_json.containsKey("keywordId")) { |
| 1485 keywordId = _json["keywordId"]; | 1485 keywordId = _json["keywordId"]; |
| 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 (adGroupId != null) { | 1491 if (adGroupId != null) { |
| 1492 _json["adGroupId"] = adGroupId; | 1492 _json["adGroupId"] = adGroupId; |
| 1493 } | 1493 } |
| 1494 if (adId != null) { | 1494 if (adId != null) { |
| 1495 _json["adId"] = adId; | 1495 _json["adId"] = adId; |
| 1496 } | 1496 } |
| 1497 if (advertiserId != null) { | 1497 if (advertiserId != null) { |
| 1498 _json["advertiserId"] = advertiserId; | 1498 _json["advertiserId"] = advertiserId; |
| 1499 } | 1499 } |
| 1500 if (agencyId != null) { | 1500 if (agencyId != null) { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1543 changedMetricsSinceTimestamp = core.DateTime.parse(_json["changedMetricsSi
nceTimestamp"]); | 1543 changedMetricsSinceTimestamp = core.DateTime.parse(_json["changedMetricsSi
nceTimestamp"]); |
| 1544 } | 1544 } |
| 1545 if (_json.containsKey("endDate")) { | 1545 if (_json.containsKey("endDate")) { |
| 1546 endDate = _json["endDate"]; | 1546 endDate = _json["endDate"]; |
| 1547 } | 1547 } |
| 1548 if (_json.containsKey("startDate")) { | 1548 if (_json.containsKey("startDate")) { |
| 1549 startDate = _json["startDate"]; | 1549 startDate = _json["startDate"]; |
| 1550 } | 1550 } |
| 1551 } | 1551 } |
| 1552 | 1552 |
| 1553 core.Map toJson() { | 1553 core.Map<core.String, core.Object> toJson() { |
| 1554 var _json = new core.Map(); | 1554 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1555 if (changedAttributesSinceTimestamp != null) { | 1555 if (changedAttributesSinceTimestamp != null) { |
| 1556 _json["changedAttributesSinceTimestamp"] = (changedAttributesSinceTimestam
p).toIso8601String(); | 1556 _json["changedAttributesSinceTimestamp"] = (changedAttributesSinceTimestam
p).toIso8601String(); |
| 1557 } | 1557 } |
| 1558 if (changedMetricsSinceTimestamp != null) { | 1558 if (changedMetricsSinceTimestamp != null) { |
| 1559 _json["changedMetricsSinceTimestamp"] = (changedMetricsSinceTimestamp).toI
so8601String(); | 1559 _json["changedMetricsSinceTimestamp"] = (changedMetricsSinceTimestamp).toI
so8601String(); |
| 1560 } | 1560 } |
| 1561 if (endDate != null) { | 1561 if (endDate != null) { |
| 1562 _json["endDate"] = endDate; | 1562 _json["endDate"] = endDate; |
| 1563 } | 1563 } |
| 1564 if (startDate != null) { | 1564 if (startDate != null) { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1688 statisticsCurrency = _json["statisticsCurrency"]; | 1688 statisticsCurrency = _json["statisticsCurrency"]; |
| 1689 } | 1689 } |
| 1690 if (_json.containsKey("timeRange")) { | 1690 if (_json.containsKey("timeRange")) { |
| 1691 timeRange = new ReportRequestTimeRange.fromJson(_json["timeRange"]); | 1691 timeRange = new ReportRequestTimeRange.fromJson(_json["timeRange"]); |
| 1692 } | 1692 } |
| 1693 if (_json.containsKey("verifySingleTimeZone")) { | 1693 if (_json.containsKey("verifySingleTimeZone")) { |
| 1694 verifySingleTimeZone = _json["verifySingleTimeZone"]; | 1694 verifySingleTimeZone = _json["verifySingleTimeZone"]; |
| 1695 } | 1695 } |
| 1696 } | 1696 } |
| 1697 | 1697 |
| 1698 core.Map toJson() { | 1698 core.Map<core.String, core.Object> toJson() { |
| 1699 var _json = new core.Map(); | 1699 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1700 if (columns != null) { | 1700 if (columns != null) { |
| 1701 _json["columns"] = columns.map((value) => (value).toJson()).toList(); | 1701 _json["columns"] = columns.map((value) => (value).toJson()).toList(); |
| 1702 } | 1702 } |
| 1703 if (downloadFormat != null) { | 1703 if (downloadFormat != null) { |
| 1704 _json["downloadFormat"] = downloadFormat; | 1704 _json["downloadFormat"] = downloadFormat; |
| 1705 } | 1705 } |
| 1706 if (filters != null) { | 1706 if (filters != null) { |
| 1707 _json["filters"] = filters.map((value) => (value).toJson()).toList(); | 1707 _json["filters"] = filters.map((value) => (value).toJson()).toList(); |
| 1708 } | 1708 } |
| 1709 if (includeDeletedEntities != null) { | 1709 if (includeDeletedEntities != null) { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1754 final core.Map _innerMap = {}; | 1754 final core.Map _innerMap = {}; |
| 1755 | 1755 |
| 1756 ReportRow(); | 1756 ReportRow(); |
| 1757 | 1757 |
| 1758 ReportRow.fromJson(core.Map _json) { | 1758 ReportRow.fromJson(core.Map _json) { |
| 1759 _json.forEach((core.String key, value) { | 1759 _json.forEach((core.String key, value) { |
| 1760 this[key] = value; | 1760 this[key] = value; |
| 1761 }); | 1761 }); |
| 1762 } | 1762 } |
| 1763 | 1763 |
| 1764 core.Map toJson() { | 1764 core.Map<core.String, core.Object> toJson() { |
| 1765 var _json = {}; | 1765 final core.Map<core.String, core.Object> _json = <core.String, core.Object>{
}; |
| 1766 this.forEach((core.String key, value) { | 1766 this.forEach((core.String key, value) { |
| 1767 _json[key] = value; | 1767 _json[key] = value; |
| 1768 }); | 1768 }); |
| 1769 return _json; | 1769 return _json; |
| 1770 } | 1770 } |
| 1771 | 1771 |
| 1772 core.Object operator [](core.Object key) | 1772 core.Object operator [](core.Object key) |
| 1773 => _innerMap[key]; | 1773 => _innerMap[key]; |
| 1774 | 1774 |
| 1775 operator []=(core.String key, core.Object value) { | 1775 operator []=(core.String key, core.Object value) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1804 kind = _json["kind"]; | 1804 kind = _json["kind"]; |
| 1805 } | 1805 } |
| 1806 if (_json.containsKey("savedColumnName")) { | 1806 if (_json.containsKey("savedColumnName")) { |
| 1807 savedColumnName = _json["savedColumnName"]; | 1807 savedColumnName = _json["savedColumnName"]; |
| 1808 } | 1808 } |
| 1809 if (_json.containsKey("type")) { | 1809 if (_json.containsKey("type")) { |
| 1810 type = _json["type"]; | 1810 type = _json["type"]; |
| 1811 } | 1811 } |
| 1812 } | 1812 } |
| 1813 | 1813 |
| 1814 core.Map toJson() { | 1814 core.Map<core.String, core.Object> toJson() { |
| 1815 var _json = new core.Map(); | 1815 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1816 if (kind != null) { | 1816 if (kind != null) { |
| 1817 _json["kind"] = kind; | 1817 _json["kind"] = kind; |
| 1818 } | 1818 } |
| 1819 if (savedColumnName != null) { | 1819 if (savedColumnName != null) { |
| 1820 _json["savedColumnName"] = savedColumnName; | 1820 _json["savedColumnName"] = savedColumnName; |
| 1821 } | 1821 } |
| 1822 if (type != null) { | 1822 if (type != null) { |
| 1823 _json["type"] = type; | 1823 _json["type"] = type; |
| 1824 } | 1824 } |
| 1825 return _json; | 1825 return _json; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1845 | 1845 |
| 1846 SavedColumnList.fromJson(core.Map _json) { | 1846 SavedColumnList.fromJson(core.Map _json) { |
| 1847 if (_json.containsKey("items")) { | 1847 if (_json.containsKey("items")) { |
| 1848 items = _json["items"].map((value) => new SavedColumn.fromJson(value)).toL
ist(); | 1848 items = _json["items"].map((value) => new SavedColumn.fromJson(value)).toL
ist(); |
| 1849 } | 1849 } |
| 1850 if (_json.containsKey("kind")) { | 1850 if (_json.containsKey("kind")) { |
| 1851 kind = _json["kind"]; | 1851 kind = _json["kind"]; |
| 1852 } | 1852 } |
| 1853 } | 1853 } |
| 1854 | 1854 |
| 1855 core.Map toJson() { | 1855 core.Map<core.String, core.Object> toJson() { |
| 1856 var _json = new core.Map(); | 1856 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1857 if (items != null) { | 1857 if (items != null) { |
| 1858 _json["items"] = items.map((value) => (value).toJson()).toList(); | 1858 _json["items"] = items.map((value) => (value).toJson()).toList(); |
| 1859 } | 1859 } |
| 1860 if (kind != null) { | 1860 if (kind != null) { |
| 1861 _json["kind"] = kind; | 1861 _json["kind"] = kind; |
| 1862 } | 1862 } |
| 1863 return _json; | 1863 return _json; |
| 1864 } | 1864 } |
| 1865 } | 1865 } |
| 1866 | 1866 |
| 1867 /** The request to update availability. */ | 1867 /** The request to update availability. */ |
| 1868 class UpdateAvailabilityRequest { | 1868 class UpdateAvailabilityRequest { |
| 1869 /** The availabilities being requested. */ | 1869 /** The availabilities being requested. */ |
| 1870 core.List<Availability> availabilities; | 1870 core.List<Availability> availabilities; |
| 1871 | 1871 |
| 1872 UpdateAvailabilityRequest(); | 1872 UpdateAvailabilityRequest(); |
| 1873 | 1873 |
| 1874 UpdateAvailabilityRequest.fromJson(core.Map _json) { | 1874 UpdateAvailabilityRequest.fromJson(core.Map _json) { |
| 1875 if (_json.containsKey("availabilities")) { | 1875 if (_json.containsKey("availabilities")) { |
| 1876 availabilities = _json["availabilities"].map((value) => new Availability.f
romJson(value)).toList(); | 1876 availabilities = _json["availabilities"].map((value) => new Availability.f
romJson(value)).toList(); |
| 1877 } | 1877 } |
| 1878 } | 1878 } |
| 1879 | 1879 |
| 1880 core.Map toJson() { | 1880 core.Map<core.String, core.Object> toJson() { |
| 1881 var _json = new core.Map(); | 1881 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1882 if (availabilities != null) { | 1882 if (availabilities != null) { |
| 1883 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); | 1883 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); |
| 1884 } | 1884 } |
| 1885 return _json; | 1885 return _json; |
| 1886 } | 1886 } |
| 1887 } | 1887 } |
| 1888 | 1888 |
| 1889 /** The response to a update availability request. */ | 1889 /** The response to a update availability request. */ |
| 1890 class UpdateAvailabilityResponse { | 1890 class UpdateAvailabilityResponse { |
| 1891 /** The availabilities being returned. */ | 1891 /** The availabilities being returned. */ |
| 1892 core.List<Availability> availabilities; | 1892 core.List<Availability> availabilities; |
| 1893 | 1893 |
| 1894 UpdateAvailabilityResponse(); | 1894 UpdateAvailabilityResponse(); |
| 1895 | 1895 |
| 1896 UpdateAvailabilityResponse.fromJson(core.Map _json) { | 1896 UpdateAvailabilityResponse.fromJson(core.Map _json) { |
| 1897 if (_json.containsKey("availabilities")) { | 1897 if (_json.containsKey("availabilities")) { |
| 1898 availabilities = _json["availabilities"].map((value) => new Availability.f
romJson(value)).toList(); | 1898 availabilities = _json["availabilities"].map((value) => new Availability.f
romJson(value)).toList(); |
| 1899 } | 1899 } |
| 1900 } | 1900 } |
| 1901 | 1901 |
| 1902 core.Map toJson() { | 1902 core.Map<core.String, core.Object> toJson() { |
| 1903 var _json = new core.Map(); | 1903 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1904 if (availabilities != null) { | 1904 if (availabilities != null) { |
| 1905 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); | 1905 _json["availabilities"] = availabilities.map((value) => (value).toJson()).
toList(); |
| 1906 } | 1906 } |
| 1907 return _json; | 1907 return _json; |
| 1908 } | 1908 } |
| 1909 } | 1909 } |
| OLD | NEW |