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

Side by Side Diff: generated/googleapis/lib/cloudbilling/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
« no previous file with comments | « generated/googleapis/lib/classroom/v1.dart ('k') | generated/googleapis/lib/cloudbuild/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.cloudbilling.v1; 3 library googleapis.cloudbilling.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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 displayName = _json["displayName"]; 368 displayName = _json["displayName"];
369 } 369 }
370 if (_json.containsKey("name")) { 370 if (_json.containsKey("name")) {
371 name = _json["name"]; 371 name = _json["name"];
372 } 372 }
373 if (_json.containsKey("open")) { 373 if (_json.containsKey("open")) {
374 open = _json["open"]; 374 open = _json["open"];
375 } 375 }
376 } 376 }
377 377
378 core.Map toJson() { 378 core.Map<core.String, core.Object> toJson() {
379 var _json = new core.Map(); 379 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
380 if (displayName != null) { 380 if (displayName != null) {
381 _json["displayName"] = displayName; 381 _json["displayName"] = displayName;
382 } 382 }
383 if (name != null) { 383 if (name != null) {
384 _json["name"] = name; 384 _json["name"] = name;
385 } 385 }
386 if (open != null) { 386 if (open != null) {
387 _json["open"] = open; 387 _json["open"] = open;
388 } 388 }
389 return _json; 389 return _json;
(...skipping 15 matching lines...) Expand all
405 405
406 ListBillingAccountsResponse.fromJson(core.Map _json) { 406 ListBillingAccountsResponse.fromJson(core.Map _json) {
407 if (_json.containsKey("billingAccounts")) { 407 if (_json.containsKey("billingAccounts")) {
408 billingAccounts = _json["billingAccounts"].map((value) => new BillingAccou nt.fromJson(value)).toList(); 408 billingAccounts = _json["billingAccounts"].map((value) => new BillingAccou nt.fromJson(value)).toList();
409 } 409 }
410 if (_json.containsKey("nextPageToken")) { 410 if (_json.containsKey("nextPageToken")) {
411 nextPageToken = _json["nextPageToken"]; 411 nextPageToken = _json["nextPageToken"];
412 } 412 }
413 } 413 }
414 414
415 core.Map toJson() { 415 core.Map<core.String, core.Object> toJson() {
416 var _json = new core.Map(); 416 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
417 if (billingAccounts != null) { 417 if (billingAccounts != null) {
418 _json["billingAccounts"] = billingAccounts.map((value) => (value).toJson() ).toList(); 418 _json["billingAccounts"] = billingAccounts.map((value) => (value).toJson() ).toList();
419 } 419 }
420 if (nextPageToken != null) { 420 if (nextPageToken != null) {
421 _json["nextPageToken"] = nextPageToken; 421 _json["nextPageToken"] = nextPageToken;
422 } 422 }
423 return _json; 423 return _json;
424 } 424 }
425 } 425 }
426 426
(...skipping 15 matching lines...) Expand all
442 442
443 ListProjectBillingInfoResponse.fromJson(core.Map _json) { 443 ListProjectBillingInfoResponse.fromJson(core.Map _json) {
444 if (_json.containsKey("nextPageToken")) { 444 if (_json.containsKey("nextPageToken")) {
445 nextPageToken = _json["nextPageToken"]; 445 nextPageToken = _json["nextPageToken"];
446 } 446 }
447 if (_json.containsKey("projectBillingInfo")) { 447 if (_json.containsKey("projectBillingInfo")) {
448 projectBillingInfo = _json["projectBillingInfo"].map((value) => new Projec tBillingInfo.fromJson(value)).toList(); 448 projectBillingInfo = _json["projectBillingInfo"].map((value) => new Projec tBillingInfo.fromJson(value)).toList();
449 } 449 }
450 } 450 }
451 451
452 core.Map toJson() { 452 core.Map<core.String, core.Object> toJson() {
453 var _json = new core.Map(); 453 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
454 if (nextPageToken != null) { 454 if (nextPageToken != null) {
455 _json["nextPageToken"] = nextPageToken; 455 _json["nextPageToken"] = nextPageToken;
456 } 456 }
457 if (projectBillingInfo != null) { 457 if (projectBillingInfo != null) {
458 _json["projectBillingInfo"] = projectBillingInfo.map((value) => (value).to Json()).toList(); 458 _json["projectBillingInfo"] = projectBillingInfo.map((value) => (value).to Json()).toList();
459 } 459 }
460 return _json; 460 return _json;
461 } 461 }
462 } 462 }
463 463
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 billingEnabled = _json["billingEnabled"]; 503 billingEnabled = _json["billingEnabled"];
504 } 504 }
505 if (_json.containsKey("name")) { 505 if (_json.containsKey("name")) {
506 name = _json["name"]; 506 name = _json["name"];
507 } 507 }
508 if (_json.containsKey("projectId")) { 508 if (_json.containsKey("projectId")) {
509 projectId = _json["projectId"]; 509 projectId = _json["projectId"];
510 } 510 }
511 } 511 }
512 512
513 core.Map toJson() { 513 core.Map<core.String, core.Object> toJson() {
514 var _json = new core.Map(); 514 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
515 if (billingAccountName != null) { 515 if (billingAccountName != null) {
516 _json["billingAccountName"] = billingAccountName; 516 _json["billingAccountName"] = billingAccountName;
517 } 517 }
518 if (billingEnabled != null) { 518 if (billingEnabled != null) {
519 _json["billingEnabled"] = billingEnabled; 519 _json["billingEnabled"] = billingEnabled;
520 } 520 }
521 if (name != null) { 521 if (name != null) {
522 _json["name"] = name; 522 _json["name"] = name;
523 } 523 }
524 if (projectId != null) { 524 if (projectId != null) {
525 _json["projectId"] = projectId; 525 _json["projectId"] = projectId;
526 } 526 }
527 return _json; 527 return _json;
528 } 528 }
529 } 529 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/classroom/v1.dart ('k') | generated/googleapis/lib/cloudbuild/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698