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

Unified Diff: generated/googleapis/lib/books/v1.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/cloudbuild/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/books/v1.dart
diff --git a/generated/googleapis/lib/books/v1.dart b/generated/googleapis/lib/books/v1.dart
index 919f7d4077e690194ffba42307b7e4d4969c1621..69d4fa809e4a78bbbd7ae240ce1a7f7040abf2d3 100644
--- a/generated/googleapis/lib/books/v1.dart
+++ b/generated/googleapis/lib/books/v1.dart
@@ -1288,6 +1288,8 @@ class MylibraryAnnotationsResourceApi {
*
* Request parameters:
*
+ * [annotationId] - The ID for the annotation to insert.
+ *
* [country] - ISO-3166-1 code to override the IP-based location.
*
* [showOnlySummaryInResponse] - Requests that only the summary of the
@@ -1303,7 +1305,7 @@ class MylibraryAnnotationsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Annotation> insert(Annotation request, {core.String country, core.bool showOnlySummaryInResponse, core.String source}) {
+ async.Future<Annotation> insert(Annotation request, {core.String annotationId, core.String country, core.bool showOnlySummaryInResponse, core.String source}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1314,6 +1316,9 @@ class MylibraryAnnotationsResourceApi {
if (request != null) {
_body = convert.JSON.encode((request).toJson());
}
+ if (annotationId != null) {
+ _queryParams["annotationId"] = [annotationId];
+ }
if (country != null) {
_queryParams["country"] = [country];
}
@@ -6270,9 +6275,30 @@ class UsersettingsNotificationMoreFromSeries {
}
}
+class UsersettingsNotificationRewardExpirations {
+ core.String optedState;
+
+ UsersettingsNotificationRewardExpirations();
+
+ UsersettingsNotificationRewardExpirations.fromJson(core.Map _json) {
+ if (_json.containsKey("opted_state")) {
+ optedState = _json["opted_state"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (optedState != null) {
+ _json["opted_state"] = optedState;
+ }
+ return _json;
+ }
+}
+
class UsersettingsNotification {
UsersettingsNotificationMoreFromAuthors moreFromAuthors;
UsersettingsNotificationMoreFromSeries moreFromSeries;
+ UsersettingsNotificationRewardExpirations rewardExpirations;
UsersettingsNotification();
@@ -6283,6 +6309,9 @@ class UsersettingsNotification {
if (_json.containsKey("moreFromSeries")) {
moreFromSeries = new UsersettingsNotificationMoreFromSeries.fromJson(_json["moreFromSeries"]);
}
+ if (_json.containsKey("rewardExpirations")) {
+ rewardExpirations = new UsersettingsNotificationRewardExpirations.fromJson(_json["rewardExpirations"]);
+ }
}
core.Map toJson() {
@@ -6293,6 +6322,9 @@ class UsersettingsNotification {
if (moreFromSeries != null) {
_json["moreFromSeries"] = (moreFromSeries).toJson();
}
+ if (rewardExpirations != null) {
+ _json["rewardExpirations"] = (rewardExpirations).toJson();
+ }
return _json;
}
}
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/cloudbuild/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698