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

Side by Side Diff: generated/googleapis/lib/fusiontables/v2.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/fusiontables/v1.dart ('k') | generated/googleapis/lib/games/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.fusiontables.v2; 3 library googleapis.fusiontables.v2;
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 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after
1826 min = _json["min"]; 1826 min = _json["min"];
1827 } 1827 }
1828 if (_json.containsKey("opacity")) { 1828 if (_json.containsKey("opacity")) {
1829 opacity = _json["opacity"]; 1829 opacity = _json["opacity"];
1830 } 1830 }
1831 if (_json.containsKey("weight")) { 1831 if (_json.containsKey("weight")) {
1832 weight = _json["weight"]; 1832 weight = _json["weight"];
1833 } 1833 }
1834 } 1834 }
1835 1835
1836 core.Map toJson() { 1836 core.Map<core.String, core.Object> toJson() {
1837 var _json = new core.Map(); 1837 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1838 if (color != null) { 1838 if (color != null) {
1839 _json["color"] = color; 1839 _json["color"] = color;
1840 } 1840 }
1841 if (icon != null) { 1841 if (icon != null) {
1842 _json["icon"] = icon; 1842 _json["icon"] = icon;
1843 } 1843 }
1844 if (max != null) { 1844 if (max != null) {
1845 _json["max"] = max; 1845 _json["max"] = max;
1846 } 1846 }
1847 if (min != null) { 1847 if (min != null) {
(...skipping 27 matching lines...) Expand all
1875 1875
1876 ColumnBaseColumn.fromJson(core.Map _json) { 1876 ColumnBaseColumn.fromJson(core.Map _json) {
1877 if (_json.containsKey("columnId")) { 1877 if (_json.containsKey("columnId")) {
1878 columnId = _json["columnId"]; 1878 columnId = _json["columnId"];
1879 } 1879 }
1880 if (_json.containsKey("tableIndex")) { 1880 if (_json.containsKey("tableIndex")) {
1881 tableIndex = _json["tableIndex"]; 1881 tableIndex = _json["tableIndex"];
1882 } 1882 }
1883 } 1883 }
1884 1884
1885 core.Map toJson() { 1885 core.Map<core.String, core.Object> toJson() {
1886 var _json = new core.Map(); 1886 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1887 if (columnId != null) { 1887 if (columnId != null) {
1888 _json["columnId"] = columnId; 1888 _json["columnId"] = columnId;
1889 } 1889 }
1890 if (tableIndex != null) { 1890 if (tableIndex != null) {
1891 _json["tableIndex"] = tableIndex; 1891 _json["tableIndex"] = tableIndex;
1892 } 1892 }
1893 return _json; 1893 return _json;
1894 } 1894 }
1895 } 1895 }
1896 1896
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 type = _json["type"]; 1992 type = _json["type"];
1993 } 1993 }
1994 if (_json.containsKey("validValues")) { 1994 if (_json.containsKey("validValues")) {
1995 validValues = _json["validValues"]; 1995 validValues = _json["validValues"];
1996 } 1996 }
1997 if (_json.containsKey("validateData")) { 1997 if (_json.containsKey("validateData")) {
1998 validateData = _json["validateData"]; 1998 validateData = _json["validateData"];
1999 } 1999 }
2000 } 2000 }
2001 2001
2002 core.Map toJson() { 2002 core.Map<core.String, core.Object> toJson() {
2003 var _json = new core.Map(); 2003 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2004 if (baseColumn != null) { 2004 if (baseColumn != null) {
2005 _json["baseColumn"] = (baseColumn).toJson(); 2005 _json["baseColumn"] = (baseColumn).toJson();
2006 } 2006 }
2007 if (columnId != null) { 2007 if (columnId != null) {
2008 _json["columnId"] = columnId; 2008 _json["columnId"] = columnId;
2009 } 2009 }
2010 if (columnJsonSchema != null) { 2010 if (columnJsonSchema != null) {
2011 _json["columnJsonSchema"] = columnJsonSchema; 2011 _json["columnJsonSchema"] = columnJsonSchema;
2012 } 2012 }
2013 if (columnPropertiesJson != null) { 2013 if (columnPropertiesJson != null) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
2068 kind = _json["kind"]; 2068 kind = _json["kind"];
2069 } 2069 }
2070 if (_json.containsKey("nextPageToken")) { 2070 if (_json.containsKey("nextPageToken")) {
2071 nextPageToken = _json["nextPageToken"]; 2071 nextPageToken = _json["nextPageToken"];
2072 } 2072 }
2073 if (_json.containsKey("totalItems")) { 2073 if (_json.containsKey("totalItems")) {
2074 totalItems = _json["totalItems"]; 2074 totalItems = _json["totalItems"];
2075 } 2075 }
2076 } 2076 }
2077 2077
2078 core.Map toJson() { 2078 core.Map<core.String, core.Object> toJson() {
2079 var _json = new core.Map(); 2079 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2080 if (items != null) { 2080 if (items != null) {
2081 _json["items"] = items.map((value) => (value).toJson()).toList(); 2081 _json["items"] = items.map((value) => (value).toJson()).toList();
2082 } 2082 }
2083 if (kind != null) { 2083 if (kind != null) {
2084 _json["kind"] = kind; 2084 _json["kind"] = kind;
2085 } 2085 }
2086 if (nextPageToken != null) { 2086 if (nextPageToken != null) {
2087 _json["nextPageToken"] = nextPageToken; 2087 _json["nextPageToken"] = nextPageToken;
2088 } 2088 }
2089 if (totalItems != null) { 2089 if (totalItems != null) {
(...skipping 29 matching lines...) Expand all
2119 geometries = _json["geometries"]; 2119 geometries = _json["geometries"];
2120 } 2120 }
2121 if (_json.containsKey("geometry")) { 2121 if (_json.containsKey("geometry")) {
2122 geometry = _json["geometry"]; 2122 geometry = _json["geometry"];
2123 } 2123 }
2124 if (_json.containsKey("type")) { 2124 if (_json.containsKey("type")) {
2125 type = _json["type"]; 2125 type = _json["type"];
2126 } 2126 }
2127 } 2127 }
2128 2128
2129 core.Map toJson() { 2129 core.Map<core.String, core.Object> toJson() {
2130 var _json = new core.Map(); 2130 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2131 if (geometries != null) { 2131 if (geometries != null) {
2132 _json["geometries"] = geometries; 2132 _json["geometries"] = geometries;
2133 } 2133 }
2134 if (geometry != null) { 2134 if (geometry != null) {
2135 _json["geometry"] = geometry; 2135 _json["geometry"] = geometry;
2136 } 2136 }
2137 if (type != null) { 2137 if (type != null) {
2138 _json["type"] = type; 2138 _json["type"] = type;
2139 } 2139 }
2140 return _json; 2140 return _json;
(...skipping 14 matching lines...) Expand all
2155 2155
2156 Import.fromJson(core.Map _json) { 2156 Import.fromJson(core.Map _json) {
2157 if (_json.containsKey("kind")) { 2157 if (_json.containsKey("kind")) {
2158 kind = _json["kind"]; 2158 kind = _json["kind"];
2159 } 2159 }
2160 if (_json.containsKey("numRowsReceived")) { 2160 if (_json.containsKey("numRowsReceived")) {
2161 numRowsReceived = _json["numRowsReceived"]; 2161 numRowsReceived = _json["numRowsReceived"];
2162 } 2162 }
2163 } 2163 }
2164 2164
2165 core.Map toJson() { 2165 core.Map<core.String, core.Object> toJson() {
2166 var _json = new core.Map(); 2166 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2167 if (kind != null) { 2167 if (kind != null) {
2168 _json["kind"] = kind; 2168 _json["kind"] = kind;
2169 } 2169 }
2170 if (numRowsReceived != null) { 2170 if (numRowsReceived != null) {
2171 _json["numRowsReceived"] = numRowsReceived; 2171 _json["numRowsReceived"] = numRowsReceived;
2172 } 2172 }
2173 return _json; 2173 return _json;
2174 } 2174 }
2175 } 2175 }
2176 2176
2177 /** Represents a line geometry. */ 2177 /** Represents a line geometry. */
2178 class Line { 2178 class Line {
2179 /** The coordinates that define the line. */ 2179 /** The coordinates that define the line. */
2180 core.List<core.List<core.double>> coordinates; 2180 core.List<core.List<core.double>> coordinates;
2181 /** Type: A line geometry. */ 2181 /** Type: A line geometry. */
2182 core.String type; 2182 core.String type;
2183 2183
2184 Line(); 2184 Line();
2185 2185
2186 Line.fromJson(core.Map _json) { 2186 Line.fromJson(core.Map _json) {
2187 if (_json.containsKey("coordinates")) { 2187 if (_json.containsKey("coordinates")) {
2188 coordinates = _json["coordinates"]; 2188 coordinates = _json["coordinates"];
2189 } 2189 }
2190 if (_json.containsKey("type")) { 2190 if (_json.containsKey("type")) {
2191 type = _json["type"]; 2191 type = _json["type"];
2192 } 2192 }
2193 } 2193 }
2194 2194
2195 core.Map toJson() { 2195 core.Map<core.String, core.Object> toJson() {
2196 var _json = new core.Map(); 2196 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2197 if (coordinates != null) { 2197 if (coordinates != null) {
2198 _json["coordinates"] = coordinates; 2198 _json["coordinates"] = coordinates;
2199 } 2199 }
2200 if (type != null) { 2200 if (type != null) {
2201 _json["type"] = type; 2201 _json["type"] = type;
2202 } 2202 }
2203 return _json; 2203 return _json;
2204 } 2204 }
2205 } 2205 }
2206 2206
(...skipping 29 matching lines...) Expand all
2236 strokeOpacity = _json["strokeOpacity"]; 2236 strokeOpacity = _json["strokeOpacity"];
2237 } 2237 }
2238 if (_json.containsKey("strokeWeight")) { 2238 if (_json.containsKey("strokeWeight")) {
2239 strokeWeight = _json["strokeWeight"]; 2239 strokeWeight = _json["strokeWeight"];
2240 } 2240 }
2241 if (_json.containsKey("strokeWeightStyler")) { 2241 if (_json.containsKey("strokeWeightStyler")) {
2242 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler" ]); 2242 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler" ]);
2243 } 2243 }
2244 } 2244 }
2245 2245
2246 core.Map toJson() { 2246 core.Map<core.String, core.Object> toJson() {
2247 var _json = new core.Map(); 2247 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2248 if (strokeColor != null) { 2248 if (strokeColor != null) {
2249 _json["strokeColor"] = strokeColor; 2249 _json["strokeColor"] = strokeColor;
2250 } 2250 }
2251 if (strokeColorStyler != null) { 2251 if (strokeColorStyler != null) {
2252 _json["strokeColorStyler"] = (strokeColorStyler).toJson(); 2252 _json["strokeColorStyler"] = (strokeColorStyler).toJson();
2253 } 2253 }
2254 if (strokeOpacity != null) { 2254 if (strokeOpacity != null) {
2255 _json["strokeOpacity"] = strokeOpacity; 2255 _json["strokeOpacity"] = strokeOpacity;
2256 } 2256 }
2257 if (strokeWeight != null) { 2257 if (strokeWeight != null) {
(...skipping 17 matching lines...) Expand all
2275 2275
2276 Point.fromJson(core.Map _json) { 2276 Point.fromJson(core.Map _json) {
2277 if (_json.containsKey("coordinates")) { 2277 if (_json.containsKey("coordinates")) {
2278 coordinates = _json["coordinates"]; 2278 coordinates = _json["coordinates"];
2279 } 2279 }
2280 if (_json.containsKey("type")) { 2280 if (_json.containsKey("type")) {
2281 type = _json["type"]; 2281 type = _json["type"];
2282 } 2282 }
2283 } 2283 }
2284 2284
2285 core.Map toJson() { 2285 core.Map<core.String, core.Object> toJson() {
2286 var _json = new core.Map(); 2286 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2287 if (coordinates != null) { 2287 if (coordinates != null) {
2288 _json["coordinates"] = coordinates; 2288 _json["coordinates"] = coordinates;
2289 } 2289 }
2290 if (type != null) { 2290 if (type != null) {
2291 _json["type"] = type; 2291 _json["type"] = type;
2292 } 2292 }
2293 return _json; 2293 return _json;
2294 } 2294 }
2295 } 2295 }
2296 2296
(...skipping 11 matching lines...) Expand all
2308 2308
2309 PointStyle.fromJson(core.Map _json) { 2309 PointStyle.fromJson(core.Map _json) {
2310 if (_json.containsKey("iconName")) { 2310 if (_json.containsKey("iconName")) {
2311 iconName = _json["iconName"]; 2311 iconName = _json["iconName"];
2312 } 2312 }
2313 if (_json.containsKey("iconStyler")) { 2313 if (_json.containsKey("iconStyler")) {
2314 iconStyler = new StyleFunction.fromJson(_json["iconStyler"]); 2314 iconStyler = new StyleFunction.fromJson(_json["iconStyler"]);
2315 } 2315 }
2316 } 2316 }
2317 2317
2318 core.Map toJson() { 2318 core.Map<core.String, core.Object> toJson() {
2319 var _json = new core.Map(); 2319 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2320 if (iconName != null) { 2320 if (iconName != null) {
2321 _json["iconName"] = iconName; 2321 _json["iconName"] = iconName;
2322 } 2322 }
2323 if (iconStyler != null) { 2323 if (iconStyler != null) {
2324 _json["iconStyler"] = (iconStyler).toJson(); 2324 _json["iconStyler"] = (iconStyler).toJson();
2325 } 2325 }
2326 return _json; 2326 return _json;
2327 } 2327 }
2328 } 2328 }
2329 2329
2330 /** Represents a polygon object. */ 2330 /** Represents a polygon object. */
2331 class Polygon { 2331 class Polygon {
2332 /** The coordinates that define the polygon. */ 2332 /** The coordinates that define the polygon. */
2333 core.List<core.List<core.List<core.double>>> coordinates; 2333 core.List<core.List<core.List<core.double>>> coordinates;
2334 /** Type: A polygon geometry. */ 2334 /** Type: A polygon geometry. */
2335 core.String type; 2335 core.String type;
2336 2336
2337 Polygon(); 2337 Polygon();
2338 2338
2339 Polygon.fromJson(core.Map _json) { 2339 Polygon.fromJson(core.Map _json) {
2340 if (_json.containsKey("coordinates")) { 2340 if (_json.containsKey("coordinates")) {
2341 coordinates = _json["coordinates"]; 2341 coordinates = _json["coordinates"];
2342 } 2342 }
2343 if (_json.containsKey("type")) { 2343 if (_json.containsKey("type")) {
2344 type = _json["type"]; 2344 type = _json["type"];
2345 } 2345 }
2346 } 2346 }
2347 2347
2348 core.Map toJson() { 2348 core.Map<core.String, core.Object> toJson() {
2349 var _json = new core.Map(); 2349 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2350 if (coordinates != null) { 2350 if (coordinates != null) {
2351 _json["coordinates"] = coordinates; 2351 _json["coordinates"] = coordinates;
2352 } 2352 }
2353 if (type != null) { 2353 if (type != null) {
2354 _json["type"] = type; 2354 _json["type"] = type;
2355 } 2355 }
2356 return _json; 2356 return _json;
2357 } 2357 }
2358 } 2358 }
2359 2359
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2409 strokeOpacity = _json["strokeOpacity"]; 2409 strokeOpacity = _json["strokeOpacity"];
2410 } 2410 }
2411 if (_json.containsKey("strokeWeight")) { 2411 if (_json.containsKey("strokeWeight")) {
2412 strokeWeight = _json["strokeWeight"]; 2412 strokeWeight = _json["strokeWeight"];
2413 } 2413 }
2414 if (_json.containsKey("strokeWeightStyler")) { 2414 if (_json.containsKey("strokeWeightStyler")) {
2415 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler" ]); 2415 strokeWeightStyler = new StyleFunction.fromJson(_json["strokeWeightStyler" ]);
2416 } 2416 }
2417 } 2417 }
2418 2418
2419 core.Map toJson() { 2419 core.Map<core.String, core.Object> toJson() {
2420 var _json = new core.Map(); 2420 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2421 if (fillColor != null) { 2421 if (fillColor != null) {
2422 _json["fillColor"] = fillColor; 2422 _json["fillColor"] = fillColor;
2423 } 2423 }
2424 if (fillColorStyler != null) { 2424 if (fillColorStyler != null) {
2425 _json["fillColorStyler"] = (fillColorStyler).toJson(); 2425 _json["fillColorStyler"] = (fillColorStyler).toJson();
2426 } 2426 }
2427 if (fillOpacity != null) { 2427 if (fillOpacity != null) {
2428 _json["fillOpacity"] = fillOpacity; 2428 _json["fillOpacity"] = fillOpacity;
2429 } 2429 }
2430 if (strokeColor != null) { 2430 if (strokeColor != null) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2472 columns = _json["columns"]; 2472 columns = _json["columns"];
2473 } 2473 }
2474 if (_json.containsKey("kind")) { 2474 if (_json.containsKey("kind")) {
2475 kind = _json["kind"]; 2475 kind = _json["kind"];
2476 } 2476 }
2477 if (_json.containsKey("rows")) { 2477 if (_json.containsKey("rows")) {
2478 rows = _json["rows"]; 2478 rows = _json["rows"];
2479 } 2479 }
2480 } 2480 }
2481 2481
2482 core.Map toJson() { 2482 core.Map<core.String, core.Object> toJson() {
2483 var _json = new core.Map(); 2483 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2484 if (columns != null) { 2484 if (columns != null) {
2485 _json["columns"] = columns; 2485 _json["columns"] = columns;
2486 } 2486 }
2487 if (kind != null) { 2487 if (kind != null) {
2488 _json["kind"] = kind; 2488 _json["kind"] = kind;
2489 } 2489 }
2490 if (rows != null) { 2490 if (rows != null) {
2491 _json["rows"] = rows; 2491 _json["rows"] = rows;
2492 } 2492 }
2493 return _json; 2493 return _json;
(...skipping 10 matching lines...) Expand all
2504 2504
2505 StyleFunctionGradientColors.fromJson(core.Map _json) { 2505 StyleFunctionGradientColors.fromJson(core.Map _json) {
2506 if (_json.containsKey("color")) { 2506 if (_json.containsKey("color")) {
2507 color = _json["color"]; 2507 color = _json["color"];
2508 } 2508 }
2509 if (_json.containsKey("opacity")) { 2509 if (_json.containsKey("opacity")) {
2510 opacity = _json["opacity"]; 2510 opacity = _json["opacity"];
2511 } 2511 }
2512 } 2512 }
2513 2513
2514 core.Map toJson() { 2514 core.Map<core.String, core.Object> toJson() {
2515 var _json = new core.Map(); 2515 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2516 if (color != null) { 2516 if (color != null) {
2517 _json["color"] = color; 2517 _json["color"] = color;
2518 } 2518 }
2519 if (opacity != null) { 2519 if (opacity != null) {
2520 _json["opacity"] = opacity; 2520 _json["opacity"] = opacity;
2521 } 2521 }
2522 return _json; 2522 return _json;
2523 } 2523 }
2524 } 2524 }
2525 2525
(...skipping 21 matching lines...) Expand all
2547 colors = _json["colors"].map((value) => new StyleFunctionGradientColors.fr omJson(value)).toList(); 2547 colors = _json["colors"].map((value) => new StyleFunctionGradientColors.fr omJson(value)).toList();
2548 } 2548 }
2549 if (_json.containsKey("max")) { 2549 if (_json.containsKey("max")) {
2550 max = _json["max"]; 2550 max = _json["max"];
2551 } 2551 }
2552 if (_json.containsKey("min")) { 2552 if (_json.containsKey("min")) {
2553 min = _json["min"]; 2553 min = _json["min"];
2554 } 2554 }
2555 } 2555 }
2556 2556
2557 core.Map toJson() { 2557 core.Map<core.String, core.Object> toJson() {
2558 var _json = new core.Map(); 2558 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2559 if (colors != null) { 2559 if (colors != null) {
2560 _json["colors"] = colors.map((value) => (value).toJson()).toList(); 2560 _json["colors"] = colors.map((value) => (value).toJson()).toList();
2561 } 2561 }
2562 if (max != null) { 2562 if (max != null) {
2563 _json["max"] = max; 2563 _json["max"] = max;
2564 } 2564 }
2565 if (min != null) { 2565 if (min != null) {
2566 _json["min"] = min; 2566 _json["min"] = min;
2567 } 2567 }
2568 return _json; 2568 return _json;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
2603 columnName = _json["columnName"]; 2603 columnName = _json["columnName"];
2604 } 2604 }
2605 if (_json.containsKey("gradient")) { 2605 if (_json.containsKey("gradient")) {
2606 gradient = new StyleFunctionGradient.fromJson(_json["gradient"]); 2606 gradient = new StyleFunctionGradient.fromJson(_json["gradient"]);
2607 } 2607 }
2608 if (_json.containsKey("kind")) { 2608 if (_json.containsKey("kind")) {
2609 kind = _json["kind"]; 2609 kind = _json["kind"];
2610 } 2610 }
2611 } 2611 }
2612 2612
2613 core.Map toJson() { 2613 core.Map<core.String, core.Object> toJson() {
2614 var _json = new core.Map(); 2614 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2615 if (buckets != null) { 2615 if (buckets != null) {
2616 _json["buckets"] = buckets.map((value) => (value).toJson()).toList(); 2616 _json["buckets"] = buckets.map((value) => (value).toJson()).toList();
2617 } 2617 }
2618 if (columnName != null) { 2618 if (columnName != null) {
2619 _json["columnName"] = columnName; 2619 _json["columnName"] = columnName;
2620 } 2620 }
2621 if (gradient != null) { 2621 if (gradient != null) {
2622 _json["gradient"] = (gradient).toJson(); 2622 _json["gradient"] = (gradient).toJson();
2623 } 2623 }
2624 if (kind != null) { 2624 if (kind != null) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2672 polylineOptions = new LineStyle.fromJson(_json["polylineOptions"]); 2672 polylineOptions = new LineStyle.fromJson(_json["polylineOptions"]);
2673 } 2673 }
2674 if (_json.containsKey("styleId")) { 2674 if (_json.containsKey("styleId")) {
2675 styleId = _json["styleId"]; 2675 styleId = _json["styleId"];
2676 } 2676 }
2677 if (_json.containsKey("tableId")) { 2677 if (_json.containsKey("tableId")) {
2678 tableId = _json["tableId"]; 2678 tableId = _json["tableId"];
2679 } 2679 }
2680 } 2680 }
2681 2681
2682 core.Map toJson() { 2682 core.Map<core.String, core.Object> toJson() {
2683 var _json = new core.Map(); 2683 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2684 if (kind != null) { 2684 if (kind != null) {
2685 _json["kind"] = kind; 2685 _json["kind"] = kind;
2686 } 2686 }
2687 if (markerOptions != null) { 2687 if (markerOptions != null) {
2688 _json["markerOptions"] = (markerOptions).toJson(); 2688 _json["markerOptions"] = (markerOptions).toJson();
2689 } 2689 }
2690 if (name != null) { 2690 if (name != null) {
2691 _json["name"] = name; 2691 _json["name"] = name;
2692 } 2692 }
2693 if (polygonOptions != null) { 2693 if (polygonOptions != null) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
2733 kind = _json["kind"]; 2733 kind = _json["kind"];
2734 } 2734 }
2735 if (_json.containsKey("nextPageToken")) { 2735 if (_json.containsKey("nextPageToken")) {
2736 nextPageToken = _json["nextPageToken"]; 2736 nextPageToken = _json["nextPageToken"];
2737 } 2737 }
2738 if (_json.containsKey("totalItems")) { 2738 if (_json.containsKey("totalItems")) {
2739 totalItems = _json["totalItems"]; 2739 totalItems = _json["totalItems"];
2740 } 2740 }
2741 } 2741 }
2742 2742
2743 core.Map toJson() { 2743 core.Map<core.String, core.Object> toJson() {
2744 var _json = new core.Map(); 2744 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2745 if (items != null) { 2745 if (items != null) {
2746 _json["items"] = items.map((value) => (value).toJson()).toList(); 2746 _json["items"] = items.map((value) => (value).toJson()).toList();
2747 } 2747 }
2748 if (kind != null) { 2748 if (kind != null) {
2749 _json["kind"] = kind; 2749 _json["kind"] = kind;
2750 } 2750 }
2751 if (nextPageToken != null) { 2751 if (nextPageToken != null) {
2752 _json["nextPageToken"] = nextPageToken; 2752 _json["nextPageToken"] = nextPageToken;
2753 } 2753 }
2754 if (totalItems != null) { 2754 if (totalItems != null) {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 tableId = _json["tableId"]; 2826 tableId = _json["tableId"];
2827 } 2827 }
2828 if (_json.containsKey("tablePropertiesJson")) { 2828 if (_json.containsKey("tablePropertiesJson")) {
2829 tablePropertiesJson = _json["tablePropertiesJson"]; 2829 tablePropertiesJson = _json["tablePropertiesJson"];
2830 } 2830 }
2831 if (_json.containsKey("tablePropertiesJsonSchema")) { 2831 if (_json.containsKey("tablePropertiesJsonSchema")) {
2832 tablePropertiesJsonSchema = _json["tablePropertiesJsonSchema"]; 2832 tablePropertiesJsonSchema = _json["tablePropertiesJsonSchema"];
2833 } 2833 }
2834 } 2834 }
2835 2835
2836 core.Map toJson() { 2836 core.Map<core.String, core.Object> toJson() {
2837 var _json = new core.Map(); 2837 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2838 if (attribution != null) { 2838 if (attribution != null) {
2839 _json["attribution"] = attribution; 2839 _json["attribution"] = attribution;
2840 } 2840 }
2841 if (attributionLink != null) { 2841 if (attributionLink != null) {
2842 _json["attributionLink"] = attributionLink; 2842 _json["attributionLink"] = attributionLink;
2843 } 2843 }
2844 if (baseTableIds != null) { 2844 if (baseTableIds != null) {
2845 _json["baseTableIds"] = baseTableIds; 2845 _json["baseTableIds"] = baseTableIds;
2846 } 2846 }
2847 if (columnPropertiesJsonSchema != null) { 2847 if (columnPropertiesJsonSchema != null) {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
2900 items = _json["items"].map((value) => new Table.fromJson(value)).toList(); 2900 items = _json["items"].map((value) => new Table.fromJson(value)).toList();
2901 } 2901 }
2902 if (_json.containsKey("kind")) { 2902 if (_json.containsKey("kind")) {
2903 kind = _json["kind"]; 2903 kind = _json["kind"];
2904 } 2904 }
2905 if (_json.containsKey("nextPageToken")) { 2905 if (_json.containsKey("nextPageToken")) {
2906 nextPageToken = _json["nextPageToken"]; 2906 nextPageToken = _json["nextPageToken"];
2907 } 2907 }
2908 } 2908 }
2909 2909
2910 core.Map toJson() { 2910 core.Map<core.String, core.Object> toJson() {
2911 var _json = new core.Map(); 2911 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2912 if (items != null) { 2912 if (items != null) {
2913 _json["items"] = items.map((value) => (value).toJson()).toList(); 2913 _json["items"] = items.map((value) => (value).toJson()).toList();
2914 } 2914 }
2915 if (kind != null) { 2915 if (kind != null) {
2916 _json["kind"] = kind; 2916 _json["kind"] = kind;
2917 } 2917 }
2918 if (nextPageToken != null) { 2918 if (nextPageToken != null) {
2919 _json["nextPageToken"] = nextPageToken; 2919 _json["nextPageToken"] = nextPageToken;
2920 } 2920 }
2921 return _json; 2921 return _json;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2954 started = _json["started"]; 2954 started = _json["started"];
2955 } 2955 }
2956 if (_json.containsKey("taskId")) { 2956 if (_json.containsKey("taskId")) {
2957 taskId = _json["taskId"]; 2957 taskId = _json["taskId"];
2958 } 2958 }
2959 if (_json.containsKey("type")) { 2959 if (_json.containsKey("type")) {
2960 type = _json["type"]; 2960 type = _json["type"];
2961 } 2961 }
2962 } 2962 }
2963 2963
2964 core.Map toJson() { 2964 core.Map<core.String, core.Object> toJson() {
2965 var _json = new core.Map(); 2965 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2966 if (kind != null) { 2966 if (kind != null) {
2967 _json["kind"] = kind; 2967 _json["kind"] = kind;
2968 } 2968 }
2969 if (progress != null) { 2969 if (progress != null) {
2970 _json["progress"] = progress; 2970 _json["progress"] = progress;
2971 } 2971 }
2972 if (started != null) { 2972 if (started != null) {
2973 _json["started"] = started; 2973 _json["started"] = started;
2974 } 2974 }
2975 if (taskId != null) { 2975 if (taskId != null) {
(...skipping 30 matching lines...) Expand all
3006 kind = _json["kind"]; 3006 kind = _json["kind"];
3007 } 3007 }
3008 if (_json.containsKey("nextPageToken")) { 3008 if (_json.containsKey("nextPageToken")) {
3009 nextPageToken = _json["nextPageToken"]; 3009 nextPageToken = _json["nextPageToken"];
3010 } 3010 }
3011 if (_json.containsKey("totalItems")) { 3011 if (_json.containsKey("totalItems")) {
3012 totalItems = _json["totalItems"]; 3012 totalItems = _json["totalItems"];
3013 } 3013 }
3014 } 3014 }
3015 3015
3016 core.Map toJson() { 3016 core.Map<core.String, core.Object> toJson() {
3017 var _json = new core.Map(); 3017 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3018 if (items != null) { 3018 if (items != null) {
3019 _json["items"] = items.map((value) => (value).toJson()).toList(); 3019 _json["items"] = items.map((value) => (value).toJson()).toList();
3020 } 3020 }
3021 if (kind != null) { 3021 if (kind != null) {
3022 _json["kind"] = kind; 3022 _json["kind"] = kind;
3023 } 3023 }
3024 if (nextPageToken != null) { 3024 if (nextPageToken != null) {
3025 _json["nextPageToken"] = nextPageToken; 3025 _json["nextPageToken"] = nextPageToken;
3026 } 3026 }
3027 if (totalItems != null) { 3027 if (totalItems != null) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3075 name = _json["name"]; 3075 name = _json["name"];
3076 } 3076 }
3077 if (_json.containsKey("tableId")) { 3077 if (_json.containsKey("tableId")) {
3078 tableId = _json["tableId"]; 3078 tableId = _json["tableId"];
3079 } 3079 }
3080 if (_json.containsKey("templateId")) { 3080 if (_json.containsKey("templateId")) {
3081 templateId = _json["templateId"]; 3081 templateId = _json["templateId"];
3082 } 3082 }
3083 } 3083 }
3084 3084
3085 core.Map toJson() { 3085 core.Map<core.String, core.Object> toJson() {
3086 var _json = new core.Map(); 3086 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3087 if (automaticColumnNames != null) { 3087 if (automaticColumnNames != null) {
3088 _json["automaticColumnNames"] = automaticColumnNames; 3088 _json["automaticColumnNames"] = automaticColumnNames;
3089 } 3089 }
3090 if (body != null) { 3090 if (body != null) {
3091 _json["body"] = body; 3091 _json["body"] = body;
3092 } 3092 }
3093 if (kind != null) { 3093 if (kind != null) {
3094 _json["kind"] = kind; 3094 _json["kind"] = kind;
3095 } 3095 }
3096 if (name != null) { 3096 if (name != null) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3133 kind = _json["kind"]; 3133 kind = _json["kind"];
3134 } 3134 }
3135 if (_json.containsKey("nextPageToken")) { 3135 if (_json.containsKey("nextPageToken")) {
3136 nextPageToken = _json["nextPageToken"]; 3136 nextPageToken = _json["nextPageToken"];
3137 } 3137 }
3138 if (_json.containsKey("totalItems")) { 3138 if (_json.containsKey("totalItems")) {
3139 totalItems = _json["totalItems"]; 3139 totalItems = _json["totalItems"];
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 (items != null) { 3145 if (items != null) {
3146 _json["items"] = items.map((value) => (value).toJson()).toList(); 3146 _json["items"] = items.map((value) => (value).toJson()).toList();
3147 } 3147 }
3148 if (kind != null) { 3148 if (kind != null) {
3149 _json["kind"] = kind; 3149 _json["kind"] = kind;
3150 } 3150 }
3151 if (nextPageToken != null) { 3151 if (nextPageToken != null) {
3152 _json["nextPageToken"] = nextPageToken; 3152 _json["nextPageToken"] = nextPageToken;
3153 } 3153 }
3154 if (totalItems != null) { 3154 if (totalItems != null) {
3155 _json["totalItems"] = totalItems; 3155 _json["totalItems"] = totalItems;
3156 } 3156 }
3157 return _json; 3157 return _json;
3158 } 3158 }
3159 } 3159 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/fusiontables/v1.dart ('k') | generated/googleapis/lib/games/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698