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

Side by Side Diff: generated/googleapis/lib/blogger/v3.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.blogger.v3; 3 library googleapis.blogger.v3;
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 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
2086 country = _json["country"]; 2086 country = _json["country"];
2087 } 2087 }
2088 if (_json.containsKey("language")) { 2088 if (_json.containsKey("language")) {
2089 language = _json["language"]; 2089 language = _json["language"];
2090 } 2090 }
2091 if (_json.containsKey("variant")) { 2091 if (_json.containsKey("variant")) {
2092 variant = _json["variant"]; 2092 variant = _json["variant"];
2093 } 2093 }
2094 } 2094 }
2095 2095
2096 core.Map toJson() { 2096 core.Map<core.String, core.Object> toJson() {
2097 var _json = new core.Map(); 2097 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2098 if (country != null) { 2098 if (country != null) {
2099 _json["country"] = country; 2099 _json["country"] = country;
2100 } 2100 }
2101 if (language != null) { 2101 if (language != null) {
2102 _json["language"] = language; 2102 _json["language"] = language;
2103 } 2103 }
2104 if (variant != null) { 2104 if (variant != null) {
2105 _json["variant"] = variant; 2105 _json["variant"] = variant;
2106 } 2106 }
2107 return _json; 2107 return _json;
(...skipping 11 matching lines...) Expand all
2119 2119
2120 BlogPages.fromJson(core.Map _json) { 2120 BlogPages.fromJson(core.Map _json) {
2121 if (_json.containsKey("selfLink")) { 2121 if (_json.containsKey("selfLink")) {
2122 selfLink = _json["selfLink"]; 2122 selfLink = _json["selfLink"];
2123 } 2123 }
2124 if (_json.containsKey("totalItems")) { 2124 if (_json.containsKey("totalItems")) {
2125 totalItems = _json["totalItems"]; 2125 totalItems = _json["totalItems"];
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 (selfLink != null) { 2131 if (selfLink != null) {
2132 _json["selfLink"] = selfLink; 2132 _json["selfLink"] = selfLink;
2133 } 2133 }
2134 if (totalItems != null) { 2134 if (totalItems != null) {
2135 _json["totalItems"] = totalItems; 2135 _json["totalItems"] = totalItems;
2136 } 2136 }
2137 return _json; 2137 return _json;
2138 } 2138 }
2139 } 2139 }
2140 2140
(...skipping 13 matching lines...) Expand all
2154 items = _json["items"].map((value) => new Post.fromJson(value)).toList(); 2154 items = _json["items"].map((value) => new Post.fromJson(value)).toList();
2155 } 2155 }
2156 if (_json.containsKey("selfLink")) { 2156 if (_json.containsKey("selfLink")) {
2157 selfLink = _json["selfLink"]; 2157 selfLink = _json["selfLink"];
2158 } 2158 }
2159 if (_json.containsKey("totalItems")) { 2159 if (_json.containsKey("totalItems")) {
2160 totalItems = _json["totalItems"]; 2160 totalItems = _json["totalItems"];
2161 } 2161 }
2162 } 2162 }
2163 2163
2164 core.Map toJson() { 2164 core.Map<core.String, core.Object> toJson() {
2165 var _json = new core.Map(); 2165 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2166 if (items != null) { 2166 if (items != null) {
2167 _json["items"] = items.map((value) => (value).toJson()).toList(); 2167 _json["items"] = items.map((value) => (value).toJson()).toList();
2168 } 2168 }
2169 if (selfLink != null) { 2169 if (selfLink != null) {
2170 _json["selfLink"] = selfLink; 2170 _json["selfLink"] = selfLink;
2171 } 2171 }
2172 if (totalItems != null) { 2172 if (totalItems != null) {
2173 _json["totalItems"] = totalItems; 2173 _json["totalItems"] = totalItems;
2174 } 2174 }
2175 return _json; 2175 return _json;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 status = _json["status"]; 2241 status = _json["status"];
2242 } 2242 }
2243 if (_json.containsKey("updated")) { 2243 if (_json.containsKey("updated")) {
2244 updated = core.DateTime.parse(_json["updated"]); 2244 updated = core.DateTime.parse(_json["updated"]);
2245 } 2245 }
2246 if (_json.containsKey("url")) { 2246 if (_json.containsKey("url")) {
2247 url = _json["url"]; 2247 url = _json["url"];
2248 } 2248 }
2249 } 2249 }
2250 2250
2251 core.Map toJson() { 2251 core.Map<core.String, core.Object> toJson() {
2252 var _json = new core.Map(); 2252 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2253 if (customMetaData != null) { 2253 if (customMetaData != null) {
2254 _json["customMetaData"] = customMetaData; 2254 _json["customMetaData"] = customMetaData;
2255 } 2255 }
2256 if (description != null) { 2256 if (description != null) {
2257 _json["description"] = description; 2257 _json["description"] = description;
2258 } 2258 }
2259 if (id != null) { 2259 if (id != null) {
2260 _json["id"] = id; 2260 _json["id"] = id;
2261 } 2261 }
2262 if (kind != null) { 2262 if (kind != null) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2308 blogUserInfos = _json["blogUserInfos"].map((value) => new BlogUserInfo.fro mJson(value)).toList(); 2308 blogUserInfos = _json["blogUserInfos"].map((value) => new BlogUserInfo.fro mJson(value)).toList();
2309 } 2309 }
2310 if (_json.containsKey("items")) { 2310 if (_json.containsKey("items")) {
2311 items = _json["items"].map((value) => new Blog.fromJson(value)).toList(); 2311 items = _json["items"].map((value) => new Blog.fromJson(value)).toList();
2312 } 2312 }
2313 if (_json.containsKey("kind")) { 2313 if (_json.containsKey("kind")) {
2314 kind = _json["kind"]; 2314 kind = _json["kind"];
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 (blogUserInfos != null) { 2320 if (blogUserInfos != null) {
2321 _json["blogUserInfos"] = blogUserInfos.map((value) => (value).toJson()).to List(); 2321 _json["blogUserInfos"] = blogUserInfos.map((value) => (value).toJson()).to List();
2322 } 2322 }
2323 if (items != null) { 2323 if (items != null) {
2324 _json["items"] = items.map((value) => (value).toJson()).toList(); 2324 _json["items"] = items.map((value) => (value).toJson()).toList();
2325 } 2325 }
2326 if (kind != null) { 2326 if (kind != null) {
2327 _json["kind"] = kind; 2327 _json["kind"] = kind;
2328 } 2328 }
2329 return _json; 2329 return _json;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2363 photosAlbumKey = _json["photosAlbumKey"]; 2363 photosAlbumKey = _json["photosAlbumKey"];
2364 } 2364 }
2365 if (_json.containsKey("role")) { 2365 if (_json.containsKey("role")) {
2366 role = _json["role"]; 2366 role = _json["role"];
2367 } 2367 }
2368 if (_json.containsKey("userId")) { 2368 if (_json.containsKey("userId")) {
2369 userId = _json["userId"]; 2369 userId = _json["userId"];
2370 } 2370 }
2371 } 2371 }
2372 2372
2373 core.Map toJson() { 2373 core.Map<core.String, core.Object> toJson() {
2374 var _json = new core.Map(); 2374 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2375 if (blogId != null) { 2375 if (blogId != null) {
2376 _json["blogId"] = blogId; 2376 _json["blogId"] = blogId;
2377 } 2377 }
2378 if (hasAdminAccess != null) { 2378 if (hasAdminAccess != null) {
2379 _json["hasAdminAccess"] = hasAdminAccess; 2379 _json["hasAdminAccess"] = hasAdminAccess;
2380 } 2380 }
2381 if (kind != null) { 2381 if (kind != null) {
2382 _json["kind"] = kind; 2382 _json["kind"] = kind;
2383 } 2383 }
2384 if (photosAlbumKey != null) { 2384 if (photosAlbumKey != null) {
(...skipping 24 matching lines...) Expand all
2409 blog = new Blog.fromJson(_json["blog"]); 2409 blog = new Blog.fromJson(_json["blog"]);
2410 } 2410 }
2411 if (_json.containsKey("blog_user_info")) { 2411 if (_json.containsKey("blog_user_info")) {
2412 blogUserInfo = new BlogPerUserInfo.fromJson(_json["blog_user_info"]); 2412 blogUserInfo = new BlogPerUserInfo.fromJson(_json["blog_user_info"]);
2413 } 2413 }
2414 if (_json.containsKey("kind")) { 2414 if (_json.containsKey("kind")) {
2415 kind = _json["kind"]; 2415 kind = _json["kind"];
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 (blog != null) { 2421 if (blog != null) {
2422 _json["blog"] = (blog).toJson(); 2422 _json["blog"] = (blog).toJson();
2423 } 2423 }
2424 if (blogUserInfo != null) { 2424 if (blogUserInfo != null) {
2425 _json["blog_user_info"] = (blogUserInfo).toJson(); 2425 _json["blog_user_info"] = (blogUserInfo).toJson();
2426 } 2426 }
2427 if (kind != null) { 2427 if (kind != null) {
2428 _json["kind"] = kind; 2428 _json["kind"] = kind;
2429 } 2429 }
2430 return _json; 2430 return _json;
2431 } 2431 }
2432 } 2432 }
2433 2433
2434 /** The comment creator's avatar. */ 2434 /** The comment creator's avatar. */
2435 class CommentAuthorImage { 2435 class CommentAuthorImage {
2436 /** The comment creator's avatar URL. */ 2436 /** The comment creator's avatar URL. */
2437 core.String url; 2437 core.String url;
2438 2438
2439 CommentAuthorImage(); 2439 CommentAuthorImage();
2440 2440
2441 CommentAuthorImage.fromJson(core.Map _json) { 2441 CommentAuthorImage.fromJson(core.Map _json) {
2442 if (_json.containsKey("url")) { 2442 if (_json.containsKey("url")) {
2443 url = _json["url"]; 2443 url = _json["url"];
2444 } 2444 }
2445 } 2445 }
2446 2446
2447 core.Map toJson() { 2447 core.Map<core.String, core.Object> toJson() {
2448 var _json = new core.Map(); 2448 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2449 if (url != null) { 2449 if (url != null) {
2450 _json["url"] = url; 2450 _json["url"] = url;
2451 } 2451 }
2452 return _json; 2452 return _json;
2453 } 2453 }
2454 } 2454 }
2455 2455
2456 /** The author of this Comment. */ 2456 /** The author of this Comment. */
2457 class CommentAuthor { 2457 class CommentAuthor {
2458 /** The display name. */ 2458 /** The display name. */
(...skipping 15 matching lines...) Expand all
2474 id = _json["id"]; 2474 id = _json["id"];
2475 } 2475 }
2476 if (_json.containsKey("image")) { 2476 if (_json.containsKey("image")) {
2477 image = new CommentAuthorImage.fromJson(_json["image"]); 2477 image = new CommentAuthorImage.fromJson(_json["image"]);
2478 } 2478 }
2479 if (_json.containsKey("url")) { 2479 if (_json.containsKey("url")) {
2480 url = _json["url"]; 2480 url = _json["url"];
2481 } 2481 }
2482 } 2482 }
2483 2483
2484 core.Map toJson() { 2484 core.Map<core.String, core.Object> toJson() {
2485 var _json = new core.Map(); 2485 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2486 if (displayName != null) { 2486 if (displayName != null) {
2487 _json["displayName"] = displayName; 2487 _json["displayName"] = displayName;
2488 } 2488 }
2489 if (id != null) { 2489 if (id != null) {
2490 _json["id"] = id; 2490 _json["id"] = id;
2491 } 2491 }
2492 if (image != null) { 2492 if (image != null) {
2493 _json["image"] = (image).toJson(); 2493 _json["image"] = (image).toJson();
2494 } 2494 }
2495 if (url != null) { 2495 if (url != null) {
2496 _json["url"] = url; 2496 _json["url"] = url;
2497 } 2497 }
2498 return _json; 2498 return _json;
2499 } 2499 }
2500 } 2500 }
2501 2501
2502 /** Data about the blog containing this comment. */ 2502 /** Data about the blog containing this comment. */
2503 class CommentBlog { 2503 class CommentBlog {
2504 /** The identifier of the blog containing this comment. */ 2504 /** The identifier of the blog containing this comment. */
2505 core.String id; 2505 core.String id;
2506 2506
2507 CommentBlog(); 2507 CommentBlog();
2508 2508
2509 CommentBlog.fromJson(core.Map _json) { 2509 CommentBlog.fromJson(core.Map _json) {
2510 if (_json.containsKey("id")) { 2510 if (_json.containsKey("id")) {
2511 id = _json["id"]; 2511 id = _json["id"];
2512 } 2512 }
2513 } 2513 }
2514 2514
2515 core.Map toJson() { 2515 core.Map<core.String, core.Object> toJson() {
2516 var _json = new core.Map(); 2516 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2517 if (id != null) { 2517 if (id != null) {
2518 _json["id"] = id; 2518 _json["id"] = id;
2519 } 2519 }
2520 return _json; 2520 return _json;
2521 } 2521 }
2522 } 2522 }
2523 2523
2524 /** Data about the comment this is in reply to. */ 2524 /** Data about the comment this is in reply to. */
2525 class CommentInReplyTo { 2525 class CommentInReplyTo {
2526 /** The identified of the parent of this comment. */ 2526 /** The identified of the parent of this comment. */
2527 core.String id; 2527 core.String id;
2528 2528
2529 CommentInReplyTo(); 2529 CommentInReplyTo();
2530 2530
2531 CommentInReplyTo.fromJson(core.Map _json) { 2531 CommentInReplyTo.fromJson(core.Map _json) {
2532 if (_json.containsKey("id")) { 2532 if (_json.containsKey("id")) {
2533 id = _json["id"]; 2533 id = _json["id"];
2534 } 2534 }
2535 } 2535 }
2536 2536
2537 core.Map toJson() { 2537 core.Map<core.String, core.Object> toJson() {
2538 var _json = new core.Map(); 2538 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2539 if (id != null) { 2539 if (id != null) {
2540 _json["id"] = id; 2540 _json["id"] = id;
2541 } 2541 }
2542 return _json; 2542 return _json;
2543 } 2543 }
2544 } 2544 }
2545 2545
2546 /** Data about the post containing this comment. */ 2546 /** Data about the post containing this comment. */
2547 class CommentPost { 2547 class CommentPost {
2548 /** The identifier of the post containing this comment. */ 2548 /** The identifier of the post containing this comment. */
2549 core.String id; 2549 core.String id;
2550 2550
2551 CommentPost(); 2551 CommentPost();
2552 2552
2553 CommentPost.fromJson(core.Map _json) { 2553 CommentPost.fromJson(core.Map _json) {
2554 if (_json.containsKey("id")) { 2554 if (_json.containsKey("id")) {
2555 id = _json["id"]; 2555 id = _json["id"];
2556 } 2556 }
2557 } 2557 }
2558 2558
2559 core.Map toJson() { 2559 core.Map<core.String, core.Object> toJson() {
2560 var _json = new core.Map(); 2560 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2561 if (id != null) { 2561 if (id != null) {
2562 _json["id"] = id; 2562 _json["id"] = id;
2563 } 2563 }
2564 return _json; 2564 return _json;
2565 } 2565 }
2566 } 2566 }
2567 2567
2568 class Comment { 2568 class Comment {
2569 /** The author of this Comment. */ 2569 /** The author of this Comment. */
2570 CommentAuthor author; 2570 CommentAuthor author;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 selfLink = _json["selfLink"]; 2620 selfLink = _json["selfLink"];
2621 } 2621 }
2622 if (_json.containsKey("status")) { 2622 if (_json.containsKey("status")) {
2623 status = _json["status"]; 2623 status = _json["status"];
2624 } 2624 }
2625 if (_json.containsKey("updated")) { 2625 if (_json.containsKey("updated")) {
2626 updated = core.DateTime.parse(_json["updated"]); 2626 updated = core.DateTime.parse(_json["updated"]);
2627 } 2627 }
2628 } 2628 }
2629 2629
2630 core.Map toJson() { 2630 core.Map<core.String, core.Object> toJson() {
2631 var _json = new core.Map(); 2631 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2632 if (author != null) { 2632 if (author != null) {
2633 _json["author"] = (author).toJson(); 2633 _json["author"] = (author).toJson();
2634 } 2634 }
2635 if (blog != null) { 2635 if (blog != null) {
2636 _json["blog"] = (blog).toJson(); 2636 _json["blog"] = (blog).toJson();
2637 } 2637 }
2638 if (content != null) { 2638 if (content != null) {
2639 _json["content"] = content; 2639 _json["content"] = content;
2640 } 2640 }
2641 if (id != null) { 2641 if (id != null) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2691 kind = _json["kind"]; 2691 kind = _json["kind"];
2692 } 2692 }
2693 if (_json.containsKey("nextPageToken")) { 2693 if (_json.containsKey("nextPageToken")) {
2694 nextPageToken = _json["nextPageToken"]; 2694 nextPageToken = _json["nextPageToken"];
2695 } 2695 }
2696 if (_json.containsKey("prevPageToken")) { 2696 if (_json.containsKey("prevPageToken")) {
2697 prevPageToken = _json["prevPageToken"]; 2697 prevPageToken = _json["prevPageToken"];
2698 } 2698 }
2699 } 2699 }
2700 2700
2701 core.Map toJson() { 2701 core.Map<core.String, core.Object> toJson() {
2702 var _json = new core.Map(); 2702 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2703 if (etag != null) { 2703 if (etag != null) {
2704 _json["etag"] = etag; 2704 _json["etag"] = etag;
2705 } 2705 }
2706 if (items != null) { 2706 if (items != null) {
2707 _json["items"] = items.map((value) => (value).toJson()).toList(); 2707 _json["items"] = items.map((value) => (value).toJson()).toList();
2708 } 2708 }
2709 if (kind != null) { 2709 if (kind != null) {
2710 _json["kind"] = kind; 2710 _json["kind"] = kind;
2711 } 2711 }
2712 if (nextPageToken != null) { 2712 if (nextPageToken != null) {
(...skipping 12 matching lines...) Expand all
2725 core.String url; 2725 core.String url;
2726 2726
2727 PageAuthorImage(); 2727 PageAuthorImage();
2728 2728
2729 PageAuthorImage.fromJson(core.Map _json) { 2729 PageAuthorImage.fromJson(core.Map _json) {
2730 if (_json.containsKey("url")) { 2730 if (_json.containsKey("url")) {
2731 url = _json["url"]; 2731 url = _json["url"];
2732 } 2732 }
2733 } 2733 }
2734 2734
2735 core.Map toJson() { 2735 core.Map<core.String, core.Object> toJson() {
2736 var _json = new core.Map(); 2736 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2737 if (url != null) { 2737 if (url != null) {
2738 _json["url"] = url; 2738 _json["url"] = url;
2739 } 2739 }
2740 return _json; 2740 return _json;
2741 } 2741 }
2742 } 2742 }
2743 2743
2744 /** The author of this Page. */ 2744 /** The author of this Page. */
2745 class PageAuthor { 2745 class PageAuthor {
2746 /** The display name. */ 2746 /** The display name. */
(...skipping 15 matching lines...) Expand all
2762 id = _json["id"]; 2762 id = _json["id"];
2763 } 2763 }
2764 if (_json.containsKey("image")) { 2764 if (_json.containsKey("image")) {
2765 image = new PageAuthorImage.fromJson(_json["image"]); 2765 image = new PageAuthorImage.fromJson(_json["image"]);
2766 } 2766 }
2767 if (_json.containsKey("url")) { 2767 if (_json.containsKey("url")) {
2768 url = _json["url"]; 2768 url = _json["url"];
2769 } 2769 }
2770 } 2770 }
2771 2771
2772 core.Map toJson() { 2772 core.Map<core.String, core.Object> toJson() {
2773 var _json = new core.Map(); 2773 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2774 if (displayName != null) { 2774 if (displayName != null) {
2775 _json["displayName"] = displayName; 2775 _json["displayName"] = displayName;
2776 } 2776 }
2777 if (id != null) { 2777 if (id != null) {
2778 _json["id"] = id; 2778 _json["id"] = id;
2779 } 2779 }
2780 if (image != null) { 2780 if (image != null) {
2781 _json["image"] = (image).toJson(); 2781 _json["image"] = (image).toJson();
2782 } 2782 }
2783 if (url != null) { 2783 if (url != null) {
2784 _json["url"] = url; 2784 _json["url"] = url;
2785 } 2785 }
2786 return _json; 2786 return _json;
2787 } 2787 }
2788 } 2788 }
2789 2789
2790 /** Data about the blog containing this Page. */ 2790 /** Data about the blog containing this Page. */
2791 class PageBlog { 2791 class PageBlog {
2792 /** The identifier of the blog containing this page. */ 2792 /** The identifier of the blog containing this page. */
2793 core.String id; 2793 core.String id;
2794 2794
2795 PageBlog(); 2795 PageBlog();
2796 2796
2797 PageBlog.fromJson(core.Map _json) { 2797 PageBlog.fromJson(core.Map _json) {
2798 if (_json.containsKey("id")) { 2798 if (_json.containsKey("id")) {
2799 id = _json["id"]; 2799 id = _json["id"];
2800 } 2800 }
2801 } 2801 }
2802 2802
2803 core.Map toJson() { 2803 core.Map<core.String, core.Object> toJson() {
2804 var _json = new core.Map(); 2804 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2805 if (id != null) { 2805 if (id != null) {
2806 _json["id"] = id; 2806 _json["id"] = id;
2807 } 2807 }
2808 return _json; 2808 return _json;
2809 } 2809 }
2810 } 2810 }
2811 2811
2812 class Page { 2812 class Page {
2813 /** The author of this Page. */ 2813 /** The author of this Page. */
2814 PageAuthor author; 2814 PageAuthor author;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2872 title = _json["title"]; 2872 title = _json["title"];
2873 } 2873 }
2874 if (_json.containsKey("updated")) { 2874 if (_json.containsKey("updated")) {
2875 updated = core.DateTime.parse(_json["updated"]); 2875 updated = core.DateTime.parse(_json["updated"]);
2876 } 2876 }
2877 if (_json.containsKey("url")) { 2877 if (_json.containsKey("url")) {
2878 url = _json["url"]; 2878 url = _json["url"];
2879 } 2879 }
2880 } 2880 }
2881 2881
2882 core.Map toJson() { 2882 core.Map<core.String, core.Object> toJson() {
2883 var _json = new core.Map(); 2883 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2884 if (author != null) { 2884 if (author != null) {
2885 _json["author"] = (author).toJson(); 2885 _json["author"] = (author).toJson();
2886 } 2886 }
2887 if (blog != null) { 2887 if (blog != null) {
2888 _json["blog"] = (blog).toJson(); 2888 _json["blog"] = (blog).toJson();
2889 } 2889 }
2890 if (content != null) { 2890 if (content != null) {
2891 _json["content"] = content; 2891 _json["content"] = content;
2892 } 2892 }
2893 if (etag != null) { 2893 if (etag != null) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2941 items = _json["items"].map((value) => new Page.fromJson(value)).toList(); 2941 items = _json["items"].map((value) => new Page.fromJson(value)).toList();
2942 } 2942 }
2943 if (_json.containsKey("kind")) { 2943 if (_json.containsKey("kind")) {
2944 kind = _json["kind"]; 2944 kind = _json["kind"];
2945 } 2945 }
2946 if (_json.containsKey("nextPageToken")) { 2946 if (_json.containsKey("nextPageToken")) {
2947 nextPageToken = _json["nextPageToken"]; 2947 nextPageToken = _json["nextPageToken"];
2948 } 2948 }
2949 } 2949 }
2950 2950
2951 core.Map toJson() { 2951 core.Map<core.String, core.Object> toJson() {
2952 var _json = new core.Map(); 2952 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2953 if (etag != null) { 2953 if (etag != null) {
2954 _json["etag"] = etag; 2954 _json["etag"] = etag;
2955 } 2955 }
2956 if (items != null) { 2956 if (items != null) {
2957 _json["items"] = items.map((value) => (value).toJson()).toList(); 2957 _json["items"] = items.map((value) => (value).toJson()).toList();
2958 } 2958 }
2959 if (kind != null) { 2959 if (kind != null) {
2960 _json["kind"] = kind; 2960 _json["kind"] = kind;
2961 } 2961 }
2962 if (nextPageToken != null) { 2962 if (nextPageToken != null) {
(...skipping 13 matching lines...) Expand all
2976 2976
2977 PageviewsCounts.fromJson(core.Map _json) { 2977 PageviewsCounts.fromJson(core.Map _json) {
2978 if (_json.containsKey("count")) { 2978 if (_json.containsKey("count")) {
2979 count = _json["count"]; 2979 count = _json["count"];
2980 } 2980 }
2981 if (_json.containsKey("timeRange")) { 2981 if (_json.containsKey("timeRange")) {
2982 timeRange = _json["timeRange"]; 2982 timeRange = _json["timeRange"];
2983 } 2983 }
2984 } 2984 }
2985 2985
2986 core.Map toJson() { 2986 core.Map<core.String, core.Object> toJson() {
2987 var _json = new core.Map(); 2987 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2988 if (count != null) { 2988 if (count != null) {
2989 _json["count"] = count; 2989 _json["count"] = count;
2990 } 2990 }
2991 if (timeRange != null) { 2991 if (timeRange != null) {
2992 _json["timeRange"] = timeRange; 2992 _json["timeRange"] = timeRange;
2993 } 2993 }
2994 return _json; 2994 return _json;
2995 } 2995 }
2996 } 2996 }
2997 2997
(...skipping 12 matching lines...) Expand all
3010 blogId = _json["blogId"]; 3010 blogId = _json["blogId"];
3011 } 3011 }
3012 if (_json.containsKey("counts")) { 3012 if (_json.containsKey("counts")) {
3013 counts = _json["counts"].map((value) => new PageviewsCounts.fromJson(value )).toList(); 3013 counts = _json["counts"].map((value) => new PageviewsCounts.fromJson(value )).toList();
3014 } 3014 }
3015 if (_json.containsKey("kind")) { 3015 if (_json.containsKey("kind")) {
3016 kind = _json["kind"]; 3016 kind = _json["kind"];
3017 } 3017 }
3018 } 3018 }
3019 3019
3020 core.Map toJson() { 3020 core.Map<core.String, core.Object> toJson() {
3021 var _json = new core.Map(); 3021 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3022 if (blogId != null) { 3022 if (blogId != null) {
3023 _json["blogId"] = blogId; 3023 _json["blogId"] = blogId;
3024 } 3024 }
3025 if (counts != null) { 3025 if (counts != null) {
3026 _json["counts"] = counts.map((value) => (value).toJson()).toList(); 3026 _json["counts"] = counts.map((value) => (value).toJson()).toList();
3027 } 3027 }
3028 if (kind != null) { 3028 if (kind != null) {
3029 _json["kind"] = kind; 3029 _json["kind"] = kind;
3030 } 3030 }
3031 return _json; 3031 return _json;
3032 } 3032 }
3033 } 3033 }
3034 3034
3035 /** The Post author's avatar. */ 3035 /** The Post author's avatar. */
3036 class PostAuthorImage { 3036 class PostAuthorImage {
3037 /** The Post author's avatar URL. */ 3037 /** The Post author's avatar URL. */
3038 core.String url; 3038 core.String url;
3039 3039
3040 PostAuthorImage(); 3040 PostAuthorImage();
3041 3041
3042 PostAuthorImage.fromJson(core.Map _json) { 3042 PostAuthorImage.fromJson(core.Map _json) {
3043 if (_json.containsKey("url")) { 3043 if (_json.containsKey("url")) {
3044 url = _json["url"]; 3044 url = _json["url"];
3045 } 3045 }
3046 } 3046 }
3047 3047
3048 core.Map toJson() { 3048 core.Map<core.String, core.Object> toJson() {
3049 var _json = new core.Map(); 3049 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3050 if (url != null) { 3050 if (url != null) {
3051 _json["url"] = url; 3051 _json["url"] = url;
3052 } 3052 }
3053 return _json; 3053 return _json;
3054 } 3054 }
3055 } 3055 }
3056 3056
3057 /** The author of this Post. */ 3057 /** The author of this Post. */
3058 class PostAuthor { 3058 class PostAuthor {
3059 /** The display name. */ 3059 /** The display name. */
(...skipping 15 matching lines...) Expand all
3075 id = _json["id"]; 3075 id = _json["id"];
3076 } 3076 }
3077 if (_json.containsKey("image")) { 3077 if (_json.containsKey("image")) {
3078 image = new PostAuthorImage.fromJson(_json["image"]); 3078 image = new PostAuthorImage.fromJson(_json["image"]);
3079 } 3079 }
3080 if (_json.containsKey("url")) { 3080 if (_json.containsKey("url")) {
3081 url = _json["url"]; 3081 url = _json["url"];
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 (displayName != null) { 3087 if (displayName != null) {
3088 _json["displayName"] = displayName; 3088 _json["displayName"] = displayName;
3089 } 3089 }
3090 if (id != null) { 3090 if (id != null) {
3091 _json["id"] = id; 3091 _json["id"] = id;
3092 } 3092 }
3093 if (image != null) { 3093 if (image != null) {
3094 _json["image"] = (image).toJson(); 3094 _json["image"] = (image).toJson();
3095 } 3095 }
3096 if (url != null) { 3096 if (url != null) {
3097 _json["url"] = url; 3097 _json["url"] = url;
3098 } 3098 }
3099 return _json; 3099 return _json;
3100 } 3100 }
3101 } 3101 }
3102 3102
3103 /** Data about the blog containing this Post. */ 3103 /** Data about the blog containing this Post. */
3104 class PostBlog { 3104 class PostBlog {
3105 /** The identifier of the Blog that contains this Post. */ 3105 /** The identifier of the Blog that contains this Post. */
3106 core.String id; 3106 core.String id;
3107 3107
3108 PostBlog(); 3108 PostBlog();
3109 3109
3110 PostBlog.fromJson(core.Map _json) { 3110 PostBlog.fromJson(core.Map _json) {
3111 if (_json.containsKey("id")) { 3111 if (_json.containsKey("id")) {
3112 id = _json["id"]; 3112 id = _json["id"];
3113 } 3113 }
3114 } 3114 }
3115 3115
3116 core.Map toJson() { 3116 core.Map<core.String, core.Object> toJson() {
3117 var _json = new core.Map(); 3117 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3118 if (id != null) { 3118 if (id != null) {
3119 _json["id"] = id; 3119 _json["id"] = id;
3120 } 3120 }
3121 return _json; 3121 return _json;
3122 } 3122 }
3123 } 3123 }
3124 3124
3125 class PostImages { 3125 class PostImages {
3126 core.String url; 3126 core.String url;
3127 3127
3128 PostImages(); 3128 PostImages();
3129 3129
3130 PostImages.fromJson(core.Map _json) { 3130 PostImages.fromJson(core.Map _json) {
3131 if (_json.containsKey("url")) { 3131 if (_json.containsKey("url")) {
3132 url = _json["url"]; 3132 url = _json["url"];
3133 } 3133 }
3134 } 3134 }
3135 3135
3136 core.Map toJson() { 3136 core.Map<core.String, core.Object> toJson() {
3137 var _json = new core.Map(); 3137 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3138 if (url != null) { 3138 if (url != null) {
3139 _json["url"] = url; 3139 _json["url"] = url;
3140 } 3140 }
3141 return _json; 3141 return _json;
3142 } 3142 }
3143 } 3143 }
3144 3144
3145 /** The location for geotagged posts. */ 3145 /** The location for geotagged posts. */
3146 class PostLocation { 3146 class PostLocation {
3147 /** Location's latitude. */ 3147 /** Location's latitude. */
(...skipping 15 matching lines...) Expand all
3163 lng = _json["lng"]; 3163 lng = _json["lng"];
3164 } 3164 }
3165 if (_json.containsKey("name")) { 3165 if (_json.containsKey("name")) {
3166 name = _json["name"]; 3166 name = _json["name"];
3167 } 3167 }
3168 if (_json.containsKey("span")) { 3168 if (_json.containsKey("span")) {
3169 span = _json["span"]; 3169 span = _json["span"];
3170 } 3170 }
3171 } 3171 }
3172 3172
3173 core.Map toJson() { 3173 core.Map<core.String, core.Object> toJson() {
3174 var _json = new core.Map(); 3174 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3175 if (lat != null) { 3175 if (lat != null) {
3176 _json["lat"] = lat; 3176 _json["lat"] = lat;
3177 } 3177 }
3178 if (lng != null) { 3178 if (lng != null) {
3179 _json["lng"] = lng; 3179 _json["lng"] = lng;
3180 } 3180 }
3181 if (name != null) { 3181 if (name != null) {
3182 _json["name"] = name; 3182 _json["name"] = name;
3183 } 3183 }
3184 if (span != null) { 3184 if (span != null) {
(...skipping 19 matching lines...) Expand all
3204 items = _json["items"].map((value) => new Comment.fromJson(value)).toList( ); 3204 items = _json["items"].map((value) => new Comment.fromJson(value)).toList( );
3205 } 3205 }
3206 if (_json.containsKey("selfLink")) { 3206 if (_json.containsKey("selfLink")) {
3207 selfLink = _json["selfLink"]; 3207 selfLink = _json["selfLink"];
3208 } 3208 }
3209 if (_json.containsKey("totalItems")) { 3209 if (_json.containsKey("totalItems")) {
3210 totalItems = _json["totalItems"]; 3210 totalItems = _json["totalItems"];
3211 } 3211 }
3212 } 3212 }
3213 3213
3214 core.Map toJson() { 3214 core.Map<core.String, core.Object> toJson() {
3215 var _json = new core.Map(); 3215 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3216 if (items != null) { 3216 if (items != null) {
3217 _json["items"] = items.map((value) => (value).toJson()).toList(); 3217 _json["items"] = items.map((value) => (value).toJson()).toList();
3218 } 3218 }
3219 if (selfLink != null) { 3219 if (selfLink != null) {
3220 _json["selfLink"] = selfLink; 3220 _json["selfLink"] = selfLink;
3221 } 3221 }
3222 if (totalItems != null) { 3222 if (totalItems != null) {
3223 _json["totalItems"] = totalItems; 3223 _json["totalItems"] = totalItems;
3224 } 3224 }
3225 return _json; 3225 return _json;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
3321 titleLink = _json["titleLink"]; 3321 titleLink = _json["titleLink"];
3322 } 3322 }
3323 if (_json.containsKey("updated")) { 3323 if (_json.containsKey("updated")) {
3324 updated = core.DateTime.parse(_json["updated"]); 3324 updated = core.DateTime.parse(_json["updated"]);
3325 } 3325 }
3326 if (_json.containsKey("url")) { 3326 if (_json.containsKey("url")) {
3327 url = _json["url"]; 3327 url = _json["url"];
3328 } 3328 }
3329 } 3329 }
3330 3330
3331 core.Map toJson() { 3331 core.Map<core.String, core.Object> toJson() {
3332 var _json = new core.Map(); 3332 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3333 if (author != null) { 3333 if (author != null) {
3334 _json["author"] = (author).toJson(); 3334 _json["author"] = (author).toJson();
3335 } 3335 }
3336 if (blog != null) { 3336 if (blog != null) {
3337 _json["blog"] = (blog).toJson(); 3337 _json["blog"] = (blog).toJson();
3338 } 3338 }
3339 if (content != null) { 3339 if (content != null) {
3340 _json["content"] = content; 3340 _json["content"] = content;
3341 } 3341 }
3342 if (customMetaData != null) { 3342 if (customMetaData != null) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
3411 items = _json["items"].map((value) => new Post.fromJson(value)).toList(); 3411 items = _json["items"].map((value) => new Post.fromJson(value)).toList();
3412 } 3412 }
3413 if (_json.containsKey("kind")) { 3413 if (_json.containsKey("kind")) {
3414 kind = _json["kind"]; 3414 kind = _json["kind"];
3415 } 3415 }
3416 if (_json.containsKey("nextPageToken")) { 3416 if (_json.containsKey("nextPageToken")) {
3417 nextPageToken = _json["nextPageToken"]; 3417 nextPageToken = _json["nextPageToken"];
3418 } 3418 }
3419 } 3419 }
3420 3420
3421 core.Map toJson() { 3421 core.Map<core.String, core.Object> toJson() {
3422 var _json = new core.Map(); 3422 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3423 if (etag != null) { 3423 if (etag != null) {
3424 _json["etag"] = etag; 3424 _json["etag"] = etag;
3425 } 3425 }
3426 if (items != null) { 3426 if (items != null) {
3427 _json["items"] = items.map((value) => (value).toJson()).toList(); 3427 _json["items"] = items.map((value) => (value).toJson()).toList();
3428 } 3428 }
3429 if (kind != null) { 3429 if (kind != null) {
3430 _json["kind"] = kind; 3430 _json["kind"] = kind;
3431 } 3431 }
3432 if (nextPageToken != null) { 3432 if (nextPageToken != null) {
(...skipping 28 matching lines...) Expand all
3461 kind = _json["kind"]; 3461 kind = _json["kind"];
3462 } 3462 }
3463 if (_json.containsKey("postId")) { 3463 if (_json.containsKey("postId")) {
3464 postId = _json["postId"]; 3464 postId = _json["postId"];
3465 } 3465 }
3466 if (_json.containsKey("userId")) { 3466 if (_json.containsKey("userId")) {
3467 userId = _json["userId"]; 3467 userId = _json["userId"];
3468 } 3468 }
3469 } 3469 }
3470 3470
3471 core.Map toJson() { 3471 core.Map<core.String, core.Object> toJson() {
3472 var _json = new core.Map(); 3472 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3473 if (blogId != null) { 3473 if (blogId != null) {
3474 _json["blogId"] = blogId; 3474 _json["blogId"] = blogId;
3475 } 3475 }
3476 if (hasEditAccess != null) { 3476 if (hasEditAccess != null) {
3477 _json["hasEditAccess"] = hasEditAccess; 3477 _json["hasEditAccess"] = hasEditAccess;
3478 } 3478 }
3479 if (kind != null) { 3479 if (kind != null) {
3480 _json["kind"] = kind; 3480 _json["kind"] = kind;
3481 } 3481 }
3482 if (postId != null) { 3482 if (postId != null) {
(...skipping 21 matching lines...) Expand all
3504 kind = _json["kind"]; 3504 kind = _json["kind"];
3505 } 3505 }
3506 if (_json.containsKey("post")) { 3506 if (_json.containsKey("post")) {
3507 post = new Post.fromJson(_json["post"]); 3507 post = new Post.fromJson(_json["post"]);
3508 } 3508 }
3509 if (_json.containsKey("post_user_info")) { 3509 if (_json.containsKey("post_user_info")) {
3510 postUserInfo = new PostPerUserInfo.fromJson(_json["post_user_info"]); 3510 postUserInfo = new PostPerUserInfo.fromJson(_json["post_user_info"]);
3511 } 3511 }
3512 } 3512 }
3513 3513
3514 core.Map toJson() { 3514 core.Map<core.String, core.Object> toJson() {
3515 var _json = new core.Map(); 3515 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3516 if (kind != null) { 3516 if (kind != null) {
3517 _json["kind"] = kind; 3517 _json["kind"] = kind;
3518 } 3518 }
3519 if (post != null) { 3519 if (post != null) {
3520 _json["post"] = (post).toJson(); 3520 _json["post"] = (post).toJson();
3521 } 3521 }
3522 if (postUserInfo != null) { 3522 if (postUserInfo != null) {
3523 _json["post_user_info"] = (postUserInfo).toJson(); 3523 _json["post_user_info"] = (postUserInfo).toJson();
3524 } 3524 }
3525 return _json; 3525 return _json;
(...skipping 15 matching lines...) Expand all
3541 items = _json["items"].map((value) => new PostUserInfo.fromJson(value)).to List(); 3541 items = _json["items"].map((value) => new PostUserInfo.fromJson(value)).to List();
3542 } 3542 }
3543 if (_json.containsKey("kind")) { 3543 if (_json.containsKey("kind")) {
3544 kind = _json["kind"]; 3544 kind = _json["kind"];
3545 } 3545 }
3546 if (_json.containsKey("nextPageToken")) { 3546 if (_json.containsKey("nextPageToken")) {
3547 nextPageToken = _json["nextPageToken"]; 3547 nextPageToken = _json["nextPageToken"];
3548 } 3548 }
3549 } 3549 }
3550 3550
3551 core.Map toJson() { 3551 core.Map<core.String, core.Object> toJson() {
3552 var _json = new core.Map(); 3552 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3553 if (items != null) { 3553 if (items != null) {
3554 _json["items"] = items.map((value) => (value).toJson()).toList(); 3554 _json["items"] = items.map((value) => (value).toJson()).toList();
3555 } 3555 }
3556 if (kind != null) { 3556 if (kind != null) {
3557 _json["kind"] = kind; 3557 _json["kind"] = kind;
3558 } 3558 }
3559 if (nextPageToken != null) { 3559 if (nextPageToken != null) {
3560 _json["nextPageToken"] = nextPageToken; 3560 _json["nextPageToken"] = nextPageToken;
3561 } 3561 }
3562 return _json; 3562 return _json;
3563 } 3563 }
3564 } 3564 }
3565 3565
3566 /** The container of blogs for this user. */ 3566 /** The container of blogs for this user. */
3567 class UserBlogs { 3567 class UserBlogs {
3568 /** The URL of the Blogs for this user. */ 3568 /** The URL of the Blogs for this user. */
3569 core.String selfLink; 3569 core.String selfLink;
3570 3570
3571 UserBlogs(); 3571 UserBlogs();
3572 3572
3573 UserBlogs.fromJson(core.Map _json) { 3573 UserBlogs.fromJson(core.Map _json) {
3574 if (_json.containsKey("selfLink")) { 3574 if (_json.containsKey("selfLink")) {
3575 selfLink = _json["selfLink"]; 3575 selfLink = _json["selfLink"];
3576 } 3576 }
3577 } 3577 }
3578 3578
3579 core.Map toJson() { 3579 core.Map<core.String, core.Object> toJson() {
3580 var _json = new core.Map(); 3580 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3581 if (selfLink != null) { 3581 if (selfLink != null) {
3582 _json["selfLink"] = selfLink; 3582 _json["selfLink"] = selfLink;
3583 } 3583 }
3584 return _json; 3584 return _json;
3585 } 3585 }
3586 } 3586 }
3587 3587
3588 /** This user's locale */ 3588 /** This user's locale */
3589 class UserLocale { 3589 class UserLocale {
3590 /** The user's country setting. */ 3590 /** The user's country setting. */
(...skipping 10 matching lines...) Expand all
3601 country = _json["country"]; 3601 country = _json["country"];
3602 } 3602 }
3603 if (_json.containsKey("language")) { 3603 if (_json.containsKey("language")) {
3604 language = _json["language"]; 3604 language = _json["language"];
3605 } 3605 }
3606 if (_json.containsKey("variant")) { 3606 if (_json.containsKey("variant")) {
3607 variant = _json["variant"]; 3607 variant = _json["variant"];
3608 } 3608 }
3609 } 3609 }
3610 3610
3611 core.Map toJson() { 3611 core.Map<core.String, core.Object> toJson() {
3612 var _json = new core.Map(); 3612 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3613 if (country != null) { 3613 if (country != null) {
3614 _json["country"] = country; 3614 _json["country"] = country;
3615 } 3615 }
3616 if (language != null) { 3616 if (language != null) {
3617 _json["language"] = language; 3617 _json["language"] = language;
3618 } 3618 }
3619 if (variant != null) { 3619 if (variant != null) {
3620 _json["variant"] = variant; 3620 _json["variant"] = variant;
3621 } 3621 }
3622 return _json; 3622 return _json;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3670 locale = new UserLocale.fromJson(_json["locale"]); 3670 locale = new UserLocale.fromJson(_json["locale"]);
3671 } 3671 }
3672 if (_json.containsKey("selfLink")) { 3672 if (_json.containsKey("selfLink")) {
3673 selfLink = _json["selfLink"]; 3673 selfLink = _json["selfLink"];
3674 } 3674 }
3675 if (_json.containsKey("url")) { 3675 if (_json.containsKey("url")) {
3676 url = _json["url"]; 3676 url = _json["url"];
3677 } 3677 }
3678 } 3678 }
3679 3679
3680 core.Map toJson() { 3680 core.Map<core.String, core.Object> toJson() {
3681 var _json = new core.Map(); 3681 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3682 if (about != null) { 3682 if (about != null) {
3683 _json["about"] = about; 3683 _json["about"] = about;
3684 } 3684 }
3685 if (blogs != null) { 3685 if (blogs != null) {
3686 _json["blogs"] = (blogs).toJson(); 3686 _json["blogs"] = (blogs).toJson();
3687 } 3687 }
3688 if (created != null) { 3688 if (created != null) {
3689 _json["created"] = (created).toIso8601String(); 3689 _json["created"] = (created).toIso8601String();
3690 } 3690 }
3691 if (displayName != null) { 3691 if (displayName != null) {
(...skipping 10 matching lines...) Expand all
3702 } 3702 }
3703 if (selfLink != null) { 3703 if (selfLink != null) {
3704 _json["selfLink"] = selfLink; 3704 _json["selfLink"] = selfLink;
3705 } 3705 }
3706 if (url != null) { 3706 if (url != null) {
3707 _json["url"] = url; 3707 _json["url"] = url;
3708 } 3708 }
3709 return _json; 3709 return _json;
3710 } 3710 }
3711 } 3711 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/bigquerydatatransfer/v1.dart ('k') | generated/googleapis/lib/books/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698