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

Side by Side Diff: generated/googleapis/lib/consumersurveys/v2.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
« no previous file with comments | « generated/googleapis/lib/compute/v1.dart ('k') | generated/googleapis/lib/container/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.consumersurveys.v2; 3 library googleapis.consumersurveys.v2;
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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 566
567 FieldMask.fromJson(core.Map _json) { 567 FieldMask.fromJson(core.Map _json) {
568 if (_json.containsKey("fields")) { 568 if (_json.containsKey("fields")) {
569 fields = _json["fields"].map((value) => new FieldMask.fromJson(value)).toL ist(); 569 fields = _json["fields"].map((value) => new FieldMask.fromJson(value)).toL ist();
570 } 570 }
571 if (_json.containsKey("id")) { 571 if (_json.containsKey("id")) {
572 id = _json["id"]; 572 id = _json["id"];
573 } 573 }
574 } 574 }
575 575
576 core.Map toJson() { 576 core.Map<core.String, core.Object> toJson() {
577 var _json = new core.Map(); 577 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
578 if (fields != null) { 578 if (fields != null) {
579 _json["fields"] = fields.map((value) => (value).toJson()).toList(); 579 _json["fields"] = fields.map((value) => (value).toJson()).toList();
580 } 580 }
581 if (id != null) { 581 if (id != null) {
582 _json["id"] = id; 582 _json["id"] = id;
583 } 583 }
584 return _json; 584 return _json;
585 } 585 }
586 } 586 }
587 587
(...skipping 21 matching lines...) Expand all
609 mobileAppPanelId = _json["mobileAppPanelId"]; 609 mobileAppPanelId = _json["mobileAppPanelId"];
610 } 610 }
611 if (_json.containsKey("name")) { 611 if (_json.containsKey("name")) {
612 name = _json["name"]; 612 name = _json["name"];
613 } 613 }
614 if (_json.containsKey("owners")) { 614 if (_json.containsKey("owners")) {
615 owners = _json["owners"]; 615 owners = _json["owners"];
616 } 616 }
617 } 617 }
618 618
619 core.Map toJson() { 619 core.Map<core.String, core.Object> toJson() {
620 var _json = new core.Map(); 620 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
621 if (country != null) { 621 if (country != null) {
622 _json["country"] = country; 622 _json["country"] = country;
623 } 623 }
624 if (isPublicPanel != null) { 624 if (isPublicPanel != null) {
625 _json["isPublicPanel"] = isPublicPanel; 625 _json["isPublicPanel"] = isPublicPanel;
626 } 626 }
627 if (language != null) { 627 if (language != null) {
628 _json["language"] = language; 628 _json["language"] = language;
629 } 629 }
630 if (mobileAppPanelId != null) { 630 if (mobileAppPanelId != null) {
(...skipping 30 matching lines...) Expand all
661 requestId = _json["requestId"]; 661 requestId = _json["requestId"];
662 } 662 }
663 if (_json.containsKey("resources")) { 663 if (_json.containsKey("resources")) {
664 resources = _json["resources"].map((value) => new MobileAppPanel.fromJson( value)).toList(); 664 resources = _json["resources"].map((value) => new MobileAppPanel.fromJson( value)).toList();
665 } 665 }
666 if (_json.containsKey("tokenPagination")) { 666 if (_json.containsKey("tokenPagination")) {
667 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); 667 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]);
668 } 668 }
669 } 669 }
670 670
671 core.Map toJson() { 671 core.Map<core.String, core.Object> toJson() {
672 var _json = new core.Map(); 672 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
673 if (pageInfo != null) { 673 if (pageInfo != null) {
674 _json["pageInfo"] = (pageInfo).toJson(); 674 _json["pageInfo"] = (pageInfo).toJson();
675 } 675 }
676 if (requestId != null) { 676 if (requestId != null) {
677 _json["requestId"] = requestId; 677 _json["requestId"] = requestId;
678 } 678 }
679 if (resources != null) { 679 if (resources != null) {
680 _json["resources"] = resources.map((value) => (value).toJson()).toList(); 680 _json["resources"] = resources.map((value) => (value).toJson()).toList();
681 } 681 }
682 if (tokenPagination != null) { 682 if (tokenPagination != null) {
(...skipping 15 matching lines...) Expand all
698 resultPerPage = _json["resultPerPage"]; 698 resultPerPage = _json["resultPerPage"];
699 } 699 }
700 if (_json.containsKey("startIndex")) { 700 if (_json.containsKey("startIndex")) {
701 startIndex = _json["startIndex"]; 701 startIndex = _json["startIndex"];
702 } 702 }
703 if (_json.containsKey("totalResults")) { 703 if (_json.containsKey("totalResults")) {
704 totalResults = _json["totalResults"]; 704 totalResults = _json["totalResults"];
705 } 705 }
706 } 706 }
707 707
708 core.Map toJson() { 708 core.Map<core.String, core.Object> toJson() {
709 var _json = new core.Map(); 709 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
710 if (resultPerPage != null) { 710 if (resultPerPage != null) {
711 _json["resultPerPage"] = resultPerPage; 711 _json["resultPerPage"] = resultPerPage;
712 } 712 }
713 if (startIndex != null) { 713 if (startIndex != null) {
714 _json["startIndex"] = startIndex; 714 _json["startIndex"] = startIndex;
715 } 715 }
716 if (totalResults != null) { 716 if (totalResults != null) {
717 _json["totalResults"] = totalResults; 717 _json["totalResults"] = totalResults;
718 } 718 }
719 return _json; 719 return _json;
720 } 720 }
721 } 721 }
722 722
723 class ResultsGetRequest { 723 class ResultsGetRequest {
724 ResultsMask resultMask; 724 ResultsMask resultMask;
725 725
726 ResultsGetRequest(); 726 ResultsGetRequest();
727 727
728 ResultsGetRequest.fromJson(core.Map _json) { 728 ResultsGetRequest.fromJson(core.Map _json) {
729 if (_json.containsKey("resultMask")) { 729 if (_json.containsKey("resultMask")) {
730 resultMask = new ResultsMask.fromJson(_json["resultMask"]); 730 resultMask = new ResultsMask.fromJson(_json["resultMask"]);
731 } 731 }
732 } 732 }
733 733
734 core.Map toJson() { 734 core.Map<core.String, core.Object> toJson() {
735 var _json = new core.Map(); 735 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
736 if (resultMask != null) { 736 if (resultMask != null) {
737 _json["resultMask"] = (resultMask).toJson(); 737 _json["resultMask"] = (resultMask).toJson();
738 } 738 }
739 return _json; 739 return _json;
740 } 740 }
741 } 741 }
742 742
743 class ResultsMask { 743 class ResultsMask {
744 core.List<FieldMask> fields; 744 core.List<FieldMask> fields;
745 core.String projection; 745 core.String projection;
746 746
747 ResultsMask(); 747 ResultsMask();
748 748
749 ResultsMask.fromJson(core.Map _json) { 749 ResultsMask.fromJson(core.Map _json) {
750 if (_json.containsKey("fields")) { 750 if (_json.containsKey("fields")) {
751 fields = _json["fields"].map((value) => new FieldMask.fromJson(value)).toL ist(); 751 fields = _json["fields"].map((value) => new FieldMask.fromJson(value)).toL ist();
752 } 752 }
753 if (_json.containsKey("projection")) { 753 if (_json.containsKey("projection")) {
754 projection = _json["projection"]; 754 projection = _json["projection"];
755 } 755 }
756 } 756 }
757 757
758 core.Map toJson() { 758 core.Map<core.String, core.Object> toJson() {
759 var _json = new core.Map(); 759 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
760 if (fields != null) { 760 if (fields != null) {
761 _json["fields"] = fields.map((value) => (value).toJson()).toList(); 761 _json["fields"] = fields.map((value) => (value).toJson()).toList();
762 } 762 }
763 if (projection != null) { 763 if (projection != null) {
764 _json["projection"] = projection; 764 _json["projection"] = projection;
765 } 765 }
766 return _json; 766 return _json;
767 } 767 }
768 } 768 }
769 769
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 surveyUrlId = _json["surveyUrlId"]; 818 surveyUrlId = _json["surveyUrlId"];
819 } 819 }
820 if (_json.containsKey("title")) { 820 if (_json.containsKey("title")) {
821 title = _json["title"]; 821 title = _json["title"];
822 } 822 }
823 if (_json.containsKey("wantedResponseCount")) { 823 if (_json.containsKey("wantedResponseCount")) {
824 wantedResponseCount = _json["wantedResponseCount"]; 824 wantedResponseCount = _json["wantedResponseCount"];
825 } 825 }
826 } 826 }
827 827
828 core.Map toJson() { 828 core.Map<core.String, core.Object> toJson() {
829 var _json = new core.Map(); 829 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
830 if (audience != null) { 830 if (audience != null) {
831 _json["audience"] = (audience).toJson(); 831 _json["audience"] = (audience).toJson();
832 } 832 }
833 if (cost != null) { 833 if (cost != null) {
834 _json["cost"] = (cost).toJson(); 834 _json["cost"] = (cost).toJson();
835 } 835 }
836 if (customerData != null) { 836 if (customerData != null) {
837 _json["customerData"] = customerData; 837 _json["customerData"] = customerData;
838 } 838 }
839 if (description != null) { 839 if (description != null) {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 languages = _json["languages"]; 892 languages = _json["languages"];
893 } 893 }
894 if (_json.containsKey("mobileAppPanelId")) { 894 if (_json.containsKey("mobileAppPanelId")) {
895 mobileAppPanelId = _json["mobileAppPanelId"]; 895 mobileAppPanelId = _json["mobileAppPanelId"];
896 } 896 }
897 if (_json.containsKey("populationSource")) { 897 if (_json.containsKey("populationSource")) {
898 populationSource = _json["populationSource"]; 898 populationSource = _json["populationSource"];
899 } 899 }
900 } 900 }
901 901
902 core.Map toJson() { 902 core.Map<core.String, core.Object> toJson() {
903 var _json = new core.Map(); 903 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
904 if (ages != null) { 904 if (ages != null) {
905 _json["ages"] = ages; 905 _json["ages"] = ages;
906 } 906 }
907 if (country != null) { 907 if (country != null) {
908 _json["country"] = country; 908 _json["country"] = country;
909 } 909 }
910 if (countrySubdivision != null) { 910 if (countrySubdivision != null) {
911 _json["countrySubdivision"] = countrySubdivision; 911 _json["countrySubdivision"] = countrySubdivision;
912 } 912 }
913 if (gender != null) { 913 if (gender != null) {
(...skipping 28 matching lines...) Expand all
942 currencyCode = _json["currencyCode"]; 942 currencyCode = _json["currencyCode"];
943 } 943 }
944 if (_json.containsKey("maxCostPerResponseNanos")) { 944 if (_json.containsKey("maxCostPerResponseNanos")) {
945 maxCostPerResponseNanos = _json["maxCostPerResponseNanos"]; 945 maxCostPerResponseNanos = _json["maxCostPerResponseNanos"];
946 } 946 }
947 if (_json.containsKey("nanos")) { 947 if (_json.containsKey("nanos")) {
948 nanos = _json["nanos"]; 948 nanos = _json["nanos"];
949 } 949 }
950 } 950 }
951 951
952 core.Map toJson() { 952 core.Map<core.String, core.Object> toJson() {
953 var _json = new core.Map(); 953 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
954 if (costPerResponseNanos != null) { 954 if (costPerResponseNanos != null) {
955 _json["costPerResponseNanos"] = costPerResponseNanos; 955 _json["costPerResponseNanos"] = costPerResponseNanos;
956 } 956 }
957 if (currencyCode != null) { 957 if (currencyCode != null) {
958 _json["currencyCode"] = currencyCode; 958 _json["currencyCode"] = currencyCode;
959 } 959 }
960 if (maxCostPerResponseNanos != null) { 960 if (maxCostPerResponseNanos != null) {
961 _json["maxCostPerResponseNanos"] = maxCostPerResponseNanos; 961 _json["maxCostPerResponseNanos"] = maxCostPerResponseNanos;
962 } 962 }
963 if (nanos != null) { 963 if (nanos != null) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 type = _json["type"]; 1039 type = _json["type"];
1040 } 1040 }
1041 if (_json.containsKey("unitOfMeasurementLabel")) { 1041 if (_json.containsKey("unitOfMeasurementLabel")) {
1042 unitOfMeasurementLabel = _json["unitOfMeasurementLabel"]; 1042 unitOfMeasurementLabel = _json["unitOfMeasurementLabel"];
1043 } 1043 }
1044 if (_json.containsKey("videoId")) { 1044 if (_json.containsKey("videoId")) {
1045 videoId = _json["videoId"]; 1045 videoId = _json["videoId"];
1046 } 1046 }
1047 } 1047 }
1048 1048
1049 core.Map toJson() { 1049 core.Map<core.String, core.Object> toJson() {
1050 var _json = new core.Map(); 1050 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1051 if (answerOrder != null) { 1051 if (answerOrder != null) {
1052 _json["answerOrder"] = answerOrder; 1052 _json["answerOrder"] = answerOrder;
1053 } 1053 }
1054 if (answers != null) { 1054 if (answers != null) {
1055 _json["answers"] = answers; 1055 _json["answers"] = answers;
1056 } 1056 }
1057 if (hasOther != null) { 1057 if (hasOther != null) {
1058 _json["hasOther"] = hasOther; 1058 _json["hasOther"] = hasOther;
1059 } 1059 }
1060 if (highValueLabel != null) { 1060 if (highValueLabel != null) {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 altText = _json["altText"]; 1125 altText = _json["altText"];
1126 } 1126 }
1127 if (_json.containsKey("data")) { 1127 if (_json.containsKey("data")) {
1128 data = _json["data"]; 1128 data = _json["data"];
1129 } 1129 }
1130 if (_json.containsKey("url")) { 1130 if (_json.containsKey("url")) {
1131 url = _json["url"]; 1131 url = _json["url"];
1132 } 1132 }
1133 } 1133 }
1134 1134
1135 core.Map toJson() { 1135 core.Map<core.String, core.Object> toJson() {
1136 var _json = new core.Map(); 1136 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1137 if (altText != null) { 1137 if (altText != null) {
1138 _json["altText"] = altText; 1138 _json["altText"] = altText;
1139 } 1139 }
1140 if (data != null) { 1140 if (data != null) {
1141 _json["data"] = data; 1141 _json["data"] = data;
1142 } 1142 }
1143 if (url != null) { 1143 if (url != null) {
1144 _json["url"] = url; 1144 _json["url"] = url;
1145 } 1145 }
1146 return _json; 1146 return _json;
1147 } 1147 }
1148 } 1148 }
1149 1149
1150 class SurveyRejection { 1150 class SurveyRejection {
1151 core.String explanation; 1151 core.String explanation;
1152 core.String type; 1152 core.String type;
1153 1153
1154 SurveyRejection(); 1154 SurveyRejection();
1155 1155
1156 SurveyRejection.fromJson(core.Map _json) { 1156 SurveyRejection.fromJson(core.Map _json) {
1157 if (_json.containsKey("explanation")) { 1157 if (_json.containsKey("explanation")) {
1158 explanation = _json["explanation"]; 1158 explanation = _json["explanation"];
1159 } 1159 }
1160 if (_json.containsKey("type")) { 1160 if (_json.containsKey("type")) {
1161 type = _json["type"]; 1161 type = _json["type"];
1162 } 1162 }
1163 } 1163 }
1164 1164
1165 core.Map toJson() { 1165 core.Map<core.String, core.Object> toJson() {
1166 var _json = new core.Map(); 1166 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1167 if (explanation != null) { 1167 if (explanation != null) {
1168 _json["explanation"] = explanation; 1168 _json["explanation"] = explanation;
1169 } 1169 }
1170 if (type != null) { 1170 if (type != null) {
1171 _json["type"] = type; 1171 _json["type"] = type;
1172 } 1172 }
1173 return _json; 1173 return _json;
1174 } 1174 }
1175 } 1175 }
1176 1176
1177 class SurveyResults { 1177 class SurveyResults {
1178 core.String status; 1178 core.String status;
1179 core.String surveyUrlId; 1179 core.String surveyUrlId;
1180 1180
1181 SurveyResults(); 1181 SurveyResults();
1182 1182
1183 SurveyResults.fromJson(core.Map _json) { 1183 SurveyResults.fromJson(core.Map _json) {
1184 if (_json.containsKey("status")) { 1184 if (_json.containsKey("status")) {
1185 status = _json["status"]; 1185 status = _json["status"];
1186 } 1186 }
1187 if (_json.containsKey("surveyUrlId")) { 1187 if (_json.containsKey("surveyUrlId")) {
1188 surveyUrlId = _json["surveyUrlId"]; 1188 surveyUrlId = _json["surveyUrlId"];
1189 } 1189 }
1190 } 1190 }
1191 1191
1192 core.Map toJson() { 1192 core.Map<core.String, core.Object> toJson() {
1193 var _json = new core.Map(); 1193 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1194 if (status != null) { 1194 if (status != null) {
1195 _json["status"] = status; 1195 _json["status"] = status;
1196 } 1196 }
1197 if (surveyUrlId != null) { 1197 if (surveyUrlId != null) {
1198 _json["surveyUrlId"] = surveyUrlId; 1198 _json["surveyUrlId"] = surveyUrlId;
1199 } 1199 }
1200 return _json; 1200 return _json;
1201 } 1201 }
1202 } 1202 }
1203 1203
1204 class SurveysDeleteResponse { 1204 class SurveysDeleteResponse {
1205 /** 1205 /**
1206 * Unique request ID used for logging and debugging. Please include in any 1206 * Unique request ID used for logging and debugging. Please include in any
1207 * error reporting or troubleshooting requests. 1207 * error reporting or troubleshooting requests.
1208 */ 1208 */
1209 core.String requestId; 1209 core.String requestId;
1210 1210
1211 SurveysDeleteResponse(); 1211 SurveysDeleteResponse();
1212 1212
1213 SurveysDeleteResponse.fromJson(core.Map _json) { 1213 SurveysDeleteResponse.fromJson(core.Map _json) {
1214 if (_json.containsKey("requestId")) { 1214 if (_json.containsKey("requestId")) {
1215 requestId = _json["requestId"]; 1215 requestId = _json["requestId"];
1216 } 1216 }
1217 } 1217 }
1218 1218
1219 core.Map toJson() { 1219 core.Map<core.String, core.Object> toJson() {
1220 var _json = new core.Map(); 1220 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1221 if (requestId != null) { 1221 if (requestId != null) {
1222 _json["requestId"] = requestId; 1222 _json["requestId"] = requestId;
1223 } 1223 }
1224 return _json; 1224 return _json;
1225 } 1225 }
1226 } 1226 }
1227 1227
1228 class SurveysListResponse { 1228 class SurveysListResponse {
1229 PageInfo pageInfo; 1229 PageInfo pageInfo;
1230 /** 1230 /**
(...skipping 15 matching lines...) Expand all
1246 requestId = _json["requestId"]; 1246 requestId = _json["requestId"];
1247 } 1247 }
1248 if (_json.containsKey("resources")) { 1248 if (_json.containsKey("resources")) {
1249 resources = _json["resources"].map((value) => new Survey.fromJson(value)). toList(); 1249 resources = _json["resources"].map((value) => new Survey.fromJson(value)). toList();
1250 } 1250 }
1251 if (_json.containsKey("tokenPagination")) { 1251 if (_json.containsKey("tokenPagination")) {
1252 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); 1252 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]);
1253 } 1253 }
1254 } 1254 }
1255 1255
1256 core.Map toJson() { 1256 core.Map<core.String, core.Object> toJson() {
1257 var _json = new core.Map(); 1257 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1258 if (pageInfo != null) { 1258 if (pageInfo != null) {
1259 _json["pageInfo"] = (pageInfo).toJson(); 1259 _json["pageInfo"] = (pageInfo).toJson();
1260 } 1260 }
1261 if (requestId != null) { 1261 if (requestId != null) {
1262 _json["requestId"] = requestId; 1262 _json["requestId"] = requestId;
1263 } 1263 }
1264 if (resources != null) { 1264 if (resources != null) {
1265 _json["resources"] = resources.map((value) => (value).toJson()).toList(); 1265 _json["resources"] = resources.map((value) => (value).toJson()).toList();
1266 } 1266 }
1267 if (tokenPagination != null) { 1267 if (tokenPagination != null) {
(...skipping 11 matching lines...) Expand all
1279 core.String maxCostPerResponseNanos; 1279 core.String maxCostPerResponseNanos;
1280 1280
1281 SurveysStartRequest(); 1281 SurveysStartRequest();
1282 1282
1283 SurveysStartRequest.fromJson(core.Map _json) { 1283 SurveysStartRequest.fromJson(core.Map _json) {
1284 if (_json.containsKey("maxCostPerResponseNanos")) { 1284 if (_json.containsKey("maxCostPerResponseNanos")) {
1285 maxCostPerResponseNanos = _json["maxCostPerResponseNanos"]; 1285 maxCostPerResponseNanos = _json["maxCostPerResponseNanos"];
1286 } 1286 }
1287 } 1287 }
1288 1288
1289 core.Map toJson() { 1289 core.Map<core.String, core.Object> toJson() {
1290 var _json = new core.Map(); 1290 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1291 if (maxCostPerResponseNanos != null) { 1291 if (maxCostPerResponseNanos != null) {
1292 _json["maxCostPerResponseNanos"] = maxCostPerResponseNanos; 1292 _json["maxCostPerResponseNanos"] = maxCostPerResponseNanos;
1293 } 1293 }
1294 return _json; 1294 return _json;
1295 } 1295 }
1296 } 1296 }
1297 1297
1298 class SurveysStartResponse { 1298 class SurveysStartResponse {
1299 /** 1299 /**
1300 * Unique request ID used for logging and debugging. Please include in any 1300 * Unique request ID used for logging and debugging. Please include in any
1301 * error reporting or troubleshooting requests. 1301 * error reporting or troubleshooting requests.
1302 */ 1302 */
1303 core.String requestId; 1303 core.String requestId;
1304 1304
1305 SurveysStartResponse(); 1305 SurveysStartResponse();
1306 1306
1307 SurveysStartResponse.fromJson(core.Map _json) { 1307 SurveysStartResponse.fromJson(core.Map _json) {
1308 if (_json.containsKey("requestId")) { 1308 if (_json.containsKey("requestId")) {
1309 requestId = _json["requestId"]; 1309 requestId = _json["requestId"];
1310 } 1310 }
1311 } 1311 }
1312 1312
1313 core.Map toJson() { 1313 core.Map<core.String, core.Object> toJson() {
1314 var _json = new core.Map(); 1314 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1315 if (requestId != null) { 1315 if (requestId != null) {
1316 _json["requestId"] = requestId; 1316 _json["requestId"] = requestId;
1317 } 1317 }
1318 return _json; 1318 return _json;
1319 } 1319 }
1320 } 1320 }
1321 1321
1322 class SurveysStopResponse { 1322 class SurveysStopResponse {
1323 /** 1323 /**
1324 * Unique request ID used for logging and debugging. Please include in any 1324 * Unique request ID used for logging and debugging. Please include in any
1325 * error reporting or troubleshooting requests. 1325 * error reporting or troubleshooting requests.
1326 */ 1326 */
1327 core.String requestId; 1327 core.String requestId;
1328 1328
1329 SurveysStopResponse(); 1329 SurveysStopResponse();
1330 1330
1331 SurveysStopResponse.fromJson(core.Map _json) { 1331 SurveysStopResponse.fromJson(core.Map _json) {
1332 if (_json.containsKey("requestId")) { 1332 if (_json.containsKey("requestId")) {
1333 requestId = _json["requestId"]; 1333 requestId = _json["requestId"];
1334 } 1334 }
1335 } 1335 }
1336 1336
1337 core.Map toJson() { 1337 core.Map<core.String, core.Object> toJson() {
1338 var _json = new core.Map(); 1338 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1339 if (requestId != null) { 1339 if (requestId != null) {
1340 _json["requestId"] = requestId; 1340 _json["requestId"] = requestId;
1341 } 1341 }
1342 return _json; 1342 return _json;
1343 } 1343 }
1344 } 1344 }
1345 1345
1346 class TokenPagination { 1346 class TokenPagination {
1347 core.String nextPageToken; 1347 core.String nextPageToken;
1348 core.String previousPageToken; 1348 core.String previousPageToken;
1349 1349
1350 TokenPagination(); 1350 TokenPagination();
1351 1351
1352 TokenPagination.fromJson(core.Map _json) { 1352 TokenPagination.fromJson(core.Map _json) {
1353 if (_json.containsKey("nextPageToken")) { 1353 if (_json.containsKey("nextPageToken")) {
1354 nextPageToken = _json["nextPageToken"]; 1354 nextPageToken = _json["nextPageToken"];
1355 } 1355 }
1356 if (_json.containsKey("previousPageToken")) { 1356 if (_json.containsKey("previousPageToken")) {
1357 previousPageToken = _json["previousPageToken"]; 1357 previousPageToken = _json["previousPageToken"];
1358 } 1358 }
1359 } 1359 }
1360 1360
1361 core.Map toJson() { 1361 core.Map<core.String, core.Object> toJson() {
1362 var _json = new core.Map(); 1362 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1363 if (nextPageToken != null) { 1363 if (nextPageToken != null) {
1364 _json["nextPageToken"] = nextPageToken; 1364 _json["nextPageToken"] = nextPageToken;
1365 } 1365 }
1366 if (previousPageToken != null) { 1366 if (previousPageToken != null) {
1367 _json["previousPageToken"] = previousPageToken; 1367 _json["previousPageToken"] = previousPageToken;
1368 } 1368 }
1369 return _json; 1369 return _json;
1370 } 1370 }
1371 } 1371 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/compute/v1.dart ('k') | generated/googleapis/lib/container/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698