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

Side by Side Diff: generated/googleapis/lib/admin/datatransfer_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.datatransfer_v1; 3 library googleapis.admin.datatransfer_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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 kind = _json["kind"]; 316 kind = _json["kind"];
317 } 317 }
318 if (_json.containsKey("name")) { 318 if (_json.containsKey("name")) {
319 name = _json["name"]; 319 name = _json["name"];
320 } 320 }
321 if (_json.containsKey("transferParams")) { 321 if (_json.containsKey("transferParams")) {
322 transferParams = _json["transferParams"].map((value) => new ApplicationTra nsferParam.fromJson(value)).toList(); 322 transferParams = _json["transferParams"].map((value) => new ApplicationTra nsferParam.fromJson(value)).toList();
323 } 323 }
324 } 324 }
325 325
326 core.Map toJson() { 326 core.Map<core.String, core.Object> toJson() {
327 var _json = new core.Map(); 327 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
328 if (etag != null) { 328 if (etag != null) {
329 _json["etag"] = etag; 329 _json["etag"] = etag;
330 } 330 }
331 if (id != null) { 331 if (id != null) {
332 _json["id"] = id; 332 _json["id"] = id;
333 } 333 }
334 if (kind != null) { 334 if (kind != null) {
335 _json["kind"] = kind; 335 _json["kind"] = kind;
336 } 336 }
337 if (name != null) { 337 if (name != null) {
(...skipping 25 matching lines...) Expand all
363 applicationId = _json["applicationId"]; 363 applicationId = _json["applicationId"];
364 } 364 }
365 if (_json.containsKey("applicationTransferParams")) { 365 if (_json.containsKey("applicationTransferParams")) {
366 applicationTransferParams = _json["applicationTransferParams"].map((value) => new ApplicationTransferParam.fromJson(value)).toList(); 366 applicationTransferParams = _json["applicationTransferParams"].map((value) => new ApplicationTransferParam.fromJson(value)).toList();
367 } 367 }
368 if (_json.containsKey("applicationTransferStatus")) { 368 if (_json.containsKey("applicationTransferStatus")) {
369 applicationTransferStatus = _json["applicationTransferStatus"]; 369 applicationTransferStatus = _json["applicationTransferStatus"];
370 } 370 }
371 } 371 }
372 372
373 core.Map toJson() { 373 core.Map<core.String, core.Object> toJson() {
374 var _json = new core.Map(); 374 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
375 if (applicationId != null) { 375 if (applicationId != null) {
376 _json["applicationId"] = applicationId; 376 _json["applicationId"] = applicationId;
377 } 377 }
378 if (applicationTransferParams != null) { 378 if (applicationTransferParams != null) {
379 _json["applicationTransferParams"] = applicationTransferParams.map((value) => (value).toJson()).toList(); 379 _json["applicationTransferParams"] = applicationTransferParams.map((value) => (value).toJson()).toList();
380 } 380 }
381 if (applicationTransferStatus != null) { 381 if (applicationTransferStatus != null) {
382 _json["applicationTransferStatus"] = applicationTransferStatus; 382 _json["applicationTransferStatus"] = applicationTransferStatus;
383 } 383 }
384 return _json; 384 return _json;
(...skipping 14 matching lines...) Expand all
399 399
400 ApplicationTransferParam.fromJson(core.Map _json) { 400 ApplicationTransferParam.fromJson(core.Map _json) {
401 if (_json.containsKey("key")) { 401 if (_json.containsKey("key")) {
402 key = _json["key"]; 402 key = _json["key"];
403 } 403 }
404 if (_json.containsKey("value")) { 404 if (_json.containsKey("value")) {
405 value = _json["value"]; 405 value = _json["value"];
406 } 406 }
407 } 407 }
408 408
409 core.Map toJson() { 409 core.Map<core.String, core.Object> toJson() {
410 var _json = new core.Map(); 410 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
411 if (key != null) { 411 if (key != null) {
412 _json["key"] = key; 412 _json["key"] = key;
413 } 413 }
414 if (value != null) { 414 if (value != null) {
415 _json["value"] = value; 415 _json["value"] = value;
416 } 416 }
417 return _json; 417 return _json;
418 } 418 }
419 } 419 }
420 420
(...skipping 23 matching lines...) Expand all
444 etag = _json["etag"]; 444 etag = _json["etag"];
445 } 445 }
446 if (_json.containsKey("kind")) { 446 if (_json.containsKey("kind")) {
447 kind = _json["kind"]; 447 kind = _json["kind"];
448 } 448 }
449 if (_json.containsKey("nextPageToken")) { 449 if (_json.containsKey("nextPageToken")) {
450 nextPageToken = _json["nextPageToken"]; 450 nextPageToken = _json["nextPageToken"];
451 } 451 }
452 } 452 }
453 453
454 core.Map toJson() { 454 core.Map<core.String, core.Object> toJson() {
455 var _json = new core.Map(); 455 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
456 if (applications != null) { 456 if (applications != null) {
457 _json["applications"] = applications.map((value) => (value).toJson()).toLi st(); 457 _json["applications"] = applications.map((value) => (value).toJson()).toLi st();
458 } 458 }
459 if (etag != null) { 459 if (etag != null) {
460 _json["etag"] = etag; 460 _json["etag"] = etag;
461 } 461 }
462 if (kind != null) { 462 if (kind != null) {
463 _json["kind"] = kind; 463 _json["kind"] = kind;
464 } 464 }
465 if (nextPageToken != null) { 465 if (nextPageToken != null) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 oldOwnerUserId = _json["oldOwnerUserId"]; 515 oldOwnerUserId = _json["oldOwnerUserId"];
516 } 516 }
517 if (_json.containsKey("overallTransferStatusCode")) { 517 if (_json.containsKey("overallTransferStatusCode")) {
518 overallTransferStatusCode = _json["overallTransferStatusCode"]; 518 overallTransferStatusCode = _json["overallTransferStatusCode"];
519 } 519 }
520 if (_json.containsKey("requestTime")) { 520 if (_json.containsKey("requestTime")) {
521 requestTime = core.DateTime.parse(_json["requestTime"]); 521 requestTime = core.DateTime.parse(_json["requestTime"]);
522 } 522 }
523 } 523 }
524 524
525 core.Map toJson() { 525 core.Map<core.String, core.Object> toJson() {
526 var _json = new core.Map(); 526 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
527 if (applicationDataTransfers != null) { 527 if (applicationDataTransfers != null) {
528 _json["applicationDataTransfers"] = applicationDataTransfers.map((value) = > (value).toJson()).toList(); 528 _json["applicationDataTransfers"] = applicationDataTransfers.map((value) = > (value).toJson()).toList();
529 } 529 }
530 if (etag != null) { 530 if (etag != null) {
531 _json["etag"] = etag; 531 _json["etag"] = etag;
532 } 532 }
533 if (id != null) { 533 if (id != null) {
534 _json["id"] = id; 534 _json["id"] = id;
535 } 535 }
536 if (kind != null) { 536 if (kind != null) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 etag = _json["etag"]; 575 etag = _json["etag"];
576 } 576 }
577 if (_json.containsKey("kind")) { 577 if (_json.containsKey("kind")) {
578 kind = _json["kind"]; 578 kind = _json["kind"];
579 } 579 }
580 if (_json.containsKey("nextPageToken")) { 580 if (_json.containsKey("nextPageToken")) {
581 nextPageToken = _json["nextPageToken"]; 581 nextPageToken = _json["nextPageToken"];
582 } 582 }
583 } 583 }
584 584
585 core.Map toJson() { 585 core.Map<core.String, core.Object> toJson() {
586 var _json = new core.Map(); 586 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
587 if (dataTransfers != null) { 587 if (dataTransfers != null) {
588 _json["dataTransfers"] = dataTransfers.map((value) => (value).toJson()).to List(); 588 _json["dataTransfers"] = dataTransfers.map((value) => (value).toJson()).to List();
589 } 589 }
590 if (etag != null) { 590 if (etag != null) {
591 _json["etag"] = etag; 591 _json["etag"] = etag;
592 } 592 }
593 if (kind != null) { 593 if (kind != null) {
594 _json["kind"] = kind; 594 _json["kind"] = kind;
595 } 595 }
596 if (nextPageToken != null) { 596 if (nextPageToken != null) {
597 _json["nextPageToken"] = nextPageToken; 597 _json["nextPageToken"] = nextPageToken;
598 } 598 }
599 return _json; 599 return _json;
600 } 600 }
601 } 601 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/adexchangeseller/v2_0.dart ('k') | generated/googleapis/lib/admin/directory_v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698