| OLD | NEW |
| 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.books.v1; | 3 library googleapis.books.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 5571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5582 class Notification { | 5582 class Notification { |
| 5583 core.String body; | 5583 core.String body; |
| 5584 /** The list of crm experiment ids. */ | 5584 /** The list of crm experiment ids. */ |
| 5585 core.List<core.String> crmExperimentIds; | 5585 core.List<core.String> crmExperimentIds; |
| 5586 core.String docId; | 5586 core.String docId; |
| 5587 core.String docType; | 5587 core.String docType; |
| 5588 core.bool dontShowNotification; | 5588 core.bool dontShowNotification; |
| 5589 core.String iconUrl; | 5589 core.String iconUrl; |
| 5590 /** Resource type. */ | 5590 /** Resource type. */ |
| 5591 core.String kind; | 5591 core.String kind; |
| 5592 core.String notificationGroup; |
| 5592 core.String notificationType; | 5593 core.String notificationType; |
| 5593 core.String pcampaignId; | 5594 core.String pcampaignId; |
| 5594 core.String reason; | 5595 core.String reason; |
| 5595 core.bool showNotificationSettingsAction; | 5596 core.bool showNotificationSettingsAction; |
| 5596 core.String targetUrl; | 5597 core.String targetUrl; |
| 5597 core.String title; | 5598 core.String title; |
| 5598 | 5599 |
| 5599 Notification(); | 5600 Notification(); |
| 5600 | 5601 |
| 5601 Notification.fromJson(core.Map _json) { | 5602 Notification.fromJson(core.Map _json) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5613 } | 5614 } |
| 5614 if (_json.containsKey("dont_show_notification")) { | 5615 if (_json.containsKey("dont_show_notification")) { |
| 5615 dontShowNotification = _json["dont_show_notification"]; | 5616 dontShowNotification = _json["dont_show_notification"]; |
| 5616 } | 5617 } |
| 5617 if (_json.containsKey("iconUrl")) { | 5618 if (_json.containsKey("iconUrl")) { |
| 5618 iconUrl = _json["iconUrl"]; | 5619 iconUrl = _json["iconUrl"]; |
| 5619 } | 5620 } |
| 5620 if (_json.containsKey("kind")) { | 5621 if (_json.containsKey("kind")) { |
| 5621 kind = _json["kind"]; | 5622 kind = _json["kind"]; |
| 5622 } | 5623 } |
| 5624 if (_json.containsKey("notificationGroup")) { |
| 5625 notificationGroup = _json["notificationGroup"]; |
| 5626 } |
| 5623 if (_json.containsKey("notification_type")) { | 5627 if (_json.containsKey("notification_type")) { |
| 5624 notificationType = _json["notification_type"]; | 5628 notificationType = _json["notification_type"]; |
| 5625 } | 5629 } |
| 5626 if (_json.containsKey("pcampaign_id")) { | 5630 if (_json.containsKey("pcampaign_id")) { |
| 5627 pcampaignId = _json["pcampaign_id"]; | 5631 pcampaignId = _json["pcampaign_id"]; |
| 5628 } | 5632 } |
| 5629 if (_json.containsKey("reason")) { | 5633 if (_json.containsKey("reason")) { |
| 5630 reason = _json["reason"]; | 5634 reason = _json["reason"]; |
| 5631 } | 5635 } |
| 5632 if (_json.containsKey("show_notification_settings_action")) { | 5636 if (_json.containsKey("show_notification_settings_action")) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 5656 } | 5660 } |
| 5657 if (dontShowNotification != null) { | 5661 if (dontShowNotification != null) { |
| 5658 _json["dont_show_notification"] = dontShowNotification; | 5662 _json["dont_show_notification"] = dontShowNotification; |
| 5659 } | 5663 } |
| 5660 if (iconUrl != null) { | 5664 if (iconUrl != null) { |
| 5661 _json["iconUrl"] = iconUrl; | 5665 _json["iconUrl"] = iconUrl; |
| 5662 } | 5666 } |
| 5663 if (kind != null) { | 5667 if (kind != null) { |
| 5664 _json["kind"] = kind; | 5668 _json["kind"] = kind; |
| 5665 } | 5669 } |
| 5670 if (notificationGroup != null) { |
| 5671 _json["notificationGroup"] = notificationGroup; |
| 5672 } |
| 5666 if (notificationType != null) { | 5673 if (notificationType != null) { |
| 5667 _json["notification_type"] = notificationType; | 5674 _json["notification_type"] = notificationType; |
| 5668 } | 5675 } |
| 5669 if (pcampaignId != null) { | 5676 if (pcampaignId != null) { |
| 5670 _json["pcampaign_id"] = pcampaignId; | 5677 _json["pcampaign_id"] = pcampaignId; |
| 5671 } | 5678 } |
| 5672 if (reason != null) { | 5679 if (reason != null) { |
| 5673 _json["reason"] = reason; | 5680 _json["reason"] = reason; |
| 5674 } | 5681 } |
| 5675 if (showNotificationSettingsAction != null) { | 5682 if (showNotificationSettingsAction != null) { |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6128 if (title != null) { | 6135 if (title != null) { |
| 6129 _json["title"] = title; | 6136 _json["title"] = title; |
| 6130 } | 6137 } |
| 6131 return _json; | 6138 return _json; |
| 6132 } | 6139 } |
| 6133 } | 6140 } |
| 6134 | 6141 |
| 6135 class Series { | 6142 class Series { |
| 6136 /** Resource type. */ | 6143 /** Resource type. */ |
| 6137 core.String kind; | 6144 core.String kind; |
| 6138 /** | |
| 6139 * Series info list. The client always expects this element in the JSON | |
| 6140 * output, hence declared here as OutputAlways. | |
| 6141 */ | |
| 6142 core.List<SeriesSeries> series; | 6145 core.List<SeriesSeries> series; |
| 6143 | 6146 |
| 6144 Series(); | 6147 Series(); |
| 6145 | 6148 |
| 6146 Series.fromJson(core.Map _json) { | 6149 Series.fromJson(core.Map _json) { |
| 6147 if (_json.containsKey("kind")) { | 6150 if (_json.containsKey("kind")) { |
| 6148 kind = _json["kind"]; | 6151 kind = _json["kind"]; |
| 6149 } | 6152 } |
| 6150 if (_json.containsKey("series")) { | 6153 if (_json.containsKey("series")) { |
| 6151 series = _json["series"].map((value) => new SeriesSeries.fromJson(value)).
toList(); | 6154 series = _json["series"].map((value) => new SeriesSeries.fromJson(value)).
toList(); |
| (...skipping 2128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8280 } | 8283 } |
| 8281 if (shortSeriesBookTitle != null) { | 8284 if (shortSeriesBookTitle != null) { |
| 8282 _json["shortSeriesBookTitle"] = shortSeriesBookTitle; | 8285 _json["shortSeriesBookTitle"] = shortSeriesBookTitle; |
| 8283 } | 8286 } |
| 8284 if (volumeSeries != null) { | 8287 if (volumeSeries != null) { |
| 8285 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi
st(); | 8288 _json["volumeSeries"] = volumeSeries.map((value) => (value).toJson()).toLi
st(); |
| 8286 } | 8289 } |
| 8287 return _json; | 8290 return _json; |
| 8288 } | 8291 } |
| 8289 } | 8292 } |
| OLD | NEW |