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

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

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 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/playmoviespartner/v1.dart ('k') | generated/googleapis/lib/plusdomains/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/plus/v1.dart
diff --git a/generated/googleapis/lib/plus/v1.dart b/generated/googleapis/lib/plus/v1.dart
index f4095c2dd16df4dc88262d69c53c6d70257cd941..6b0b9e418cfc5f6b5b587a3c8b70fa6fc5dfb423 100644
--- a/generated/googleapis/lib/plus/v1.dart
+++ b/generated/googleapis/lib/plus/v1.dart
@@ -471,45 +471,6 @@ class MomentsResourceApi {
return _response.then((data) => new MomentsFeed.fromJson(data));
}
- /**
- * Delete a moment.
- *
- * Request parameters:
- *
- * [id] - The ID of the moment to delete.
- *
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an
- * error.
- *
- * If the used [http.Client] completes with an error when making a REST call,
- * this method will complete with the same error.
- */
- async.Future remove(core.String id) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (id == null) {
- throw new core.ArgumentError("Parameter id is required.");
- }
-
- _downloadOptions = null;
-
- _url = 'moments/' + commons.Escaper.ecapeVariable('$id');
-
- var _response = _requester.request(_url,
- "DELETE",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => null);
- }
-
}
@@ -861,6 +822,28 @@ class ActivityActorName {
}
}
+/** Verification status of actor. */
+class ActivityActorVerification {
+ /** Verification for one-time or manual processes. */
+ core.String adHocVerified;
+
+ ActivityActorVerification();
+
+ ActivityActorVerification.fromJson(core.Map _json) {
+ if (_json.containsKey("adHocVerified")) {
+ adHocVerified = _json["adHocVerified"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (adHocVerified != null) {
+ _json["adHocVerified"] = adHocVerified;
+ }
+ return _json;
+ }
+}
+
/** The person who performed this activity. */
class ActivityActor {
/** The name of the actor, suitable for display. */
@@ -873,6 +856,8 @@ class ActivityActor {
ActivityActorName name;
/** The link to the actor's Google profile. */
core.String url;
+ /** Verification status of actor. */
+ ActivityActorVerification verification;
ActivityActor();
@@ -892,6 +877,9 @@ class ActivityActor {
if (_json.containsKey("url")) {
url = _json["url"];
}
+ if (_json.containsKey("verification")) {
+ verification = new ActivityActorVerification.fromJson(_json["verification"]);
+ }
}
core.Map toJson() {
@@ -911,6 +899,9 @@ class ActivityActor {
if (url != null) {
_json["url"] = url;
}
+ if (verification != null) {
+ _json["verification"] = (verification).toJson();
+ }
return _json;
}
}
@@ -937,6 +928,28 @@ class ActivityObjectActorImage {
}
}
+/** Verification status of actor. */
+class ActivityObjectActorVerification {
+ /** Verification for one-time or manual processes. */
+ core.String adHocVerified;
+
+ ActivityObjectActorVerification();
+
+ ActivityObjectActorVerification.fromJson(core.Map _json) {
+ if (_json.containsKey("adHocVerified")) {
+ adHocVerified = _json["adHocVerified"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (adHocVerified != null) {
+ _json["adHocVerified"] = adHocVerified;
+ }
+ return _json;
+ }
+}
+
/**
* If this activity's object is itself another activity, such as when a person
* reshares an activity, this property specifies the original activity's actor.
@@ -950,6 +963,8 @@ class ActivityObjectActor {
ActivityObjectActorImage image;
/** A link to the original actor's Google profile. */
core.String url;
+ /** Verification status of actor. */
+ ActivityObjectActorVerification verification;
ActivityObjectActor();
@@ -966,6 +981,9 @@ class ActivityObjectActor {
if (_json.containsKey("url")) {
url = _json["url"];
}
+ if (_json.containsKey("verification")) {
+ verification = new ActivityObjectActorVerification.fromJson(_json["verification"]);
+ }
}
core.Map toJson() {
@@ -982,6 +1000,9 @@ class ActivityObjectActor {
if (url != null) {
_json["url"] = url;
}
+ if (verification != null) {
+ _json["verification"] = (verification).toJson();
+ }
return _json;
}
}
@@ -1833,6 +1854,28 @@ class CommentActorImage {
}
}
+/** Verification status of actor. */
+class CommentActorVerification {
+ /** Verification for one-time or manual processes. */
+ core.String adHocVerified;
+
+ CommentActorVerification();
+
+ CommentActorVerification.fromJson(core.Map _json) {
+ if (_json.containsKey("adHocVerified")) {
+ adHocVerified = _json["adHocVerified"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (adHocVerified != null) {
+ _json["adHocVerified"] = adHocVerified;
+ }
+ return _json;
+ }
+}
+
/** The person who posted this comment. */
class CommentActor {
/** The name of this actor, suitable for display. */
@@ -1843,6 +1886,8 @@ class CommentActor {
CommentActorImage image;
/** A link to the Person resource for this actor. */
core.String url;
+ /** Verification status of actor. */
+ CommentActorVerification verification;
CommentActor();
@@ -1859,6 +1904,9 @@ class CommentActor {
if (_json.containsKey("url")) {
url = _json["url"];
}
+ if (_json.containsKey("verification")) {
+ verification = new CommentActorVerification.fromJson(_json["verification"]);
+ }
}
core.Map toJson() {
@@ -1875,6 +1923,9 @@ class CommentActor {
if (url != null) {
_json["url"] = url;
}
+ if (verification != null) {
+ _json["verification"] = (verification).toJson();
+ }
return _json;
}
}
« no previous file with comments | « generated/googleapis/lib/playmoviespartner/v1.dart ('k') | generated/googleapis/lib/plusdomains/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698