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

Side by Side Diff: generated/googleapis/lib/admin/reports_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.admin.reports_v1; 3 library googleapis.admin.reports_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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 items = _json["items"].map((value) => new Activity.fromJson(value)).toList (); 479 items = _json["items"].map((value) => new Activity.fromJson(value)).toList ();
480 } 480 }
481 if (_json.containsKey("kind")) { 481 if (_json.containsKey("kind")) {
482 kind = _json["kind"]; 482 kind = _json["kind"];
483 } 483 }
484 if (_json.containsKey("nextPageToken")) { 484 if (_json.containsKey("nextPageToken")) {
485 nextPageToken = _json["nextPageToken"]; 485 nextPageToken = _json["nextPageToken"];
486 } 486 }
487 } 487 }
488 488
489 core.Map toJson() { 489 core.Map<core.String, core.Object> toJson() {
490 var _json = new core.Map(); 490 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
491 if (etag != null) { 491 if (etag != null) {
492 _json["etag"] = etag; 492 _json["etag"] = etag;
493 } 493 }
494 if (items != null) { 494 if (items != null) {
495 _json["items"] = items.map((value) => (value).toJson()).toList(); 495 _json["items"] = items.map((value) => (value).toJson()).toList();
496 } 496 }
497 if (kind != null) { 497 if (kind != null) {
498 _json["kind"] = kind; 498 _json["kind"] = kind;
499 } 499 }
500 if (nextPageToken != null) { 500 if (nextPageToken != null) {
(...skipping 24 matching lines...) Expand all
525 email = _json["email"]; 525 email = _json["email"];
526 } 526 }
527 if (_json.containsKey("key")) { 527 if (_json.containsKey("key")) {
528 key = _json["key"]; 528 key = _json["key"];
529 } 529 }
530 if (_json.containsKey("profileId")) { 530 if (_json.containsKey("profileId")) {
531 profileId = _json["profileId"]; 531 profileId = _json["profileId"];
532 } 532 }
533 } 533 }
534 534
535 core.Map toJson() { 535 core.Map<core.String, core.Object> toJson() {
536 var _json = new core.Map(); 536 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
537 if (callerType != null) { 537 if (callerType != null) {
538 _json["callerType"] = callerType; 538 _json["callerType"] = callerType;
539 } 539 }
540 if (email != null) { 540 if (email != null) {
541 _json["email"] = email; 541 _json["email"] = email;
542 } 542 }
543 if (key != null) { 543 if (key != null) {
544 _json["key"] = key; 544 _json["key"] = key;
545 } 545 }
546 if (profileId != null) { 546 if (profileId != null) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 multiValue = _json["multiValue"]; 580 multiValue = _json["multiValue"];
581 } 581 }
582 if (_json.containsKey("name")) { 582 if (_json.containsKey("name")) {
583 name = _json["name"]; 583 name = _json["name"];
584 } 584 }
585 if (_json.containsKey("value")) { 585 if (_json.containsKey("value")) {
586 value = _json["value"]; 586 value = _json["value"];
587 } 587 }
588 } 588 }
589 589
590 core.Map toJson() { 590 core.Map<core.String, core.Object> toJson() {
591 var _json = new core.Map(); 591 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
592 if (boolValue != null) { 592 if (boolValue != null) {
593 _json["boolValue"] = boolValue; 593 _json["boolValue"] = boolValue;
594 } 594 }
595 if (intValue != null) { 595 if (intValue != null) {
596 _json["intValue"] = intValue; 596 _json["intValue"] = intValue;
597 } 597 }
598 if (multiIntValue != null) { 598 if (multiIntValue != null) {
599 _json["multiIntValue"] = multiIntValue; 599 _json["multiIntValue"] = multiIntValue;
600 } 600 }
601 if (multiValue != null) { 601 if (multiValue != null) {
(...skipping 24 matching lines...) Expand all
626 name = _json["name"]; 626 name = _json["name"];
627 } 627 }
628 if (_json.containsKey("parameters")) { 628 if (_json.containsKey("parameters")) {
629 parameters = _json["parameters"].map((value) => new ActivityEventsParamete rs.fromJson(value)).toList(); 629 parameters = _json["parameters"].map((value) => new ActivityEventsParamete rs.fromJson(value)).toList();
630 } 630 }
631 if (_json.containsKey("type")) { 631 if (_json.containsKey("type")) {
632 type = _json["type"]; 632 type = _json["type"];
633 } 633 }
634 } 634 }
635 635
636 core.Map toJson() { 636 core.Map<core.String, core.Object> toJson() {
637 var _json = new core.Map(); 637 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
638 if (name != null) { 638 if (name != null) {
639 _json["name"] = name; 639 _json["name"] = name;
640 } 640 }
641 if (parameters != null) { 641 if (parameters != null) {
642 _json["parameters"] = parameters.map((value) => (value).toJson()).toList() ; 642 _json["parameters"] = parameters.map((value) => (value).toJson()).toList() ;
643 } 643 }
644 if (type != null) { 644 if (type != null) {
645 _json["type"] = type; 645 _json["type"] = type;
646 } 646 }
647 return _json; 647 return _json;
(...skipping 21 matching lines...) Expand all
669 customerId = _json["customerId"]; 669 customerId = _json["customerId"];
670 } 670 }
671 if (_json.containsKey("time")) { 671 if (_json.containsKey("time")) {
672 time = core.DateTime.parse(_json["time"]); 672 time = core.DateTime.parse(_json["time"]);
673 } 673 }
674 if (_json.containsKey("uniqueQualifier")) { 674 if (_json.containsKey("uniqueQualifier")) {
675 uniqueQualifier = _json["uniqueQualifier"]; 675 uniqueQualifier = _json["uniqueQualifier"];
676 } 676 }
677 } 677 }
678 678
679 core.Map toJson() { 679 core.Map<core.String, core.Object> toJson() {
680 var _json = new core.Map(); 680 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
681 if (applicationName != null) { 681 if (applicationName != null) {
682 _json["applicationName"] = applicationName; 682 _json["applicationName"] = applicationName;
683 } 683 }
684 if (customerId != null) { 684 if (customerId != null) {
685 _json["customerId"] = customerId; 685 _json["customerId"] = customerId;
686 } 686 }
687 if (time != null) { 687 if (time != null) {
688 _json["time"] = (time).toIso8601String(); 688 _json["time"] = (time).toIso8601String();
689 } 689 }
690 if (uniqueQualifier != null) { 690 if (uniqueQualifier != null) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 ipAddress = _json["ipAddress"]; 730 ipAddress = _json["ipAddress"];
731 } 731 }
732 if (_json.containsKey("kind")) { 732 if (_json.containsKey("kind")) {
733 kind = _json["kind"]; 733 kind = _json["kind"];
734 } 734 }
735 if (_json.containsKey("ownerDomain")) { 735 if (_json.containsKey("ownerDomain")) {
736 ownerDomain = _json["ownerDomain"]; 736 ownerDomain = _json["ownerDomain"];
737 } 737 }
738 } 738 }
739 739
740 core.Map toJson() { 740 core.Map<core.String, core.Object> toJson() {
741 var _json = new core.Map(); 741 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
742 if (actor != null) { 742 if (actor != null) {
743 _json["actor"] = (actor).toJson(); 743 _json["actor"] = (actor).toJson();
744 } 744 }
745 if (etag != null) { 745 if (etag != null) {
746 _json["etag"] = etag; 746 _json["etag"] = etag;
747 } 747 }
748 if (events != null) { 748 if (events != null) {
749 _json["events"] = events.map((value) => (value).toJson()).toList(); 749 _json["events"] = events.map((value) => (value).toJson()).toList();
750 } 750 }
751 if (id != null) { 751 if (id != null) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 resourceUri = _json["resourceUri"]; 827 resourceUri = _json["resourceUri"];
828 } 828 }
829 if (_json.containsKey("token")) { 829 if (_json.containsKey("token")) {
830 token = _json["token"]; 830 token = _json["token"];
831 } 831 }
832 if (_json.containsKey("type")) { 832 if (_json.containsKey("type")) {
833 type = _json["type"]; 833 type = _json["type"];
834 } 834 }
835 } 835 }
836 836
837 core.Map toJson() { 837 core.Map<core.String, core.Object> toJson() {
838 var _json = new core.Map(); 838 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
839 if (address != null) { 839 if (address != null) {
840 _json["address"] = address; 840 _json["address"] = address;
841 } 841 }
842 if (expiration != null) { 842 if (expiration != null) {
843 _json["expiration"] = expiration; 843 _json["expiration"] = expiration;
844 } 844 }
845 if (id != null) { 845 if (id != null) {
846 _json["id"] = id; 846 _json["id"] = id;
847 } 847 }
848 if (kind != null) { 848 if (kind != null) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 profileId = _json["profileId"]; 891 profileId = _json["profileId"];
892 } 892 }
893 if (_json.containsKey("type")) { 893 if (_json.containsKey("type")) {
894 type = _json["type"]; 894 type = _json["type"];
895 } 895 }
896 if (_json.containsKey("userEmail")) { 896 if (_json.containsKey("userEmail")) {
897 userEmail = _json["userEmail"]; 897 userEmail = _json["userEmail"];
898 } 898 }
899 } 899 }
900 900
901 core.Map toJson() { 901 core.Map<core.String, core.Object> toJson() {
902 var _json = new core.Map(); 902 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
903 if (customerId != null) { 903 if (customerId != null) {
904 _json["customerId"] = customerId; 904 _json["customerId"] = customerId;
905 } 905 }
906 if (profileId != null) { 906 if (profileId != null) {
907 _json["profileId"] = profileId; 907 _json["profileId"] = profileId;
908 } 908 }
909 if (type != null) { 909 if (type != null) {
910 _json["type"] = type; 910 _json["type"] = type;
911 } 911 }
912 if (userEmail != null) { 912 if (userEmail != null) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 msgValue = _json["msgValue"]; 951 msgValue = _json["msgValue"];
952 } 952 }
953 if (_json.containsKey("name")) { 953 if (_json.containsKey("name")) {
954 name = _json["name"]; 954 name = _json["name"];
955 } 955 }
956 if (_json.containsKey("stringValue")) { 956 if (_json.containsKey("stringValue")) {
957 stringValue = _json["stringValue"]; 957 stringValue = _json["stringValue"];
958 } 958 }
959 } 959 }
960 960
961 core.Map toJson() { 961 core.Map<core.String, core.Object> toJson() {
962 var _json = new core.Map(); 962 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
963 if (boolValue != null) { 963 if (boolValue != null) {
964 _json["boolValue"] = boolValue; 964 _json["boolValue"] = boolValue;
965 } 965 }
966 if (datetimeValue != null) { 966 if (datetimeValue != null) {
967 _json["datetimeValue"] = (datetimeValue).toIso8601String(); 967 _json["datetimeValue"] = (datetimeValue).toIso8601String();
968 } 968 }
969 if (intValue != null) { 969 if (intValue != null) {
970 _json["intValue"] = intValue; 970 _json["intValue"] = intValue;
971 } 971 }
972 if (msgValue != null) { 972 if (msgValue != null) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 etag = _json["etag"]; 1008 etag = _json["etag"];
1009 } 1009 }
1010 if (_json.containsKey("kind")) { 1010 if (_json.containsKey("kind")) {
1011 kind = _json["kind"]; 1011 kind = _json["kind"];
1012 } 1012 }
1013 if (_json.containsKey("parameters")) { 1013 if (_json.containsKey("parameters")) {
1014 parameters = _json["parameters"].map((value) => new UsageReportParameters. fromJson(value)).toList(); 1014 parameters = _json["parameters"].map((value) => new UsageReportParameters. fromJson(value)).toList();
1015 } 1015 }
1016 } 1016 }
1017 1017
1018 core.Map toJson() { 1018 core.Map<core.String, core.Object> toJson() {
1019 var _json = new core.Map(); 1019 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1020 if (date != null) { 1020 if (date != null) {
1021 _json["date"] = date; 1021 _json["date"] = date;
1022 } 1022 }
1023 if (entity != null) { 1023 if (entity != null) {
1024 _json["entity"] = (entity).toJson(); 1024 _json["entity"] = (entity).toJson();
1025 } 1025 }
1026 if (etag != null) { 1026 if (etag != null) {
1027 _json["etag"] = etag; 1027 _json["etag"] = etag;
1028 } 1028 }
1029 if (kind != null) { 1029 if (kind != null) {
(...skipping 22 matching lines...) Expand all
1052 1052
1053 UsageReportsWarningsData.fromJson(core.Map _json) { 1053 UsageReportsWarningsData.fromJson(core.Map _json) {
1054 if (_json.containsKey("key")) { 1054 if (_json.containsKey("key")) {
1055 key = _json["key"]; 1055 key = _json["key"];
1056 } 1056 }
1057 if (_json.containsKey("value")) { 1057 if (_json.containsKey("value")) {
1058 value = _json["value"]; 1058 value = _json["value"];
1059 } 1059 }
1060 } 1060 }
1061 1061
1062 core.Map toJson() { 1062 core.Map<core.String, core.Object> toJson() {
1063 var _json = new core.Map(); 1063 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1064 if (key != null) { 1064 if (key != null) {
1065 _json["key"] = key; 1065 _json["key"] = key;
1066 } 1066 }
1067 if (value != null) { 1067 if (value != null) {
1068 _json["value"] = value; 1068 _json["value"] = value;
1069 } 1069 }
1070 return _json; 1070 return _json;
1071 } 1071 }
1072 } 1072 }
1073 1073
(...skipping 12 matching lines...) Expand all
1086 code = _json["code"]; 1086 code = _json["code"];
1087 } 1087 }
1088 if (_json.containsKey("data")) { 1088 if (_json.containsKey("data")) {
1089 data = _json["data"].map((value) => new UsageReportsWarningsData.fromJson( value)).toList(); 1089 data = _json["data"].map((value) => new UsageReportsWarningsData.fromJson( value)).toList();
1090 } 1090 }
1091 if (_json.containsKey("message")) { 1091 if (_json.containsKey("message")) {
1092 message = _json["message"]; 1092 message = _json["message"];
1093 } 1093 }
1094 } 1094 }
1095 1095
1096 core.Map toJson() { 1096 core.Map<core.String, core.Object> toJson() {
1097 var _json = new core.Map(); 1097 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1098 if (code != null) { 1098 if (code != null) {
1099 _json["code"] = code; 1099 _json["code"] = code;
1100 } 1100 }
1101 if (data != null) { 1101 if (data != null) {
1102 _json["data"] = data.map((value) => (value).toJson()).toList(); 1102 _json["data"] = data.map((value) => (value).toJson()).toList();
1103 } 1103 }
1104 if (message != null) { 1104 if (message != null) {
1105 _json["message"] = message; 1105 _json["message"] = message;
1106 } 1106 }
1107 return _json; 1107 return _json;
(...skipping 26 matching lines...) Expand all
1134 nextPageToken = _json["nextPageToken"]; 1134 nextPageToken = _json["nextPageToken"];
1135 } 1135 }
1136 if (_json.containsKey("usageReports")) { 1136 if (_json.containsKey("usageReports")) {
1137 usageReports = _json["usageReports"].map((value) => new UsageReport.fromJs on(value)).toList(); 1137 usageReports = _json["usageReports"].map((value) => new UsageReport.fromJs on(value)).toList();
1138 } 1138 }
1139 if (_json.containsKey("warnings")) { 1139 if (_json.containsKey("warnings")) {
1140 warnings = _json["warnings"].map((value) => new UsageReportsWarnings.fromJ son(value)).toList(); 1140 warnings = _json["warnings"].map((value) => new UsageReportsWarnings.fromJ son(value)).toList();
1141 } 1141 }
1142 } 1142 }
1143 1143
1144 core.Map toJson() { 1144 core.Map<core.String, core.Object> toJson() {
1145 var _json = new core.Map(); 1145 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1146 if (etag != null) { 1146 if (etag != null) {
1147 _json["etag"] = etag; 1147 _json["etag"] = etag;
1148 } 1148 }
1149 if (kind != null) { 1149 if (kind != null) {
1150 _json["kind"] = kind; 1150 _json["kind"] = kind;
1151 } 1151 }
1152 if (nextPageToken != null) { 1152 if (nextPageToken != null) {
1153 _json["nextPageToken"] = nextPageToken; 1153 _json["nextPageToken"] = nextPageToken;
1154 } 1154 }
1155 if (usageReports != null) { 1155 if (usageReports != null) {
1156 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi st(); 1156 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi st();
1157 } 1157 }
1158 if (warnings != null) { 1158 if (warnings != null) {
1159 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); 1159 _json["warnings"] = warnings.map((value) => (value).toJson()).toList();
1160 } 1160 }
1161 return _json; 1161 return _json;
1162 } 1162 }
1163 } 1163 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/admin/directory_v1.dart ('k') | generated/googleapis/lib/adsense/v1_4.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698