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

Side by Side Diff: generated/googleapis/lib/consumersurveys/v2.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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 1283 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 /** Survey object containing the specification of the started Survey. */
1305 Survey resource;
1306 1304
1307 SurveysStartResponse(); 1305 SurveysStartResponse();
1308 1306
1309 SurveysStartResponse.fromJson(core.Map _json) { 1307 SurveysStartResponse.fromJson(core.Map _json) {
1310 if (_json.containsKey("requestId")) { 1308 if (_json.containsKey("requestId")) {
1311 requestId = _json["requestId"]; 1309 requestId = _json["requestId"];
1312 } 1310 }
1313 if (_json.containsKey("resource")) {
1314 resource = new Survey.fromJson(_json["resource"]);
1315 }
1316 } 1311 }
1317 1312
1318 core.Map toJson() { 1313 core.Map toJson() {
1319 var _json = new core.Map(); 1314 var _json = new core.Map();
1320 if (requestId != null) { 1315 if (requestId != null) {
1321 _json["requestId"] = requestId; 1316 _json["requestId"] = requestId;
1322 } 1317 }
1323 if (resource != null) {
1324 _json["resource"] = (resource).toJson();
1325 }
1326 return _json; 1318 return _json;
1327 } 1319 }
1328 } 1320 }
1329 1321
1330 class SurveysStopResponse { 1322 class SurveysStopResponse {
1331 /** 1323 /**
1332 * 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
1333 * error reporting or troubleshooting requests. 1325 * error reporting or troubleshooting requests.
1334 */ 1326 */
1335 core.String requestId; 1327 core.String requestId;
1336 /** Survey object containing the specification of the stopped Survey. */
1337 Survey resource;
1338 1328
1339 SurveysStopResponse(); 1329 SurveysStopResponse();
1340 1330
1341 SurveysStopResponse.fromJson(core.Map _json) { 1331 SurveysStopResponse.fromJson(core.Map _json) {
1342 if (_json.containsKey("requestId")) { 1332 if (_json.containsKey("requestId")) {
1343 requestId = _json["requestId"]; 1333 requestId = _json["requestId"];
1344 } 1334 }
1345 if (_json.containsKey("resource")) {
1346 resource = new Survey.fromJson(_json["resource"]);
1347 }
1348 } 1335 }
1349 1336
1350 core.Map toJson() { 1337 core.Map toJson() {
1351 var _json = new core.Map(); 1338 var _json = new core.Map();
1352 if (requestId != null) { 1339 if (requestId != null) {
1353 _json["requestId"] = requestId; 1340 _json["requestId"] = requestId;
1354 } 1341 }
1355 if (resource != null) {
1356 _json["resource"] = (resource).toJson();
1357 }
1358 return _json; 1342 return _json;
1359 } 1343 }
1360 } 1344 }
1361 1345
1362 class TokenPagination { 1346 class TokenPagination {
1363 core.String nextPageToken; 1347 core.String nextPageToken;
1364 core.String previousPageToken; 1348 core.String previousPageToken;
1365 1349
1366 TokenPagination(); 1350 TokenPagination();
1367 1351
(...skipping 10 matching lines...) Expand all
1378 var _json = new core.Map(); 1362 var _json = new core.Map();
1379 if (nextPageToken != null) { 1363 if (nextPageToken != null) {
1380 _json["nextPageToken"] = nextPageToken; 1364 _json["nextPageToken"] = nextPageToken;
1381 } 1365 }
1382 if (previousPageToken != null) { 1366 if (previousPageToken != null) {
1383 _json["previousPageToken"] = previousPageToken; 1367 _json["previousPageToken"] = previousPageToken;
1384 } 1368 }
1385 return _json; 1369 return _json;
1386 } 1370 }
1387 } 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