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

Side by Side Diff: generated/googleapis/lib/licensing/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/language/v1.dart ('k') | generated/googleapis/lib/logging/v2.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.licensing.v1; 3 library googleapis.licensing.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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 skuId = _json["skuId"]; 458 skuId = _json["skuId"];
459 } 459 }
460 if (_json.containsKey("skuName")) { 460 if (_json.containsKey("skuName")) {
461 skuName = _json["skuName"]; 461 skuName = _json["skuName"];
462 } 462 }
463 if (_json.containsKey("userId")) { 463 if (_json.containsKey("userId")) {
464 userId = _json["userId"]; 464 userId = _json["userId"];
465 } 465 }
466 } 466 }
467 467
468 core.Map toJson() { 468 core.Map<core.String, core.Object> toJson() {
469 var _json = new core.Map(); 469 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
470 if (etags != null) { 470 if (etags != null) {
471 _json["etags"] = etags; 471 _json["etags"] = etags;
472 } 472 }
473 if (kind != null) { 473 if (kind != null) {
474 _json["kind"] = kind; 474 _json["kind"] = kind;
475 } 475 }
476 if (productId != null) { 476 if (productId != null) {
477 _json["productId"] = productId; 477 _json["productId"] = productId;
478 } 478 }
479 if (productName != null) { 479 if (productName != null) {
(...skipping 21 matching lines...) Expand all
501 core.String userId; 501 core.String userId;
502 502
503 LicenseAssignmentInsert(); 503 LicenseAssignmentInsert();
504 504
505 LicenseAssignmentInsert.fromJson(core.Map _json) { 505 LicenseAssignmentInsert.fromJson(core.Map _json) {
506 if (_json.containsKey("userId")) { 506 if (_json.containsKey("userId")) {
507 userId = _json["userId"]; 507 userId = _json["userId"];
508 } 508 }
509 } 509 }
510 510
511 core.Map toJson() { 511 core.Map<core.String, core.Object> toJson() {
512 var _json = new core.Map(); 512 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
513 if (userId != null) { 513 if (userId != null) {
514 _json["userId"] = userId; 514 _json["userId"] = userId;
515 } 515 }
516 return _json; 516 return _json;
517 } 517 }
518 } 518 }
519 519
520 /** LicesnseAssignment List for a given product/sku for a customer. */ 520 /** LicesnseAssignment List for a given product/sku for a customer. */
521 class LicenseAssignmentList { 521 class LicenseAssignmentList {
522 /** ETag of the resource. */ 522 /** ETag of the resource. */
(...skipping 18 matching lines...) Expand all
541 items = _json["items"].map((value) => new LicenseAssignment.fromJson(value )).toList(); 541 items = _json["items"].map((value) => new LicenseAssignment.fromJson(value )).toList();
542 } 542 }
543 if (_json.containsKey("kind")) { 543 if (_json.containsKey("kind")) {
544 kind = _json["kind"]; 544 kind = _json["kind"];
545 } 545 }
546 if (_json.containsKey("nextPageToken")) { 546 if (_json.containsKey("nextPageToken")) {
547 nextPageToken = _json["nextPageToken"]; 547 nextPageToken = _json["nextPageToken"];
548 } 548 }
549 } 549 }
550 550
551 core.Map toJson() { 551 core.Map<core.String, core.Object> toJson() {
552 var _json = new core.Map(); 552 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
553 if (etag != null) { 553 if (etag != null) {
554 _json["etag"] = etag; 554 _json["etag"] = etag;
555 } 555 }
556 if (items != null) { 556 if (items != null) {
557 _json["items"] = items.map((value) => (value).toJson()).toList(); 557 _json["items"] = items.map((value) => (value).toJson()).toList();
558 } 558 }
559 if (kind != null) { 559 if (kind != null) {
560 _json["kind"] = kind; 560 _json["kind"] = kind;
561 } 561 }
562 if (nextPageToken != null) { 562 if (nextPageToken != null) {
563 _json["nextPageToken"] = nextPageToken; 563 _json["nextPageToken"] = nextPageToken;
564 } 564 }
565 return _json; 565 return _json;
566 } 566 }
567 } 567 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/language/v1.dart ('k') | generated/googleapis/lib/logging/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698