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

Side by Side Diff: generated/googleapis/lib/doubleclickbidmanager/v1.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.doubleclickbidmanager.v1; 3 library googleapis.doubleclickbidmanager.v1;
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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 420
421 421
422 422
423 /** Request to fetch stored line items. */ 423 /** Request to fetch stored line items. */
424 class DownloadLineItemsRequest { 424 class DownloadLineItemsRequest {
425 /** 425 /**
426 * File specification (column names, types, order) in which the line items 426 * File specification (column names, types, order) in which the line items
427 * will be returned. Default to EWF. 427 * will be returned. Default to EWF.
428 * Possible string values are: 428 * Possible string values are:
429 * - "EWF" 429 * - "EWF"
430 * - "SDF"
431 */ 430 */
432 core.String fileSpec; 431 core.String fileSpec;
433 /** 432 /**
434 * Ids of the specified filter type used to filter line items to fetch. If 433 * Ids of the specified filter type used to filter line items to fetch. If
435 * omitted, all the line items will be returned. 434 * omitted, all the line items will be returned.
436 */ 435 */
437 core.List<core.String> filterIds; 436 core.List<core.String> filterIds;
438 /** 437 /**
439 * Filter type used to filter line items to fetch. 438 * Filter type used to filter line items to fetch.
440 * Possible string values are: 439 * Possible string values are:
(...skipping 19 matching lines...) Expand all
460 filterIds = _json["filterIds"]; 459 filterIds = _json["filterIds"];
461 } 460 }
462 if (_json.containsKey("filterType")) { 461 if (_json.containsKey("filterType")) {
463 filterType = _json["filterType"]; 462 filterType = _json["filterType"];
464 } 463 }
465 if (_json.containsKey("format")) { 464 if (_json.containsKey("format")) {
466 format = _json["format"]; 465 format = _json["format"];
467 } 466 }
468 } 467 }
469 468
470 core.Map toJson() { 469 core.Map<core.String, core.Object> toJson() {
471 var _json = new core.Map(); 470 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
472 if (fileSpec != null) { 471 if (fileSpec != null) {
473 _json["fileSpec"] = fileSpec; 472 _json["fileSpec"] = fileSpec;
474 } 473 }
475 if (filterIds != null) { 474 if (filterIds != null) {
476 _json["filterIds"] = filterIds; 475 _json["filterIds"] = filterIds;
477 } 476 }
478 if (filterType != null) { 477 if (filterType != null) {
479 _json["filterType"] = filterType; 478 _json["filterType"] = filterType;
480 } 479 }
481 if (format != null) { 480 if (format != null) {
(...skipping 12 matching lines...) Expand all
494 core.String lineItems; 493 core.String lineItems;
495 494
496 DownloadLineItemsResponse(); 495 DownloadLineItemsResponse();
497 496
498 DownloadLineItemsResponse.fromJson(core.Map _json) { 497 DownloadLineItemsResponse.fromJson(core.Map _json) {
499 if (_json.containsKey("lineItems")) { 498 if (_json.containsKey("lineItems")) {
500 lineItems = _json["lineItems"]; 499 lineItems = _json["lineItems"];
501 } 500 }
502 } 501 }
503 502
504 core.Map toJson() { 503 core.Map<core.String, core.Object> toJson() {
505 var _json = new core.Map(); 504 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
506 if (lineItems != null) { 505 if (lineItems != null) {
507 _json["lineItems"] = lineItems; 506 _json["lineItems"] = lineItems;
508 } 507 }
509 return _json; 508 return _json;
510 } 509 }
511 } 510 }
512 511
513 /** 512 /**
514 * Request to fetch stored insertion orders, line items, TrueView ad groups and 513 * Request to fetch stored insertion orders, line items, TrueView ad groups and
515 * ads. 514 * ads.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 filterIds = _json["filterIds"]; 547 filterIds = _json["filterIds"];
549 } 548 }
550 if (_json.containsKey("filterType")) { 549 if (_json.containsKey("filterType")) {
551 filterType = _json["filterType"]; 550 filterType = _json["filterType"];
552 } 551 }
553 if (_json.containsKey("version")) { 552 if (_json.containsKey("version")) {
554 version = _json["version"]; 553 version = _json["version"];
555 } 554 }
556 } 555 }
557 556
558 core.Map toJson() { 557 core.Map<core.String, core.Object> toJson() {
559 var _json = new core.Map(); 558 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
560 if (fileTypes != null) { 559 if (fileTypes != null) {
561 _json["fileTypes"] = fileTypes; 560 _json["fileTypes"] = fileTypes;
562 } 561 }
563 if (filterIds != null) { 562 if (filterIds != null) {
564 _json["filterIds"] = filterIds; 563 _json["filterIds"] = filterIds;
565 } 564 }
566 if (filterType != null) { 565 if (filterType != null) {
567 _json["filterType"] = filterType; 566 _json["filterType"] = filterType;
568 } 567 }
569 if (version != null) { 568 if (version != null) {
(...skipping 24 matching lines...) Expand all
594 ads = _json["ads"]; 593 ads = _json["ads"];
595 } 594 }
596 if (_json.containsKey("insertionOrders")) { 595 if (_json.containsKey("insertionOrders")) {
597 insertionOrders = _json["insertionOrders"]; 596 insertionOrders = _json["insertionOrders"];
598 } 597 }
599 if (_json.containsKey("lineItems")) { 598 if (_json.containsKey("lineItems")) {
600 lineItems = _json["lineItems"]; 599 lineItems = _json["lineItems"];
601 } 600 }
602 } 601 }
603 602
604 core.Map toJson() { 603 core.Map<core.String, core.Object> toJson() {
605 var _json = new core.Map(); 604 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
606 if (adGroups != null) { 605 if (adGroups != null) {
607 _json["adGroups"] = adGroups; 606 _json["adGroups"] = adGroups;
608 } 607 }
609 if (ads != null) { 608 if (ads != null) {
610 _json["ads"] = ads; 609 _json["ads"] = ads;
611 } 610 }
612 if (insertionOrders != null) { 611 if (insertionOrders != null) {
613 _json["insertionOrders"] = insertionOrders; 612 _json["insertionOrders"] = insertionOrders;
614 } 613 }
615 if (lineItems != null) { 614 if (lineItems != null) {
(...skipping 10 matching lines...) Expand all
626 * Possible string values are: 625 * Possible string values are:
627 * - "FILTER_ACTIVE_VIEW_EXPECTED_VIEWABILITY" 626 * - "FILTER_ACTIVE_VIEW_EXPECTED_VIEWABILITY"
628 * - "FILTER_ACTIVITY_ID" 627 * - "FILTER_ACTIVITY_ID"
629 * - "FILTER_ADVERTISER" 628 * - "FILTER_ADVERTISER"
630 * - "FILTER_ADVERTISER_CURRENCY" 629 * - "FILTER_ADVERTISER_CURRENCY"
631 * - "FILTER_ADVERTISER_TIMEZONE" 630 * - "FILTER_ADVERTISER_TIMEZONE"
632 * - "FILTER_AD_POSITION" 631 * - "FILTER_AD_POSITION"
633 * - "FILTER_AGE" 632 * - "FILTER_AGE"
634 * - "FILTER_BRANDSAFE_CHANNEL_ID" 633 * - "FILTER_BRANDSAFE_CHANNEL_ID"
635 * - "FILTER_BROWSER" 634 * - "FILTER_BROWSER"
635 * - "FILTER_BUDGET_SEGMENT_DESCRIPTION"
636 * - "FILTER_CAMPAIGN_DAILY_FREQUENCY" 636 * - "FILTER_CAMPAIGN_DAILY_FREQUENCY"
637 * - "FILTER_CARRIER" 637 * - "FILTER_CARRIER"
638 * - "FILTER_CHANNEL_ID" 638 * - "FILTER_CHANNEL_ID"
639 * - "FILTER_CITY" 639 * - "FILTER_CITY"
640 * - "FILTER_COMPANION_CREATIVE_ID" 640 * - "FILTER_COMPANION_CREATIVE_ID"
641 * - "FILTER_CONVERSION_DELAY" 641 * - "FILTER_CONVERSION_DELAY"
642 * - "FILTER_COUNTRY" 642 * - "FILTER_COUNTRY"
643 * - "FILTER_CREATIVE_HEIGHT" 643 * - "FILTER_CREATIVE_HEIGHT"
644 * - "FILTER_CREATIVE_ID" 644 * - "FILTER_CREATIVE_ID"
645 * - "FILTER_CREATIVE_SIZE" 645 * - "FILTER_CREATIVE_SIZE"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 750
751 FilterPair.fromJson(core.Map _json) { 751 FilterPair.fromJson(core.Map _json) {
752 if (_json.containsKey("type")) { 752 if (_json.containsKey("type")) {
753 type = _json["type"]; 753 type = _json["type"];
754 } 754 }
755 if (_json.containsKey("value")) { 755 if (_json.containsKey("value")) {
756 value = _json["value"]; 756 value = _json["value"];
757 } 757 }
758 } 758 }
759 759
760 core.Map toJson() { 760 core.Map<core.String, core.Object> toJson() {
761 var _json = new core.Map(); 761 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
762 if (type != null) { 762 if (type != null) {
763 _json["type"] = type; 763 _json["type"] = type;
764 } 764 }
765 if (value != null) { 765 if (value != null) {
766 _json["value"] = value; 766 _json["value"] = value;
767 } 767 }
768 return _json; 768 return _json;
769 } 769 }
770 } 770 }
771 771
(...skipping 11 matching lines...) Expand all
783 783
784 ListQueriesResponse.fromJson(core.Map _json) { 784 ListQueriesResponse.fromJson(core.Map _json) {
785 if (_json.containsKey("kind")) { 785 if (_json.containsKey("kind")) {
786 kind = _json["kind"]; 786 kind = _json["kind"];
787 } 787 }
788 if (_json.containsKey("queries")) { 788 if (_json.containsKey("queries")) {
789 queries = _json["queries"].map((value) => new Query.fromJson(value)).toLis t(); 789 queries = _json["queries"].map((value) => new Query.fromJson(value)).toLis t();
790 } 790 }
791 } 791 }
792 792
793 core.Map toJson() { 793 core.Map<core.String, core.Object> toJson() {
794 var _json = new core.Map(); 794 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
795 if (kind != null) { 795 if (kind != null) {
796 _json["kind"] = kind; 796 _json["kind"] = kind;
797 } 797 }
798 if (queries != null) { 798 if (queries != null) {
799 _json["queries"] = queries.map((value) => (value).toJson()).toList(); 799 _json["queries"] = queries.map((value) => (value).toJson()).toList();
800 } 800 }
801 return _json; 801 return _json;
802 } 802 }
803 } 803 }
804 804
(...skipping 11 matching lines...) Expand all
816 816
817 ListReportsResponse.fromJson(core.Map _json) { 817 ListReportsResponse.fromJson(core.Map _json) {
818 if (_json.containsKey("kind")) { 818 if (_json.containsKey("kind")) {
819 kind = _json["kind"]; 819 kind = _json["kind"];
820 } 820 }
821 if (_json.containsKey("reports")) { 821 if (_json.containsKey("reports")) {
822 reports = _json["reports"].map((value) => new Report.fromJson(value)).toLi st(); 822 reports = _json["reports"].map((value) => new Report.fromJson(value)).toLi st();
823 } 823 }
824 } 824 }
825 825
826 core.Map toJson() { 826 core.Map<core.String, core.Object> toJson() {
827 var _json = new core.Map(); 827 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
828 if (kind != null) { 828 if (kind != null) {
829 _json["kind"] = kind; 829 _json["kind"] = kind;
830 } 830 }
831 if (reports != null) { 831 if (reports != null) {
832 _json["reports"] = reports.map((value) => (value).toJson()).toList(); 832 _json["reports"] = reports.map((value) => (value).toJson()).toList();
833 } 833 }
834 return _json; 834 return _json;
835 } 835 }
836 } 836 }
837 837
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 includeInviteData = _json["includeInviteData"]; 895 includeInviteData = _json["includeInviteData"];
896 } 896 }
897 if (_json.containsKey("metrics")) { 897 if (_json.containsKey("metrics")) {
898 metrics = _json["metrics"]; 898 metrics = _json["metrics"];
899 } 899 }
900 if (_json.containsKey("type")) { 900 if (_json.containsKey("type")) {
901 type = _json["type"]; 901 type = _json["type"];
902 } 902 }
903 } 903 }
904 904
905 core.Map toJson() { 905 core.Map<core.String, core.Object> toJson() {
906 var _json = new core.Map(); 906 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
907 if (filters != null) { 907 if (filters != null) {
908 _json["filters"] = filters.map((value) => (value).toJson()).toList(); 908 _json["filters"] = filters.map((value) => (value).toJson()).toList();
909 } 909 }
910 if (groupBys != null) { 910 if (groupBys != null) {
911 _json["groupBys"] = groupBys; 911 _json["groupBys"] = groupBys;
912 } 912 }
913 if (includeInviteData != null) { 913 if (includeInviteData != null) {
914 _json["includeInviteData"] = includeInviteData; 914 _json["includeInviteData"] = includeInviteData;
915 } 915 }
916 if (metrics != null) { 916 if (metrics != null) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 reportDataStartTimeMs = _json["reportDataStartTimeMs"]; 977 reportDataStartTimeMs = _json["reportDataStartTimeMs"];
978 } 978 }
979 if (_json.containsKey("schedule")) { 979 if (_json.containsKey("schedule")) {
980 schedule = new QuerySchedule.fromJson(_json["schedule"]); 980 schedule = new QuerySchedule.fromJson(_json["schedule"]);
981 } 981 }
982 if (_json.containsKey("timezoneCode")) { 982 if (_json.containsKey("timezoneCode")) {
983 timezoneCode = _json["timezoneCode"]; 983 timezoneCode = _json["timezoneCode"];
984 } 984 }
985 } 985 }
986 986
987 core.Map toJson() { 987 core.Map<core.String, core.Object> toJson() {
988 var _json = new core.Map(); 988 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
989 if (kind != null) { 989 if (kind != null) {
990 _json["kind"] = kind; 990 _json["kind"] = kind;
991 } 991 }
992 if (metadata != null) { 992 if (metadata != null) {
993 _json["metadata"] = (metadata).toJson(); 993 _json["metadata"] = (metadata).toJson();
994 } 994 }
995 if (params != null) { 995 if (params != null) {
996 _json["params"] = (params).toJson(); 996 _json["params"] = (params).toJson();
997 } 997 }
998 if (queryId != null) { 998 if (queryId != null) {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 sendNotification = _json["sendNotification"]; 1114 sendNotification = _json["sendNotification"];
1115 } 1115 }
1116 if (_json.containsKey("shareEmailAddress")) { 1116 if (_json.containsKey("shareEmailAddress")) {
1117 shareEmailAddress = _json["shareEmailAddress"]; 1117 shareEmailAddress = _json["shareEmailAddress"];
1118 } 1118 }
1119 if (_json.containsKey("title")) { 1119 if (_json.containsKey("title")) {
1120 title = _json["title"]; 1120 title = _json["title"];
1121 } 1121 }
1122 } 1122 }
1123 1123
1124 core.Map toJson() { 1124 core.Map<core.String, core.Object> toJson() {
1125 var _json = new core.Map(); 1125 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1126 if (dataRange != null) { 1126 if (dataRange != null) {
1127 _json["dataRange"] = dataRange; 1127 _json["dataRange"] = dataRange;
1128 } 1128 }
1129 if (format != null) { 1129 if (format != null) {
1130 _json["format"] = format; 1130 _json["format"] = format;
1131 } 1131 }
1132 if (googleCloudStoragePathForLatestReport != null) { 1132 if (googleCloudStoragePathForLatestReport != null) {
1133 _json["googleCloudStoragePathForLatestReport"] = googleCloudStoragePathFor LatestReport; 1133 _json["googleCloudStoragePathForLatestReport"] = googleCloudStoragePathFor LatestReport;
1134 } 1134 }
1135 if (googleDrivePathForLatestReport != null) { 1135 if (googleDrivePathForLatestReport != null) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 frequency = _json["frequency"]; 1196 frequency = _json["frequency"];
1197 } 1197 }
1198 if (_json.containsKey("nextRunMinuteOfDay")) { 1198 if (_json.containsKey("nextRunMinuteOfDay")) {
1199 nextRunMinuteOfDay = _json["nextRunMinuteOfDay"]; 1199 nextRunMinuteOfDay = _json["nextRunMinuteOfDay"];
1200 } 1200 }
1201 if (_json.containsKey("nextRunTimezoneCode")) { 1201 if (_json.containsKey("nextRunTimezoneCode")) {
1202 nextRunTimezoneCode = _json["nextRunTimezoneCode"]; 1202 nextRunTimezoneCode = _json["nextRunTimezoneCode"];
1203 } 1203 }
1204 } 1204 }
1205 1205
1206 core.Map toJson() { 1206 core.Map<core.String, core.Object> toJson() {
1207 var _json = new core.Map(); 1207 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1208 if (endTimeMs != null) { 1208 if (endTimeMs != null) {
1209 _json["endTimeMs"] = endTimeMs; 1209 _json["endTimeMs"] = endTimeMs;
1210 } 1210 }
1211 if (frequency != null) { 1211 if (frequency != null) {
1212 _json["frequency"] = frequency; 1212 _json["frequency"] = frequency;
1213 } 1213 }
1214 if (nextRunMinuteOfDay != null) { 1214 if (nextRunMinuteOfDay != null) {
1215 _json["nextRunMinuteOfDay"] = nextRunMinuteOfDay; 1215 _json["nextRunMinuteOfDay"] = nextRunMinuteOfDay;
1216 } 1216 }
1217 if (nextRunTimezoneCode != null) { 1217 if (nextRunTimezoneCode != null) {
(...skipping 19 matching lines...) Expand all
1237 key = new ReportKey.fromJson(_json["key"]); 1237 key = new ReportKey.fromJson(_json["key"]);
1238 } 1238 }
1239 if (_json.containsKey("metadata")) { 1239 if (_json.containsKey("metadata")) {
1240 metadata = new ReportMetadata.fromJson(_json["metadata"]); 1240 metadata = new ReportMetadata.fromJson(_json["metadata"]);
1241 } 1241 }
1242 if (_json.containsKey("params")) { 1242 if (_json.containsKey("params")) {
1243 params = new Parameters.fromJson(_json["params"]); 1243 params = new Parameters.fromJson(_json["params"]);
1244 } 1244 }
1245 } 1245 }
1246 1246
1247 core.Map toJson() { 1247 core.Map<core.String, core.Object> toJson() {
1248 var _json = new core.Map(); 1248 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1249 if (key != null) { 1249 if (key != null) {
1250 _json["key"] = (key).toJson(); 1250 _json["key"] = (key).toJson();
1251 } 1251 }
1252 if (metadata != null) { 1252 if (metadata != null) {
1253 _json["metadata"] = (metadata).toJson(); 1253 _json["metadata"] = (metadata).toJson();
1254 } 1254 }
1255 if (params != null) { 1255 if (params != null) {
1256 _json["params"] = (params).toJson(); 1256 _json["params"] = (params).toJson();
1257 } 1257 }
1258 return _json; 1258 return _json;
(...skipping 27 matching lines...) Expand all
1286 core.String errorCode; 1286 core.String errorCode;
1287 1287
1288 ReportFailure(); 1288 ReportFailure();
1289 1289
1290 ReportFailure.fromJson(core.Map _json) { 1290 ReportFailure.fromJson(core.Map _json) {
1291 if (_json.containsKey("errorCode")) { 1291 if (_json.containsKey("errorCode")) {
1292 errorCode = _json["errorCode"]; 1292 errorCode = _json["errorCode"];
1293 } 1293 }
1294 } 1294 }
1295 1295
1296 core.Map toJson() { 1296 core.Map<core.String, core.Object> toJson() {
1297 var _json = new core.Map(); 1297 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1298 if (errorCode != null) { 1298 if (errorCode != null) {
1299 _json["errorCode"] = errorCode; 1299 _json["errorCode"] = errorCode;
1300 } 1300 }
1301 return _json; 1301 return _json;
1302 } 1302 }
1303 } 1303 }
1304 1304
1305 /** Key used to identify a report. */ 1305 /** Key used to identify a report. */
1306 class ReportKey { 1306 class ReportKey {
1307 /** Query ID. */ 1307 /** Query ID. */
1308 core.String queryId; 1308 core.String queryId;
1309 /** Report ID. */ 1309 /** Report ID. */
1310 core.String reportId; 1310 core.String reportId;
1311 1311
1312 ReportKey(); 1312 ReportKey();
1313 1313
1314 ReportKey.fromJson(core.Map _json) { 1314 ReportKey.fromJson(core.Map _json) {
1315 if (_json.containsKey("queryId")) { 1315 if (_json.containsKey("queryId")) {
1316 queryId = _json["queryId"]; 1316 queryId = _json["queryId"];
1317 } 1317 }
1318 if (_json.containsKey("reportId")) { 1318 if (_json.containsKey("reportId")) {
1319 reportId = _json["reportId"]; 1319 reportId = _json["reportId"];
1320 } 1320 }
1321 } 1321 }
1322 1322
1323 core.Map toJson() { 1323 core.Map<core.String, core.Object> toJson() {
1324 var _json = new core.Map(); 1324 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1325 if (queryId != null) { 1325 if (queryId != null) {
1326 _json["queryId"] = queryId; 1326 _json["queryId"] = queryId;
1327 } 1327 }
1328 if (reportId != null) { 1328 if (reportId != null) {
1329 _json["reportId"] = reportId; 1329 _json["reportId"] = reportId;
1330 } 1330 }
1331 return _json; 1331 return _json;
1332 } 1332 }
1333 } 1333 }
1334 1334
(...skipping 21 matching lines...) Expand all
1356 reportDataEndTimeMs = _json["reportDataEndTimeMs"]; 1356 reportDataEndTimeMs = _json["reportDataEndTimeMs"];
1357 } 1357 }
1358 if (_json.containsKey("reportDataStartTimeMs")) { 1358 if (_json.containsKey("reportDataStartTimeMs")) {
1359 reportDataStartTimeMs = _json["reportDataStartTimeMs"]; 1359 reportDataStartTimeMs = _json["reportDataStartTimeMs"];
1360 } 1360 }
1361 if (_json.containsKey("status")) { 1361 if (_json.containsKey("status")) {
1362 status = new ReportStatus.fromJson(_json["status"]); 1362 status = new ReportStatus.fromJson(_json["status"]);
1363 } 1363 }
1364 } 1364 }
1365 1365
1366 core.Map toJson() { 1366 core.Map<core.String, core.Object> toJson() {
1367 var _json = new core.Map(); 1367 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1368 if (googleCloudStoragePath != null) { 1368 if (googleCloudStoragePath != null) {
1369 _json["googleCloudStoragePath"] = googleCloudStoragePath; 1369 _json["googleCloudStoragePath"] = googleCloudStoragePath;
1370 } 1370 }
1371 if (reportDataEndTimeMs != null) { 1371 if (reportDataEndTimeMs != null) {
1372 _json["reportDataEndTimeMs"] = reportDataEndTimeMs; 1372 _json["reportDataEndTimeMs"] = reportDataEndTimeMs;
1373 } 1373 }
1374 if (reportDataStartTimeMs != null) { 1374 if (reportDataStartTimeMs != null) {
1375 _json["reportDataStartTimeMs"] = reportDataStartTimeMs; 1375 _json["reportDataStartTimeMs"] = reportDataStartTimeMs;
1376 } 1376 }
1377 if (status != null) { 1377 if (status != null) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 finishTimeMs = _json["finishTimeMs"]; 1414 finishTimeMs = _json["finishTimeMs"];
1415 } 1415 }
1416 if (_json.containsKey("format")) { 1416 if (_json.containsKey("format")) {
1417 format = _json["format"]; 1417 format = _json["format"];
1418 } 1418 }
1419 if (_json.containsKey("state")) { 1419 if (_json.containsKey("state")) {
1420 state = _json["state"]; 1420 state = _json["state"];
1421 } 1421 }
1422 } 1422 }
1423 1423
1424 core.Map toJson() { 1424 core.Map<core.String, core.Object> toJson() {
1425 var _json = new core.Map(); 1425 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1426 if (failure != null) { 1426 if (failure != null) {
1427 _json["failure"] = (failure).toJson(); 1427 _json["failure"] = (failure).toJson();
1428 } 1428 }
1429 if (finishTimeMs != null) { 1429 if (finishTimeMs != null) {
1430 _json["finishTimeMs"] = finishTimeMs; 1430 _json["finishTimeMs"] = finishTimeMs;
1431 } 1431 }
1432 if (format != null) { 1432 if (format != null) {
1433 _json["format"] = format; 1433 _json["format"] = format;
1434 } 1434 }
1435 if (state != null) { 1435 if (state != null) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 errors = _json["errors"]; 1470 errors = _json["errors"];
1471 } 1471 }
1472 if (_json.containsKey("persisted")) { 1472 if (_json.containsKey("persisted")) {
1473 persisted = _json["persisted"]; 1473 persisted = _json["persisted"];
1474 } 1474 }
1475 if (_json.containsKey("rowNumber")) { 1475 if (_json.containsKey("rowNumber")) {
1476 rowNumber = _json["rowNumber"]; 1476 rowNumber = _json["rowNumber"];
1477 } 1477 }
1478 } 1478 }
1479 1479
1480 core.Map toJson() { 1480 core.Map<core.String, core.Object> toJson() {
1481 var _json = new core.Map(); 1481 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1482 if (changed != null) { 1482 if (changed != null) {
1483 _json["changed"] = changed; 1483 _json["changed"] = changed;
1484 } 1484 }
1485 if (entityId != null) { 1485 if (entityId != null) {
1486 _json["entityId"] = entityId; 1486 _json["entityId"] = entityId;
1487 } 1487 }
1488 if (entityName != null) { 1488 if (entityName != null) {
1489 _json["entityName"] = entityName; 1489 _json["entityName"] = entityName;
1490 } 1490 }
1491 if (errors != null) { 1491 if (errors != null) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 reportDataEndTimeMs = _json["reportDataEndTimeMs"]; 1554 reportDataEndTimeMs = _json["reportDataEndTimeMs"];
1555 } 1555 }
1556 if (_json.containsKey("reportDataStartTimeMs")) { 1556 if (_json.containsKey("reportDataStartTimeMs")) {
1557 reportDataStartTimeMs = _json["reportDataStartTimeMs"]; 1557 reportDataStartTimeMs = _json["reportDataStartTimeMs"];
1558 } 1558 }
1559 if (_json.containsKey("timezoneCode")) { 1559 if (_json.containsKey("timezoneCode")) {
1560 timezoneCode = _json["timezoneCode"]; 1560 timezoneCode = _json["timezoneCode"];
1561 } 1561 }
1562 } 1562 }
1563 1563
1564 core.Map toJson() { 1564 core.Map<core.String, core.Object> toJson() {
1565 var _json = new core.Map(); 1565 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1566 if (dataRange != null) { 1566 if (dataRange != null) {
1567 _json["dataRange"] = dataRange; 1567 _json["dataRange"] = dataRange;
1568 } 1568 }
1569 if (reportDataEndTimeMs != null) { 1569 if (reportDataEndTimeMs != null) {
1570 _json["reportDataEndTimeMs"] = reportDataEndTimeMs; 1570 _json["reportDataEndTimeMs"] = reportDataEndTimeMs;
1571 } 1571 }
1572 if (reportDataStartTimeMs != null) { 1572 if (reportDataStartTimeMs != null) {
1573 _json["reportDataStartTimeMs"] = reportDataStartTimeMs; 1573 _json["reportDataStartTimeMs"] = reportDataStartTimeMs;
1574 } 1574 }
1575 if (timezoneCode != null) { 1575 if (timezoneCode != null) {
(...skipping 29 matching lines...) Expand all
1605 dryRun = _json["dryRun"]; 1605 dryRun = _json["dryRun"];
1606 } 1606 }
1607 if (_json.containsKey("format")) { 1607 if (_json.containsKey("format")) {
1608 format = _json["format"]; 1608 format = _json["format"];
1609 } 1609 }
1610 if (_json.containsKey("lineItems")) { 1610 if (_json.containsKey("lineItems")) {
1611 lineItems = _json["lineItems"]; 1611 lineItems = _json["lineItems"];
1612 } 1612 }
1613 } 1613 }
1614 1614
1615 core.Map toJson() { 1615 core.Map<core.String, core.Object> toJson() {
1616 var _json = new core.Map(); 1616 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1617 if (dryRun != null) { 1617 if (dryRun != null) {
1618 _json["dryRun"] = dryRun; 1618 _json["dryRun"] = dryRun;
1619 } 1619 }
1620 if (format != null) { 1620 if (format != null) {
1621 _json["format"] = format; 1621 _json["format"] = format;
1622 } 1622 }
1623 if (lineItems != null) { 1623 if (lineItems != null) {
1624 _json["lineItems"] = lineItems; 1624 _json["lineItems"] = lineItems;
1625 } 1625 }
1626 return _json; 1626 return _json;
1627 } 1627 }
1628 } 1628 }
1629 1629
1630 /** Upload line items response. */ 1630 /** Upload line items response. */
1631 class UploadLineItemsResponse { 1631 class UploadLineItemsResponse {
1632 /** Status of upload. */ 1632 /** Status of upload. */
1633 UploadStatus uploadStatus; 1633 UploadStatus uploadStatus;
1634 1634
1635 UploadLineItemsResponse(); 1635 UploadLineItemsResponse();
1636 1636
1637 UploadLineItemsResponse.fromJson(core.Map _json) { 1637 UploadLineItemsResponse.fromJson(core.Map _json) {
1638 if (_json.containsKey("uploadStatus")) { 1638 if (_json.containsKey("uploadStatus")) {
1639 uploadStatus = new UploadStatus.fromJson(_json["uploadStatus"]); 1639 uploadStatus = new UploadStatus.fromJson(_json["uploadStatus"]);
1640 } 1640 }
1641 } 1641 }
1642 1642
1643 core.Map toJson() { 1643 core.Map<core.String, core.Object> toJson() {
1644 var _json = new core.Map(); 1644 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1645 if (uploadStatus != null) { 1645 if (uploadStatus != null) {
1646 _json["uploadStatus"] = (uploadStatus).toJson(); 1646 _json["uploadStatus"] = (uploadStatus).toJson();
1647 } 1647 }
1648 return _json; 1648 return _json;
1649 } 1649 }
1650 } 1650 }
1651 1651
1652 /** Represents the status of upload. */ 1652 /** Represents the status of upload. */
1653 class UploadStatus { 1653 class UploadStatus {
1654 /** Reasons why upload can't be completed. */ 1654 /** Reasons why upload can't be completed. */
1655 core.List<core.String> errors; 1655 core.List<core.String> errors;
1656 /** Per-row upload status. */ 1656 /** Per-row upload status. */
1657 core.List<RowStatus> rowStatus; 1657 core.List<RowStatus> rowStatus;
1658 1658
1659 UploadStatus(); 1659 UploadStatus();
1660 1660
1661 UploadStatus.fromJson(core.Map _json) { 1661 UploadStatus.fromJson(core.Map _json) {
1662 if (_json.containsKey("errors")) { 1662 if (_json.containsKey("errors")) {
1663 errors = _json["errors"]; 1663 errors = _json["errors"];
1664 } 1664 }
1665 if (_json.containsKey("rowStatus")) { 1665 if (_json.containsKey("rowStatus")) {
1666 rowStatus = _json["rowStatus"].map((value) => new RowStatus.fromJson(value )).toList(); 1666 rowStatus = _json["rowStatus"].map((value) => new RowStatus.fromJson(value )).toList();
1667 } 1667 }
1668 } 1668 }
1669 1669
1670 core.Map toJson() { 1670 core.Map<core.String, core.Object> toJson() {
1671 var _json = new core.Map(); 1671 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1672 if (errors != null) { 1672 if (errors != null) {
1673 _json["errors"] = errors; 1673 _json["errors"] = errors;
1674 } 1674 }
1675 if (rowStatus != null) { 1675 if (rowStatus != null) {
1676 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList(); 1676 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList();
1677 } 1677 }
1678 return _json; 1678 return _json;
1679 } 1679 }
1680 } 1680 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/dns/v1.dart ('k') | generated/googleapis/lib/doubleclicksearch/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698