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

Side by Side Diff: generated/googleapis/lib/slides/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.slides.v1; 3 library googleapis.slides.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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 translateX = _json["translateX"]; 378 translateX = _json["translateX"];
379 } 379 }
380 if (_json.containsKey("translateY")) { 380 if (_json.containsKey("translateY")) {
381 translateY = _json["translateY"]; 381 translateY = _json["translateY"];
382 } 382 }
383 if (_json.containsKey("unit")) { 383 if (_json.containsKey("unit")) {
384 unit = _json["unit"]; 384 unit = _json["unit"];
385 } 385 }
386 } 386 }
387 387
388 core.Map toJson() { 388 core.Map<core.String, core.Object> toJson() {
389 var _json = new core.Map(); 389 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
390 if (scaleX != null) { 390 if (scaleX != null) {
391 _json["scaleX"] = scaleX; 391 _json["scaleX"] = scaleX;
392 } 392 }
393 if (scaleY != null) { 393 if (scaleY != null) {
394 _json["scaleY"] = scaleY; 394 _json["scaleY"] = scaleY;
395 } 395 }
396 if (shearX != null) { 396 if (shearX != null) {
397 _json["shearX"] = shearX; 397 _json["shearX"] = shearX;
398 } 398 }
399 if (shearY != null) { 399 if (shearY != null) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 content = _json["content"]; 434 content = _json["content"];
435 } 435 }
436 if (_json.containsKey("style")) { 436 if (_json.containsKey("style")) {
437 style = new TextStyle.fromJson(_json["style"]); 437 style = new TextStyle.fromJson(_json["style"]);
438 } 438 }
439 if (_json.containsKey("type")) { 439 if (_json.containsKey("type")) {
440 type = _json["type"]; 440 type = _json["type"];
441 } 441 }
442 } 442 }
443 443
444 core.Map toJson() { 444 core.Map<core.String, core.Object> toJson() {
445 var _json = new core.Map(); 445 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
446 if (content != null) { 446 if (content != null) {
447 _json["content"] = content; 447 _json["content"] = content;
448 } 448 }
449 if (style != null) { 449 if (style != null) {
450 _json["style"] = (style).toJson(); 450 _json["style"] = (style).toJson();
451 } 451 }
452 if (type != null) { 452 if (type != null) {
453 _json["type"] = type; 453 _json["type"] = type;
454 } 454 }
455 return _json; 455 return _json;
(...skipping 11 matching lines...) Expand all
467 467
468 BatchUpdatePresentationRequest.fromJson(core.Map _json) { 468 BatchUpdatePresentationRequest.fromJson(core.Map _json) {
469 if (_json.containsKey("requests")) { 469 if (_json.containsKey("requests")) {
470 requests = _json["requests"].map((value) => new Request.fromJson(value)).t oList(); 470 requests = _json["requests"].map((value) => new Request.fromJson(value)).t oList();
471 } 471 }
472 if (_json.containsKey("writeControl")) { 472 if (_json.containsKey("writeControl")) {
473 writeControl = new WriteControl.fromJson(_json["writeControl"]); 473 writeControl = new WriteControl.fromJson(_json["writeControl"]);
474 } 474 }
475 } 475 }
476 476
477 core.Map toJson() { 477 core.Map<core.String, core.Object> toJson() {
478 var _json = new core.Map(); 478 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
479 if (requests != null) { 479 if (requests != null) {
480 _json["requests"] = requests.map((value) => (value).toJson()).toList(); 480 _json["requests"] = requests.map((value) => (value).toJson()).toList();
481 } 481 }
482 if (writeControl != null) { 482 if (writeControl != null) {
483 _json["writeControl"] = (writeControl).toJson(); 483 _json["writeControl"] = (writeControl).toJson();
484 } 484 }
485 return _json; 485 return _json;
486 } 486 }
487 } 487 }
488 488
(...skipping 11 matching lines...) Expand all
500 500
501 BatchUpdatePresentationResponse.fromJson(core.Map _json) { 501 BatchUpdatePresentationResponse.fromJson(core.Map _json) {
502 if (_json.containsKey("presentationId")) { 502 if (_json.containsKey("presentationId")) {
503 presentationId = _json["presentationId"]; 503 presentationId = _json["presentationId"];
504 } 504 }
505 if (_json.containsKey("replies")) { 505 if (_json.containsKey("replies")) {
506 replies = _json["replies"].map((value) => new Response.fromJson(value)).to List(); 506 replies = _json["replies"].map((value) => new Response.fromJson(value)).to List();
507 } 507 }
508 } 508 }
509 509
510 core.Map toJson() { 510 core.Map<core.String, core.Object> toJson() {
511 var _json = new core.Map(); 511 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
512 if (presentationId != null) { 512 if (presentationId != null) {
513 _json["presentationId"] = presentationId; 513 _json["presentationId"] = presentationId;
514 } 514 }
515 if (replies != null) { 515 if (replies != null) {
516 _json["replies"] = replies.map((value) => (value).toJson()).toList(); 516 _json["replies"] = replies.map((value) => (value).toJson()).toList();
517 } 517 }
518 return _json; 518 return _json;
519 } 519 }
520 } 520 }
521 521
(...skipping 18 matching lines...) Expand all
540 glyph = _json["glyph"]; 540 glyph = _json["glyph"];
541 } 541 }
542 if (_json.containsKey("listId")) { 542 if (_json.containsKey("listId")) {
543 listId = _json["listId"]; 543 listId = _json["listId"];
544 } 544 }
545 if (_json.containsKey("nestingLevel")) { 545 if (_json.containsKey("nestingLevel")) {
546 nestingLevel = _json["nestingLevel"]; 546 nestingLevel = _json["nestingLevel"];
547 } 547 }
548 } 548 }
549 549
550 core.Map toJson() { 550 core.Map<core.String, core.Object> toJson() {
551 var _json = new core.Map(); 551 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
552 if (bulletStyle != null) { 552 if (bulletStyle != null) {
553 _json["bulletStyle"] = (bulletStyle).toJson(); 553 _json["bulletStyle"] = (bulletStyle).toJson();
554 } 554 }
555 if (glyph != null) { 555 if (glyph != null) {
556 _json["glyph"] = glyph; 556 _json["glyph"] = glyph;
557 } 557 }
558 if (listId != null) { 558 if (listId != null) {
559 _json["listId"] = listId; 559 _json["listId"] = listId;
560 } 560 }
561 if (nestingLevel != null) { 561 if (nestingLevel != null) {
562 _json["nestingLevel"] = nestingLevel; 562 _json["nestingLevel"] = nestingLevel;
563 } 563 }
564 return _json; 564 return _json;
565 } 565 }
566 } 566 }
567 567
568 /** The palette of predefined colors for a page. */ 568 /** The palette of predefined colors for a page. */
569 class ColorScheme { 569 class ColorScheme {
570 /** The ThemeColorType and corresponding concrete color pairs. */ 570 /** The ThemeColorType and corresponding concrete color pairs. */
571 core.List<ThemeColorPair> colors; 571 core.List<ThemeColorPair> colors;
572 572
573 ColorScheme(); 573 ColorScheme();
574 574
575 ColorScheme.fromJson(core.Map _json) { 575 ColorScheme.fromJson(core.Map _json) {
576 if (_json.containsKey("colors")) { 576 if (_json.containsKey("colors")) {
577 colors = _json["colors"].map((value) => new ThemeColorPair.fromJson(value) ).toList(); 577 colors = _json["colors"].map((value) => new ThemeColorPair.fromJson(value) ).toList();
578 } 578 }
579 } 579 }
580 580
581 core.Map toJson() { 581 core.Map<core.String, core.Object> toJson() {
582 var _json = new core.Map(); 582 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
583 if (colors != null) { 583 if (colors != null) {
584 _json["colors"] = colors.map((value) => (value).toJson()).toList(); 584 _json["colors"] = colors.map((value) => (value).toJson()).toList();
585 } 585 }
586 return _json; 586 return _json;
587 } 587 }
588 } 588 }
589 589
590 /** A color and position in a gradient band. */ 590 /** A color and position in a gradient band. */
591 class ColorStop { 591 class ColorStop {
592 /** 592 /**
(...skipping 16 matching lines...) Expand all
609 alpha = _json["alpha"]; 609 alpha = _json["alpha"];
610 } 610 }
611 if (_json.containsKey("color")) { 611 if (_json.containsKey("color")) {
612 color = new OpaqueColor.fromJson(_json["color"]); 612 color = new OpaqueColor.fromJson(_json["color"]);
613 } 613 }
614 if (_json.containsKey("position")) { 614 if (_json.containsKey("position")) {
615 position = _json["position"]; 615 position = _json["position"];
616 } 616 }
617 } 617 }
618 618
619 core.Map toJson() { 619 core.Map<core.String, core.Object> toJson() {
620 var _json = new core.Map(); 620 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
621 if (alpha != null) { 621 if (alpha != null) {
622 _json["alpha"] = alpha; 622 _json["alpha"] = alpha;
623 } 623 }
624 if (color != null) { 624 if (color != null) {
625 _json["color"] = (color).toJson(); 625 _json["color"] = (color).toJson();
626 } 626 }
627 if (position != null) { 627 if (position != null) {
628 _json["position"] = position; 628 _json["position"] = position;
629 } 629 }
630 return _json; 630 return _json;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]); 672 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]);
673 } 673 }
674 if (_json.containsKey("objectId")) { 674 if (_json.containsKey("objectId")) {
675 objectId = _json["objectId"]; 675 objectId = _json["objectId"];
676 } 676 }
677 if (_json.containsKey("url")) { 677 if (_json.containsKey("url")) {
678 url = _json["url"]; 678 url = _json["url"];
679 } 679 }
680 } 680 }
681 681
682 core.Map toJson() { 682 core.Map<core.String, core.Object> toJson() {
683 var _json = new core.Map(); 683 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
684 if (elementProperties != null) { 684 if (elementProperties != null) {
685 _json["elementProperties"] = (elementProperties).toJson(); 685 _json["elementProperties"] = (elementProperties).toJson();
686 } 686 }
687 if (objectId != null) { 687 if (objectId != null) {
688 _json["objectId"] = objectId; 688 _json["objectId"] = objectId;
689 } 689 }
690 if (url != null) { 690 if (url != null) {
691 _json["url"] = url; 691 _json["url"] = url;
692 } 692 }
693 return _json; 693 return _json;
694 } 694 }
695 } 695 }
696 696
697 /** The result of creating an image. */ 697 /** The result of creating an image. */
698 class CreateImageResponse { 698 class CreateImageResponse {
699 /** The object ID of the created image. */ 699 /** The object ID of the created image. */
700 core.String objectId; 700 core.String objectId;
701 701
702 CreateImageResponse(); 702 CreateImageResponse();
703 703
704 CreateImageResponse.fromJson(core.Map _json) { 704 CreateImageResponse.fromJson(core.Map _json) {
705 if (_json.containsKey("objectId")) { 705 if (_json.containsKey("objectId")) {
706 objectId = _json["objectId"]; 706 objectId = _json["objectId"];
707 } 707 }
708 } 708 }
709 709
710 core.Map toJson() { 710 core.Map<core.String, core.Object> toJson() {
711 var _json = new core.Map(); 711 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
712 if (objectId != null) { 712 if (objectId != null) {
713 _json["objectId"] = objectId; 713 _json["objectId"] = objectId;
714 } 714 }
715 return _json; 715 return _json;
716 } 716 }
717 } 717 }
718 718
719 /** Creates a line. */ 719 /** Creates a line. */
720 class CreateLineRequest { 720 class CreateLineRequest {
721 /** The element properties for the line. */ 721 /** The element properties for the line. */
(...skipping 29 matching lines...) Expand all
751 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]); 751 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]);
752 } 752 }
753 if (_json.containsKey("lineCategory")) { 753 if (_json.containsKey("lineCategory")) {
754 lineCategory = _json["lineCategory"]; 754 lineCategory = _json["lineCategory"];
755 } 755 }
756 if (_json.containsKey("objectId")) { 756 if (_json.containsKey("objectId")) {
757 objectId = _json["objectId"]; 757 objectId = _json["objectId"];
758 } 758 }
759 } 759 }
760 760
761 core.Map toJson() { 761 core.Map<core.String, core.Object> toJson() {
762 var _json = new core.Map(); 762 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
763 if (elementProperties != null) { 763 if (elementProperties != null) {
764 _json["elementProperties"] = (elementProperties).toJson(); 764 _json["elementProperties"] = (elementProperties).toJson();
765 } 765 }
766 if (lineCategory != null) { 766 if (lineCategory != null) {
767 _json["lineCategory"] = lineCategory; 767 _json["lineCategory"] = lineCategory;
768 } 768 }
769 if (objectId != null) { 769 if (objectId != null) {
770 _json["objectId"] = objectId; 770 _json["objectId"] = objectId;
771 } 771 }
772 return _json; 772 return _json;
773 } 773 }
774 } 774 }
775 775
776 /** The result of creating a line. */ 776 /** The result of creating a line. */
777 class CreateLineResponse { 777 class CreateLineResponse {
778 /** The object ID of the created line. */ 778 /** The object ID of the created line. */
779 core.String objectId; 779 core.String objectId;
780 780
781 CreateLineResponse(); 781 CreateLineResponse();
782 782
783 CreateLineResponse.fromJson(core.Map _json) { 783 CreateLineResponse.fromJson(core.Map _json) {
784 if (_json.containsKey("objectId")) { 784 if (_json.containsKey("objectId")) {
785 objectId = _json["objectId"]; 785 objectId = _json["objectId"];
786 } 786 }
787 } 787 }
788 788
789 core.Map toJson() { 789 core.Map<core.String, core.Object> toJson() {
790 var _json = new core.Map(); 790 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
791 if (objectId != null) { 791 if (objectId != null) {
792 _json["objectId"] = objectId; 792 _json["objectId"] = objectId;
793 } 793 }
794 return _json; 794 return _json;
795 } 795 }
796 } 796 }
797 797
798 /** 798 /**
799 * Creates bullets for all of the paragraphs that overlap with the given 799 * Creates bullets for all of the paragraphs that overlap with the given
800 * text index range. 800 * text index range.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); 885 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]);
886 } 886 }
887 if (_json.containsKey("objectId")) { 887 if (_json.containsKey("objectId")) {
888 objectId = _json["objectId"]; 888 objectId = _json["objectId"];
889 } 889 }
890 if (_json.containsKey("textRange")) { 890 if (_json.containsKey("textRange")) {
891 textRange = new Range.fromJson(_json["textRange"]); 891 textRange = new Range.fromJson(_json["textRange"]);
892 } 892 }
893 } 893 }
894 894
895 core.Map toJson() { 895 core.Map<core.String, core.Object> toJson() {
896 var _json = new core.Map(); 896 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
897 if (bulletPreset != null) { 897 if (bulletPreset != null) {
898 _json["bulletPreset"] = bulletPreset; 898 _json["bulletPreset"] = bulletPreset;
899 } 899 }
900 if (cellLocation != null) { 900 if (cellLocation != null) {
901 _json["cellLocation"] = (cellLocation).toJson(); 901 _json["cellLocation"] = (cellLocation).toJson();
902 } 902 }
903 if (objectId != null) { 903 if (objectId != null) {
904 _json["objectId"] = objectId; 904 _json["objectId"] = objectId;
905 } 905 }
906 if (textRange != null) { 906 if (textRange != null) {
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]); 1253 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]);
1254 } 1254 }
1255 if (_json.containsKey("objectId")) { 1255 if (_json.containsKey("objectId")) {
1256 objectId = _json["objectId"]; 1256 objectId = _json["objectId"];
1257 } 1257 }
1258 if (_json.containsKey("shapeType")) { 1258 if (_json.containsKey("shapeType")) {
1259 shapeType = _json["shapeType"]; 1259 shapeType = _json["shapeType"];
1260 } 1260 }
1261 } 1261 }
1262 1262
1263 core.Map toJson() { 1263 core.Map<core.String, core.Object> toJson() {
1264 var _json = new core.Map(); 1264 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1265 if (elementProperties != null) { 1265 if (elementProperties != null) {
1266 _json["elementProperties"] = (elementProperties).toJson(); 1266 _json["elementProperties"] = (elementProperties).toJson();
1267 } 1267 }
1268 if (objectId != null) { 1268 if (objectId != null) {
1269 _json["objectId"] = objectId; 1269 _json["objectId"] = objectId;
1270 } 1270 }
1271 if (shapeType != null) { 1271 if (shapeType != null) {
1272 _json["shapeType"] = shapeType; 1272 _json["shapeType"] = shapeType;
1273 } 1273 }
1274 return _json; 1274 return _json;
1275 } 1275 }
1276 } 1276 }
1277 1277
1278 /** The result of creating a shape. */ 1278 /** The result of creating a shape. */
1279 class CreateShapeResponse { 1279 class CreateShapeResponse {
1280 /** The object ID of the created shape. */ 1280 /** The object ID of the created shape. */
1281 core.String objectId; 1281 core.String objectId;
1282 1282
1283 CreateShapeResponse(); 1283 CreateShapeResponse();
1284 1284
1285 CreateShapeResponse.fromJson(core.Map _json) { 1285 CreateShapeResponse.fromJson(core.Map _json) {
1286 if (_json.containsKey("objectId")) { 1286 if (_json.containsKey("objectId")) {
1287 objectId = _json["objectId"]; 1287 objectId = _json["objectId"];
1288 } 1288 }
1289 } 1289 }
1290 1290
1291 core.Map toJson() { 1291 core.Map<core.String, core.Object> toJson() {
1292 var _json = new core.Map(); 1292 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1293 if (objectId != null) { 1293 if (objectId != null) {
1294 _json["objectId"] = objectId; 1294 _json["objectId"] = objectId;
1295 } 1295 }
1296 return _json; 1296 return _json;
1297 } 1297 }
1298 } 1298 }
1299 1299
1300 /** 1300 /**
1301 * Creates an embedded Google Sheets chart. 1301 * Creates an embedded Google Sheets chart.
1302 * 1302 *
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 linkingMode = _json["linkingMode"]; 1353 linkingMode = _json["linkingMode"];
1354 } 1354 }
1355 if (_json.containsKey("objectId")) { 1355 if (_json.containsKey("objectId")) {
1356 objectId = _json["objectId"]; 1356 objectId = _json["objectId"];
1357 } 1357 }
1358 if (_json.containsKey("spreadsheetId")) { 1358 if (_json.containsKey("spreadsheetId")) {
1359 spreadsheetId = _json["spreadsheetId"]; 1359 spreadsheetId = _json["spreadsheetId"];
1360 } 1360 }
1361 } 1361 }
1362 1362
1363 core.Map toJson() { 1363 core.Map<core.String, core.Object> toJson() {
1364 var _json = new core.Map(); 1364 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1365 if (chartId != null) { 1365 if (chartId != null) {
1366 _json["chartId"] = chartId; 1366 _json["chartId"] = chartId;
1367 } 1367 }
1368 if (elementProperties != null) { 1368 if (elementProperties != null) {
1369 _json["elementProperties"] = (elementProperties).toJson(); 1369 _json["elementProperties"] = (elementProperties).toJson();
1370 } 1370 }
1371 if (linkingMode != null) { 1371 if (linkingMode != null) {
1372 _json["linkingMode"] = linkingMode; 1372 _json["linkingMode"] = linkingMode;
1373 } 1373 }
1374 if (objectId != null) { 1374 if (objectId != null) {
(...skipping 12 matching lines...) Expand all
1387 core.String objectId; 1387 core.String objectId;
1388 1388
1389 CreateSheetsChartResponse(); 1389 CreateSheetsChartResponse();
1390 1390
1391 CreateSheetsChartResponse.fromJson(core.Map _json) { 1391 CreateSheetsChartResponse.fromJson(core.Map _json) {
1392 if (_json.containsKey("objectId")) { 1392 if (_json.containsKey("objectId")) {
1393 objectId = _json["objectId"]; 1393 objectId = _json["objectId"];
1394 } 1394 }
1395 } 1395 }
1396 1396
1397 core.Map toJson() { 1397 core.Map<core.String, core.Object> toJson() {
1398 var _json = new core.Map(); 1398 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1399 if (objectId != null) { 1399 if (objectId != null) {
1400 _json["objectId"] = objectId; 1400 _json["objectId"] = objectId;
1401 } 1401 }
1402 return _json; 1402 return _json;
1403 } 1403 }
1404 } 1404 }
1405 1405
1406 /** Creates a new slide. */ 1406 /** Creates a new slide. */
1407 class CreateSlideRequest { 1407 class CreateSlideRequest {
1408 /** 1408 /**
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 objectId = _json["objectId"]; 1457 objectId = _json["objectId"];
1458 } 1458 }
1459 if (_json.containsKey("placeholderIdMappings")) { 1459 if (_json.containsKey("placeholderIdMappings")) {
1460 placeholderIdMappings = _json["placeholderIdMappings"].map((value) => new LayoutPlaceholderIdMapping.fromJson(value)).toList(); 1460 placeholderIdMappings = _json["placeholderIdMappings"].map((value) => new LayoutPlaceholderIdMapping.fromJson(value)).toList();
1461 } 1461 }
1462 if (_json.containsKey("slideLayoutReference")) { 1462 if (_json.containsKey("slideLayoutReference")) {
1463 slideLayoutReference = new LayoutReference.fromJson(_json["slideLayoutRefe rence"]); 1463 slideLayoutReference = new LayoutReference.fromJson(_json["slideLayoutRefe rence"]);
1464 } 1464 }
1465 } 1465 }
1466 1466
1467 core.Map toJson() { 1467 core.Map<core.String, core.Object> toJson() {
1468 var _json = new core.Map(); 1468 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1469 if (insertionIndex != null) { 1469 if (insertionIndex != null) {
1470 _json["insertionIndex"] = insertionIndex; 1470 _json["insertionIndex"] = insertionIndex;
1471 } 1471 }
1472 if (objectId != null) { 1472 if (objectId != null) {
1473 _json["objectId"] = objectId; 1473 _json["objectId"] = objectId;
1474 } 1474 }
1475 if (placeholderIdMappings != null) { 1475 if (placeholderIdMappings != null) {
1476 _json["placeholderIdMappings"] = placeholderIdMappings.map((value) => (val ue).toJson()).toList(); 1476 _json["placeholderIdMappings"] = placeholderIdMappings.map((value) => (val ue).toJson()).toList();
1477 } 1477 }
1478 if (slideLayoutReference != null) { 1478 if (slideLayoutReference != null) {
1479 _json["slideLayoutReference"] = (slideLayoutReference).toJson(); 1479 _json["slideLayoutReference"] = (slideLayoutReference).toJson();
1480 } 1480 }
1481 return _json; 1481 return _json;
1482 } 1482 }
1483 } 1483 }
1484 1484
1485 /** The result of creating a slide. */ 1485 /** The result of creating a slide. */
1486 class CreateSlideResponse { 1486 class CreateSlideResponse {
1487 /** The object ID of the created slide. */ 1487 /** The object ID of the created slide. */
1488 core.String objectId; 1488 core.String objectId;
1489 1489
1490 CreateSlideResponse(); 1490 CreateSlideResponse();
1491 1491
1492 CreateSlideResponse.fromJson(core.Map _json) { 1492 CreateSlideResponse.fromJson(core.Map _json) {
1493 if (_json.containsKey("objectId")) { 1493 if (_json.containsKey("objectId")) {
1494 objectId = _json["objectId"]; 1494 objectId = _json["objectId"];
1495 } 1495 }
1496 } 1496 }
1497 1497
1498 core.Map toJson() { 1498 core.Map<core.String, core.Object> toJson() {
1499 var _json = new core.Map(); 1499 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1500 if (objectId != null) { 1500 if (objectId != null) {
1501 _json["objectId"] = objectId; 1501 _json["objectId"] = objectId;
1502 } 1502 }
1503 return _json; 1503 return _json;
1504 } 1504 }
1505 } 1505 }
1506 1506
1507 /** Creates a new table. */ 1507 /** Creates a new table. */
1508 class CreateTableRequest { 1508 class CreateTableRequest {
1509 /** Number of columns in the table. */ 1509 /** Number of columns in the table. */
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]); 1544 elementProperties = new PageElementProperties.fromJson(_json["elementPrope rties"]);
1545 } 1545 }
1546 if (_json.containsKey("objectId")) { 1546 if (_json.containsKey("objectId")) {
1547 objectId = _json["objectId"]; 1547 objectId = _json["objectId"];
1548 } 1548 }
1549 if (_json.containsKey("rows")) { 1549 if (_json.containsKey("rows")) {
1550 rows = _json["rows"]; 1550 rows = _json["rows"];
1551 } 1551 }
1552 } 1552 }
1553 1553
1554 core.Map toJson() { 1554 core.Map<core.String, core.Object> toJson() {
1555 var _json = new core.Map(); 1555 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1556 if (columns != null) { 1556 if (columns != null) {
1557 _json["columns"] = columns; 1557 _json["columns"] = columns;
1558 } 1558 }
1559 if (elementProperties != null) { 1559 if (elementProperties != null) {
1560 _json["elementProperties"] = (elementProperties).toJson(); 1560 _json["elementProperties"] = (elementProperties).toJson();
1561 } 1561 }
1562 if (objectId != null) { 1562 if (objectId != null) {
1563 _json["objectId"] = objectId; 1563 _json["objectId"] = objectId;
1564 } 1564 }
1565 if (rows != null) { 1565 if (rows != null) {
1566 _json["rows"] = rows; 1566 _json["rows"] = rows;
1567 } 1567 }
1568 return _json; 1568 return _json;
1569 } 1569 }
1570 } 1570 }
1571 1571
1572 /** The result of creating a table. */ 1572 /** The result of creating a table. */
1573 class CreateTableResponse { 1573 class CreateTableResponse {
1574 /** The object ID of the created table. */ 1574 /** The object ID of the created table. */
1575 core.String objectId; 1575 core.String objectId;
1576 1576
1577 CreateTableResponse(); 1577 CreateTableResponse();
1578 1578
1579 CreateTableResponse.fromJson(core.Map _json) { 1579 CreateTableResponse.fromJson(core.Map _json) {
1580 if (_json.containsKey("objectId")) { 1580 if (_json.containsKey("objectId")) {
1581 objectId = _json["objectId"]; 1581 objectId = _json["objectId"];
1582 } 1582 }
1583 } 1583 }
1584 1584
1585 core.Map toJson() { 1585 core.Map<core.String, core.Object> toJson() {
1586 var _json = new core.Map(); 1586 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1587 if (objectId != null) { 1587 if (objectId != null) {
1588 _json["objectId"] = objectId; 1588 _json["objectId"] = objectId;
1589 } 1589 }
1590 return _json; 1590 return _json;
1591 } 1591 }
1592 } 1592 }
1593 1593
1594 /** Creates a video. */ 1594 /** Creates a video. */
1595 class CreateVideoRequest { 1595 class CreateVideoRequest {
1596 /** The element properties for the video. */ 1596 /** The element properties for the video. */
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 id = _json["id"]; 1633 id = _json["id"];
1634 } 1634 }
1635 if (_json.containsKey("objectId")) { 1635 if (_json.containsKey("objectId")) {
1636 objectId = _json["objectId"]; 1636 objectId = _json["objectId"];
1637 } 1637 }
1638 if (_json.containsKey("source")) { 1638 if (_json.containsKey("source")) {
1639 source = _json["source"]; 1639 source = _json["source"];
1640 } 1640 }
1641 } 1641 }
1642 1642
1643 core.Map toJson() { 1643 core.Map<core.String, core.Object> toJson() {
1644 var _json = new core.Map(); 1644 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1645 if (elementProperties != null) { 1645 if (elementProperties != null) {
1646 _json["elementProperties"] = (elementProperties).toJson(); 1646 _json["elementProperties"] = (elementProperties).toJson();
1647 } 1647 }
1648 if (id != null) { 1648 if (id != null) {
1649 _json["id"] = id; 1649 _json["id"] = id;
1650 } 1650 }
1651 if (objectId != null) { 1651 if (objectId != null) {
1652 _json["objectId"] = objectId; 1652 _json["objectId"] = objectId;
1653 } 1653 }
1654 if (source != null) { 1654 if (source != null) {
1655 _json["source"] = source; 1655 _json["source"] = source;
1656 } 1656 }
1657 return _json; 1657 return _json;
1658 } 1658 }
1659 } 1659 }
1660 1660
1661 /** The result of creating a video. */ 1661 /** The result of creating a video. */
1662 class CreateVideoResponse { 1662 class CreateVideoResponse {
1663 /** The object ID of the created video. */ 1663 /** The object ID of the created video. */
1664 core.String objectId; 1664 core.String objectId;
1665 1665
1666 CreateVideoResponse(); 1666 CreateVideoResponse();
1667 1667
1668 CreateVideoResponse.fromJson(core.Map _json) { 1668 CreateVideoResponse.fromJson(core.Map _json) {
1669 if (_json.containsKey("objectId")) { 1669 if (_json.containsKey("objectId")) {
1670 objectId = _json["objectId"]; 1670 objectId = _json["objectId"];
1671 } 1671 }
1672 } 1672 }
1673 1673
1674 core.Map toJson() { 1674 core.Map<core.String, core.Object> toJson() {
1675 var _json = new core.Map(); 1675 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1676 if (objectId != null) { 1676 if (objectId != null) {
1677 _json["objectId"] = objectId; 1677 _json["objectId"] = objectId;
1678 } 1678 }
1679 return _json; 1679 return _json;
1680 } 1680 }
1681 } 1681 }
1682 1682
1683 /** 1683 /**
1684 * The crop properties of an object enclosed in a container. For example, an 1684 * The crop properties of an object enclosed in a container. For example, an
1685 * Image. 1685 * Image.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 leftOffset = _json["leftOffset"]; 1746 leftOffset = _json["leftOffset"];
1747 } 1747 }
1748 if (_json.containsKey("rightOffset")) { 1748 if (_json.containsKey("rightOffset")) {
1749 rightOffset = _json["rightOffset"]; 1749 rightOffset = _json["rightOffset"];
1750 } 1750 }
1751 if (_json.containsKey("topOffset")) { 1751 if (_json.containsKey("topOffset")) {
1752 topOffset = _json["topOffset"]; 1752 topOffset = _json["topOffset"];
1753 } 1753 }
1754 } 1754 }
1755 1755
1756 core.Map toJson() { 1756 core.Map<core.String, core.Object> toJson() {
1757 var _json = new core.Map(); 1757 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1758 if (angle != null) { 1758 if (angle != null) {
1759 _json["angle"] = angle; 1759 _json["angle"] = angle;
1760 } 1760 }
1761 if (bottomOffset != null) { 1761 if (bottomOffset != null) {
1762 _json["bottomOffset"] = bottomOffset; 1762 _json["bottomOffset"] = bottomOffset;
1763 } 1763 }
1764 if (leftOffset != null) { 1764 if (leftOffset != null) {
1765 _json["leftOffset"] = leftOffset; 1765 _json["leftOffset"] = leftOffset;
1766 } 1766 }
1767 if (rightOffset != null) { 1767 if (rightOffset != null) {
(...skipping 24 matching lines...) Expand all
1792 core.String objectId; 1792 core.String objectId;
1793 1793
1794 DeleteObjectRequest(); 1794 DeleteObjectRequest();
1795 1795
1796 DeleteObjectRequest.fromJson(core.Map _json) { 1796 DeleteObjectRequest.fromJson(core.Map _json) {
1797 if (_json.containsKey("objectId")) { 1797 if (_json.containsKey("objectId")) {
1798 objectId = _json["objectId"]; 1798 objectId = _json["objectId"];
1799 } 1799 }
1800 } 1800 }
1801 1801
1802 core.Map toJson() { 1802 core.Map<core.String, core.Object> toJson() {
1803 var _json = new core.Map(); 1803 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1804 if (objectId != null) { 1804 if (objectId != null) {
1805 _json["objectId"] = objectId; 1805 _json["objectId"] = objectId;
1806 } 1806 }
1807 return _json; 1807 return _json;
1808 } 1808 }
1809 } 1809 }
1810 1810
1811 /** 1811 /**
1812 * Deletes bullets from all of the paragraphs that overlap with the given text 1812 * Deletes bullets from all of the paragraphs that overlap with the given text
1813 * index range. 1813 * index range.
(...skipping 24 matching lines...) Expand all
1838 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); 1838 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]);
1839 } 1839 }
1840 if (_json.containsKey("objectId")) { 1840 if (_json.containsKey("objectId")) {
1841 objectId = _json["objectId"]; 1841 objectId = _json["objectId"];
1842 } 1842 }
1843 if (_json.containsKey("textRange")) { 1843 if (_json.containsKey("textRange")) {
1844 textRange = new Range.fromJson(_json["textRange"]); 1844 textRange = new Range.fromJson(_json["textRange"]);
1845 } 1845 }
1846 } 1846 }
1847 1847
1848 core.Map toJson() { 1848 core.Map<core.String, core.Object> toJson() {
1849 var _json = new core.Map(); 1849 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1850 if (cellLocation != null) { 1850 if (cellLocation != null) {
1851 _json["cellLocation"] = (cellLocation).toJson(); 1851 _json["cellLocation"] = (cellLocation).toJson();
1852 } 1852 }
1853 if (objectId != null) { 1853 if (objectId != null) {
1854 _json["objectId"] = objectId; 1854 _json["objectId"] = objectId;
1855 } 1855 }
1856 if (textRange != null) { 1856 if (textRange != null) {
1857 _json["textRange"] = (textRange).toJson(); 1857 _json["textRange"] = (textRange).toJson();
1858 } 1858 }
1859 return _json; 1859 return _json;
(...skipping 17 matching lines...) Expand all
1877 1877
1878 DeleteTableColumnRequest.fromJson(core.Map _json) { 1878 DeleteTableColumnRequest.fromJson(core.Map _json) {
1879 if (_json.containsKey("cellLocation")) { 1879 if (_json.containsKey("cellLocation")) {
1880 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); 1880 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]);
1881 } 1881 }
1882 if (_json.containsKey("tableObjectId")) { 1882 if (_json.containsKey("tableObjectId")) {
1883 tableObjectId = _json["tableObjectId"]; 1883 tableObjectId = _json["tableObjectId"];
1884 } 1884 }
1885 } 1885 }
1886 1886
1887 core.Map toJson() { 1887 core.Map<core.String, core.Object> toJson() {
1888 var _json = new core.Map(); 1888 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1889 if (cellLocation != null) { 1889 if (cellLocation != null) {
1890 _json["cellLocation"] = (cellLocation).toJson(); 1890 _json["cellLocation"] = (cellLocation).toJson();
1891 } 1891 }
1892 if (tableObjectId != null) { 1892 if (tableObjectId != null) {
1893 _json["tableObjectId"] = tableObjectId; 1893 _json["tableObjectId"] = tableObjectId;
1894 } 1894 }
1895 return _json; 1895 return _json;
1896 } 1896 }
1897 } 1897 }
1898 1898
(...skipping 14 matching lines...) Expand all
1913 1913
1914 DeleteTableRowRequest.fromJson(core.Map _json) { 1914 DeleteTableRowRequest.fromJson(core.Map _json) {
1915 if (_json.containsKey("cellLocation")) { 1915 if (_json.containsKey("cellLocation")) {
1916 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); 1916 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]);
1917 } 1917 }
1918 if (_json.containsKey("tableObjectId")) { 1918 if (_json.containsKey("tableObjectId")) {
1919 tableObjectId = _json["tableObjectId"]; 1919 tableObjectId = _json["tableObjectId"];
1920 } 1920 }
1921 } 1921 }
1922 1922
1923 core.Map toJson() { 1923 core.Map<core.String, core.Object> toJson() {
1924 var _json = new core.Map(); 1924 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1925 if (cellLocation != null) { 1925 if (cellLocation != null) {
1926 _json["cellLocation"] = (cellLocation).toJson(); 1926 _json["cellLocation"] = (cellLocation).toJson();
1927 } 1927 }
1928 if (tableObjectId != null) { 1928 if (tableObjectId != null) {
1929 _json["tableObjectId"] = tableObjectId; 1929 _json["tableObjectId"] = tableObjectId;
1930 } 1930 }
1931 return _json; 1931 return _json;
1932 } 1932 }
1933 } 1933 }
1934 1934
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1968 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); 1968 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]);
1969 } 1969 }
1970 if (_json.containsKey("objectId")) { 1970 if (_json.containsKey("objectId")) {
1971 objectId = _json["objectId"]; 1971 objectId = _json["objectId"];
1972 } 1972 }
1973 if (_json.containsKey("textRange")) { 1973 if (_json.containsKey("textRange")) {
1974 textRange = new Range.fromJson(_json["textRange"]); 1974 textRange = new Range.fromJson(_json["textRange"]);
1975 } 1975 }
1976 } 1976 }
1977 1977
1978 core.Map toJson() { 1978 core.Map<core.String, core.Object> toJson() {
1979 var _json = new core.Map(); 1979 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1980 if (cellLocation != null) { 1980 if (cellLocation != null) {
1981 _json["cellLocation"] = (cellLocation).toJson(); 1981 _json["cellLocation"] = (cellLocation).toJson();
1982 } 1982 }
1983 if (objectId != null) { 1983 if (objectId != null) {
1984 _json["objectId"] = objectId; 1984 _json["objectId"] = objectId;
1985 } 1985 }
1986 if (textRange != null) { 1986 if (textRange != null) {
1987 _json["textRange"] = (textRange).toJson(); 1987 _json["textRange"] = (textRange).toJson();
1988 } 1988 }
1989 return _json; 1989 return _json;
(...skipping 19 matching lines...) Expand all
2009 2009
2010 Dimension.fromJson(core.Map _json) { 2010 Dimension.fromJson(core.Map _json) {
2011 if (_json.containsKey("magnitude")) { 2011 if (_json.containsKey("magnitude")) {
2012 magnitude = _json["magnitude"]; 2012 magnitude = _json["magnitude"];
2013 } 2013 }
2014 if (_json.containsKey("unit")) { 2014 if (_json.containsKey("unit")) {
2015 unit = _json["unit"]; 2015 unit = _json["unit"];
2016 } 2016 }
2017 } 2017 }
2018 2018
2019 core.Map toJson() { 2019 core.Map<core.String, core.Object> toJson() {
2020 var _json = new core.Map(); 2020 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2021 if (magnitude != null) { 2021 if (magnitude != null) {
2022 _json["magnitude"] = magnitude; 2022 _json["magnitude"] = magnitude;
2023 } 2023 }
2024 if (unit != null) { 2024 if (unit != null) {
2025 _json["unit"] = unit; 2025 _json["unit"] = unit;
2026 } 2026 }
2027 return _json; 2027 return _json;
2028 } 2028 }
2029 } 2029 }
2030 2030
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 2064
2065 DuplicateObjectRequest.fromJson(core.Map _json) { 2065 DuplicateObjectRequest.fromJson(core.Map _json) {
2066 if (_json.containsKey("objectId")) { 2066 if (_json.containsKey("objectId")) {
2067 objectId = _json["objectId"]; 2067 objectId = _json["objectId"];
2068 } 2068 }
2069 if (_json.containsKey("objectIds")) { 2069 if (_json.containsKey("objectIds")) {
2070 objectIds = _json["objectIds"]; 2070 objectIds = _json["objectIds"];
2071 } 2071 }
2072 } 2072 }
2073 2073
2074 core.Map toJson() { 2074 core.Map<core.String, core.Object> toJson() {
2075 var _json = new core.Map(); 2075 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2076 if (objectId != null) { 2076 if (objectId != null) {
2077 _json["objectId"] = objectId; 2077 _json["objectId"] = objectId;
2078 } 2078 }
2079 if (objectIds != null) { 2079 if (objectIds != null) {
2080 _json["objectIds"] = objectIds; 2080 _json["objectIds"] = objectIds;
2081 } 2081 }
2082 return _json; 2082 return _json;
2083 } 2083 }
2084 } 2084 }
2085 2085
2086 /** The response of duplicating an object. */ 2086 /** The response of duplicating an object. */
2087 class DuplicateObjectResponse { 2087 class DuplicateObjectResponse {
2088 /** The ID of the new duplicate object. */ 2088 /** The ID of the new duplicate object. */
2089 core.String objectId; 2089 core.String objectId;
2090 2090
2091 DuplicateObjectResponse(); 2091 DuplicateObjectResponse();
2092 2092
2093 DuplicateObjectResponse.fromJson(core.Map _json) { 2093 DuplicateObjectResponse.fromJson(core.Map _json) {
2094 if (_json.containsKey("objectId")) { 2094 if (_json.containsKey("objectId")) {
2095 objectId = _json["objectId"]; 2095 objectId = _json["objectId"];
2096 } 2096 }
2097 } 2097 }
2098 2098
2099 core.Map toJson() { 2099 core.Map<core.String, core.Object> toJson() {
2100 var _json = new core.Map(); 2100 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2101 if (objectId != null) { 2101 if (objectId != null) {
2102 _json["objectId"] = objectId; 2102 _json["objectId"] = objectId;
2103 } 2103 }
2104 return _json; 2104 return _json;
2105 } 2105 }
2106 } 2106 }
2107 2107
2108 /** 2108 /**
2109 * A PageElement kind representing a 2109 * A PageElement kind representing a
2110 * joined collection of PageElements. 2110 * joined collection of PageElements.
2111 */ 2111 */
2112 class Group { 2112 class Group {
2113 /** 2113 /**
2114 * The collection of elements in the group. The minimum size of a group is 2. 2114 * The collection of elements in the group. The minimum size of a group is 2.
2115 */ 2115 */
2116 core.List<PageElement> children; 2116 core.List<PageElement> children;
2117 2117
2118 Group(); 2118 Group();
2119 2119
2120 Group.fromJson(core.Map _json) { 2120 Group.fromJson(core.Map _json) {
2121 if (_json.containsKey("children")) { 2121 if (_json.containsKey("children")) {
2122 children = _json["children"].map((value) => new PageElement.fromJson(value )).toList(); 2122 children = _json["children"].map((value) => new PageElement.fromJson(value )).toList();
2123 } 2123 }
2124 } 2124 }
2125 2125
2126 core.Map toJson() { 2126 core.Map<core.String, core.Object> toJson() {
2127 var _json = new core.Map(); 2127 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2128 if (children != null) { 2128 if (children != null) {
2129 _json["children"] = children.map((value) => (value).toJson()).toList(); 2129 _json["children"] = children.map((value) => (value).toJson()).toList();
2130 } 2130 }
2131 return _json; 2131 return _json;
2132 } 2132 }
2133 } 2133 }
2134 2134
2135 /** 2135 /**
2136 * A PageElement kind representing an 2136 * A PageElement kind representing an
2137 * image. 2137 * image.
(...skipping 13 matching lines...) Expand all
2151 2151
2152 Image.fromJson(core.Map _json) { 2152 Image.fromJson(core.Map _json) {
2153 if (_json.containsKey("contentUrl")) { 2153 if (_json.containsKey("contentUrl")) {
2154 contentUrl = _json["contentUrl"]; 2154 contentUrl = _json["contentUrl"];
2155 } 2155 }
2156 if (_json.containsKey("imageProperties")) { 2156 if (_json.containsKey("imageProperties")) {
2157 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]); 2157 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]);
2158 } 2158 }
2159 } 2159 }
2160 2160
2161 core.Map toJson() { 2161 core.Map<core.String, core.Object> toJson() {
2162 var _json = new core.Map(); 2162 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2163 if (contentUrl != null) { 2163 if (contentUrl != null) {
2164 _json["contentUrl"] = contentUrl; 2164 _json["contentUrl"] = contentUrl;
2165 } 2165 }
2166 if (imageProperties != null) { 2166 if (imageProperties != null) {
2167 _json["imageProperties"] = (imageProperties).toJson(); 2167 _json["imageProperties"] = (imageProperties).toJson();
2168 } 2168 }
2169 return _json; 2169 return _json;
2170 } 2170 }
2171 } 2171 }
2172 2172
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2230 recolor = new Recolor.fromJson(_json["recolor"]); 2230 recolor = new Recolor.fromJson(_json["recolor"]);
2231 } 2231 }
2232 if (_json.containsKey("shadow")) { 2232 if (_json.containsKey("shadow")) {
2233 shadow = new Shadow.fromJson(_json["shadow"]); 2233 shadow = new Shadow.fromJson(_json["shadow"]);
2234 } 2234 }
2235 if (_json.containsKey("transparency")) { 2235 if (_json.containsKey("transparency")) {
2236 transparency = _json["transparency"]; 2236 transparency = _json["transparency"];
2237 } 2237 }
2238 } 2238 }
2239 2239
2240 core.Map toJson() { 2240 core.Map<core.String, core.Object> toJson() {
2241 var _json = new core.Map(); 2241 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2242 if (brightness != null) { 2242 if (brightness != null) {
2243 _json["brightness"] = brightness; 2243 _json["brightness"] = brightness;
2244 } 2244 }
2245 if (contrast != null) { 2245 if (contrast != null) {
2246 _json["contrast"] = contrast; 2246 _json["contrast"] = contrast;
2247 } 2247 }
2248 if (cropProperties != null) { 2248 if (cropProperties != null) {
2249 _json["cropProperties"] = (cropProperties).toJson(); 2249 _json["cropProperties"] = (cropProperties).toJson();
2250 } 2250 }
2251 if (link != null) { 2251 if (link != null) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
2303 insertRight = _json["insertRight"]; 2303 insertRight = _json["insertRight"];
2304 } 2304 }
2305 if (_json.containsKey("number")) { 2305 if (_json.containsKey("number")) {
2306 number = _json["number"]; 2306 number = _json["number"];
2307 } 2307 }
2308 if (_json.containsKey("tableObjectId")) { 2308 if (_json.containsKey("tableObjectId")) {
2309 tableObjectId = _json["tableObjectId"]; 2309 tableObjectId = _json["tableObjectId"];
2310 } 2310 }
2311 } 2311 }
2312 2312
2313 core.Map toJson() { 2313 core.Map<core.String, core.Object> toJson() {
2314 var _json = new core.Map(); 2314 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2315 if (cellLocation != null) { 2315 if (cellLocation != null) {
2316 _json["cellLocation"] = (cellLocation).toJson(); 2316 _json["cellLocation"] = (cellLocation).toJson();
2317 } 2317 }
2318 if (insertRight != null) { 2318 if (insertRight != null) {
2319 _json["insertRight"] = insertRight; 2319 _json["insertRight"] = insertRight;
2320 } 2320 }
2321 if (number != null) { 2321 if (number != null) {
2322 _json["number"] = number; 2322 _json["number"] = number;
2323 } 2323 }
2324 if (tableObjectId != null) { 2324 if (tableObjectId != null) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
2360 insertBelow = _json["insertBelow"]; 2360 insertBelow = _json["insertBelow"];
2361 } 2361 }
2362 if (_json.containsKey("number")) { 2362 if (_json.containsKey("number")) {
2363 number = _json["number"]; 2363 number = _json["number"];
2364 } 2364 }
2365 if (_json.containsKey("tableObjectId")) { 2365 if (_json.containsKey("tableObjectId")) {
2366 tableObjectId = _json["tableObjectId"]; 2366 tableObjectId = _json["tableObjectId"];
2367 } 2367 }
2368 } 2368 }
2369 2369
2370 core.Map toJson() { 2370 core.Map<core.String, core.Object> toJson() {
2371 var _json = new core.Map(); 2371 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2372 if (cellLocation != null) { 2372 if (cellLocation != null) {
2373 _json["cellLocation"] = (cellLocation).toJson(); 2373 _json["cellLocation"] = (cellLocation).toJson();
2374 } 2374 }
2375 if (insertBelow != null) { 2375 if (insertBelow != null) {
2376 _json["insertBelow"] = insertBelow; 2376 _json["insertBelow"] = insertBelow;
2377 } 2377 }
2378 if (number != null) { 2378 if (number != null) {
2379 _json["number"] = number; 2379 _json["number"] = number;
2380 } 2380 }
2381 if (tableObjectId != null) { 2381 if (tableObjectId != null) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
2433 insertionIndex = _json["insertionIndex"]; 2433 insertionIndex = _json["insertionIndex"];
2434 } 2434 }
2435 if (_json.containsKey("objectId")) { 2435 if (_json.containsKey("objectId")) {
2436 objectId = _json["objectId"]; 2436 objectId = _json["objectId"];
2437 } 2437 }
2438 if (_json.containsKey("text")) { 2438 if (_json.containsKey("text")) {
2439 text = _json["text"]; 2439 text = _json["text"];
2440 } 2440 }
2441 } 2441 }
2442 2442
2443 core.Map toJson() { 2443 core.Map<core.String, core.Object> toJson() {
2444 var _json = new core.Map(); 2444 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2445 if (cellLocation != null) { 2445 if (cellLocation != null) {
2446 _json["cellLocation"] = (cellLocation).toJson(); 2446 _json["cellLocation"] = (cellLocation).toJson();
2447 } 2447 }
2448 if (insertionIndex != null) { 2448 if (insertionIndex != null) {
2449 _json["insertionIndex"] = insertionIndex; 2449 _json["insertionIndex"] = insertionIndex;
2450 } 2450 }
2451 if (objectId != null) { 2451 if (objectId != null) {
2452 _json["objectId"] = objectId; 2452 _json["objectId"] = objectId;
2453 } 2453 }
2454 if (text != null) { 2454 if (text != null) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
2497 layoutPlaceholder = new Placeholder.fromJson(_json["layoutPlaceholder"]); 2497 layoutPlaceholder = new Placeholder.fromJson(_json["layoutPlaceholder"]);
2498 } 2498 }
2499 if (_json.containsKey("layoutPlaceholderObjectId")) { 2499 if (_json.containsKey("layoutPlaceholderObjectId")) {
2500 layoutPlaceholderObjectId = _json["layoutPlaceholderObjectId"]; 2500 layoutPlaceholderObjectId = _json["layoutPlaceholderObjectId"];
2501 } 2501 }
2502 if (_json.containsKey("objectId")) { 2502 if (_json.containsKey("objectId")) {
2503 objectId = _json["objectId"]; 2503 objectId = _json["objectId"];
2504 } 2504 }
2505 } 2505 }
2506 2506
2507 core.Map toJson() { 2507 core.Map<core.String, core.Object> toJson() {
2508 var _json = new core.Map(); 2508 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2509 if (layoutPlaceholder != null) { 2509 if (layoutPlaceholder != null) {
2510 _json["layoutPlaceholder"] = (layoutPlaceholder).toJson(); 2510 _json["layoutPlaceholder"] = (layoutPlaceholder).toJson();
2511 } 2511 }
2512 if (layoutPlaceholderObjectId != null) { 2512 if (layoutPlaceholderObjectId != null) {
2513 _json["layoutPlaceholderObjectId"] = layoutPlaceholderObjectId; 2513 _json["layoutPlaceholderObjectId"] = layoutPlaceholderObjectId;
2514 } 2514 }
2515 if (objectId != null) { 2515 if (objectId != null) {
2516 _json["objectId"] = objectId; 2516 _json["objectId"] = objectId;
2517 } 2517 }
2518 return _json; 2518 return _json;
(...skipping 19 matching lines...) Expand all
2538 displayName = _json["displayName"]; 2538 displayName = _json["displayName"];
2539 } 2539 }
2540 if (_json.containsKey("masterObjectId")) { 2540 if (_json.containsKey("masterObjectId")) {
2541 masterObjectId = _json["masterObjectId"]; 2541 masterObjectId = _json["masterObjectId"];
2542 } 2542 }
2543 if (_json.containsKey("name")) { 2543 if (_json.containsKey("name")) {
2544 name = _json["name"]; 2544 name = _json["name"];
2545 } 2545 }
2546 } 2546 }
2547 2547
2548 core.Map toJson() { 2548 core.Map<core.String, core.Object> toJson() {
2549 var _json = new core.Map(); 2549 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2550 if (displayName != null) { 2550 if (displayName != null) {
2551 _json["displayName"] = displayName; 2551 _json["displayName"] = displayName;
2552 } 2552 }
2553 if (masterObjectId != null) { 2553 if (masterObjectId != null) {
2554 _json["masterObjectId"] = masterObjectId; 2554 _json["masterObjectId"] = masterObjectId;
2555 } 2555 }
2556 if (name != null) { 2556 if (name != null) {
2557 _json["name"] = name; 2557 _json["name"] = name;
2558 } 2558 }
2559 return _json; 2559 return _json;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2593 2593
2594 LayoutReference.fromJson(core.Map _json) { 2594 LayoutReference.fromJson(core.Map _json) {
2595 if (_json.containsKey("layoutId")) { 2595 if (_json.containsKey("layoutId")) {
2596 layoutId = _json["layoutId"]; 2596 layoutId = _json["layoutId"];
2597 } 2597 }
2598 if (_json.containsKey("predefinedLayout")) { 2598 if (_json.containsKey("predefinedLayout")) {
2599 predefinedLayout = _json["predefinedLayout"]; 2599 predefinedLayout = _json["predefinedLayout"];
2600 } 2600 }
2601 } 2601 }
2602 2602
2603 core.Map toJson() { 2603 core.Map<core.String, core.Object> toJson() {
2604 var _json = new core.Map(); 2604 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2605 if (layoutId != null) { 2605 if (layoutId != null) {
2606 _json["layoutId"] = layoutId; 2606 _json["layoutId"] = layoutId;
2607 } 2607 }
2608 if (predefinedLayout != null) { 2608 if (predefinedLayout != null) {
2609 _json["predefinedLayout"] = predefinedLayout; 2609 _json["predefinedLayout"] = predefinedLayout;
2610 } 2610 }
2611 return _json; 2611 return _json;
2612 } 2612 }
2613 } 2613 }
2614 2614
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
2657 2657
2658 Line.fromJson(core.Map _json) { 2658 Line.fromJson(core.Map _json) {
2659 if (_json.containsKey("lineProperties")) { 2659 if (_json.containsKey("lineProperties")) {
2660 lineProperties = new LineProperties.fromJson(_json["lineProperties"]); 2660 lineProperties = new LineProperties.fromJson(_json["lineProperties"]);
2661 } 2661 }
2662 if (_json.containsKey("lineType")) { 2662 if (_json.containsKey("lineType")) {
2663 lineType = _json["lineType"]; 2663 lineType = _json["lineType"];
2664 } 2664 }
2665 } 2665 }
2666 2666
2667 core.Map toJson() { 2667 core.Map<core.String, core.Object> toJson() {
2668 var _json = new core.Map(); 2668 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2669 if (lineProperties != null) { 2669 if (lineProperties != null) {
2670 _json["lineProperties"] = (lineProperties).toJson(); 2670 _json["lineProperties"] = (lineProperties).toJson();
2671 } 2671 }
2672 if (lineType != null) { 2672 if (lineType != null) {
2673 _json["lineType"] = lineType; 2673 _json["lineType"] = lineType;
2674 } 2674 }
2675 return _json; 2675 return _json;
2676 } 2676 }
2677 } 2677 }
2678 2678
2679 /** The fill of the line. */ 2679 /** The fill of the line. */
2680 class LineFill { 2680 class LineFill {
2681 /** Solid color fill. */ 2681 /** Solid color fill. */
2682 SolidFill solidFill; 2682 SolidFill solidFill;
2683 2683
2684 LineFill(); 2684 LineFill();
2685 2685
2686 LineFill.fromJson(core.Map _json) { 2686 LineFill.fromJson(core.Map _json) {
2687 if (_json.containsKey("solidFill")) { 2687 if (_json.containsKey("solidFill")) {
2688 solidFill = new SolidFill.fromJson(_json["solidFill"]); 2688 solidFill = new SolidFill.fromJson(_json["solidFill"]);
2689 } 2689 }
2690 } 2690 }
2691 2691
2692 core.Map toJson() { 2692 core.Map<core.String, core.Object> toJson() {
2693 var _json = new core.Map(); 2693 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2694 if (solidFill != null) { 2694 if (solidFill != null) {
2695 _json["solidFill"] = (solidFill).toJson(); 2695 _json["solidFill"] = (solidFill).toJson();
2696 } 2696 }
2697 return _json; 2697 return _json;
2698 } 2698 }
2699 } 2699 }
2700 2700
2701 /** 2701 /**
2702 * The properties of the Line. 2702 * The properties of the Line.
2703 * 2703 *
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
2795 link = new Link.fromJson(_json["link"]); 2795 link = new Link.fromJson(_json["link"]);
2796 } 2796 }
2797 if (_json.containsKey("startArrow")) { 2797 if (_json.containsKey("startArrow")) {
2798 startArrow = _json["startArrow"]; 2798 startArrow = _json["startArrow"];
2799 } 2799 }
2800 if (_json.containsKey("weight")) { 2800 if (_json.containsKey("weight")) {
2801 weight = new Dimension.fromJson(_json["weight"]); 2801 weight = new Dimension.fromJson(_json["weight"]);
2802 } 2802 }
2803 } 2803 }
2804 2804
2805 core.Map toJson() { 2805 core.Map<core.String, core.Object> toJson() {
2806 var _json = new core.Map(); 2806 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2807 if (dashStyle != null) { 2807 if (dashStyle != null) {
2808 _json["dashStyle"] = dashStyle; 2808 _json["dashStyle"] = dashStyle;
2809 } 2809 }
2810 if (endArrow != null) { 2810 if (endArrow != null) {
2811 _json["endArrow"] = endArrow; 2811 _json["endArrow"] = endArrow;
2812 } 2812 }
2813 if (lineFill != null) { 2813 if (lineFill != null) {
2814 _json["lineFill"] = (lineFill).toJson(); 2814 _json["lineFill"] = (lineFill).toJson();
2815 } 2815 }
2816 if (link != null) { 2816 if (link != null) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2862 relativeLink = _json["relativeLink"]; 2862 relativeLink = _json["relativeLink"];
2863 } 2863 }
2864 if (_json.containsKey("slideIndex")) { 2864 if (_json.containsKey("slideIndex")) {
2865 slideIndex = _json["slideIndex"]; 2865 slideIndex = _json["slideIndex"];
2866 } 2866 }
2867 if (_json.containsKey("url")) { 2867 if (_json.containsKey("url")) {
2868 url = _json["url"]; 2868 url = _json["url"];
2869 } 2869 }
2870 } 2870 }
2871 2871
2872 core.Map toJson() { 2872 core.Map<core.String, core.Object> toJson() {
2873 var _json = new core.Map(); 2873 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2874 if (pageObjectId != null) { 2874 if (pageObjectId != null) {
2875 _json["pageObjectId"] = pageObjectId; 2875 _json["pageObjectId"] = pageObjectId;
2876 } 2876 }
2877 if (relativeLink != null) { 2877 if (relativeLink != null) {
2878 _json["relativeLink"] = relativeLink; 2878 _json["relativeLink"] = relativeLink;
2879 } 2879 }
2880 if (slideIndex != null) { 2880 if (slideIndex != null) {
2881 _json["slideIndex"] = slideIndex; 2881 _json["slideIndex"] = slideIndex;
2882 } 2882 }
2883 if (url != null) { 2883 if (url != null) {
(...skipping 18 matching lines...) Expand all
2902 */ 2902 */
2903 core.Map<core.String, NestingLevel> nestingLevel; 2903 core.Map<core.String, NestingLevel> nestingLevel;
2904 2904
2905 List(); 2905 List();
2906 2906
2907 List.fromJson(core.Map _json) { 2907 List.fromJson(core.Map _json) {
2908 if (_json.containsKey("listId")) { 2908 if (_json.containsKey("listId")) {
2909 listId = _json["listId"]; 2909 listId = _json["listId"];
2910 } 2910 }
2911 if (_json.containsKey("nestingLevel")) { 2911 if (_json.containsKey("nestingLevel")) {
2912 nestingLevel = commons.mapMap(_json["nestingLevel"], (item) => new Nesting Level.fromJson(item)); 2912 nestingLevel = commons.mapMap<core.Map<core.String, core.Object>, NestingL evel>(_json["nestingLevel"], (core.Map<core.String, core.Object> item) => new Ne stingLevel.fromJson(item));
2913 } 2913 }
2914 } 2914 }
2915 2915
2916 core.Map toJson() { 2916 core.Map<core.String, core.Object> toJson() {
2917 var _json = new core.Map(); 2917 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2918 if (listId != null) { 2918 if (listId != null) {
2919 _json["listId"] = listId; 2919 _json["listId"] = listId;
2920 } 2920 }
2921 if (nestingLevel != null) { 2921 if (nestingLevel != null) {
2922 _json["nestingLevel"] = commons.mapMap(nestingLevel, (item) => (item).toJs on()); 2922 _json["nestingLevel"] = commons.mapMap<NestingLevel, core.Map<core.String, core.Object>>(nestingLevel, (NestingLevel item) => (item).toJson());
2923 } 2923 }
2924 return _json; 2924 return _json;
2925 } 2925 }
2926 } 2926 }
2927 2927
2928 /** 2928 /**
2929 * Contains properties describing the look and feel of a list bullet at a given 2929 * Contains properties describing the look and feel of a list bullet at a given
2930 * level of nesting. 2930 * level of nesting.
2931 */ 2931 */
2932 class NestingLevel { 2932 class NestingLevel {
2933 /** The style of a bullet at this level of nesting. */ 2933 /** The style of a bullet at this level of nesting. */
2934 TextStyle bulletStyle; 2934 TextStyle bulletStyle;
2935 2935
2936 NestingLevel(); 2936 NestingLevel();
2937 2937
2938 NestingLevel.fromJson(core.Map _json) { 2938 NestingLevel.fromJson(core.Map _json) {
2939 if (_json.containsKey("bulletStyle")) { 2939 if (_json.containsKey("bulletStyle")) {
2940 bulletStyle = new TextStyle.fromJson(_json["bulletStyle"]); 2940 bulletStyle = new TextStyle.fromJson(_json["bulletStyle"]);
2941 } 2941 }
2942 } 2942 }
2943 2943
2944 core.Map toJson() { 2944 core.Map<core.String, core.Object> toJson() {
2945 var _json = new core.Map(); 2945 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2946 if (bulletStyle != null) { 2946 if (bulletStyle != null) {
2947 _json["bulletStyle"] = (bulletStyle).toJson(); 2947 _json["bulletStyle"] = (bulletStyle).toJson();
2948 } 2948 }
2949 return _json; 2949 return _json;
2950 } 2950 }
2951 } 2951 }
2952 2952
2953 /** 2953 /**
2954 * The properties of Page that are only 2954 * The properties of Page that are only
2955 * relevant for pages with page_type NOTES. 2955 * relevant for pages with page_type NOTES.
(...skipping 10 matching lines...) Expand all
2966 core.String speakerNotesObjectId; 2966 core.String speakerNotesObjectId;
2967 2967
2968 NotesProperties(); 2968 NotesProperties();
2969 2969
2970 NotesProperties.fromJson(core.Map _json) { 2970 NotesProperties.fromJson(core.Map _json) {
2971 if (_json.containsKey("speakerNotesObjectId")) { 2971 if (_json.containsKey("speakerNotesObjectId")) {
2972 speakerNotesObjectId = _json["speakerNotesObjectId"]; 2972 speakerNotesObjectId = _json["speakerNotesObjectId"];
2973 } 2973 }
2974 } 2974 }
2975 2975
2976 core.Map toJson() { 2976 core.Map<core.String, core.Object> toJson() {
2977 var _json = new core.Map(); 2977 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2978 if (speakerNotesObjectId != null) { 2978 if (speakerNotesObjectId != null) {
2979 _json["speakerNotesObjectId"] = speakerNotesObjectId; 2979 _json["speakerNotesObjectId"] = speakerNotesObjectId;
2980 } 2980 }
2981 return _json; 2981 return _json;
2982 } 2982 }
2983 } 2983 }
2984 2984
2985 /** A themeable solid color value. */ 2985 /** A themeable solid color value. */
2986 class OpaqueColor { 2986 class OpaqueColor {
2987 /** An opaque RGB color. */ 2987 /** An opaque RGB color. */
(...skipping 27 matching lines...) Expand all
3015 3015
3016 OpaqueColor.fromJson(core.Map _json) { 3016 OpaqueColor.fromJson(core.Map _json) {
3017 if (_json.containsKey("rgbColor")) { 3017 if (_json.containsKey("rgbColor")) {
3018 rgbColor = new RgbColor.fromJson(_json["rgbColor"]); 3018 rgbColor = new RgbColor.fromJson(_json["rgbColor"]);
3019 } 3019 }
3020 if (_json.containsKey("themeColor")) { 3020 if (_json.containsKey("themeColor")) {
3021 themeColor = _json["themeColor"]; 3021 themeColor = _json["themeColor"];
3022 } 3022 }
3023 } 3023 }
3024 3024
3025 core.Map toJson() { 3025 core.Map<core.String, core.Object> toJson() {
3026 var _json = new core.Map(); 3026 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3027 if (rgbColor != null) { 3027 if (rgbColor != null) {
3028 _json["rgbColor"] = (rgbColor).toJson(); 3028 _json["rgbColor"] = (rgbColor).toJson();
3029 } 3029 }
3030 if (themeColor != null) { 3030 if (themeColor != null) {
3031 _json["themeColor"] = themeColor; 3031 _json["themeColor"] = themeColor;
3032 } 3032 }
3033 return _json; 3033 return _json;
3034 } 3034 }
3035 } 3035 }
3036 3036
3037 /** A color that can either be fully opaque or fully transparent. */ 3037 /** A color that can either be fully opaque or fully transparent. */
3038 class OptionalColor { 3038 class OptionalColor {
3039 /** 3039 /**
3040 * If set, this will be used as an opaque color. If unset, this represents 3040 * If set, this will be used as an opaque color. If unset, this represents
3041 * a transparent color. 3041 * a transparent color.
3042 */ 3042 */
3043 OpaqueColor opaqueColor; 3043 OpaqueColor opaqueColor;
3044 3044
3045 OptionalColor(); 3045 OptionalColor();
3046 3046
3047 OptionalColor.fromJson(core.Map _json) { 3047 OptionalColor.fromJson(core.Map _json) {
3048 if (_json.containsKey("opaqueColor")) { 3048 if (_json.containsKey("opaqueColor")) {
3049 opaqueColor = new OpaqueColor.fromJson(_json["opaqueColor"]); 3049 opaqueColor = new OpaqueColor.fromJson(_json["opaqueColor"]);
3050 } 3050 }
3051 } 3051 }
3052 3052
3053 core.Map toJson() { 3053 core.Map<core.String, core.Object> toJson() {
3054 var _json = new core.Map(); 3054 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3055 if (opaqueColor != null) { 3055 if (opaqueColor != null) {
3056 _json["opaqueColor"] = (opaqueColor).toJson(); 3056 _json["opaqueColor"] = (opaqueColor).toJson();
3057 } 3057 }
3058 return _json; 3058 return _json;
3059 } 3059 }
3060 } 3060 }
3061 3061
3062 /** 3062 /**
3063 * The outline of a PageElement. 3063 * The outline of a PageElement.
3064 * 3064 *
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
3133 outlineFill = new OutlineFill.fromJson(_json["outlineFill"]); 3133 outlineFill = new OutlineFill.fromJson(_json["outlineFill"]);
3134 } 3134 }
3135 if (_json.containsKey("propertyState")) { 3135 if (_json.containsKey("propertyState")) {
3136 propertyState = _json["propertyState"]; 3136 propertyState = _json["propertyState"];
3137 } 3137 }
3138 if (_json.containsKey("weight")) { 3138 if (_json.containsKey("weight")) {
3139 weight = new Dimension.fromJson(_json["weight"]); 3139 weight = new Dimension.fromJson(_json["weight"]);
3140 } 3140 }
3141 } 3141 }
3142 3142
3143 core.Map toJson() { 3143 core.Map<core.String, core.Object> toJson() {
3144 var _json = new core.Map(); 3144 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3145 if (dashStyle != null) { 3145 if (dashStyle != null) {
3146 _json["dashStyle"] = dashStyle; 3146 _json["dashStyle"] = dashStyle;
3147 } 3147 }
3148 if (outlineFill != null) { 3148 if (outlineFill != null) {
3149 _json["outlineFill"] = (outlineFill).toJson(); 3149 _json["outlineFill"] = (outlineFill).toJson();
3150 } 3150 }
3151 if (propertyState != null) { 3151 if (propertyState != null) {
3152 _json["propertyState"] = propertyState; 3152 _json["propertyState"] = propertyState;
3153 } 3153 }
3154 if (weight != null) { 3154 if (weight != null) {
3155 _json["weight"] = (weight).toJson(); 3155 _json["weight"] = (weight).toJson();
3156 } 3156 }
3157 return _json; 3157 return _json;
3158 } 3158 }
3159 } 3159 }
3160 3160
3161 /** The fill of the outline. */ 3161 /** The fill of the outline. */
3162 class OutlineFill { 3162 class OutlineFill {
3163 /** Solid color fill. */ 3163 /** Solid color fill. */
3164 SolidFill solidFill; 3164 SolidFill solidFill;
3165 3165
3166 OutlineFill(); 3166 OutlineFill();
3167 3167
3168 OutlineFill.fromJson(core.Map _json) { 3168 OutlineFill.fromJson(core.Map _json) {
3169 if (_json.containsKey("solidFill")) { 3169 if (_json.containsKey("solidFill")) {
3170 solidFill = new SolidFill.fromJson(_json["solidFill"]); 3170 solidFill = new SolidFill.fromJson(_json["solidFill"]);
3171 } 3171 }
3172 } 3172 }
3173 3173
3174 core.Map toJson() { 3174 core.Map<core.String, core.Object> toJson() {
3175 var _json = new core.Map(); 3175 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3176 if (solidFill != null) { 3176 if (solidFill != null) {
3177 _json["solidFill"] = (solidFill).toJson(); 3177 _json["solidFill"] = (solidFill).toJson();
3178 } 3178 }
3179 return _json; 3179 return _json;
3180 } 3180 }
3181 } 3181 }
3182 3182
3183 /** A page in a presentation. */ 3183 /** A page in a presentation. */
3184 class Page { 3184 class Page {
3185 /** Layout specific properties. Only set if page_type = LAYOUT. */ 3185 /** Layout specific properties. Only set if page_type = LAYOUT. */
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
3246 pageType = _json["pageType"]; 3246 pageType = _json["pageType"];
3247 } 3247 }
3248 if (_json.containsKey("revisionId")) { 3248 if (_json.containsKey("revisionId")) {
3249 revisionId = _json["revisionId"]; 3249 revisionId = _json["revisionId"];
3250 } 3250 }
3251 if (_json.containsKey("slideProperties")) { 3251 if (_json.containsKey("slideProperties")) {
3252 slideProperties = new SlideProperties.fromJson(_json["slideProperties"]); 3252 slideProperties = new SlideProperties.fromJson(_json["slideProperties"]);
3253 } 3253 }
3254 } 3254 }
3255 3255
3256 core.Map toJson() { 3256 core.Map<core.String, core.Object> toJson() {
3257 var _json = new core.Map(); 3257 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3258 if (layoutProperties != null) { 3258 if (layoutProperties != null) {
3259 _json["layoutProperties"] = (layoutProperties).toJson(); 3259 _json["layoutProperties"] = (layoutProperties).toJson();
3260 } 3260 }
3261 if (notesProperties != null) { 3261 if (notesProperties != null) {
3262 _json["notesProperties"] = (notesProperties).toJson(); 3262 _json["notesProperties"] = (notesProperties).toJson();
3263 } 3263 }
3264 if (objectId != null) { 3264 if (objectId != null) {
3265 _json["objectId"] = objectId; 3265 _json["objectId"] = objectId;
3266 } 3266 }
3267 if (pageElements != null) { 3267 if (pageElements != null) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
3324 propertyState = _json["propertyState"]; 3324 propertyState = _json["propertyState"];
3325 } 3325 }
3326 if (_json.containsKey("solidFill")) { 3326 if (_json.containsKey("solidFill")) {
3327 solidFill = new SolidFill.fromJson(_json["solidFill"]); 3327 solidFill = new SolidFill.fromJson(_json["solidFill"]);
3328 } 3328 }
3329 if (_json.containsKey("stretchedPictureFill")) { 3329 if (_json.containsKey("stretchedPictureFill")) {
3330 stretchedPictureFill = new StretchedPictureFill.fromJson(_json["stretchedP ictureFill"]); 3330 stretchedPictureFill = new StretchedPictureFill.fromJson(_json["stretchedP ictureFill"]);
3331 } 3331 }
3332 } 3332 }
3333 3333
3334 core.Map toJson() { 3334 core.Map<core.String, core.Object> toJson() {
3335 var _json = new core.Map(); 3335 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3336 if (propertyState != null) { 3336 if (propertyState != null) {
3337 _json["propertyState"] = propertyState; 3337 _json["propertyState"] = propertyState;
3338 } 3338 }
3339 if (solidFill != null) { 3339 if (solidFill != null) {
3340 _json["solidFill"] = (solidFill).toJson(); 3340 _json["solidFill"] = (solidFill).toJson();
3341 } 3341 }
3342 if (stretchedPictureFill != null) { 3342 if (stretchedPictureFill != null) {
3343 _json["stretchedPictureFill"] = (stretchedPictureFill).toJson(); 3343 _json["stretchedPictureFill"] = (stretchedPictureFill).toJson();
3344 } 3344 }
3345 return _json; 3345 return _json;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
3425 transform = new AffineTransform.fromJson(_json["transform"]); 3425 transform = new AffineTransform.fromJson(_json["transform"]);
3426 } 3426 }
3427 if (_json.containsKey("video")) { 3427 if (_json.containsKey("video")) {
3428 video = new Video.fromJson(_json["video"]); 3428 video = new Video.fromJson(_json["video"]);
3429 } 3429 }
3430 if (_json.containsKey("wordArt")) { 3430 if (_json.containsKey("wordArt")) {
3431 wordArt = new WordArt.fromJson(_json["wordArt"]); 3431 wordArt = new WordArt.fromJson(_json["wordArt"]);
3432 } 3432 }
3433 } 3433 }
3434 3434
3435 core.Map toJson() { 3435 core.Map<core.String, core.Object> toJson() {
3436 var _json = new core.Map(); 3436 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3437 if (description != null) { 3437 if (description != null) {
3438 _json["description"] = description; 3438 _json["description"] = description;
3439 } 3439 }
3440 if (elementGroup != null) { 3440 if (elementGroup != null) {
3441 _json["elementGroup"] = (elementGroup).toJson(); 3441 _json["elementGroup"] = (elementGroup).toJson();
3442 } 3442 }
3443 if (image != null) { 3443 if (image != null) {
3444 _json["image"] = (image).toJson(); 3444 _json["image"] = (image).toJson();
3445 } 3445 }
3446 if (line != null) { 3446 if (line != null) {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
3500 pageObjectId = _json["pageObjectId"]; 3500 pageObjectId = _json["pageObjectId"];
3501 } 3501 }
3502 if (_json.containsKey("size")) { 3502 if (_json.containsKey("size")) {
3503 size = new Size.fromJson(_json["size"]); 3503 size = new Size.fromJson(_json["size"]);
3504 } 3504 }
3505 if (_json.containsKey("transform")) { 3505 if (_json.containsKey("transform")) {
3506 transform = new AffineTransform.fromJson(_json["transform"]); 3506 transform = new AffineTransform.fromJson(_json["transform"]);
3507 } 3507 }
3508 } 3508 }
3509 3509
3510 core.Map toJson() { 3510 core.Map<core.String, core.Object> toJson() {
3511 var _json = new core.Map(); 3511 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3512 if (pageObjectId != null) { 3512 if (pageObjectId != null) {
3513 _json["pageObjectId"] = pageObjectId; 3513 _json["pageObjectId"] = pageObjectId;
3514 } 3514 }
3515 if (size != null) { 3515 if (size != null) {
3516 _json["size"] = (size).toJson(); 3516 _json["size"] = (size).toJson();
3517 } 3517 }
3518 if (transform != null) { 3518 if (transform != null) {
3519 _json["transform"] = (transform).toJson(); 3519 _json["transform"] = (transform).toJson();
3520 } 3520 }
3521 return _json; 3521 return _json;
(...skipping 26 matching lines...) Expand all
3548 3548
3549 PageProperties.fromJson(core.Map _json) { 3549 PageProperties.fromJson(core.Map _json) {
3550 if (_json.containsKey("colorScheme")) { 3550 if (_json.containsKey("colorScheme")) {
3551 colorScheme = new ColorScheme.fromJson(_json["colorScheme"]); 3551 colorScheme = new ColorScheme.fromJson(_json["colorScheme"]);
3552 } 3552 }
3553 if (_json.containsKey("pageBackgroundFill")) { 3553 if (_json.containsKey("pageBackgroundFill")) {
3554 pageBackgroundFill = new PageBackgroundFill.fromJson(_json["pageBackground Fill"]); 3554 pageBackgroundFill = new PageBackgroundFill.fromJson(_json["pageBackground Fill"]);
3555 } 3555 }
3556 } 3556 }
3557 3557
3558 core.Map toJson() { 3558 core.Map<core.String, core.Object> toJson() {
3559 var _json = new core.Map(); 3559 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3560 if (colorScheme != null) { 3560 if (colorScheme != null) {
3561 _json["colorScheme"] = (colorScheme).toJson(); 3561 _json["colorScheme"] = (colorScheme).toJson();
3562 } 3562 }
3563 if (pageBackgroundFill != null) { 3563 if (pageBackgroundFill != null) {
3564 _json["pageBackgroundFill"] = (pageBackgroundFill).toJson(); 3564 _json["pageBackgroundFill"] = (pageBackgroundFill).toJson();
3565 } 3565 }
3566 return _json; 3566 return _json;
3567 } 3567 }
3568 } 3568 }
3569 3569
(...skipping 11 matching lines...) Expand all
3581 3581
3582 ParagraphMarker.fromJson(core.Map _json) { 3582 ParagraphMarker.fromJson(core.Map _json) {
3583 if (_json.containsKey("bullet")) { 3583 if (_json.containsKey("bullet")) {
3584 bullet = new Bullet.fromJson(_json["bullet"]); 3584 bullet = new Bullet.fromJson(_json["bullet"]);
3585 } 3585 }
3586 if (_json.containsKey("style")) { 3586 if (_json.containsKey("style")) {
3587 style = new ParagraphStyle.fromJson(_json["style"]); 3587 style = new ParagraphStyle.fromJson(_json["style"]);
3588 } 3588 }
3589 } 3589 }
3590 3590
3591 core.Map toJson() { 3591 core.Map<core.String, core.Object> toJson() {
3592 var _json = new core.Map(); 3592 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3593 if (bullet != null) { 3593 if (bullet != null) {
3594 _json["bullet"] = (bullet).toJson(); 3594 _json["bullet"] = (bullet).toJson();
3595 } 3595 }
3596 if (style != null) { 3596 if (style != null) {
3597 _json["style"] = (style).toJson(); 3597 _json["style"] = (style).toJson();
3598 } 3598 }
3599 return _json; 3599 return _json;
3600 } 3600 }
3601 } 3601 }
3602 3602
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
3710 spaceAbove = new Dimension.fromJson(_json["spaceAbove"]); 3710 spaceAbove = new Dimension.fromJson(_json["spaceAbove"]);
3711 } 3711 }
3712 if (_json.containsKey("spaceBelow")) { 3712 if (_json.containsKey("spaceBelow")) {
3713 spaceBelow = new Dimension.fromJson(_json["spaceBelow"]); 3713 spaceBelow = new Dimension.fromJson(_json["spaceBelow"]);
3714 } 3714 }
3715 if (_json.containsKey("spacingMode")) { 3715 if (_json.containsKey("spacingMode")) {
3716 spacingMode = _json["spacingMode"]; 3716 spacingMode = _json["spacingMode"];
3717 } 3717 }
3718 } 3718 }
3719 3719
3720 core.Map toJson() { 3720 core.Map<core.String, core.Object> toJson() {
3721 var _json = new core.Map(); 3721 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3722 if (alignment != null) { 3722 if (alignment != null) {
3723 _json["alignment"] = alignment; 3723 _json["alignment"] = alignment;
3724 } 3724 }
3725 if (direction != null) { 3725 if (direction != null) {
3726 _json["direction"] = direction; 3726 _json["direction"] = direction;
3727 } 3727 }
3728 if (indentEnd != null) { 3728 if (indentEnd != null) {
3729 _json["indentEnd"] = (indentEnd).toJson(); 3729 _json["indentEnd"] = (indentEnd).toJson();
3730 } 3730 }
3731 if (indentFirstLine != null) { 3731 if (indentFirstLine != null) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
3795 index = _json["index"]; 3795 index = _json["index"];
3796 } 3796 }
3797 if (_json.containsKey("parentObjectId")) { 3797 if (_json.containsKey("parentObjectId")) {
3798 parentObjectId = _json["parentObjectId"]; 3798 parentObjectId = _json["parentObjectId"];
3799 } 3799 }
3800 if (_json.containsKey("type")) { 3800 if (_json.containsKey("type")) {
3801 type = _json["type"]; 3801 type = _json["type"];
3802 } 3802 }
3803 } 3803 }
3804 3804
3805 core.Map toJson() { 3805 core.Map<core.String, core.Object> toJson() {
3806 var _json = new core.Map(); 3806 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3807 if (index != null) { 3807 if (index != null) {
3808 _json["index"] = index; 3808 _json["index"] = index;
3809 } 3809 }
3810 if (parentObjectId != null) { 3810 if (parentObjectId != null) {
3811 _json["parentObjectId"] = parentObjectId; 3811 _json["parentObjectId"] = parentObjectId;
3812 } 3812 }
3813 if (type != null) { 3813 if (type != null) {
3814 _json["type"] = type; 3814 _json["type"] = type;
3815 } 3815 }
3816 return _json; 3816 return _json;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
3906 revisionId = _json["revisionId"]; 3906 revisionId = _json["revisionId"];
3907 } 3907 }
3908 if (_json.containsKey("slides")) { 3908 if (_json.containsKey("slides")) {
3909 slides = _json["slides"].map((value) => new Page.fromJson(value)).toList() ; 3909 slides = _json["slides"].map((value) => new Page.fromJson(value)).toList() ;
3910 } 3910 }
3911 if (_json.containsKey("title")) { 3911 if (_json.containsKey("title")) {
3912 title = _json["title"]; 3912 title = _json["title"];
3913 } 3913 }
3914 } 3914 }
3915 3915
3916 core.Map toJson() { 3916 core.Map<core.String, core.Object> toJson() {
3917 var _json = new core.Map(); 3917 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3918 if (layouts != null) { 3918 if (layouts != null) {
3919 _json["layouts"] = layouts.map((value) => (value).toJson()).toList(); 3919 _json["layouts"] = layouts.map((value) => (value).toJson()).toList();
3920 } 3920 }
3921 if (locale != null) { 3921 if (locale != null) {
3922 _json["locale"] = locale; 3922 _json["locale"] = locale;
3923 } 3923 }
3924 if (masters != null) { 3924 if (masters != null) {
3925 _json["masters"] = masters.map((value) => (value).toJson()).toList(); 3925 _json["masters"] = masters.map((value) => (value).toJson()).toList();
3926 } 3926 }
3927 if (notesMaster != null) { 3927 if (notesMaster != null) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
3984 endIndex = _json["endIndex"]; 3984 endIndex = _json["endIndex"];
3985 } 3985 }
3986 if (_json.containsKey("startIndex")) { 3986 if (_json.containsKey("startIndex")) {
3987 startIndex = _json["startIndex"]; 3987 startIndex = _json["startIndex"];
3988 } 3988 }
3989 if (_json.containsKey("type")) { 3989 if (_json.containsKey("type")) {
3990 type = _json["type"]; 3990 type = _json["type"];
3991 } 3991 }
3992 } 3992 }
3993 3993
3994 core.Map toJson() { 3994 core.Map<core.String, core.Object> toJson() {
3995 var _json = new core.Map(); 3995 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3996 if (endIndex != null) { 3996 if (endIndex != null) {
3997 _json["endIndex"] = endIndex; 3997 _json["endIndex"] = endIndex;
3998 } 3998 }
3999 if (startIndex != null) { 3999 if (startIndex != null) {
4000 _json["startIndex"] = startIndex; 4000 _json["startIndex"] = startIndex;
4001 } 4001 }
4002 if (type != null) { 4002 if (type != null) {
4003 _json["type"] = type; 4003 _json["type"] = type;
4004 } 4004 }
4005 return _json; 4005 return _json;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
4099 4099
4100 Recolor.fromJson(core.Map _json) { 4100 Recolor.fromJson(core.Map _json) {
4101 if (_json.containsKey("name")) { 4101 if (_json.containsKey("name")) {
4102 name = _json["name"]; 4102 name = _json["name"];
4103 } 4103 }
4104 if (_json.containsKey("recolorStops")) { 4104 if (_json.containsKey("recolorStops")) {
4105 recolorStops = _json["recolorStops"].map((value) => new ColorStop.fromJson (value)).toList(); 4105 recolorStops = _json["recolorStops"].map((value) => new ColorStop.fromJson (value)).toList();
4106 } 4106 }
4107 } 4107 }
4108 4108
4109 core.Map toJson() { 4109 core.Map<core.String, core.Object> toJson() {
4110 var _json = new core.Map(); 4110 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4111 if (name != null) { 4111 if (name != null) {
4112 _json["name"] = name; 4112 _json["name"] = name;
4113 } 4113 }
4114 if (recolorStops != null) { 4114 if (recolorStops != null) {
4115 _json["recolorStops"] = recolorStops.map((value) => (value).toJson()).toLi st(); 4115 _json["recolorStops"] = recolorStops.map((value) => (value).toJson()).toLi st();
4116 } 4116 }
4117 return _json; 4117 return _json;
4118 } 4118 }
4119 } 4119 }
4120 4120
4121 /** 4121 /**
4122 * Refreshes an embedded Google Sheets chart by replacing it with the latest 4122 * Refreshes an embedded Google Sheets chart by replacing it with the latest
4123 * version of the chart from Google Sheets. 4123 * version of the chart from Google Sheets.
4124 * 4124 *
4125 * NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, 4125 * NOTE: Refreshing charts requires at least one of the spreadsheets.readonly,
4126 * spreadsheets, drive.readonly, or drive OAuth scopes. 4126 * spreadsheets, drive.readonly, or drive OAuth scopes.
4127 */ 4127 */
4128 class RefreshSheetsChartRequest { 4128 class RefreshSheetsChartRequest {
4129 /** The object ID of the chart to refresh. */ 4129 /** The object ID of the chart to refresh. */
4130 core.String objectId; 4130 core.String objectId;
4131 4131
4132 RefreshSheetsChartRequest(); 4132 RefreshSheetsChartRequest();
4133 4133
4134 RefreshSheetsChartRequest.fromJson(core.Map _json) { 4134 RefreshSheetsChartRequest.fromJson(core.Map _json) {
4135 if (_json.containsKey("objectId")) { 4135 if (_json.containsKey("objectId")) {
4136 objectId = _json["objectId"]; 4136 objectId = _json["objectId"];
4137 } 4137 }
4138 } 4138 }
4139 4139
4140 core.Map toJson() { 4140 core.Map<core.String, core.Object> toJson() {
4141 var _json = new core.Map(); 4141 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4142 if (objectId != null) { 4142 if (objectId != null) {
4143 _json["objectId"] = objectId; 4143 _json["objectId"] = objectId;
4144 } 4144 }
4145 return _json; 4145 return _json;
4146 } 4146 }
4147 } 4147 }
4148 4148
4149 /** 4149 /**
4150 * Replaces all shapes that match the given criteria with the provided image. 4150 * Replaces all shapes that match the given criteria with the provided image.
4151 */ 4151 */
4152 class ReplaceAllShapesWithImageRequest { 4152 class ReplaceAllShapesWithImageRequest {
4153 /** 4153 /**
4154 * If set, this request will replace all of the shapes that contain the 4154 * If set, this request will replace all of the shapes that contain the
4155 * given text. 4155 * given text.
4156 */ 4156 */
4157 SubstringMatchCriteria containsText; 4157 SubstringMatchCriteria containsText;
4158 /** 4158 /**
4159 * The image URL. 4159 * The image URL.
4160 * 4160 *
4161 * The image is fetched once at insertion time and a copy is stored for 4161 * The image is fetched once at insertion time and a copy is stored for
4162 * display inside the presentation. Images must be less than 50MB in size, 4162 * display inside the presentation. Images must be less than 50MB in size,
4163 * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF 4163 * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
4164 * format. 4164 * format.
4165 */ 4165 */
4166 core.String imageUrl; 4166 core.String imageUrl;
4167 /** 4167 /**
4168 * If non-empty, limits the matches to page elements only on the given pages.
4169 *
4170 * Returns a 400 bad request error if given the page object ID of a
4171 * notes page or a
4172 * notes master, or if a
4173 * page with that object ID doesn't exist in the presentation.
4174 */
4175 core.List<core.String> pageObjectIds;
4176 /**
4168 * The replace method. 4177 * The replace method.
4169 * Possible string values are: 4178 * Possible string values are:
4170 * - "CENTER_INSIDE" : Scales and centers the image to fit within the bounds 4179 * - "CENTER_INSIDE" : Scales and centers the image to fit within the bounds
4171 * of the original 4180 * of the original
4172 * shape and maintains the image's aspect ratio. The rendered size of the 4181 * shape and maintains the image's aspect ratio. The rendered size of the
4173 * image may be smaller than the size of the shape. This is the default 4182 * image may be smaller than the size of the shape. This is the default
4174 * method when one is not specified. 4183 * method when one is not specified.
4175 * - "CENTER_CROP" : Scales and centers the image to fill the bounds of the 4184 * - "CENTER_CROP" : Scales and centers the image to fill the bounds of the
4176 * original shape. 4185 * original shape.
4177 * The image may be cropped in order to fill the shape. The rendered size of 4186 * The image may be cropped in order to fill the shape. The rendered size of
4178 * the image will be the same as that of the original shape. 4187 * the image will be the same as that of the original shape.
4179 */ 4188 */
4180 core.String replaceMethod; 4189 core.String replaceMethod;
4181 4190
4182 ReplaceAllShapesWithImageRequest(); 4191 ReplaceAllShapesWithImageRequest();
4183 4192
4184 ReplaceAllShapesWithImageRequest.fromJson(core.Map _json) { 4193 ReplaceAllShapesWithImageRequest.fromJson(core.Map _json) {
4185 if (_json.containsKey("containsText")) { 4194 if (_json.containsKey("containsText")) {
4186 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); 4195 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]);
4187 } 4196 }
4188 if (_json.containsKey("imageUrl")) { 4197 if (_json.containsKey("imageUrl")) {
4189 imageUrl = _json["imageUrl"]; 4198 imageUrl = _json["imageUrl"];
4190 } 4199 }
4200 if (_json.containsKey("pageObjectIds")) {
4201 pageObjectIds = _json["pageObjectIds"];
4202 }
4191 if (_json.containsKey("replaceMethod")) { 4203 if (_json.containsKey("replaceMethod")) {
4192 replaceMethod = _json["replaceMethod"]; 4204 replaceMethod = _json["replaceMethod"];
4193 } 4205 }
4194 } 4206 }
4195 4207
4196 core.Map toJson() { 4208 core.Map<core.String, core.Object> toJson() {
4197 var _json = new core.Map(); 4209 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4198 if (containsText != null) { 4210 if (containsText != null) {
4199 _json["containsText"] = (containsText).toJson(); 4211 _json["containsText"] = (containsText).toJson();
4200 } 4212 }
4201 if (imageUrl != null) { 4213 if (imageUrl != null) {
4202 _json["imageUrl"] = imageUrl; 4214 _json["imageUrl"] = imageUrl;
4203 } 4215 }
4216 if (pageObjectIds != null) {
4217 _json["pageObjectIds"] = pageObjectIds;
4218 }
4204 if (replaceMethod != null) { 4219 if (replaceMethod != null) {
4205 _json["replaceMethod"] = replaceMethod; 4220 _json["replaceMethod"] = replaceMethod;
4206 } 4221 }
4207 return _json; 4222 return _json;
4208 } 4223 }
4209 } 4224 }
4210 4225
4211 /** The result of replacing shapes with an image. */ 4226 /** The result of replacing shapes with an image. */
4212 class ReplaceAllShapesWithImageResponse { 4227 class ReplaceAllShapesWithImageResponse {
4213 /** The number of shapes replaced with images. */ 4228 /** The number of shapes replaced with images. */
4214 core.int occurrencesChanged; 4229 core.int occurrencesChanged;
4215 4230
4216 ReplaceAllShapesWithImageResponse(); 4231 ReplaceAllShapesWithImageResponse();
4217 4232
4218 ReplaceAllShapesWithImageResponse.fromJson(core.Map _json) { 4233 ReplaceAllShapesWithImageResponse.fromJson(core.Map _json) {
4219 if (_json.containsKey("occurrencesChanged")) { 4234 if (_json.containsKey("occurrencesChanged")) {
4220 occurrencesChanged = _json["occurrencesChanged"]; 4235 occurrencesChanged = _json["occurrencesChanged"];
4221 } 4236 }
4222 } 4237 }
4223 4238
4224 core.Map toJson() { 4239 core.Map<core.String, core.Object> toJson() {
4225 var _json = new core.Map(); 4240 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4226 if (occurrencesChanged != null) { 4241 if (occurrencesChanged != null) {
4227 _json["occurrencesChanged"] = occurrencesChanged; 4242 _json["occurrencesChanged"] = occurrencesChanged;
4228 } 4243 }
4229 return _json; 4244 return _json;
4230 } 4245 }
4231 } 4246 }
4232 4247
4233 /** 4248 /**
4234 * Replaces all shapes that match the given criteria with the provided Google 4249 * Replaces all shapes that match the given criteria with the provided Google
4235 * Sheets chart. The chart will be scaled and centered to fit within the bounds 4250 * Sheets chart. The chart will be scaled and centered to fit within the bounds
(...skipping 15 matching lines...) Expand all
4251 * not specified, the chart will be an image that is not linked. 4266 * not specified, the chart will be an image that is not linked.
4252 * Possible string values are: 4267 * Possible string values are:
4253 * - "NOT_LINKED_IMAGE" : The chart is not associated with the source 4268 * - "NOT_LINKED_IMAGE" : The chart is not associated with the source
4254 * spreadsheet and cannot be 4269 * spreadsheet and cannot be
4255 * updated. A chart that is not linked will be inserted as an image. 4270 * updated. A chart that is not linked will be inserted as an image.
4256 * - "LINKED" : Linking the chart allows it to be updated, and other 4271 * - "LINKED" : Linking the chart allows it to be updated, and other
4257 * collaborators will 4272 * collaborators will
4258 * see a link to the spreadsheet. 4273 * see a link to the spreadsheet.
4259 */ 4274 */
4260 core.String linkingMode; 4275 core.String linkingMode;
4276 /**
4277 * If non-empty, limits the matches to page elements only on the given pages.
4278 *
4279 * Returns a 400 bad request error if given the page object ID of a
4280 * notes page or a
4281 * notes master, or if a
4282 * page with that object ID doesn't exist in the presentation.
4283 */
4284 core.List<core.String> pageObjectIds;
4261 /** The ID of the Google Sheets spreadsheet that contains the chart. */ 4285 /** The ID of the Google Sheets spreadsheet that contains the chart. */
4262 core.String spreadsheetId; 4286 core.String spreadsheetId;
4263 4287
4264 ReplaceAllShapesWithSheetsChartRequest(); 4288 ReplaceAllShapesWithSheetsChartRequest();
4265 4289
4266 ReplaceAllShapesWithSheetsChartRequest.fromJson(core.Map _json) { 4290 ReplaceAllShapesWithSheetsChartRequest.fromJson(core.Map _json) {
4267 if (_json.containsKey("chartId")) { 4291 if (_json.containsKey("chartId")) {
4268 chartId = _json["chartId"]; 4292 chartId = _json["chartId"];
4269 } 4293 }
4270 if (_json.containsKey("containsText")) { 4294 if (_json.containsKey("containsText")) {
4271 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); 4295 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]);
4272 } 4296 }
4273 if (_json.containsKey("linkingMode")) { 4297 if (_json.containsKey("linkingMode")) {
4274 linkingMode = _json["linkingMode"]; 4298 linkingMode = _json["linkingMode"];
4275 } 4299 }
4300 if (_json.containsKey("pageObjectIds")) {
4301 pageObjectIds = _json["pageObjectIds"];
4302 }
4276 if (_json.containsKey("spreadsheetId")) { 4303 if (_json.containsKey("spreadsheetId")) {
4277 spreadsheetId = _json["spreadsheetId"]; 4304 spreadsheetId = _json["spreadsheetId"];
4278 } 4305 }
4279 } 4306 }
4280 4307
4281 core.Map toJson() { 4308 core.Map<core.String, core.Object> toJson() {
4282 var _json = new core.Map(); 4309 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4283 if (chartId != null) { 4310 if (chartId != null) {
4284 _json["chartId"] = chartId; 4311 _json["chartId"] = chartId;
4285 } 4312 }
4286 if (containsText != null) { 4313 if (containsText != null) {
4287 _json["containsText"] = (containsText).toJson(); 4314 _json["containsText"] = (containsText).toJson();
4288 } 4315 }
4289 if (linkingMode != null) { 4316 if (linkingMode != null) {
4290 _json["linkingMode"] = linkingMode; 4317 _json["linkingMode"] = linkingMode;
4291 } 4318 }
4319 if (pageObjectIds != null) {
4320 _json["pageObjectIds"] = pageObjectIds;
4321 }
4292 if (spreadsheetId != null) { 4322 if (spreadsheetId != null) {
4293 _json["spreadsheetId"] = spreadsheetId; 4323 _json["spreadsheetId"] = spreadsheetId;
4294 } 4324 }
4295 return _json; 4325 return _json;
4296 } 4326 }
4297 } 4327 }
4298 4328
4299 /** The result of replacing shapes with a Google Sheets chart. */ 4329 /** The result of replacing shapes with a Google Sheets chart. */
4300 class ReplaceAllShapesWithSheetsChartResponse { 4330 class ReplaceAllShapesWithSheetsChartResponse {
4301 /** The number of shapes replaced with charts. */ 4331 /** The number of shapes replaced with charts. */
4302 core.int occurrencesChanged; 4332 core.int occurrencesChanged;
4303 4333
4304 ReplaceAllShapesWithSheetsChartResponse(); 4334 ReplaceAllShapesWithSheetsChartResponse();
4305 4335
4306 ReplaceAllShapesWithSheetsChartResponse.fromJson(core.Map _json) { 4336 ReplaceAllShapesWithSheetsChartResponse.fromJson(core.Map _json) {
4307 if (_json.containsKey("occurrencesChanged")) { 4337 if (_json.containsKey("occurrencesChanged")) {
4308 occurrencesChanged = _json["occurrencesChanged"]; 4338 occurrencesChanged = _json["occurrencesChanged"];
4309 } 4339 }
4310 } 4340 }
4311 4341
4312 core.Map toJson() { 4342 core.Map<core.String, core.Object> toJson() {
4313 var _json = new core.Map(); 4343 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4314 if (occurrencesChanged != null) { 4344 if (occurrencesChanged != null) {
4315 _json["occurrencesChanged"] = occurrencesChanged; 4345 _json["occurrencesChanged"] = occurrencesChanged;
4316 } 4346 }
4317 return _json; 4347 return _json;
4318 } 4348 }
4319 } 4349 }
4320 4350
4321 /** Replaces all instances of text matching a criteria with replace text. */ 4351 /** Replaces all instances of text matching a criteria with replace text. */
4322 class ReplaceAllTextRequest { 4352 class ReplaceAllTextRequest {
4323 /** Finds text in a shape matching this substring. */ 4353 /** Finds text in a shape matching this substring. */
4324 SubstringMatchCriteria containsText; 4354 SubstringMatchCriteria containsText;
4355 /**
4356 * If non-empty, limits the matches to page elements only on the given pages.
4357 *
4358 * Returns a 400 bad request error if given the page object ID of a
4359 * notes master,
4360 * or if a page with that object ID doesn't exist in the presentation.
4361 */
4362 core.List<core.String> pageObjectIds;
4325 /** The text that will replace the matched text. */ 4363 /** The text that will replace the matched text. */
4326 core.String replaceText; 4364 core.String replaceText;
4327 4365
4328 ReplaceAllTextRequest(); 4366 ReplaceAllTextRequest();
4329 4367
4330 ReplaceAllTextRequest.fromJson(core.Map _json) { 4368 ReplaceAllTextRequest.fromJson(core.Map _json) {
4331 if (_json.containsKey("containsText")) { 4369 if (_json.containsKey("containsText")) {
4332 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); 4370 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]);
4333 } 4371 }
4372 if (_json.containsKey("pageObjectIds")) {
4373 pageObjectIds = _json["pageObjectIds"];
4374 }
4334 if (_json.containsKey("replaceText")) { 4375 if (_json.containsKey("replaceText")) {
4335 replaceText = _json["replaceText"]; 4376 replaceText = _json["replaceText"];
4336 } 4377 }
4337 } 4378 }
4338 4379
4339 core.Map toJson() { 4380 core.Map<core.String, core.Object> toJson() {
4340 var _json = new core.Map(); 4381 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4341 if (containsText != null) { 4382 if (containsText != null) {
4342 _json["containsText"] = (containsText).toJson(); 4383 _json["containsText"] = (containsText).toJson();
4343 } 4384 }
4385 if (pageObjectIds != null) {
4386 _json["pageObjectIds"] = pageObjectIds;
4387 }
4344 if (replaceText != null) { 4388 if (replaceText != null) {
4345 _json["replaceText"] = replaceText; 4389 _json["replaceText"] = replaceText;
4346 } 4390 }
4347 return _json; 4391 return _json;
4348 } 4392 }
4349 } 4393 }
4350 4394
4351 /** The result of replacing text. */ 4395 /** The result of replacing text. */
4352 class ReplaceAllTextResponse { 4396 class ReplaceAllTextResponse {
4353 /** The number of occurrences changed by replacing all text. */ 4397 /** The number of occurrences changed by replacing all text. */
4354 core.int occurrencesChanged; 4398 core.int occurrencesChanged;
4355 4399
4356 ReplaceAllTextResponse(); 4400 ReplaceAllTextResponse();
4357 4401
4358 ReplaceAllTextResponse.fromJson(core.Map _json) { 4402 ReplaceAllTextResponse.fromJson(core.Map _json) {
4359 if (_json.containsKey("occurrencesChanged")) { 4403 if (_json.containsKey("occurrencesChanged")) {
4360 occurrencesChanged = _json["occurrencesChanged"]; 4404 occurrencesChanged = _json["occurrencesChanged"];
4361 } 4405 }
4362 } 4406 }
4363 4407
4364 core.Map toJson() { 4408 core.Map<core.String, core.Object> toJson() {
4365 var _json = new core.Map(); 4409 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4366 if (occurrencesChanged != null) { 4410 if (occurrencesChanged != null) {
4367 _json["occurrencesChanged"] = occurrencesChanged; 4411 _json["occurrencesChanged"] = occurrencesChanged;
4368 } 4412 }
4369 return _json; 4413 return _json;
4370 } 4414 }
4371 } 4415 }
4372 4416
4373 /** A single kind of update to apply to a presentation. */ 4417 /** A single kind of update to apply to a presentation. */
4374 class Request { 4418 class Request {
4375 /** Creates an image. */ 4419 /** Creates an image. */
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
4526 updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson( _json["updateTableCellProperties"]); 4570 updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson( _json["updateTableCellProperties"]);
4527 } 4571 }
4528 if (_json.containsKey("updateTextStyle")) { 4572 if (_json.containsKey("updateTextStyle")) {
4529 updateTextStyle = new UpdateTextStyleRequest.fromJson(_json["updateTextSty le"]); 4573 updateTextStyle = new UpdateTextStyleRequest.fromJson(_json["updateTextSty le"]);
4530 } 4574 }
4531 if (_json.containsKey("updateVideoProperties")) { 4575 if (_json.containsKey("updateVideoProperties")) {
4532 updateVideoProperties = new UpdateVideoPropertiesRequest.fromJson(_json["u pdateVideoProperties"]); 4576 updateVideoProperties = new UpdateVideoPropertiesRequest.fromJson(_json["u pdateVideoProperties"]);
4533 } 4577 }
4534 } 4578 }
4535 4579
4536 core.Map toJson() { 4580 core.Map<core.String, core.Object> toJson() {
4537 var _json = new core.Map(); 4581 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4538 if (createImage != null) { 4582 if (createImage != null) {
4539 _json["createImage"] = (createImage).toJson(); 4583 _json["createImage"] = (createImage).toJson();
4540 } 4584 }
4541 if (createLine != null) { 4585 if (createLine != null) {
4542 _json["createLine"] = (createLine).toJson(); 4586 _json["createLine"] = (createLine).toJson();
4543 } 4587 }
4544 if (createParagraphBullets != null) { 4588 if (createParagraphBullets != null) {
4545 _json["createParagraphBullets"] = (createParagraphBullets).toJson(); 4589 _json["createParagraphBullets"] = (createParagraphBullets).toJson();
4546 } 4590 }
4547 if (createShape != null) { 4591 if (createShape != null) {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
4694 replaceAllShapesWithImage = new ReplaceAllShapesWithImageResponse.fromJson (_json["replaceAllShapesWithImage"]); 4738 replaceAllShapesWithImage = new ReplaceAllShapesWithImageResponse.fromJson (_json["replaceAllShapesWithImage"]);
4695 } 4739 }
4696 if (_json.containsKey("replaceAllShapesWithSheetsChart")) { 4740 if (_json.containsKey("replaceAllShapesWithSheetsChart")) {
4697 replaceAllShapesWithSheetsChart = new ReplaceAllShapesWithSheetsChartRespo nse.fromJson(_json["replaceAllShapesWithSheetsChart"]); 4741 replaceAllShapesWithSheetsChart = new ReplaceAllShapesWithSheetsChartRespo nse.fromJson(_json["replaceAllShapesWithSheetsChart"]);
4698 } 4742 }
4699 if (_json.containsKey("replaceAllText")) { 4743 if (_json.containsKey("replaceAllText")) {
4700 replaceAllText = new ReplaceAllTextResponse.fromJson(_json["replaceAllText "]); 4744 replaceAllText = new ReplaceAllTextResponse.fromJson(_json["replaceAllText "]);
4701 } 4745 }
4702 } 4746 }
4703 4747
4704 core.Map toJson() { 4748 core.Map<core.String, core.Object> toJson() {
4705 var _json = new core.Map(); 4749 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4706 if (createImage != null) { 4750 if (createImage != null) {
4707 _json["createImage"] = (createImage).toJson(); 4751 _json["createImage"] = (createImage).toJson();
4708 } 4752 }
4709 if (createLine != null) { 4753 if (createLine != null) {
4710 _json["createLine"] = (createLine).toJson(); 4754 _json["createLine"] = (createLine).toJson();
4711 } 4755 }
4712 if (createShape != null) { 4756 if (createShape != null) {
4713 _json["createShape"] = (createShape).toJson(); 4757 _json["createShape"] = (createShape).toJson();
4714 } 4758 }
4715 if (createSheetsChart != null) { 4759 if (createSheetsChart != null) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
4756 blue = _json["blue"]; 4800 blue = _json["blue"];
4757 } 4801 }
4758 if (_json.containsKey("green")) { 4802 if (_json.containsKey("green")) {
4759 green = _json["green"]; 4803 green = _json["green"];
4760 } 4804 }
4761 if (_json.containsKey("red")) { 4805 if (_json.containsKey("red")) {
4762 red = _json["red"]; 4806 red = _json["red"];
4763 } 4807 }
4764 } 4808 }
4765 4809
4766 core.Map toJson() { 4810 core.Map<core.String, core.Object> toJson() {
4767 var _json = new core.Map(); 4811 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4768 if (blue != null) { 4812 if (blue != null) {
4769 _json["blue"] = blue; 4813 _json["blue"] = blue;
4770 } 4814 }
4771 if (green != null) { 4815 if (green != null) {
4772 _json["green"] = green; 4816 _json["green"] = green;
4773 } 4817 }
4774 if (red != null) { 4818 if (red != null) {
4775 _json["red"] = red; 4819 _json["red"] = red;
4776 } 4820 }
4777 return _json; 4821 return _json;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
4876 rotateWithShape = _json["rotateWithShape"]; 4920 rotateWithShape = _json["rotateWithShape"];
4877 } 4921 }
4878 if (_json.containsKey("transform")) { 4922 if (_json.containsKey("transform")) {
4879 transform = new AffineTransform.fromJson(_json["transform"]); 4923 transform = new AffineTransform.fromJson(_json["transform"]);
4880 } 4924 }
4881 if (_json.containsKey("type")) { 4925 if (_json.containsKey("type")) {
4882 type = _json["type"]; 4926 type = _json["type"];
4883 } 4927 }
4884 } 4928 }
4885 4929
4886 core.Map toJson() { 4930 core.Map<core.String, core.Object> toJson() {
4887 var _json = new core.Map(); 4931 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4888 if (alignment != null) { 4932 if (alignment != null) {
4889 _json["alignment"] = alignment; 4933 _json["alignment"] = alignment;
4890 } 4934 }
4891 if (alpha != null) { 4935 if (alpha != null) {
4892 _json["alpha"] = alpha; 4936 _json["alpha"] = alpha;
4893 } 4937 }
4894 if (blurRadius != null) { 4938 if (blurRadius != null) {
4895 _json["blurRadius"] = (blurRadius).toJson(); 4939 _json["blurRadius"] = (blurRadius).toJson();
4896 } 4940 }
4897 if (color != null) { 4941 if (color != null) {
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
5261 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]); 5305 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]);
5262 } 5306 }
5263 if (_json.containsKey("shapeType")) { 5307 if (_json.containsKey("shapeType")) {
5264 shapeType = _json["shapeType"]; 5308 shapeType = _json["shapeType"];
5265 } 5309 }
5266 if (_json.containsKey("text")) { 5310 if (_json.containsKey("text")) {
5267 text = new TextContent.fromJson(_json["text"]); 5311 text = new TextContent.fromJson(_json["text"]);
5268 } 5312 }
5269 } 5313 }
5270 5314
5271 core.Map toJson() { 5315 core.Map<core.String, core.Object> toJson() {
5272 var _json = new core.Map(); 5316 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5273 if (placeholder != null) { 5317 if (placeholder != null) {
5274 _json["placeholder"] = (placeholder).toJson(); 5318 _json["placeholder"] = (placeholder).toJson();
5275 } 5319 }
5276 if (shapeProperties != null) { 5320 if (shapeProperties != null) {
5277 _json["shapeProperties"] = (shapeProperties).toJson(); 5321 _json["shapeProperties"] = (shapeProperties).toJson();
5278 } 5322 }
5279 if (shapeType != null) { 5323 if (shapeType != null) {
5280 _json["shapeType"] = shapeType; 5324 _json["shapeType"] = shapeType;
5281 } 5325 }
5282 if (text != null) { 5326 if (text != null) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
5322 5366
5323 ShapeBackgroundFill.fromJson(core.Map _json) { 5367 ShapeBackgroundFill.fromJson(core.Map _json) {
5324 if (_json.containsKey("propertyState")) { 5368 if (_json.containsKey("propertyState")) {
5325 propertyState = _json["propertyState"]; 5369 propertyState = _json["propertyState"];
5326 } 5370 }
5327 if (_json.containsKey("solidFill")) { 5371 if (_json.containsKey("solidFill")) {
5328 solidFill = new SolidFill.fromJson(_json["solidFill"]); 5372 solidFill = new SolidFill.fromJson(_json["solidFill"]);
5329 } 5373 }
5330 } 5374 }
5331 5375
5332 core.Map toJson() { 5376 core.Map<core.String, core.Object> toJson() {
5333 var _json = new core.Map(); 5377 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5334 if (propertyState != null) { 5378 if (propertyState != null) {
5335 _json["propertyState"] = propertyState; 5379 _json["propertyState"] = propertyState;
5336 } 5380 }
5337 if (solidFill != null) { 5381 if (solidFill != null) {
5338 _json["solidFill"] = (solidFill).toJson(); 5382 _json["solidFill"] = (solidFill).toJson();
5339 } 5383 }
5340 return _json; 5384 return _json;
5341 } 5385 }
5342 } 5386 }
5343 5387
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
5388 outline = new Outline.fromJson(_json["outline"]); 5432 outline = new Outline.fromJson(_json["outline"]);
5389 } 5433 }
5390 if (_json.containsKey("shadow")) { 5434 if (_json.containsKey("shadow")) {
5391 shadow = new Shadow.fromJson(_json["shadow"]); 5435 shadow = new Shadow.fromJson(_json["shadow"]);
5392 } 5436 }
5393 if (_json.containsKey("shapeBackgroundFill")) { 5437 if (_json.containsKey("shapeBackgroundFill")) {
5394 shapeBackgroundFill = new ShapeBackgroundFill.fromJson(_json["shapeBackgro undFill"]); 5438 shapeBackgroundFill = new ShapeBackgroundFill.fromJson(_json["shapeBackgro undFill"]);
5395 } 5439 }
5396 } 5440 }
5397 5441
5398 core.Map toJson() { 5442 core.Map<core.String, core.Object> toJson() {
5399 var _json = new core.Map(); 5443 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5400 if (link != null) { 5444 if (link != null) {
5401 _json["link"] = (link).toJson(); 5445 _json["link"] = (link).toJson();
5402 } 5446 }
5403 if (outline != null) { 5447 if (outline != null) {
5404 _json["outline"] = (outline).toJson(); 5448 _json["outline"] = (outline).toJson();
5405 } 5449 }
5406 if (shadow != null) { 5450 if (shadow != null) {
5407 _json["shadow"] = (shadow).toJson(); 5451 _json["shadow"] = (shadow).toJson();
5408 } 5452 }
5409 if (shapeBackgroundFill != null) { 5453 if (shapeBackgroundFill != null) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
5447 contentUrl = _json["contentUrl"]; 5491 contentUrl = _json["contentUrl"];
5448 } 5492 }
5449 if (_json.containsKey("sheetsChartProperties")) { 5493 if (_json.containsKey("sheetsChartProperties")) {
5450 sheetsChartProperties = new SheetsChartProperties.fromJson(_json["sheetsCh artProperties"]); 5494 sheetsChartProperties = new SheetsChartProperties.fromJson(_json["sheetsCh artProperties"]);
5451 } 5495 }
5452 if (_json.containsKey("spreadsheetId")) { 5496 if (_json.containsKey("spreadsheetId")) {
5453 spreadsheetId = _json["spreadsheetId"]; 5497 spreadsheetId = _json["spreadsheetId"];
5454 } 5498 }
5455 } 5499 }
5456 5500
5457 core.Map toJson() { 5501 core.Map<core.String, core.Object> toJson() {
5458 var _json = new core.Map(); 5502 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5459 if (chartId != null) { 5503 if (chartId != null) {
5460 _json["chartId"] = chartId; 5504 _json["chartId"] = chartId;
5461 } 5505 }
5462 if (contentUrl != null) { 5506 if (contentUrl != null) {
5463 _json["contentUrl"] = contentUrl; 5507 _json["contentUrl"] = contentUrl;
5464 } 5508 }
5465 if (sheetsChartProperties != null) { 5509 if (sheetsChartProperties != null) {
5466 _json["sheetsChartProperties"] = (sheetsChartProperties).toJson(); 5510 _json["sheetsChartProperties"] = (sheetsChartProperties).toJson();
5467 } 5511 }
5468 if (spreadsheetId != null) { 5512 if (spreadsheetId != null) {
5469 _json["spreadsheetId"] = spreadsheetId; 5513 _json["spreadsheetId"] = spreadsheetId;
5470 } 5514 }
5471 return _json; 5515 return _json;
5472 } 5516 }
5473 } 5517 }
5474 5518
5475 /** The properties of the SheetsChart. */ 5519 /** The properties of the SheetsChart. */
5476 class SheetsChartProperties { 5520 class SheetsChartProperties {
5477 /** The properties of the embedded chart image. */ 5521 /** The properties of the embedded chart image. */
5478 ImageProperties chartImageProperties; 5522 ImageProperties chartImageProperties;
5479 5523
5480 SheetsChartProperties(); 5524 SheetsChartProperties();
5481 5525
5482 SheetsChartProperties.fromJson(core.Map _json) { 5526 SheetsChartProperties.fromJson(core.Map _json) {
5483 if (_json.containsKey("chartImageProperties")) { 5527 if (_json.containsKey("chartImageProperties")) {
5484 chartImageProperties = new ImageProperties.fromJson(_json["chartImagePrope rties"]); 5528 chartImageProperties = new ImageProperties.fromJson(_json["chartImagePrope rties"]);
5485 } 5529 }
5486 } 5530 }
5487 5531
5488 core.Map toJson() { 5532 core.Map<core.String, core.Object> toJson() {
5489 var _json = new core.Map(); 5533 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5490 if (chartImageProperties != null) { 5534 if (chartImageProperties != null) {
5491 _json["chartImageProperties"] = (chartImageProperties).toJson(); 5535 _json["chartImageProperties"] = (chartImageProperties).toJson();
5492 } 5536 }
5493 return _json; 5537 return _json;
5494 } 5538 }
5495 } 5539 }
5496 5540
5497 /** A width and height. */ 5541 /** A width and height. */
5498 class Size { 5542 class Size {
5499 /** The height of the object. */ 5543 /** The height of the object. */
5500 Dimension height; 5544 Dimension height;
5501 /** The width of the object. */ 5545 /** The width of the object. */
5502 Dimension width; 5546 Dimension width;
5503 5547
5504 Size(); 5548 Size();
5505 5549
5506 Size.fromJson(core.Map _json) { 5550 Size.fromJson(core.Map _json) {
5507 if (_json.containsKey("height")) { 5551 if (_json.containsKey("height")) {
5508 height = new Dimension.fromJson(_json["height"]); 5552 height = new Dimension.fromJson(_json["height"]);
5509 } 5553 }
5510 if (_json.containsKey("width")) { 5554 if (_json.containsKey("width")) {
5511 width = new Dimension.fromJson(_json["width"]); 5555 width = new Dimension.fromJson(_json["width"]);
5512 } 5556 }
5513 } 5557 }
5514 5558
5515 core.Map toJson() { 5559 core.Map<core.String, core.Object> toJson() {
5516 var _json = new core.Map(); 5560 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5517 if (height != null) { 5561 if (height != null) {
5518 _json["height"] = (height).toJson(); 5562 _json["height"] = (height).toJson();
5519 } 5563 }
5520 if (width != null) { 5564 if (width != null) {
5521 _json["width"] = (width).toJson(); 5565 _json["width"] = (width).toJson();
5522 } 5566 }
5523 return _json; 5567 return _json;
5524 } 5568 }
5525 } 5569 }
5526 5570
(...skipping 26 matching lines...) Expand all
5553 layoutObjectId = _json["layoutObjectId"]; 5597 layoutObjectId = _json["layoutObjectId"];
5554 } 5598 }
5555 if (_json.containsKey("masterObjectId")) { 5599 if (_json.containsKey("masterObjectId")) {
5556 masterObjectId = _json["masterObjectId"]; 5600 masterObjectId = _json["masterObjectId"];
5557 } 5601 }
5558 if (_json.containsKey("notesPage")) { 5602 if (_json.containsKey("notesPage")) {
5559 notesPage = new Page.fromJson(_json["notesPage"]); 5603 notesPage = new Page.fromJson(_json["notesPage"]);
5560 } 5604 }
5561 } 5605 }
5562 5606
5563 core.Map toJson() { 5607 core.Map<core.String, core.Object> toJson() {
5564 var _json = new core.Map(); 5608 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5565 if (layoutObjectId != null) { 5609 if (layoutObjectId != null) {
5566 _json["layoutObjectId"] = layoutObjectId; 5610 _json["layoutObjectId"] = layoutObjectId;
5567 } 5611 }
5568 if (masterObjectId != null) { 5612 if (masterObjectId != null) {
5569 _json["masterObjectId"] = masterObjectId; 5613 _json["masterObjectId"] = masterObjectId;
5570 } 5614 }
5571 if (notesPage != null) { 5615 if (notesPage != null) {
5572 _json["notesPage"] = (notesPage).toJson(); 5616 _json["notesPage"] = (notesPage).toJson();
5573 } 5617 }
5574 return _json; 5618 return _json;
(...skipping 25 matching lines...) Expand all
5600 5644
5601 SolidFill.fromJson(core.Map _json) { 5645 SolidFill.fromJson(core.Map _json) {
5602 if (_json.containsKey("alpha")) { 5646 if (_json.containsKey("alpha")) {
5603 alpha = _json["alpha"]; 5647 alpha = _json["alpha"];
5604 } 5648 }
5605 if (_json.containsKey("color")) { 5649 if (_json.containsKey("color")) {
5606 color = new OpaqueColor.fromJson(_json["color"]); 5650 color = new OpaqueColor.fromJson(_json["color"]);
5607 } 5651 }
5608 } 5652 }
5609 5653
5610 core.Map toJson() { 5654 core.Map<core.String, core.Object> toJson() {
5611 var _json = new core.Map(); 5655 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5612 if (alpha != null) { 5656 if (alpha != null) {
5613 _json["alpha"] = alpha; 5657 _json["alpha"] = alpha;
5614 } 5658 }
5615 if (color != null) { 5659 if (color != null) {
5616 _json["color"] = (color).toJson(); 5660 _json["color"] = (color).toJson();
5617 } 5661 }
5618 return _json; 5662 return _json;
5619 } 5663 }
5620 } 5664 }
5621 5665
(...skipping 25 matching lines...) Expand all
5647 5691
5648 StretchedPictureFill.fromJson(core.Map _json) { 5692 StretchedPictureFill.fromJson(core.Map _json) {
5649 if (_json.containsKey("contentUrl")) { 5693 if (_json.containsKey("contentUrl")) {
5650 contentUrl = _json["contentUrl"]; 5694 contentUrl = _json["contentUrl"];
5651 } 5695 }
5652 if (_json.containsKey("size")) { 5696 if (_json.containsKey("size")) {
5653 size = new Size.fromJson(_json["size"]); 5697 size = new Size.fromJson(_json["size"]);
5654 } 5698 }
5655 } 5699 }
5656 5700
5657 core.Map toJson() { 5701 core.Map<core.String, core.Object> toJson() {
5658 var _json = new core.Map(); 5702 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5659 if (contentUrl != null) { 5703 if (contentUrl != null) {
5660 _json["contentUrl"] = contentUrl; 5704 _json["contentUrl"] = contentUrl;
5661 } 5705 }
5662 if (size != null) { 5706 if (size != null) {
5663 _json["size"] = (size).toJson(); 5707 _json["size"] = (size).toJson();
5664 } 5708 }
5665 return _json; 5709 return _json;
5666 } 5710 }
5667 } 5711 }
5668 5712
(...skipping 13 matching lines...) Expand all
5682 5726
5683 SubstringMatchCriteria.fromJson(core.Map _json) { 5727 SubstringMatchCriteria.fromJson(core.Map _json) {
5684 if (_json.containsKey("matchCase")) { 5728 if (_json.containsKey("matchCase")) {
5685 matchCase = _json["matchCase"]; 5729 matchCase = _json["matchCase"];
5686 } 5730 }
5687 if (_json.containsKey("text")) { 5731 if (_json.containsKey("text")) {
5688 text = _json["text"]; 5732 text = _json["text"];
5689 } 5733 }
5690 } 5734 }
5691 5735
5692 core.Map toJson() { 5736 core.Map<core.String, core.Object> toJson() {
5693 var _json = new core.Map(); 5737 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5694 if (matchCase != null) { 5738 if (matchCase != null) {
5695 _json["matchCase"] = matchCase; 5739 _json["matchCase"] = matchCase;
5696 } 5740 }
5697 if (text != null) { 5741 if (text != null) {
5698 _json["text"] = text; 5742 _json["text"] = text;
5699 } 5743 }
5700 return _json; 5744 return _json;
5701 } 5745 }
5702 } 5746 }
5703 5747
(...skipping 27 matching lines...) Expand all
5731 rows = _json["rows"]; 5775 rows = _json["rows"];
5732 } 5776 }
5733 if (_json.containsKey("tableColumns")) { 5777 if (_json.containsKey("tableColumns")) {
5734 tableColumns = _json["tableColumns"].map((value) => new TableColumnPropert ies.fromJson(value)).toList(); 5778 tableColumns = _json["tableColumns"].map((value) => new TableColumnPropert ies.fromJson(value)).toList();
5735 } 5779 }
5736 if (_json.containsKey("tableRows")) { 5780 if (_json.containsKey("tableRows")) {
5737 tableRows = _json["tableRows"].map((value) => new TableRow.fromJson(value) ).toList(); 5781 tableRows = _json["tableRows"].map((value) => new TableRow.fromJson(value) ).toList();
5738 } 5782 }
5739 } 5783 }
5740 5784
5741 core.Map toJson() { 5785 core.Map<core.String, core.Object> toJson() {
5742 var _json = new core.Map(); 5786 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5743 if (columns != null) { 5787 if (columns != null) {
5744 _json["columns"] = columns; 5788 _json["columns"] = columns;
5745 } 5789 }
5746 if (rows != null) { 5790 if (rows != null) {
5747 _json["rows"] = rows; 5791 _json["rows"] = rows;
5748 } 5792 }
5749 if (tableColumns != null) { 5793 if (tableColumns != null) {
5750 _json["tableColumns"] = tableColumns.map((value) => (value).toJson()).toLi st(); 5794 _json["tableColumns"] = tableColumns.map((value) => (value).toJson()).toLi st();
5751 } 5795 }
5752 if (tableRows != null) { 5796 if (tableRows != null) {
(...skipping 29 matching lines...) Expand all
5782 rowSpan = _json["rowSpan"]; 5826 rowSpan = _json["rowSpan"];
5783 } 5827 }
5784 if (_json.containsKey("tableCellProperties")) { 5828 if (_json.containsKey("tableCellProperties")) {
5785 tableCellProperties = new TableCellProperties.fromJson(_json["tableCellPro perties"]); 5829 tableCellProperties = new TableCellProperties.fromJson(_json["tableCellPro perties"]);
5786 } 5830 }
5787 if (_json.containsKey("text")) { 5831 if (_json.containsKey("text")) {
5788 text = new TextContent.fromJson(_json["text"]); 5832 text = new TextContent.fromJson(_json["text"]);
5789 } 5833 }
5790 } 5834 }
5791 5835
5792 core.Map toJson() { 5836 core.Map<core.String, core.Object> toJson() {
5793 var _json = new core.Map(); 5837 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5794 if (columnSpan != null) { 5838 if (columnSpan != null) {
5795 _json["columnSpan"] = columnSpan; 5839 _json["columnSpan"] = columnSpan;
5796 } 5840 }
5797 if (location != null) { 5841 if (location != null) {
5798 _json["location"] = (location).toJson(); 5842 _json["location"] = (location).toJson();
5799 } 5843 }
5800 if (rowSpan != null) { 5844 if (rowSpan != null) {
5801 _json["rowSpan"] = rowSpan; 5845 _json["rowSpan"] = rowSpan;
5802 } 5846 }
5803 if (tableCellProperties != null) { 5847 if (tableCellProperties != null) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
5846 5890
5847 TableCellBackgroundFill.fromJson(core.Map _json) { 5891 TableCellBackgroundFill.fromJson(core.Map _json) {
5848 if (_json.containsKey("propertyState")) { 5892 if (_json.containsKey("propertyState")) {
5849 propertyState = _json["propertyState"]; 5893 propertyState = _json["propertyState"];
5850 } 5894 }
5851 if (_json.containsKey("solidFill")) { 5895 if (_json.containsKey("solidFill")) {
5852 solidFill = new SolidFill.fromJson(_json["solidFill"]); 5896 solidFill = new SolidFill.fromJson(_json["solidFill"]);
5853 } 5897 }
5854 } 5898 }
5855 5899
5856 core.Map toJson() { 5900 core.Map<core.String, core.Object> toJson() {
5857 var _json = new core.Map(); 5901 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5858 if (propertyState != null) { 5902 if (propertyState != null) {
5859 _json["propertyState"] = propertyState; 5903 _json["propertyState"] = propertyState;
5860 } 5904 }
5861 if (solidFill != null) { 5905 if (solidFill != null) {
5862 _json["solidFill"] = (solidFill).toJson(); 5906 _json["solidFill"] = (solidFill).toJson();
5863 } 5907 }
5864 return _json; 5908 return _json;
5865 } 5909 }
5866 } 5910 }
5867 5911
5868 /** A location of a single table cell within a table. */ 5912 /** A location of a single table cell within a table. */
5869 class TableCellLocation { 5913 class TableCellLocation {
5870 /** The 0-based column index. */ 5914 /** The 0-based column index. */
5871 core.int columnIndex; 5915 core.int columnIndex;
5872 /** The 0-based row index. */ 5916 /** The 0-based row index. */
5873 core.int rowIndex; 5917 core.int rowIndex;
5874 5918
5875 TableCellLocation(); 5919 TableCellLocation();
5876 5920
5877 TableCellLocation.fromJson(core.Map _json) { 5921 TableCellLocation.fromJson(core.Map _json) {
5878 if (_json.containsKey("columnIndex")) { 5922 if (_json.containsKey("columnIndex")) {
5879 columnIndex = _json["columnIndex"]; 5923 columnIndex = _json["columnIndex"];
5880 } 5924 }
5881 if (_json.containsKey("rowIndex")) { 5925 if (_json.containsKey("rowIndex")) {
5882 rowIndex = _json["rowIndex"]; 5926 rowIndex = _json["rowIndex"];
5883 } 5927 }
5884 } 5928 }
5885 5929
5886 core.Map toJson() { 5930 core.Map<core.String, core.Object> toJson() {
5887 var _json = new core.Map(); 5931 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5888 if (columnIndex != null) { 5932 if (columnIndex != null) {
5889 _json["columnIndex"] = columnIndex; 5933 _json["columnIndex"] = columnIndex;
5890 } 5934 }
5891 if (rowIndex != null) { 5935 if (rowIndex != null) {
5892 _json["rowIndex"] = rowIndex; 5936 _json["rowIndex"] = rowIndex;
5893 } 5937 }
5894 return _json; 5938 return _json;
5895 } 5939 }
5896 } 5940 }
5897 5941
5898 /** The properties of the TableCell. */ 5942 /** The properties of the TableCell. */
5899 class TableCellProperties { 5943 class TableCellProperties {
5900 /** 5944 /**
5901 * The background fill of the table cell. The default fill matches the fill 5945 * The background fill of the table cell. The default fill matches the fill
5902 * for newly created table cells in the Slides editor. 5946 * for newly created table cells in the Slides editor.
5903 */ 5947 */
5904 TableCellBackgroundFill tableCellBackgroundFill; 5948 TableCellBackgroundFill tableCellBackgroundFill;
5905 5949
5906 TableCellProperties(); 5950 TableCellProperties();
5907 5951
5908 TableCellProperties.fromJson(core.Map _json) { 5952 TableCellProperties.fromJson(core.Map _json) {
5909 if (_json.containsKey("tableCellBackgroundFill")) { 5953 if (_json.containsKey("tableCellBackgroundFill")) {
5910 tableCellBackgroundFill = new TableCellBackgroundFill.fromJson(_json["tabl eCellBackgroundFill"]); 5954 tableCellBackgroundFill = new TableCellBackgroundFill.fromJson(_json["tabl eCellBackgroundFill"]);
5911 } 5955 }
5912 } 5956 }
5913 5957
5914 core.Map toJson() { 5958 core.Map<core.String, core.Object> toJson() {
5915 var _json = new core.Map(); 5959 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5916 if (tableCellBackgroundFill != null) { 5960 if (tableCellBackgroundFill != null) {
5917 _json["tableCellBackgroundFill"] = (tableCellBackgroundFill).toJson(); 5961 _json["tableCellBackgroundFill"] = (tableCellBackgroundFill).toJson();
5918 } 5962 }
5919 return _json; 5963 return _json;
5920 } 5964 }
5921 } 5965 }
5922 5966
5923 /** Properties of each column in a table. */ 5967 /** Properties of each column in a table. */
5924 class TableColumnProperties { 5968 class TableColumnProperties {
5925 /** Width of a column. */ 5969 /** Width of a column. */
5926 Dimension columnWidth; 5970 Dimension columnWidth;
5927 5971
5928 TableColumnProperties(); 5972 TableColumnProperties();
5929 5973
5930 TableColumnProperties.fromJson(core.Map _json) { 5974 TableColumnProperties.fromJson(core.Map _json) {
5931 if (_json.containsKey("columnWidth")) { 5975 if (_json.containsKey("columnWidth")) {
5932 columnWidth = new Dimension.fromJson(_json["columnWidth"]); 5976 columnWidth = new Dimension.fromJson(_json["columnWidth"]);
5933 } 5977 }
5934 } 5978 }
5935 5979
5936 core.Map toJson() { 5980 core.Map<core.String, core.Object> toJson() {
5937 var _json = new core.Map(); 5981 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5938 if (columnWidth != null) { 5982 if (columnWidth != null) {
5939 _json["columnWidth"] = (columnWidth).toJson(); 5983 _json["columnWidth"] = (columnWidth).toJson();
5940 } 5984 }
5941 return _json; 5985 return _json;
5942 } 5986 }
5943 } 5987 }
5944 5988
5945 /** 5989 /**
5946 * A table range represents a reference to a subset of a table. 5990 * A table range represents a reference to a subset of a table.
5947 * 5991 *
(...skipping 26 matching lines...) Expand all
5974 columnSpan = _json["columnSpan"]; 6018 columnSpan = _json["columnSpan"];
5975 } 6019 }
5976 if (_json.containsKey("location")) { 6020 if (_json.containsKey("location")) {
5977 location = new TableCellLocation.fromJson(_json["location"]); 6021 location = new TableCellLocation.fromJson(_json["location"]);
5978 } 6022 }
5979 if (_json.containsKey("rowSpan")) { 6023 if (_json.containsKey("rowSpan")) {
5980 rowSpan = _json["rowSpan"]; 6024 rowSpan = _json["rowSpan"];
5981 } 6025 }
5982 } 6026 }
5983 6027
5984 core.Map toJson() { 6028 core.Map<core.String, core.Object> toJson() {
5985 var _json = new core.Map(); 6029 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5986 if (columnSpan != null) { 6030 if (columnSpan != null) {
5987 _json["columnSpan"] = columnSpan; 6031 _json["columnSpan"] = columnSpan;
5988 } 6032 }
5989 if (location != null) { 6033 if (location != null) {
5990 _json["location"] = (location).toJson(); 6034 _json["location"] = (location).toJson();
5991 } 6035 }
5992 if (rowSpan != null) { 6036 if (rowSpan != null) {
5993 _json["rowSpan"] = rowSpan; 6037 _json["rowSpan"] = rowSpan;
5994 } 6038 }
5995 return _json; 6039 return _json;
(...skipping 18 matching lines...) Expand all
6014 6058
6015 TableRow.fromJson(core.Map _json) { 6059 TableRow.fromJson(core.Map _json) {
6016 if (_json.containsKey("rowHeight")) { 6060 if (_json.containsKey("rowHeight")) {
6017 rowHeight = new Dimension.fromJson(_json["rowHeight"]); 6061 rowHeight = new Dimension.fromJson(_json["rowHeight"]);
6018 } 6062 }
6019 if (_json.containsKey("tableCells")) { 6063 if (_json.containsKey("tableCells")) {
6020 tableCells = _json["tableCells"].map((value) => new TableCell.fromJson(val ue)).toList(); 6064 tableCells = _json["tableCells"].map((value) => new TableCell.fromJson(val ue)).toList();
6021 } 6065 }
6022 } 6066 }
6023 6067
6024 core.Map toJson() { 6068 core.Map<core.String, core.Object> toJson() {
6025 var _json = new core.Map(); 6069 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6026 if (rowHeight != null) { 6070 if (rowHeight != null) {
6027 _json["rowHeight"] = (rowHeight).toJson(); 6071 _json["rowHeight"] = (rowHeight).toJson();
6028 } 6072 }
6029 if (tableCells != null) { 6073 if (tableCells != null) {
6030 _json["tableCells"] = tableCells.map((value) => (value).toJson()).toList() ; 6074 _json["tableCells"] = tableCells.map((value) => (value).toJson()).toList() ;
6031 } 6075 }
6032 return _json; 6076 return _json;
6033 } 6077 }
6034 } 6078 }
6035 6079
6036 /** 6080 /**
6037 * The general text content. The text must reside in a compatible shape (e.g. 6081 * The general text content. The text must reside in a compatible shape (e.g.
6038 * text box or rectangle) or a table cell in a page. 6082 * text box or rectangle) or a table cell in a page.
6039 */ 6083 */
6040 class TextContent { 6084 class TextContent {
6041 /** The bulleted lists contained in this text, keyed by list ID. */ 6085 /** The bulleted lists contained in this text, keyed by list ID. */
6042 core.Map<core.String, List> lists; 6086 core.Map<core.String, List> lists;
6043 /** 6087 /**
6044 * The text contents broken down into its component parts, including styling 6088 * The text contents broken down into its component parts, including styling
6045 * information. This property is read-only. 6089 * information. This property is read-only.
6046 */ 6090 */
6047 core.List<TextElement> textElements; 6091 core.List<TextElement> textElements;
6048 6092
6049 TextContent(); 6093 TextContent();
6050 6094
6051 TextContent.fromJson(core.Map _json) { 6095 TextContent.fromJson(core.Map _json) {
6052 if (_json.containsKey("lists")) { 6096 if (_json.containsKey("lists")) {
6053 lists = commons.mapMap(_json["lists"], (item) => new List.fromJson(item)); 6097 lists = commons.mapMap<core.Map<core.String, core.Object>, List>(_json["li sts"], (core.Map<core.String, core.Object> item) => new List.fromJson(item));
6054 } 6098 }
6055 if (_json.containsKey("textElements")) { 6099 if (_json.containsKey("textElements")) {
6056 textElements = _json["textElements"].map((value) => new TextElement.fromJs on(value)).toList(); 6100 textElements = _json["textElements"].map((value) => new TextElement.fromJs on(value)).toList();
6057 } 6101 }
6058 } 6102 }
6059 6103
6060 core.Map toJson() { 6104 core.Map<core.String, core.Object> toJson() {
6061 var _json = new core.Map(); 6105 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6062 if (lists != null) { 6106 if (lists != null) {
6063 _json["lists"] = commons.mapMap(lists, (item) => (item).toJson()); 6107 _json["lists"] = commons.mapMap<List, core.Map<core.String, core.Object>>( lists, (List item) => (item).toJson());
6064 } 6108 }
6065 if (textElements != null) { 6109 if (textElements != null) {
6066 _json["textElements"] = textElements.map((value) => (value).toJson()).toLi st(); 6110 _json["textElements"] = textElements.map((value) => (value).toJson()).toLi st();
6067 } 6111 }
6068 return _json; 6112 return _json;
6069 } 6113 }
6070 } 6114 }
6071 6115
6072 /** 6116 /**
6073 * A TextElement describes the content of a range of indices in the text content 6117 * A TextElement describes the content of a range of indices in the text content
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
6121 paragraphMarker = new ParagraphMarker.fromJson(_json["paragraphMarker"]); 6165 paragraphMarker = new ParagraphMarker.fromJson(_json["paragraphMarker"]);
6122 } 6166 }
6123 if (_json.containsKey("startIndex")) { 6167 if (_json.containsKey("startIndex")) {
6124 startIndex = _json["startIndex"]; 6168 startIndex = _json["startIndex"];
6125 } 6169 }
6126 if (_json.containsKey("textRun")) { 6170 if (_json.containsKey("textRun")) {
6127 textRun = new TextRun.fromJson(_json["textRun"]); 6171 textRun = new TextRun.fromJson(_json["textRun"]);
6128 } 6172 }
6129 } 6173 }
6130 6174
6131 core.Map toJson() { 6175 core.Map<core.String, core.Object> toJson() {
6132 var _json = new core.Map(); 6176 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6133 if (autoText != null) { 6177 if (autoText != null) {
6134 _json["autoText"] = (autoText).toJson(); 6178 _json["autoText"] = (autoText).toJson();
6135 } 6179 }
6136 if (endIndex != null) { 6180 if (endIndex != null) {
6137 _json["endIndex"] = endIndex; 6181 _json["endIndex"] = endIndex;
6138 } 6182 }
6139 if (paragraphMarker != null) { 6183 if (paragraphMarker != null) {
6140 _json["paragraphMarker"] = (paragraphMarker).toJson(); 6184 _json["paragraphMarker"] = (paragraphMarker).toJson();
6141 } 6185 }
6142 if (startIndex != null) { 6186 if (startIndex != null) {
(...skipping 20 matching lines...) Expand all
6163 6207
6164 TextRun.fromJson(core.Map _json) { 6208 TextRun.fromJson(core.Map _json) {
6165 if (_json.containsKey("content")) { 6209 if (_json.containsKey("content")) {
6166 content = _json["content"]; 6210 content = _json["content"];
6167 } 6211 }
6168 if (_json.containsKey("style")) { 6212 if (_json.containsKey("style")) {
6169 style = new TextStyle.fromJson(_json["style"]); 6213 style = new TextStyle.fromJson(_json["style"]);
6170 } 6214 }
6171 } 6215 }
6172 6216
6173 core.Map toJson() { 6217 core.Map<core.String, core.Object> toJson() {
6174 var _json = new core.Map(); 6218 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6175 if (content != null) { 6219 if (content != null) {
6176 _json["content"] = content; 6220 _json["content"] = content;
6177 } 6221 }
6178 if (style != null) { 6222 if (style != null) {
6179 _json["style"] = (style).toJson(); 6223 _json["style"] = (style).toJson();
6180 } 6224 }
6181 return _json; 6225 return _json;
6182 } 6226 }
6183 } 6227 }
6184 6228
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
6344 strikethrough = _json["strikethrough"]; 6388 strikethrough = _json["strikethrough"];
6345 } 6389 }
6346 if (_json.containsKey("underline")) { 6390 if (_json.containsKey("underline")) {
6347 underline = _json["underline"]; 6391 underline = _json["underline"];
6348 } 6392 }
6349 if (_json.containsKey("weightedFontFamily")) { 6393 if (_json.containsKey("weightedFontFamily")) {
6350 weightedFontFamily = new WeightedFontFamily.fromJson(_json["weightedFontFa mily"]); 6394 weightedFontFamily = new WeightedFontFamily.fromJson(_json["weightedFontFa mily"]);
6351 } 6395 }
6352 } 6396 }
6353 6397
6354 core.Map toJson() { 6398 core.Map<core.String, core.Object> toJson() {
6355 var _json = new core.Map(); 6399 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6356 if (backgroundColor != null) { 6400 if (backgroundColor != null) {
6357 _json["backgroundColor"] = (backgroundColor).toJson(); 6401 _json["backgroundColor"] = (backgroundColor).toJson();
6358 } 6402 }
6359 if (baselineOffset != null) { 6403 if (baselineOffset != null) {
6360 _json["baselineOffset"] = baselineOffset; 6404 _json["baselineOffset"] = baselineOffset;
6361 } 6405 }
6362 if (bold != null) { 6406 if (bold != null) {
6363 _json["bold"] = bold; 6407 _json["bold"] = bold;
6364 } 6408 }
6365 if (fontFamily != null) { 6409 if (fontFamily != null) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
6426 6470
6427 ThemeColorPair.fromJson(core.Map _json) { 6471 ThemeColorPair.fromJson(core.Map _json) {
6428 if (_json.containsKey("color")) { 6472 if (_json.containsKey("color")) {
6429 color = new RgbColor.fromJson(_json["color"]); 6473 color = new RgbColor.fromJson(_json["color"]);
6430 } 6474 }
6431 if (_json.containsKey("type")) { 6475 if (_json.containsKey("type")) {
6432 type = _json["type"]; 6476 type = _json["type"];
6433 } 6477 }
6434 } 6478 }
6435 6479
6436 core.Map toJson() { 6480 core.Map<core.String, core.Object> toJson() {
6437 var _json = new core.Map(); 6481 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6438 if (color != null) { 6482 if (color != null) {
6439 _json["color"] = (color).toJson(); 6483 _json["color"] = (color).toJson();
6440 } 6484 }
6441 if (type != null) { 6485 if (type != null) {
6442 _json["type"] = type; 6486 _json["type"] = type;
6443 } 6487 }
6444 return _json; 6488 return _json;
6445 } 6489 }
6446 } 6490 }
6447 6491
(...skipping 22 matching lines...) Expand all
6470 contentUrl = _json["contentUrl"]; 6514 contentUrl = _json["contentUrl"];
6471 } 6515 }
6472 if (_json.containsKey("height")) { 6516 if (_json.containsKey("height")) {
6473 height = _json["height"]; 6517 height = _json["height"];
6474 } 6518 }
6475 if (_json.containsKey("width")) { 6519 if (_json.containsKey("width")) {
6476 width = _json["width"]; 6520 width = _json["width"];
6477 } 6521 }
6478 } 6522 }
6479 6523
6480 core.Map toJson() { 6524 core.Map<core.String, core.Object> toJson() {
6481 var _json = new core.Map(); 6525 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6482 if (contentUrl != null) { 6526 if (contentUrl != null) {
6483 _json["contentUrl"] = contentUrl; 6527 _json["contentUrl"] = contentUrl;
6484 } 6528 }
6485 if (height != null) { 6529 if (height != null) {
6486 _json["height"] = height; 6530 _json["height"] = height;
6487 } 6531 }
6488 if (width != null) { 6532 if (width != null) {
6489 _json["width"] = width; 6533 _json["width"] = width;
6490 } 6534 }
6491 return _json; 6535 return _json;
(...skipping 28 matching lines...) Expand all
6520 fields = _json["fields"]; 6564 fields = _json["fields"];
6521 } 6565 }
6522 if (_json.containsKey("imageProperties")) { 6566 if (_json.containsKey("imageProperties")) {
6523 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]); 6567 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]);
6524 } 6568 }
6525 if (_json.containsKey("objectId")) { 6569 if (_json.containsKey("objectId")) {
6526 objectId = _json["objectId"]; 6570 objectId = _json["objectId"];
6527 } 6571 }
6528 } 6572 }
6529 6573
6530 core.Map toJson() { 6574 core.Map<core.String, core.Object> toJson() {
6531 var _json = new core.Map(); 6575 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6532 if (fields != null) { 6576 if (fields != null) {
6533 _json["fields"] = fields; 6577 _json["fields"] = fields;
6534 } 6578 }
6535 if (imageProperties != null) { 6579 if (imageProperties != null) {
6536 _json["imageProperties"] = (imageProperties).toJson(); 6580 _json["imageProperties"] = (imageProperties).toJson();
6537 } 6581 }
6538 if (objectId != null) { 6582 if (objectId != null) {
6539 _json["objectId"] = objectId; 6583 _json["objectId"] = objectId;
6540 } 6584 }
6541 return _json; 6585 return _json;
(...skipping 28 matching lines...) Expand all
6570 fields = _json["fields"]; 6614 fields = _json["fields"];
6571 } 6615 }
6572 if (_json.containsKey("lineProperties")) { 6616 if (_json.containsKey("lineProperties")) {
6573 lineProperties = new LineProperties.fromJson(_json["lineProperties"]); 6617 lineProperties = new LineProperties.fromJson(_json["lineProperties"]);
6574 } 6618 }
6575 if (_json.containsKey("objectId")) { 6619 if (_json.containsKey("objectId")) {
6576 objectId = _json["objectId"]; 6620 objectId = _json["objectId"];
6577 } 6621 }
6578 } 6622 }
6579 6623
6580 core.Map toJson() { 6624 core.Map<core.String, core.Object> toJson() {
6581 var _json = new core.Map(); 6625 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6582 if (fields != null) { 6626 if (fields != null) {
6583 _json["fields"] = fields; 6627 _json["fields"] = fields;
6584 } 6628 }
6585 if (lineProperties != null) { 6629 if (lineProperties != null) {
6586 _json["lineProperties"] = (lineProperties).toJson(); 6630 _json["lineProperties"] = (lineProperties).toJson();
6587 } 6631 }
6588 if (objectId != null) { 6632 if (objectId != null) {
6589 _json["objectId"] = objectId; 6633 _json["objectId"] = objectId;
6590 } 6634 }
6591 return _json; 6635 return _json;
(...skipping 25 matching lines...) Expand all
6617 applyMode = _json["applyMode"]; 6661 applyMode = _json["applyMode"];
6618 } 6662 }
6619 if (_json.containsKey("objectId")) { 6663 if (_json.containsKey("objectId")) {
6620 objectId = _json["objectId"]; 6664 objectId = _json["objectId"];
6621 } 6665 }
6622 if (_json.containsKey("transform")) { 6666 if (_json.containsKey("transform")) {
6623 transform = new AffineTransform.fromJson(_json["transform"]); 6667 transform = new AffineTransform.fromJson(_json["transform"]);
6624 } 6668 }
6625 } 6669 }
6626 6670
6627 core.Map toJson() { 6671 core.Map<core.String, core.Object> toJson() {
6628 var _json = new core.Map(); 6672 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6629 if (applyMode != null) { 6673 if (applyMode != null) {
6630 _json["applyMode"] = applyMode; 6674 _json["applyMode"] = applyMode;
6631 } 6675 }
6632 if (objectId != null) { 6676 if (objectId != null) {
6633 _json["objectId"] = objectId; 6677 _json["objectId"] = objectId;
6634 } 6678 }
6635 if (transform != null) { 6679 if (transform != null) {
6636 _json["transform"] = (transform).toJson(); 6680 _json["transform"] = (transform).toJson();
6637 } 6681 }
6638 return _json; 6682 return _json;
(...skipping 28 matching lines...) Expand all
6667 fields = _json["fields"]; 6711 fields = _json["fields"];
6668 } 6712 }
6669 if (_json.containsKey("objectId")) { 6713 if (_json.containsKey("objectId")) {
6670 objectId = _json["objectId"]; 6714 objectId = _json["objectId"];
6671 } 6715 }
6672 if (_json.containsKey("pageProperties")) { 6716 if (_json.containsKey("pageProperties")) {
6673 pageProperties = new PageProperties.fromJson(_json["pageProperties"]); 6717 pageProperties = new PageProperties.fromJson(_json["pageProperties"]);
6674 } 6718 }
6675 } 6719 }
6676 6720
6677 core.Map toJson() { 6721 core.Map<core.String, core.Object> toJson() {
6678 var _json = new core.Map(); 6722 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6679 if (fields != null) { 6723 if (fields != null) {
6680 _json["fields"] = fields; 6724 _json["fields"] = fields;
6681 } 6725 }
6682 if (objectId != null) { 6726 if (objectId != null) {
6683 _json["objectId"] = objectId; 6727 _json["objectId"] = objectId;
6684 } 6728 }
6685 if (pageProperties != null) { 6729 if (pageProperties != null) {
6686 _json["pageProperties"] = (pageProperties).toJson(); 6730 _json["pageProperties"] = (pageProperties).toJson();
6687 } 6731 }
6688 return _json; 6732 return _json;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
6734 objectId = _json["objectId"]; 6778 objectId = _json["objectId"];
6735 } 6779 }
6736 if (_json.containsKey("style")) { 6780 if (_json.containsKey("style")) {
6737 style = new ParagraphStyle.fromJson(_json["style"]); 6781 style = new ParagraphStyle.fromJson(_json["style"]);
6738 } 6782 }
6739 if (_json.containsKey("textRange")) { 6783 if (_json.containsKey("textRange")) {
6740 textRange = new Range.fromJson(_json["textRange"]); 6784 textRange = new Range.fromJson(_json["textRange"]);
6741 } 6785 }
6742 } 6786 }
6743 6787
6744 core.Map toJson() { 6788 core.Map<core.String, core.Object> toJson() {
6745 var _json = new core.Map(); 6789 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6746 if (cellLocation != null) { 6790 if (cellLocation != null) {
6747 _json["cellLocation"] = (cellLocation).toJson(); 6791 _json["cellLocation"] = (cellLocation).toJson();
6748 } 6792 }
6749 if (fields != null) { 6793 if (fields != null) {
6750 _json["fields"] = fields; 6794 _json["fields"] = fields;
6751 } 6795 }
6752 if (objectId != null) { 6796 if (objectId != null) {
6753 _json["objectId"] = objectId; 6797 _json["objectId"] = objectId;
6754 } 6798 }
6755 if (style != null) { 6799 if (style != null) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
6790 fields = _json["fields"]; 6834 fields = _json["fields"];
6791 } 6835 }
6792 if (_json.containsKey("objectId")) { 6836 if (_json.containsKey("objectId")) {
6793 objectId = _json["objectId"]; 6837 objectId = _json["objectId"];
6794 } 6838 }
6795 if (_json.containsKey("shapeProperties")) { 6839 if (_json.containsKey("shapeProperties")) {
6796 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]); 6840 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]);
6797 } 6841 }
6798 } 6842 }
6799 6843
6800 core.Map toJson() { 6844 core.Map<core.String, core.Object> toJson() {
6801 var _json = new core.Map(); 6845 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6802 if (fields != null) { 6846 if (fields != null) {
6803 _json["fields"] = fields; 6847 _json["fields"] = fields;
6804 } 6848 }
6805 if (objectId != null) { 6849 if (objectId != null) {
6806 _json["objectId"] = objectId; 6850 _json["objectId"] = objectId;
6807 } 6851 }
6808 if (shapeProperties != null) { 6852 if (shapeProperties != null) {
6809 _json["shapeProperties"] = (shapeProperties).toJson(); 6853 _json["shapeProperties"] = (shapeProperties).toJson();
6810 } 6854 }
6811 return _json; 6855 return _json;
(...skipping 19 matching lines...) Expand all
6831 6875
6832 UpdateSlidesPositionRequest.fromJson(core.Map _json) { 6876 UpdateSlidesPositionRequest.fromJson(core.Map _json) {
6833 if (_json.containsKey("insertionIndex")) { 6877 if (_json.containsKey("insertionIndex")) {
6834 insertionIndex = _json["insertionIndex"]; 6878 insertionIndex = _json["insertionIndex"];
6835 } 6879 }
6836 if (_json.containsKey("slideObjectIds")) { 6880 if (_json.containsKey("slideObjectIds")) {
6837 slideObjectIds = _json["slideObjectIds"]; 6881 slideObjectIds = _json["slideObjectIds"];
6838 } 6882 }
6839 } 6883 }
6840 6884
6841 core.Map toJson() { 6885 core.Map<core.String, core.Object> toJson() {
6842 var _json = new core.Map(); 6886 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6843 if (insertionIndex != null) { 6887 if (insertionIndex != null) {
6844 _json["insertionIndex"] = insertionIndex; 6888 _json["insertionIndex"] = insertionIndex;
6845 } 6889 }
6846 if (slideObjectIds != null) { 6890 if (slideObjectIds != null) {
6847 _json["slideObjectIds"] = slideObjectIds; 6891 _json["slideObjectIds"] = slideObjectIds;
6848 } 6892 }
6849 return _json; 6893 return _json;
6850 } 6894 }
6851 } 6895 }
6852 6896
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
6887 objectId = _json["objectId"]; 6931 objectId = _json["objectId"];
6888 } 6932 }
6889 if (_json.containsKey("tableCellProperties")) { 6933 if (_json.containsKey("tableCellProperties")) {
6890 tableCellProperties = new TableCellProperties.fromJson(_json["tableCellPro perties"]); 6934 tableCellProperties = new TableCellProperties.fromJson(_json["tableCellPro perties"]);
6891 } 6935 }
6892 if (_json.containsKey("tableRange")) { 6936 if (_json.containsKey("tableRange")) {
6893 tableRange = new TableRange.fromJson(_json["tableRange"]); 6937 tableRange = new TableRange.fromJson(_json["tableRange"]);
6894 } 6938 }
6895 } 6939 }
6896 6940
6897 core.Map toJson() { 6941 core.Map<core.String, core.Object> toJson() {
6898 var _json = new core.Map(); 6942 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6899 if (fields != null) { 6943 if (fields != null) {
6900 _json["fields"] = fields; 6944 _json["fields"] = fields;
6901 } 6945 }
6902 if (objectId != null) { 6946 if (objectId != null) {
6903 _json["objectId"] = objectId; 6947 _json["objectId"] = objectId;
6904 } 6948 }
6905 if (tableCellProperties != null) { 6949 if (tableCellProperties != null) {
6906 _json["tableCellProperties"] = (tableCellProperties).toJson(); 6950 _json["tableCellProperties"] = (tableCellProperties).toJson();
6907 } 6951 }
6908 if (tableRange != null) { 6952 if (tableRange != null) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
6972 objectId = _json["objectId"]; 7016 objectId = _json["objectId"];
6973 } 7017 }
6974 if (_json.containsKey("style")) { 7018 if (_json.containsKey("style")) {
6975 style = new TextStyle.fromJson(_json["style"]); 7019 style = new TextStyle.fromJson(_json["style"]);
6976 } 7020 }
6977 if (_json.containsKey("textRange")) { 7021 if (_json.containsKey("textRange")) {
6978 textRange = new Range.fromJson(_json["textRange"]); 7022 textRange = new Range.fromJson(_json["textRange"]);
6979 } 7023 }
6980 } 7024 }
6981 7025
6982 core.Map toJson() { 7026 core.Map<core.String, core.Object> toJson() {
6983 var _json = new core.Map(); 7027 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6984 if (cellLocation != null) { 7028 if (cellLocation != null) {
6985 _json["cellLocation"] = (cellLocation).toJson(); 7029 _json["cellLocation"] = (cellLocation).toJson();
6986 } 7030 }
6987 if (fields != null) { 7031 if (fields != null) {
6988 _json["fields"] = fields; 7032 _json["fields"] = fields;
6989 } 7033 }
6990 if (objectId != null) { 7034 if (objectId != null) {
6991 _json["objectId"] = objectId; 7035 _json["objectId"] = objectId;
6992 } 7036 }
6993 if (style != null) { 7037 if (style != null) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
7028 fields = _json["fields"]; 7072 fields = _json["fields"];
7029 } 7073 }
7030 if (_json.containsKey("objectId")) { 7074 if (_json.containsKey("objectId")) {
7031 objectId = _json["objectId"]; 7075 objectId = _json["objectId"];
7032 } 7076 }
7033 if (_json.containsKey("videoProperties")) { 7077 if (_json.containsKey("videoProperties")) {
7034 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]); 7078 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]);
7035 } 7079 }
7036 } 7080 }
7037 7081
7038 core.Map toJson() { 7082 core.Map<core.String, core.Object> toJson() {
7039 var _json = new core.Map(); 7083 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
7040 if (fields != null) { 7084 if (fields != null) {
7041 _json["fields"] = fields; 7085 _json["fields"] = fields;
7042 } 7086 }
7043 if (objectId != null) { 7087 if (objectId != null) {
7044 _json["objectId"] = objectId; 7088 _json["objectId"] = objectId;
7045 } 7089 }
7046 if (videoProperties != null) { 7090 if (videoProperties != null) {
7047 _json["videoProperties"] = (videoProperties).toJson(); 7091 _json["videoProperties"] = (videoProperties).toJson();
7048 } 7092 }
7049 return _json; 7093 return _json;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
7082 source = _json["source"]; 7126 source = _json["source"];
7083 } 7127 }
7084 if (_json.containsKey("url")) { 7128 if (_json.containsKey("url")) {
7085 url = _json["url"]; 7129 url = _json["url"];
7086 } 7130 }
7087 if (_json.containsKey("videoProperties")) { 7131 if (_json.containsKey("videoProperties")) {
7088 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]); 7132 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]);
7089 } 7133 }
7090 } 7134 }
7091 7135
7092 core.Map toJson() { 7136 core.Map<core.String, core.Object> toJson() {
7093 var _json = new core.Map(); 7137 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
7094 if (id != null) { 7138 if (id != null) {
7095 _json["id"] = id; 7139 _json["id"] = id;
7096 } 7140 }
7097 if (source != null) { 7141 if (source != null) {
7098 _json["source"] = source; 7142 _json["source"] = source;
7099 } 7143 }
7100 if (url != null) { 7144 if (url != null) {
7101 _json["url"] = url; 7145 _json["url"] = url;
7102 } 7146 }
7103 if (videoProperties != null) { 7147 if (videoProperties != null) {
(...skipping 12 matching lines...) Expand all
7116 Outline outline; 7160 Outline outline;
7117 7161
7118 VideoProperties(); 7162 VideoProperties();
7119 7163
7120 VideoProperties.fromJson(core.Map _json) { 7164 VideoProperties.fromJson(core.Map _json) {
7121 if (_json.containsKey("outline")) { 7165 if (_json.containsKey("outline")) {
7122 outline = new Outline.fromJson(_json["outline"]); 7166 outline = new Outline.fromJson(_json["outline"]);
7123 } 7167 }
7124 } 7168 }
7125 7169
7126 core.Map toJson() { 7170 core.Map<core.String, core.Object> toJson() {
7127 var _json = new core.Map(); 7171 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
7128 if (outline != null) { 7172 if (outline != null) {
7129 _json["outline"] = (outline).toJson(); 7173 _json["outline"] = (outline).toJson();
7130 } 7174 }
7131 return _json; 7175 return _json;
7132 } 7176 }
7133 } 7177 }
7134 7178
7135 /** Represents a font family and weight used to style a TextRun. */ 7179 /** Represents a font family and weight used to style a TextRun. */
7136 class WeightedFontFamily { 7180 class WeightedFontFamily {
7137 /** 7181 /**
(...skipping 20 matching lines...) Expand all
7158 7202
7159 WeightedFontFamily.fromJson(core.Map _json) { 7203 WeightedFontFamily.fromJson(core.Map _json) {
7160 if (_json.containsKey("fontFamily")) { 7204 if (_json.containsKey("fontFamily")) {
7161 fontFamily = _json["fontFamily"]; 7205 fontFamily = _json["fontFamily"];
7162 } 7206 }
7163 if (_json.containsKey("weight")) { 7207 if (_json.containsKey("weight")) {
7164 weight = _json["weight"]; 7208 weight = _json["weight"];
7165 } 7209 }
7166 } 7210 }
7167 7211
7168 core.Map toJson() { 7212 core.Map<core.String, core.Object> toJson() {
7169 var _json = new core.Map(); 7213 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
7170 if (fontFamily != null) { 7214 if (fontFamily != null) {
7171 _json["fontFamily"] = fontFamily; 7215 _json["fontFamily"] = fontFamily;
7172 } 7216 }
7173 if (weight != null) { 7217 if (weight != null) {
7174 _json["weight"] = weight; 7218 _json["weight"] = weight;
7175 } 7219 }
7176 return _json; 7220 return _json;
7177 } 7221 }
7178 } 7222 }
7179 7223
7180 /** 7224 /**
7181 * A PageElement kind representing 7225 * A PageElement kind representing
7182 * word art. 7226 * word art.
7183 */ 7227 */
7184 class WordArt { 7228 class WordArt {
7185 /** The text rendered as word art. */ 7229 /** The text rendered as word art. */
7186 core.String renderedText; 7230 core.String renderedText;
7187 7231
7188 WordArt(); 7232 WordArt();
7189 7233
7190 WordArt.fromJson(core.Map _json) { 7234 WordArt.fromJson(core.Map _json) {
7191 if (_json.containsKey("renderedText")) { 7235 if (_json.containsKey("renderedText")) {
7192 renderedText = _json["renderedText"]; 7236 renderedText = _json["renderedText"];
7193 } 7237 }
7194 } 7238 }
7195 7239
7196 core.Map toJson() { 7240 core.Map<core.String, core.Object> toJson() {
7197 var _json = new core.Map(); 7241 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
7198 if (renderedText != null) { 7242 if (renderedText != null) {
7199 _json["renderedText"] = renderedText; 7243 _json["renderedText"] = renderedText;
7200 } 7244 }
7201 return _json; 7245 return _json;
7202 } 7246 }
7203 } 7247 }
7204 7248
7205 /** Provides control over how write requests are executed. */ 7249 /** Provides control over how write requests are executed. */
7206 class WriteControl { 7250 class WriteControl {
7207 /** 7251 /**
7208 * The revision ID of the presentation required for the write request. If 7252 * The revision ID of the presentation required for the write request. If
7209 * specified and the `required_revision_id` doesn't exactly match the 7253 * specified and the `required_revision_id` doesn't exactly match the
7210 * presentation's current `revision_id`, the request will not be processed and 7254 * presentation's current `revision_id`, the request will not be processed and
7211 * will return a 400 bad request error. 7255 * will return a 400 bad request error.
7212 */ 7256 */
7213 core.String requiredRevisionId; 7257 core.String requiredRevisionId;
7214 7258
7215 WriteControl(); 7259 WriteControl();
7216 7260
7217 WriteControl.fromJson(core.Map _json) { 7261 WriteControl.fromJson(core.Map _json) {
7218 if (_json.containsKey("requiredRevisionId")) { 7262 if (_json.containsKey("requiredRevisionId")) {
7219 requiredRevisionId = _json["requiredRevisionId"]; 7263 requiredRevisionId = _json["requiredRevisionId"];
7220 } 7264 }
7221 } 7265 }
7222 7266
7223 core.Map toJson() { 7267 core.Map<core.String, core.Object> toJson() {
7224 var _json = new core.Map(); 7268 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
7225 if (requiredRevisionId != null) { 7269 if (requiredRevisionId != null) {
7226 _json["requiredRevisionId"] = requiredRevisionId; 7270 _json["requiredRevisionId"] = requiredRevisionId;
7227 } 7271 }
7228 return _json; 7272 return _json;
7229 } 7273 }
7230 } 7274 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/siteverification/v1.dart ('k') | generated/googleapis/lib/sourcerepo/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698