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.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; |
11 | 11 |
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
14 | 14 |
15 const core.String USER_AGENT = 'dart-api-client doubleclickbidmanager/v1'; | 15 const core.String USER_AGENT = 'dart-api-client doubleclickbidmanager/v1'; |
16 | 16 |
17 /** API for viewing and managing your reports in DoubleClick Bid Manager. */ | 17 /** API for viewing and managing your reports in DoubleClick Bid Manager. */ |
18 class DoubleclickbidmanagerApi { | 18 class DoubleclickbidmanagerApi { |
19 | 19 |
20 final commons.ApiRequester _requester; | 20 final commons.ApiRequester _requester; |
21 | 21 |
22 LineitemsResourceApi get lineitems => new LineitemsResourceApi(_requester); | 22 LineitemsResourceApi get lineitems => new LineitemsResourceApi(_requester); |
23 QueriesResourceApi get queries => new QueriesResourceApi(_requester); | 23 QueriesResourceApi get queries => new QueriesResourceApi(_requester); |
24 ReportsResourceApi get reports => new ReportsResourceApi(_requester); | 24 ReportsResourceApi get reports => new ReportsResourceApi(_requester); |
25 RubiconResourceApi get rubicon => new RubiconResourceApi(_requester); | 25 SdfResourceApi get sdf => new SdfResourceApi(_requester); |
26 | 26 |
27 DoubleclickbidmanagerApi(http.Client client, {core.String rootUrl: "https://ww
w.googleapis.com/", core.String servicePath: "doubleclickbidmanager/v1/"}) : | 27 DoubleclickbidmanagerApi(http.Client client, {core.String rootUrl: "https://ww
w.googleapis.com/", core.String servicePath: "doubleclickbidmanager/v1/"}) : |
28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); | 28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); |
29 } | 29 } |
30 | 30 |
31 | 31 |
32 class LineitemsResourceApi { | 32 class LineitemsResourceApi { |
33 final commons.ApiRequester _requester; | 33 final commons.ApiRequester _requester; |
34 | 34 |
35 LineitemsResourceApi(commons.ApiRequester client) : | 35 LineitemsResourceApi(commons.ApiRequester client) : |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 queryParams: _queryParams, | 361 queryParams: _queryParams, |
362 uploadOptions: _uploadOptions, | 362 uploadOptions: _uploadOptions, |
363 uploadMedia: _uploadMedia, | 363 uploadMedia: _uploadMedia, |
364 downloadOptions: _downloadOptions); | 364 downloadOptions: _downloadOptions); |
365 return _response.then((data) => new ListReportsResponse.fromJson(data)); | 365 return _response.then((data) => new ListReportsResponse.fromJson(data)); |
366 } | 366 } |
367 | 367 |
368 } | 368 } |
369 | 369 |
370 | 370 |
371 class RubiconResourceApi { | 371 class SdfResourceApi { |
372 final commons.ApiRequester _requester; | 372 final commons.ApiRequester _requester; |
373 | 373 |
374 RubiconResourceApi(commons.ApiRequester client) : | 374 SdfResourceApi(commons.ApiRequester client) : |
375 _requester = client; | 375 _requester = client; |
376 | 376 |
377 /** | 377 /** |
378 * Update proposal upon actions of Rubicon publisher. | 378 * Retrieves entities in SDF format. |
379 * | 379 * |
380 * [request] - The metadata request object. | 380 * [request] - The metadata request object. |
381 * | 381 * |
382 * Request parameters: | 382 * Request parameters: |
383 * | 383 * |
| 384 * Completes with a [DownloadResponse]. |
| 385 * |
384 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 386 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
385 * error. | 387 * error. |
386 * | 388 * |
387 * If the used [http.Client] completes with an error when making a REST call, | 389 * If the used [http.Client] completes with an error when making a REST call, |
388 * this method will complete with the same error. | 390 * this method will complete with the same error. |
389 */ | 391 */ |
390 async.Future notifyproposalchange(NotifyProposalChangeRequest request) { | 392 async.Future<DownloadResponse> download(DownloadRequest request) { |
391 var _url = null; | 393 var _url = null; |
392 var _queryParams = new core.Map(); | 394 var _queryParams = new core.Map(); |
393 var _uploadMedia = null; | 395 var _uploadMedia = null; |
394 var _uploadOptions = null; | 396 var _uploadOptions = null; |
395 var _downloadOptions = commons.DownloadOptions.Metadata; | 397 var _downloadOptions = commons.DownloadOptions.Metadata; |
396 var _body = null; | 398 var _body = null; |
397 | 399 |
398 if (request != null) { | 400 if (request != null) { |
399 _body = convert.JSON.encode((request).toJson()); | 401 _body = convert.JSON.encode((request).toJson()); |
400 } | 402 } |
401 | 403 |
402 _downloadOptions = null; | 404 _url = 'sdf/download'; |
403 | |
404 _url = 'rubicon/notifyproposalchange'; | |
405 | 405 |
406 var _response = _requester.request(_url, | 406 var _response = _requester.request(_url, |
407 "POST", | 407 "POST", |
408 body: _body, | 408 body: _body, |
409 queryParams: _queryParams, | 409 queryParams: _queryParams, |
410 uploadOptions: _uploadOptions, | 410 uploadOptions: _uploadOptions, |
411 uploadMedia: _uploadMedia, | 411 uploadMedia: _uploadMedia, |
412 downloadOptions: _downloadOptions); | 412 downloadOptions: _downloadOptions); |
413 return _response.then((data) => null); | 413 return _response.then((data) => new DownloadResponse.fromJson(data)); |
414 } | 414 } |
415 | 415 |
416 } | 416 } |
417 | 417 |
418 | 418 |
419 | 419 |
420 /** Request to fetch stored line items. */ | 420 /** Request to fetch stored line items. */ |
421 class DownloadLineItemsRequest { | 421 class DownloadLineItemsRequest { |
422 /** | 422 /** |
423 * File specification (column names, types, order) in which the line items | 423 * File specification (column names, types, order) in which the line items |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 | 500 |
501 core.Map toJson() { | 501 core.Map toJson() { |
502 var _json = new core.Map(); | 502 var _json = new core.Map(); |
503 if (lineItems != null) { | 503 if (lineItems != null) { |
504 _json["lineItems"] = lineItems; | 504 _json["lineItems"] = lineItems; |
505 } | 505 } |
506 return _json; | 506 return _json; |
507 } | 507 } |
508 } | 508 } |
509 | 509 |
| 510 /** |
| 511 * Request to fetch stored insertion orders, line items, TrueView ad groups and |
| 512 * ads. |
| 513 */ |
| 514 class DownloadRequest { |
| 515 /** File types that will be returned. */ |
| 516 core.List<core.String> fileTypes; |
| 517 /** |
| 518 * The IDs of the specified filter type. This is used to filter entities to |
| 519 * fetch. At least one ID must be specified. Only one ID is allowed for the |
| 520 * ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter |
| 521 * types all IDs must be from the same Advertiser. |
| 522 */ |
| 523 core.List<core.String> filterIds; |
| 524 /** |
| 525 * Filter type used to filter line items to fetch. |
| 526 * Possible string values are: |
| 527 * - "ADVERTISER_ID" |
| 528 * - "INSERTION_ORDER_ID" |
| 529 * - "LINE_ITEM_ID" |
| 530 */ |
| 531 core.String filterType; |
| 532 /** |
| 533 * SDF Version (column names, types, order) in which the entities will be |
| 534 * returned. Default to 3. |
| 535 */ |
| 536 core.String version; |
| 537 |
| 538 DownloadRequest(); |
| 539 |
| 540 DownloadRequest.fromJson(core.Map _json) { |
| 541 if (_json.containsKey("fileTypes")) { |
| 542 fileTypes = _json["fileTypes"]; |
| 543 } |
| 544 if (_json.containsKey("filterIds")) { |
| 545 filterIds = _json["filterIds"]; |
| 546 } |
| 547 if (_json.containsKey("filterType")) { |
| 548 filterType = _json["filterType"]; |
| 549 } |
| 550 if (_json.containsKey("version")) { |
| 551 version = _json["version"]; |
| 552 } |
| 553 } |
| 554 |
| 555 core.Map toJson() { |
| 556 var _json = new core.Map(); |
| 557 if (fileTypes != null) { |
| 558 _json["fileTypes"] = fileTypes; |
| 559 } |
| 560 if (filterIds != null) { |
| 561 _json["filterIds"] = filterIds; |
| 562 } |
| 563 if (filterType != null) { |
| 564 _json["filterType"] = filterType; |
| 565 } |
| 566 if (version != null) { |
| 567 _json["version"] = version; |
| 568 } |
| 569 return _json; |
| 570 } |
| 571 } |
| 572 |
| 573 /** Download response. */ |
| 574 class DownloadResponse { |
| 575 /** Retrieved ad groups in SDF format. */ |
| 576 core.String adGroups; |
| 577 /** Retrieved ads in SDF format. */ |
| 578 core.String ads; |
| 579 /** Retrieved insertion orders in SDF format. */ |
| 580 core.String insertionOrders; |
| 581 /** Retrieved line items in SDF format. */ |
| 582 core.String lineItems; |
| 583 |
| 584 DownloadResponse(); |
| 585 |
| 586 DownloadResponse.fromJson(core.Map _json) { |
| 587 if (_json.containsKey("adGroups")) { |
| 588 adGroups = _json["adGroups"]; |
| 589 } |
| 590 if (_json.containsKey("ads")) { |
| 591 ads = _json["ads"]; |
| 592 } |
| 593 if (_json.containsKey("insertionOrders")) { |
| 594 insertionOrders = _json["insertionOrders"]; |
| 595 } |
| 596 if (_json.containsKey("lineItems")) { |
| 597 lineItems = _json["lineItems"]; |
| 598 } |
| 599 } |
| 600 |
| 601 core.Map toJson() { |
| 602 var _json = new core.Map(); |
| 603 if (adGroups != null) { |
| 604 _json["adGroups"] = adGroups; |
| 605 } |
| 606 if (ads != null) { |
| 607 _json["ads"] = ads; |
| 608 } |
| 609 if (insertionOrders != null) { |
| 610 _json["insertionOrders"] = insertionOrders; |
| 611 } |
| 612 if (lineItems != null) { |
| 613 _json["lineItems"] = lineItems; |
| 614 } |
| 615 return _json; |
| 616 } |
| 617 } |
| 618 |
510 /** Filter used to match traffic data in your report. */ | 619 /** Filter used to match traffic data in your report. */ |
511 class FilterPair { | 620 class FilterPair { |
512 /** | 621 /** |
513 * Filter type. | 622 * Filter type. |
514 * Possible string values are: | 623 * Possible string values are: |
515 * - "FILTER_ACTIVE_VIEW_EXPECTED_VIEWABILITY" | 624 * - "FILTER_ACTIVE_VIEW_EXPECTED_VIEWABILITY" |
516 * - "FILTER_ACTIVITY_ID" | 625 * - "FILTER_ACTIVITY_ID" |
517 * - "FILTER_ADVERTISER" | 626 * - "FILTER_ADVERTISER" |
518 * - "FILTER_ADVERTISER_CURRENCY" | 627 * - "FILTER_ADVERTISER_CURRENCY" |
519 * - "FILTER_ADVERTISER_TIMEZONE" | 628 * - "FILTER_ADVERTISER_TIMEZONE" |
(...skipping 22 matching lines...) Expand all Loading... |
542 * - "FILTER_GENDER" | 651 * - "FILTER_GENDER" |
543 * - "FILTER_INSERTION_ORDER" | 652 * - "FILTER_INSERTION_ORDER" |
544 * - "FILTER_INVENTORY_FORMAT" | 653 * - "FILTER_INVENTORY_FORMAT" |
545 * - "FILTER_INVENTORY_SOURCE" | 654 * - "FILTER_INVENTORY_SOURCE" |
546 * - "FILTER_INVENTORY_SOURCE_TYPE" | 655 * - "FILTER_INVENTORY_SOURCE_TYPE" |
547 * - "FILTER_KEYWORD" | 656 * - "FILTER_KEYWORD" |
548 * - "FILTER_LINE_ITEM" | 657 * - "FILTER_LINE_ITEM" |
549 * - "FILTER_LINE_ITEM_DAILY_FREQUENCY" | 658 * - "FILTER_LINE_ITEM_DAILY_FREQUENCY" |
550 * - "FILTER_LINE_ITEM_LIFETIME_FREQUENCY" | 659 * - "FILTER_LINE_ITEM_LIFETIME_FREQUENCY" |
551 * - "FILTER_LINE_ITEM_TYPE" | 660 * - "FILTER_LINE_ITEM_TYPE" |
| 661 * - "FILTER_MEDIA_PLAN" |
552 * - "FILTER_MOBILE_DEVICE_MAKE" | 662 * - "FILTER_MOBILE_DEVICE_MAKE" |
553 * - "FILTER_MOBILE_DEVICE_MAKE_MODEL" | 663 * - "FILTER_MOBILE_DEVICE_MAKE_MODEL" |
554 * - "FILTER_MOBILE_DEVICE_TYPE" | 664 * - "FILTER_MOBILE_DEVICE_TYPE" |
555 * - "FILTER_MOBILE_GEO" | 665 * - "FILTER_MOBILE_GEO" |
556 * - "FILTER_MONTH" | 666 * - "FILTER_MONTH" |
557 * - "FILTER_MRAID_SUPPORT" | 667 * - "FILTER_MRAID_SUPPORT" |
558 * - "FILTER_NIELSEN_AGE" | 668 * - "FILTER_NIELSEN_AGE" |
559 * - "FILTER_NIELSEN_COUNTRY_CODE" | 669 * - "FILTER_NIELSEN_COUNTRY_CODE" |
560 * - "FILTER_NIELSEN_DEVICE_ID" | 670 * - "FILTER_NIELSEN_DEVICE_ID" |
561 * - "FILTER_NIELSEN_GENDER" | 671 * - "FILTER_NIELSEN_GENDER" |
| 672 * - "FILTER_NOT_SUPPORTED" |
562 * - "FILTER_ORDER_ID" | 673 * - "FILTER_ORDER_ID" |
563 * - "FILTER_OS" | 674 * - "FILTER_OS" |
564 * - "FILTER_PAGE_CATEGORY" | 675 * - "FILTER_PAGE_CATEGORY" |
565 * - "FILTER_PAGE_LAYOUT" | 676 * - "FILTER_PAGE_LAYOUT" |
566 * - "FILTER_PARTNER" | 677 * - "FILTER_PARTNER" |
567 * - "FILTER_PARTNER_CURRENCY" | 678 * - "FILTER_PARTNER_CURRENCY" |
568 * - "FILTER_PUBLIC_INVENTORY" | 679 * - "FILTER_PUBLIC_INVENTORY" |
569 * - "FILTER_QUARTER" | 680 * - "FILTER_QUARTER" |
570 * - "FILTER_REGION" | 681 * - "FILTER_REGION" |
571 * - "FILTER_REGULAR_CHANNEL_ID" | 682 * - "FILTER_REGULAR_CHANNEL_ID" |
(...skipping 15 matching lines...) Expand all Loading... |
587 * - "FILTER_TRUEVIEW_IAR_CATEGORY" | 698 * - "FILTER_TRUEVIEW_IAR_CATEGORY" |
588 * - "FILTER_TRUEVIEW_IAR_CITY" | 699 * - "FILTER_TRUEVIEW_IAR_CITY" |
589 * - "FILTER_TRUEVIEW_IAR_COUNTRY" | 700 * - "FILTER_TRUEVIEW_IAR_COUNTRY" |
590 * - "FILTER_TRUEVIEW_IAR_GENDER" | 701 * - "FILTER_TRUEVIEW_IAR_GENDER" |
591 * - "FILTER_TRUEVIEW_IAR_INTEREST" | 702 * - "FILTER_TRUEVIEW_IAR_INTEREST" |
592 * - "FILTER_TRUEVIEW_IAR_LANGUAGE" | 703 * - "FILTER_TRUEVIEW_IAR_LANGUAGE" |
593 * - "FILTER_TRUEVIEW_IAR_PARENTAL_STATUS" | 704 * - "FILTER_TRUEVIEW_IAR_PARENTAL_STATUS" |
594 * - "FILTER_TRUEVIEW_IAR_REGION" | 705 * - "FILTER_TRUEVIEW_IAR_REGION" |
595 * - "FILTER_TRUEVIEW_IAR_REMARKETING_LIST" | 706 * - "FILTER_TRUEVIEW_IAR_REMARKETING_LIST" |
596 * - "FILTER_TRUEVIEW_IAR_TIME_OF_DAY" | 707 * - "FILTER_TRUEVIEW_IAR_TIME_OF_DAY" |
| 708 * - "FILTER_TRUEVIEW_IAR_YOUTUBE_CHANNEL" |
| 709 * - "FILTER_TRUEVIEW_IAR_YOUTUBE_VIDEO" |
597 * - "FILTER_TRUEVIEW_IAR_ZIPCODE" | 710 * - "FILTER_TRUEVIEW_IAR_ZIPCODE" |
598 * - "FILTER_TRUEVIEW_INTEREST" | 711 * - "FILTER_TRUEVIEW_INTEREST" |
599 * - "FILTER_TRUEVIEW_KEYWORD" | 712 * - "FILTER_TRUEVIEW_KEYWORD" |
600 * - "FILTER_TRUEVIEW_PARENTAL_STATUS" | 713 * - "FILTER_TRUEVIEW_PARENTAL_STATUS" |
601 * - "FILTER_TRUEVIEW_PLACEMENT" | 714 * - "FILTER_TRUEVIEW_PLACEMENT" |
602 * - "FILTER_TRUEVIEW_REGION" | 715 * - "FILTER_TRUEVIEW_REGION" |
603 * - "FILTER_TRUEVIEW_REMARKETING_LIST" | 716 * - "FILTER_TRUEVIEW_REMARKETING_LIST" |
604 * - "FILTER_TRUEVIEW_URL" | 717 * - "FILTER_TRUEVIEW_URL" |
605 * - "FILTER_TRUEVIEW_ZIPCODE" | 718 * - "FILTER_TRUEVIEW_ZIPCODE" |
606 * - "FILTER_UNKNOWN" | 719 * - "FILTER_UNKNOWN" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 if (kind != null) { | 823 if (kind != null) { |
711 _json["kind"] = kind; | 824 _json["kind"] = kind; |
712 } | 825 } |
713 if (reports != null) { | 826 if (reports != null) { |
714 _json["reports"] = reports.map((value) => (value).toJson()).toList(); | 827 _json["reports"] = reports.map((value) => (value).toJson()).toList(); |
715 } | 828 } |
716 return _json; | 829 return _json; |
717 } | 830 } |
718 } | 831 } |
719 | 832 |
720 /** Publisher comment from Rubicon. */ | |
721 class Note { | |
722 /** Note id. */ | |
723 core.String id; | |
724 /** Message from publisher. */ | |
725 core.String message; | |
726 /** Equals "publisher" for notification from Rubicon. */ | |
727 core.String source; | |
728 /** Time when the note was added, e.g. "2015-12-16T17:25:35.000-08:00". */ | |
729 core.String timestamp; | |
730 /** Publisher user name. */ | |
731 core.String username; | |
732 | |
733 Note(); | |
734 | |
735 Note.fromJson(core.Map _json) { | |
736 if (_json.containsKey("id")) { | |
737 id = _json["id"]; | |
738 } | |
739 if (_json.containsKey("message")) { | |
740 message = _json["message"]; | |
741 } | |
742 if (_json.containsKey("source")) { | |
743 source = _json["source"]; | |
744 } | |
745 if (_json.containsKey("timestamp")) { | |
746 timestamp = _json["timestamp"]; | |
747 } | |
748 if (_json.containsKey("username")) { | |
749 username = _json["username"]; | |
750 } | |
751 } | |
752 | |
753 core.Map toJson() { | |
754 var _json = new core.Map(); | |
755 if (id != null) { | |
756 _json["id"] = id; | |
757 } | |
758 if (message != null) { | |
759 _json["message"] = message; | |
760 } | |
761 if (source != null) { | |
762 _json["source"] = source; | |
763 } | |
764 if (timestamp != null) { | |
765 _json["timestamp"] = timestamp; | |
766 } | |
767 if (username != null) { | |
768 _json["username"] = username; | |
769 } | |
770 return _json; | |
771 } | |
772 } | |
773 | |
774 /** NotifyProposalChange request. */ | |
775 class NotifyProposalChangeRequest { | |
776 /** Action taken by publisher. One of: Accept, Decline, Append */ | |
777 core.String action; | |
778 /** URL to access proposal detail. */ | |
779 core.String href; | |
780 /** Below are contents of notification from Rubicon. Proposal id. */ | |
781 core.String id; | |
782 /** Notes from publisher */ | |
783 core.List<Note> notes; | |
784 /** Deal token, available when proposal is accepted by publisher. */ | |
785 core.String token; | |
786 | |
787 NotifyProposalChangeRequest(); | |
788 | |
789 NotifyProposalChangeRequest.fromJson(core.Map _json) { | |
790 if (_json.containsKey("action")) { | |
791 action = _json["action"]; | |
792 } | |
793 if (_json.containsKey("href")) { | |
794 href = _json["href"]; | |
795 } | |
796 if (_json.containsKey("id")) { | |
797 id = _json["id"]; | |
798 } | |
799 if (_json.containsKey("notes")) { | |
800 notes = _json["notes"].map((value) => new Note.fromJson(value)).toList(); | |
801 } | |
802 if (_json.containsKey("token")) { | |
803 token = _json["token"]; | |
804 } | |
805 } | |
806 | |
807 core.Map toJson() { | |
808 var _json = new core.Map(); | |
809 if (action != null) { | |
810 _json["action"] = action; | |
811 } | |
812 if (href != null) { | |
813 _json["href"] = href; | |
814 } | |
815 if (id != null) { | |
816 _json["id"] = id; | |
817 } | |
818 if (notes != null) { | |
819 _json["notes"] = notes.map((value) => (value).toJson()).toList(); | |
820 } | |
821 if (token != null) { | |
822 _json["token"] = token; | |
823 } | |
824 return _json; | |
825 } | |
826 } | |
827 | |
828 /** Parameters of a query or report. */ | 833 /** Parameters of a query or report. */ |
829 class Parameters { | 834 class Parameters { |
830 /** Filters used to match traffic data in your report. */ | 835 /** Filters used to match traffic data in your report. */ |
831 core.List<FilterPair> filters; | 836 core.List<FilterPair> filters; |
832 /** Data is grouped by the filters listed in this field. */ | 837 /** Data is grouped by the filters listed in this field. */ |
833 core.List<core.String> groupBys; | 838 core.List<core.String> groupBys; |
834 /** Whether to include data from Invite Media. */ | 839 /** Whether to include data from Invite Media. */ |
835 core.bool includeInviteData; | 840 core.bool includeInviteData; |
836 /** Metrics to include as columns in your report. */ | 841 /** Metrics to include as columns in your report. */ |
837 core.List<core.String> metrics; | 842 core.List<core.String> metrics; |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1660 var _json = new core.Map(); | 1665 var _json = new core.Map(); |
1661 if (errors != null) { | 1666 if (errors != null) { |
1662 _json["errors"] = errors; | 1667 _json["errors"] = errors; |
1663 } | 1668 } |
1664 if (rowStatus != null) { | 1669 if (rowStatus != null) { |
1665 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList(); | 1670 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList(); |
1666 } | 1671 } |
1667 return _json; | 1672 return _json; |
1668 } | 1673 } |
1669 } | 1674 } |
OLD | NEW |