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

Side by Side Diff: generated/googleapis/lib/discovery/v1.dart

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 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.discovery.v1; 3 library googleapis.discovery.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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 */ 706 */
707 core.String canonicalName; 707 core.String canonicalName;
708 /** The description of this API. */ 708 /** The description of this API. */
709 core.String description; 709 core.String description;
710 /** Indicate the version of the Discovery API used to generate this doc. */ 710 /** Indicate the version of the Discovery API used to generate this doc. */
711 core.String discoveryVersion; 711 core.String discoveryVersion;
712 /** A link to human readable documentation for the API. */ 712 /** A link to human readable documentation for the API. */
713 core.String documentationLink; 713 core.String documentationLink;
714 /** The ETag for this response. */ 714 /** The ETag for this response. */
715 core.String etag; 715 core.String etag;
716 /**
717 * Enable exponential backoff for suitable methods in the generated clients.
718 */
719 core.bool exponentialBackoffDefault;
716 /** A list of supported features for this API. */ 720 /** A list of supported features for this API. */
717 core.List<core.String> features; 721 core.List<core.String> features;
718 /** Links to 16x16 and 32x32 icons representing the API. */ 722 /** Links to 16x16 and 32x32 icons representing the API. */
719 RestDescriptionIcons icons; 723 RestDescriptionIcons icons;
720 /** The ID of this API. */ 724 /** The ID of this API. */
721 core.String id; 725 core.String id;
722 /** The kind for this response. */ 726 /** The kind for this response. */
723 core.String kind; 727 core.String kind;
724 /** Labels for the status of this API, such as labs or deprecated. */ 728 /** Labels for the status of this API, such as labs or deprecated. */
725 core.List<core.String> labels; 729 core.List<core.String> labels;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 } 783 }
780 if (_json.containsKey("discoveryVersion")) { 784 if (_json.containsKey("discoveryVersion")) {
781 discoveryVersion = _json["discoveryVersion"]; 785 discoveryVersion = _json["discoveryVersion"];
782 } 786 }
783 if (_json.containsKey("documentationLink")) { 787 if (_json.containsKey("documentationLink")) {
784 documentationLink = _json["documentationLink"]; 788 documentationLink = _json["documentationLink"];
785 } 789 }
786 if (_json.containsKey("etag")) { 790 if (_json.containsKey("etag")) {
787 etag = _json["etag"]; 791 etag = _json["etag"];
788 } 792 }
793 if (_json.containsKey("exponentialBackoffDefault")) {
794 exponentialBackoffDefault = _json["exponentialBackoffDefault"];
795 }
789 if (_json.containsKey("features")) { 796 if (_json.containsKey("features")) {
790 features = _json["features"]; 797 features = _json["features"];
791 } 798 }
792 if (_json.containsKey("icons")) { 799 if (_json.containsKey("icons")) {
793 icons = new RestDescriptionIcons.fromJson(_json["icons"]); 800 icons = new RestDescriptionIcons.fromJson(_json["icons"]);
794 } 801 }
795 if (_json.containsKey("id")) { 802 if (_json.containsKey("id")) {
796 id = _json["id"]; 803 id = _json["id"];
797 } 804 }
798 if (_json.containsKey("kind")) { 805 if (_json.containsKey("kind")) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 } 874 }
868 if (discoveryVersion != null) { 875 if (discoveryVersion != null) {
869 _json["discoveryVersion"] = discoveryVersion; 876 _json["discoveryVersion"] = discoveryVersion;
870 } 877 }
871 if (documentationLink != null) { 878 if (documentationLink != null) {
872 _json["documentationLink"] = documentationLink; 879 _json["documentationLink"] = documentationLink;
873 } 880 }
874 if (etag != null) { 881 if (etag != null) {
875 _json["etag"] = etag; 882 _json["etag"] = etag;
876 } 883 }
884 if (exponentialBackoffDefault != null) {
885 _json["exponentialBackoffDefault"] = exponentialBackoffDefault;
886 }
877 if (features != null) { 887 if (features != null) {
878 _json["features"] = features; 888 _json["features"] = features;
879 } 889 }
880 if (icons != null) { 890 if (icons != null) {
881 _json["icons"] = (icons).toJson(); 891 _json["icons"] = (icons).toJson();
882 } 892 }
883 if (id != null) { 893 if (id != null) {
884 _json["id"] = id; 894 _json["id"] = id;
885 } 895 }
886 if (kind != null) { 896 if (kind != null) {
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 var _json = new core.Map(); 1301 var _json = new core.Map();
1292 if (methods != null) { 1302 if (methods != null) {
1293 _json["methods"] = commons.mapMap(methods, (item) => (item).toJson()); 1303 _json["methods"] = commons.mapMap(methods, (item) => (item).toJson());
1294 } 1304 }
1295 if (resources != null) { 1305 if (resources != null) {
1296 _json["resources"] = commons.mapMap(resources, (item) => (item).toJson()); 1306 _json["resources"] = commons.mapMap(resources, (item) => (item).toJson());
1297 } 1307 }
1298 return _json; 1308 return _json;
1299 } 1309 }
1300 } 1310 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698