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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/vision/v1.dart ('k') | generated/googleapis/lib/webmasters/v3.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.webfonts.v1; 3 library googleapis.webfonts.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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 subsets = _json["subsets"]; 131 subsets = _json["subsets"];
132 } 132 }
133 if (_json.containsKey("variants")) { 133 if (_json.containsKey("variants")) {
134 variants = _json["variants"]; 134 variants = _json["variants"];
135 } 135 }
136 if (_json.containsKey("version")) { 136 if (_json.containsKey("version")) {
137 version = _json["version"]; 137 version = _json["version"];
138 } 138 }
139 } 139 }
140 140
141 core.Map toJson() { 141 core.Map<core.String, core.Object> toJson() {
142 var _json = new core.Map(); 142 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
143 if (category != null) { 143 if (category != null) {
144 _json["category"] = category; 144 _json["category"] = category;
145 } 145 }
146 if (family != null) { 146 if (family != null) {
147 _json["family"] = family; 147 _json["family"] = family;
148 } 148 }
149 if (files != null) { 149 if (files != null) {
150 _json["files"] = files; 150 _json["files"] = files;
151 } 151 }
152 if (kind != null) { 152 if (kind != null) {
(...skipping 27 matching lines...) Expand all
180 180
181 WebfontList.fromJson(core.Map _json) { 181 WebfontList.fromJson(core.Map _json) {
182 if (_json.containsKey("items")) { 182 if (_json.containsKey("items")) {
183 items = _json["items"].map((value) => new Webfont.fromJson(value)).toList( ); 183 items = _json["items"].map((value) => new Webfont.fromJson(value)).toList( );
184 } 184 }
185 if (_json.containsKey("kind")) { 185 if (_json.containsKey("kind")) {
186 kind = _json["kind"]; 186 kind = _json["kind"];
187 } 187 }
188 } 188 }
189 189
190 core.Map toJson() { 190 core.Map<core.String, core.Object> toJson() {
191 var _json = new core.Map(); 191 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
192 if (items != null) { 192 if (items != null) {
193 _json["items"] = items.map((value) => (value).toJson()).toList(); 193 _json["items"] = items.map((value) => (value).toJson()).toList();
194 } 194 }
195 if (kind != null) { 195 if (kind != null) {
196 _json["kind"] = kind; 196 _json["kind"] = kind;
197 } 197 }
198 return _json; 198 return _json;
199 } 199 }
200 } 200 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/vision/v1.dart ('k') | generated/googleapis/lib/webmasters/v3.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698