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

Side by Side Diff: generated/googleapis/lib/surveys/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
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.surveys.v2; 3 library googleapis.surveys.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 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 return _json; 1475 return _json;
1476 } 1476 }
1477 } 1477 }
1478 1478
1479 class SurveysStartResponse { 1479 class SurveysStartResponse {
1480 /** 1480 /**
1481 * Unique request ID used for logging and debugging. Please include in any 1481 * Unique request ID used for logging and debugging. Please include in any
1482 * error reporting or troubleshooting requests. 1482 * error reporting or troubleshooting requests.
1483 */ 1483 */
1484 core.String requestId; 1484 core.String requestId;
1485 /** Survey object containing the specification of the started Survey. */
1486 Survey resource;
1487 1485
1488 SurveysStartResponse(); 1486 SurveysStartResponse();
1489 1487
1490 SurveysStartResponse.fromJson(core.Map _json) { 1488 SurveysStartResponse.fromJson(core.Map _json) {
1491 if (_json.containsKey("requestId")) { 1489 if (_json.containsKey("requestId")) {
1492 requestId = _json["requestId"]; 1490 requestId = _json["requestId"];
1493 } 1491 }
1494 if (_json.containsKey("resource")) {
1495 resource = new Survey.fromJson(_json["resource"]);
1496 }
1497 } 1492 }
1498 1493
1499 core.Map toJson() { 1494 core.Map toJson() {
1500 var _json = new core.Map(); 1495 var _json = new core.Map();
1501 if (requestId != null) { 1496 if (requestId != null) {
1502 _json["requestId"] = requestId; 1497 _json["requestId"] = requestId;
1503 } 1498 }
1504 if (resource != null) {
1505 _json["resource"] = (resource).toJson();
1506 }
1507 return _json; 1499 return _json;
1508 } 1500 }
1509 } 1501 }
1510 1502
1511 class SurveysStopResponse { 1503 class SurveysStopResponse {
1512 /** 1504 /**
1513 * Unique request ID used for logging and debugging. Please include in any 1505 * Unique request ID used for logging and debugging. Please include in any
1514 * error reporting or troubleshooting requests. 1506 * error reporting or troubleshooting requests.
1515 */ 1507 */
1516 core.String requestId; 1508 core.String requestId;
1517 /** Survey object containing the specification of the stopped Survey. */
1518 Survey resource;
1519 1509
1520 SurveysStopResponse(); 1510 SurveysStopResponse();
1521 1511
1522 SurveysStopResponse.fromJson(core.Map _json) { 1512 SurveysStopResponse.fromJson(core.Map _json) {
1523 if (_json.containsKey("requestId")) { 1513 if (_json.containsKey("requestId")) {
1524 requestId = _json["requestId"]; 1514 requestId = _json["requestId"];
1525 } 1515 }
1526 if (_json.containsKey("resource")) {
1527 resource = new Survey.fromJson(_json["resource"]);
1528 }
1529 } 1516 }
1530 1517
1531 core.Map toJson() { 1518 core.Map toJson() {
1532 var _json = new core.Map(); 1519 var _json = new core.Map();
1533 if (requestId != null) { 1520 if (requestId != null) {
1534 _json["requestId"] = requestId; 1521 _json["requestId"] = requestId;
1535 } 1522 }
1536 if (resource != null) {
1537 _json["resource"] = (resource).toJson();
1538 }
1539 return _json; 1523 return _json;
1540 } 1524 }
1541 } 1525 }
1542 1526
1543 class TokenPagination { 1527 class TokenPagination {
1544 core.String nextPageToken; 1528 core.String nextPageToken;
1545 core.String previousPageToken; 1529 core.String previousPageToken;
1546 1530
1547 TokenPagination(); 1531 TokenPagination();
1548 1532
(...skipping 10 matching lines...) Expand all
1559 var _json = new core.Map(); 1543 var _json = new core.Map();
1560 if (nextPageToken != null) { 1544 if (nextPageToken != null) {
1561 _json["nextPageToken"] = nextPageToken; 1545 _json["nextPageToken"] = nextPageToken;
1562 } 1546 }
1563 if (previousPageToken != null) { 1547 if (previousPageToken != null) {
1564 _json["previousPageToken"] = previousPageToken; 1548 _json["previousPageToken"] = previousPageToken;
1565 } 1549 }
1566 return _json; 1550 return _json;
1567 } 1551 }
1568 } 1552 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/storagetransfer/v1.dart ('k') | generated/googleapis/lib/tracing/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698