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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 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/plus/v1.dart ('k') | generated/googleapis/lib/prediction/v1_6.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/plusdomains/v1.dart
diff --git a/generated/googleapis/lib/plusdomains/v1.dart b/generated/googleapis/lib/plusdomains/v1.dart
index bd225ca7d6355790d124f85e2d59d58da1bd0a61..c797d2b77884b0c0080d69cd6ddbf9d14efca4d7 100644
--- a/generated/googleapis/lib/plusdomains/v1.dart
+++ b/generated/googleapis/lib/plusdomains/v1.dart
@@ -9,49 +9,60 @@ import 'dart:convert' as convert;
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
import 'package:http/http.dart' as http;
-export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
- ApiRequestError, DetailedApiRequestError, Media, UploadOptions,
- ResumableUploadOptions, DownloadOptions, PartialDownloadOptions,
- ByteRange;
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart'
+ show
+ ApiRequestError,
+ DetailedApiRequestError,
+ Media,
+ UploadOptions,
+ ResumableUploadOptions,
+ DownloadOptions,
+ PartialDownloadOptions,
+ ByteRange;
const core.String USER_AGENT = 'dart-api-client plusDomains/v1';
-/** Builds on top of the Google+ platform for Google Apps Domains. */
+/// Builds on top of the Google+ platform for Google Apps Domains.
class PlusDomainsApi {
- /** View your circles and the people and pages in them */
- static const PlusCirclesReadScope = "https://www.googleapis.com/auth/plus.circles.read";
+ /// View your circles and the people and pages in them
+ static const PlusCirclesReadScope =
+ "https://www.googleapis.com/auth/plus.circles.read";
- /**
- * Manage your circles and add people and pages. People and pages you add to
- * your circles will be notified. Others may see this information publicly.
- * People you add to circles can use Hangouts with you.
- */
- static const PlusCirclesWriteScope = "https://www.googleapis.com/auth/plus.circles.write";
+ /// Manage your circles and add people and pages. People and pages you add to
+ /// your circles will be notified. Others may see this information publicly.
+ /// People you add to circles can use Hangouts with you.
+ static const PlusCirclesWriteScope =
+ "https://www.googleapis.com/auth/plus.circles.write";
- /** Know the list of people in your circles, your age range, and language */
+ /// Know the list of people in your circles, your age range, and language
static const PlusLoginScope = "https://www.googleapis.com/auth/plus.login";
- /** Know who you are on Google */
+ /// Know who you are on Google
static const PlusMeScope = "https://www.googleapis.com/auth/plus.me";
- /** Send your photos and videos to Google+ */
- static const PlusMediaUploadScope = "https://www.googleapis.com/auth/plus.media.upload";
+ /// Send your photos and videos to Google+
+ static const PlusMediaUploadScope =
+ "https://www.googleapis.com/auth/plus.media.upload";
- /** View your own Google+ profile and profiles visible to you */
- static const PlusProfilesReadScope = "https://www.googleapis.com/auth/plus.profiles.read";
+ /// View your own Google+ profile and profiles visible to you
+ static const PlusProfilesReadScope =
+ "https://www.googleapis.com/auth/plus.profiles.read";
- /** View your Google+ posts, comments, and stream */
- static const PlusStreamReadScope = "https://www.googleapis.com/auth/plus.stream.read";
+ /// View your Google+ posts, comments, and stream
+ static const PlusStreamReadScope =
+ "https://www.googleapis.com/auth/plus.stream.read";
- /** Manage your Google+ posts, comments, and stream */
- static const PlusStreamWriteScope = "https://www.googleapis.com/auth/plus.stream.write";
+ /// Manage your Google+ posts, comments, and stream
+ static const PlusStreamWriteScope =
+ "https://www.googleapis.com/auth/plus.stream.write";
- /** View your email address */
- static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email";
-
- /** View your basic profile info */
- static const UserinfoProfileScope = "https://www.googleapis.com/auth/userinfo.profile";
+ /// View your email address
+ static const UserinfoEmailScope =
+ "https://www.googleapis.com/auth/userinfo.email";
+ /// View your basic profile info
+ static const UserinfoProfileScope =
+ "https://www.googleapis.com/auth/userinfo.profile";
final commons.ApiRequester _requester;
@@ -62,32 +73,31 @@ class PlusDomainsApi {
MediaResourceApi get media => new MediaResourceApi(_requester);
PeopleResourceApi get people => new PeopleResourceApi(_requester);
- PlusDomainsApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "plusDomains/v1/"}) :
- _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
+ PlusDomainsApi(http.Client client,
+ {core.String rootUrl: "https://www.googleapis.com/",
+ core.String servicePath: "plusDomains/v1/"})
+ : _requester =
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
}
-
class ActivitiesResourceApi {
final commons.ApiRequester _requester;
- ActivitiesResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Get an activity.
- *
- * Request parameters:
- *
- * [activityId] - The ID of the activity to get.
- *
- * Completes with a [Activity].
- *
- * 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.
- */
+ ActivitiesResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Get an activity.
+ ///
+ /// Request parameters:
+ ///
+ /// [activityId] - The ID of the activity to get.
+ ///
+ /// Completes with a [Activity].
+ ///
+ /// 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<Activity> get(core.String activityId) {
var _url = null;
var _queryParams = new core.Map();
@@ -102,39 +112,37 @@ class ActivitiesResourceApi {
_url = 'activities/' + commons.Escaper.ecapeVariable('$activityId');
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Activity.fromJson(data));
}
- /**
- * Create a new activity for the authenticated user.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [userId] - The ID of the user to create the activity on behalf of. Its
- * value should be "me", to indicate the authenticated user.
- *
- * [preview] - If "true", extract the potential media attachments for a URL.
- * The response will include all possible attachments for a URL, including
- * video, photos, and articles based on the content of the page.
- *
- * Completes with a [Activity].
- *
- * 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<Activity> insert(Activity request, core.String userId, {core.bool preview}) {
+ /// Create a new activity for the authenticated user.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - The ID of the user to create the activity on behalf of. Its
+ /// value should be "me", to indicate the authenticated user.
+ ///
+ /// [preview] - If "true", extract the potential media attachments for a URL.
+ /// The response will include all possible attachments for a URL, including
+ /// video, photos, and articles based on the content of the page.
+ ///
+ /// Completes with a [Activity].
+ ///
+ /// 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<Activity> insert(Activity request, core.String userId,
+ {core.bool preview}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -154,48 +162,46 @@ class ActivitiesResourceApi {
_url = 'people/' + commons.Escaper.ecapeVariable('$userId') + '/activities';
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Activity.fromJson(data));
}
- /**
- * List all of the activities in the specified collection for a particular
- * user.
- *
- * Request parameters:
- *
- * [userId] - The ID of the user to get activities for. The special value "me"
- * can be used to indicate the authenticated user.
- *
- * [collection] - The collection of activities to list.
- * Possible string values are:
- * - "user" : All activities created by the specified user that the
- * authenticated user is authorized to view.
- *
- * [maxResults] - The maximum number of activities to include in the response,
- * which is used for paging. For any response, the actual number returned
- * might be less than the specified maxResults.
- * Value must be between "1" and "100".
- *
- * [pageToken] - The continuation token, which is used to page through large
- * result sets. To get the next page of results, set this parameter to the
- * value of "nextPageToken" from the previous response.
- *
- * Completes with a [ActivityFeed].
- *
- * 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<ActivityFeed> list(core.String userId, core.String collection, {core.int maxResults, core.String pageToken}) {
+ /// List all of the activities in the specified collection for a particular
+ /// user.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - The ID of the user to get activities for. The special value
+ /// "me" can be used to indicate the authenticated user.
+ ///
+ /// [collection] - The collection of activities to list.
+ /// Possible string values are:
+ /// - "user" : All activities created by the specified user that the
+ /// authenticated user is authorized to view.
+ ///
+ /// [maxResults] - The maximum number of activities to include in the
+ /// response, which is used for paging. For any response, the actual number
+ /// returned might be less than the specified maxResults.
+ /// Value must be between "1" and "100".
+ ///
+ /// [pageToken] - The continuation token, which is used to page through large
+ /// result sets. To get the next page of results, set this parameter to the
+ /// value of "nextPageToken" from the previous response.
+ ///
+ /// Completes with a [ActivityFeed].
+ ///
+ /// 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<ActivityFeed> list(core.String userId, core.String collection,
+ {core.int maxResults, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -216,53 +222,51 @@ class ActivitiesResourceApi {
_queryParams["pageToken"] = [pageToken];
}
- _url = 'people/' + commons.Escaper.ecapeVariable('$userId') + '/activities/' + commons.Escaper.ecapeVariable('$collection');
+ _url = 'people/' +
+ commons.Escaper.ecapeVariable('$userId') +
+ '/activities/' +
+ commons.Escaper.ecapeVariable('$collection');
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new ActivityFeed.fromJson(data));
}
-
}
-
class AudiencesResourceApi {
final commons.ApiRequester _requester;
- AudiencesResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * List all of the audiences to which a user can share.
- *
- * Request parameters:
- *
- * [userId] - The ID of the user to get audiences for. The special value "me"
- * can be used to indicate the authenticated user.
- *
- * [maxResults] - The maximum number of circles to include in the response,
- * which is used for paging. For any response, the actual number returned
- * might be less than the specified maxResults.
- * Value must be between "1" and "100".
- *
- * [pageToken] - The continuation token, which is used to page through large
- * result sets. To get the next page of results, set this parameter to the
- * value of "nextPageToken" from the previous response.
- *
- * Completes with a [AudiencesFeed].
- *
- * 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<AudiencesFeed> list(core.String userId, {core.int maxResults, core.String pageToken}) {
+ AudiencesResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// List all of the audiences to which a user can share.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - The ID of the user to get audiences for. The special value
+ /// "me" can be used to indicate the authenticated user.
+ ///
+ /// [maxResults] - The maximum number of circles to include in the response,
+ /// which is used for paging. For any response, the actual number returned
+ /// might be less than the specified maxResults.
+ /// Value must be between "1" and "100".
+ ///
+ /// [pageToken] - The continuation token, which is used to page through large
+ /// result sets. To get the next page of results, set this parameter to the
+ /// value of "nextPageToken" from the previous response.
+ ///
+ /// Completes with a [AudiencesFeed].
+ ///
+ /// 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<AudiencesFeed> list(core.String userId,
+ {core.int maxResults, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -282,48 +286,43 @@ class AudiencesResourceApi {
_url = 'people/' + commons.Escaper.ecapeVariable('$userId') + '/audiences';
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new AudiencesFeed.fromJson(data));
}
-
}
-
class CirclesResourceApi {
final commons.ApiRequester _requester;
- CirclesResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Add a person to a circle. Google+ limits certain circle operations,
- * including the number of circle adds. Learn More.
- *
- * Request parameters:
- *
- * [circleId] - The ID of the circle to add the person to.
- *
- * [email] - Email of the people to add to the circle. Optional, can be
- * repeated.
- *
- * [userId] - IDs of the people to add to the circle. Optional, can be
- * repeated.
- *
- * Completes with a [Circle].
- *
- * 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<Circle> addPeople(core.String circleId, {core.List<core.String> email, core.List<core.String> userId}) {
+ CirclesResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Add a person to a circle. Google+ limits certain circle operations,
+ /// including the number of circle adds. Learn More.
+ ///
+ /// Request parameters:
+ ///
+ /// [circleId] - The ID of the circle to add the person to.
+ ///
+ /// [email] - Email of the people to add to the circle. Optional, can be
+ /// repeated.
+ ///
+ /// [userId] - IDs of the people to add to the circle. Optional, can be
+ /// repeated.
+ ///
+ /// Completes with a [Circle].
+ ///
+ /// 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<Circle> addPeople(core.String circleId,
+ {core.List<core.String> email, core.List<core.String> userId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -343,31 +342,28 @@ class CirclesResourceApi {
_url = 'circles/' + commons.Escaper.ecapeVariable('$circleId') + '/people';
- var _response = _requester.request(_url,
- "PUT",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Circle.fromJson(data));
}
- /**
- * Get a circle.
- *
- * Request parameters:
- *
- * [circleId] - The ID of the circle to get.
- *
- * Completes with a [Circle].
- *
- * 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.
- */
+ /// Get a circle.
+ ///
+ /// Request parameters:
+ ///
+ /// [circleId] - The ID of the circle to get.
+ ///
+ /// Completes with a [Circle].
+ ///
+ /// 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<Circle> get(core.String circleId) {
var _url = null;
var _queryParams = new core.Map();
@@ -382,34 +378,31 @@ class CirclesResourceApi {
_url = 'circles/' + commons.Escaper.ecapeVariable('$circleId');
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Circle.fromJson(data));
}
- /**
- * Create a new circle for the authenticated user.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [userId] - The ID of the user to create the circle on behalf of. The value
- * "me" can be used to indicate the authenticated user.
- *
- * Completes with a [Circle].
- *
- * 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.
- */
+ /// Create a new circle for the authenticated user.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - The ID of the user to create the circle on behalf of. The
+ /// value "me" can be used to indicate the authenticated user.
+ ///
+ /// Completes with a [Circle].
+ ///
+ /// 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<Circle> insert(Circle request, core.String userId) {
var _url = null;
var _queryParams = new core.Map();
@@ -427,42 +420,40 @@ class CirclesResourceApi {
_url = 'people/' + commons.Escaper.ecapeVariable('$userId') + '/circles';
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Circle.fromJson(data));
}
- /**
- * List all of the circles for a user.
- *
- * Request parameters:
- *
- * [userId] - The ID of the user to get circles for. The special value "me"
- * can be used to indicate the authenticated user.
- *
- * [maxResults] - The maximum number of circles to include in the response,
- * which is used for paging. For any response, the actual number returned
- * might be less than the specified maxResults.
- * Value must be between "1" and "100".
- *
- * [pageToken] - The continuation token, which is used to page through large
- * result sets. To get the next page of results, set this parameter to the
- * value of "nextPageToken" from the previous response.
- *
- * Completes with a [CircleFeed].
- *
- * 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<CircleFeed> list(core.String userId, {core.int maxResults, core.String pageToken}) {
+ /// List all of the circles for a user.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - The ID of the user to get circles for. The special value "me"
+ /// can be used to indicate the authenticated user.
+ ///
+ /// [maxResults] - The maximum number of circles to include in the response,
+ /// which is used for paging. For any response, the actual number returned
+ /// might be less than the specified maxResults.
+ /// Value must be between "1" and "100".
+ ///
+ /// [pageToken] - The continuation token, which is used to page through large
+ /// result sets. To get the next page of results, set this parameter to the
+ /// value of "nextPageToken" from the previous response.
+ ///
+ /// Completes with a [CircleFeed].
+ ///
+ /// 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<CircleFeed> list(core.String userId,
+ {core.int maxResults, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -482,33 +473,30 @@ class CirclesResourceApi {
_url = 'people/' + commons.Escaper.ecapeVariable('$userId') + '/circles';
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new CircleFeed.fromJson(data));
}
- /**
- * Update a circle's description. This method supports patch semantics.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [circleId] - The ID of the circle to update.
- *
- * Completes with a [Circle].
- *
- * 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.
- */
+ /// Update a circle's description. This method supports patch semantics.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [circleId] - The ID of the circle to update.
+ ///
+ /// Completes with a [Circle].
+ ///
+ /// 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<Circle> patch(Circle request, core.String circleId) {
var _url = null;
var _queryParams = new core.Map();
@@ -526,29 +514,26 @@ class CirclesResourceApi {
_url = 'circles/' + commons.Escaper.ecapeVariable('$circleId');
- var _response = _requester.request(_url,
- "PATCH",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "PATCH",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Circle.fromJson(data));
}
- /**
- * Delete a circle.
- *
- * Request parameters:
- *
- * [circleId] - The ID of the circle 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.
- */
+ /// Delete a circle.
+ ///
+ /// Request parameters:
+ ///
+ /// [circleId] - The ID of the circle 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 circleId) {
var _url = null;
var _queryParams = new core.Map();
@@ -565,36 +550,34 @@ class CirclesResourceApi {
_url = 'circles/' + commons.Escaper.ecapeVariable('$circleId');
- var _response = _requester.request(_url,
- "DELETE",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => null);
}
- /**
- * Remove a person from a circle.
- *
- * Request parameters:
- *
- * [circleId] - The ID of the circle to remove the person from.
- *
- * [email] - Email of the people to add to the circle. Optional, can be
- * repeated.
- *
- * [userId] - IDs of the people to remove from the circle. Optional, can be
- * repeated.
- *
- * 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 removePeople(core.String circleId, {core.List<core.String> email, core.List<core.String> userId}) {
+ /// Remove a person from a circle.
+ ///
+ /// Request parameters:
+ ///
+ /// [circleId] - The ID of the circle to remove the person from.
+ ///
+ /// [email] - Email of the people to add to the circle. Optional, can be
+ /// repeated.
+ ///
+ /// [userId] - IDs of the people to remove from the circle. Optional, can be
+ /// repeated.
+ ///
+ /// 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 removePeople(core.String circleId,
+ {core.List<core.String> email, core.List<core.String> userId}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -616,33 +599,30 @@ class CirclesResourceApi {
_url = 'circles/' + commons.Escaper.ecapeVariable('$circleId') + '/people';
- var _response = _requester.request(_url,
- "DELETE",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => null);
}
- /**
- * Update a circle's description.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [circleId] - The ID of the circle to update.
- *
- * Completes with a [Circle].
- *
- * 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.
- */
+ /// Update a circle's description.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [circleId] - The ID of the circle to update.
+ ///
+ /// Completes with a [Circle].
+ ///
+ /// 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<Circle> update(Circle request, core.String circleId) {
var _url = null;
var _queryParams = new core.Map();
@@ -660,40 +640,34 @@ class CirclesResourceApi {
_url = 'circles/' + commons.Escaper.ecapeVariable('$circleId');
- var _response = _requester.request(_url,
- "PUT",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "PUT",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Circle.fromJson(data));
}
-
}
-
class CommentsResourceApi {
final commons.ApiRequester _requester;
- CommentsResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Get a comment.
- *
- * Request parameters:
- *
- * [commentId] - The ID of the comment to get.
- *
- * Completes with a [Comment].
- *
- * 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.
- */
+ CommentsResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Get a comment.
+ ///
+ /// Request parameters:
+ ///
+ /// [commentId] - The ID of the comment to get.
+ ///
+ /// Completes with a [Comment].
+ ///
+ /// 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<Comment> get(core.String commentId) {
var _url = null;
var _queryParams = new core.Map();
@@ -708,33 +682,30 @@ class CommentsResourceApi {
_url = 'comments/' + commons.Escaper.ecapeVariable('$commentId');
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Comment.fromJson(data));
}
- /**
- * Create a new comment in reply to an activity.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [activityId] - The ID of the activity to reply to.
- *
- * Completes with a [Comment].
- *
- * 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.
- */
+ /// Create a new comment in reply to an activity.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [activityId] - The ID of the activity to reply to.
+ ///
+ /// Completes with a [Comment].
+ ///
+ /// 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<Comment> insert(Comment request, core.String activityId) {
var _url = null;
var _queryParams = new core.Map();
@@ -750,48 +721,48 @@ class CommentsResourceApi {
throw new core.ArgumentError("Parameter activityId is required.");
}
- _url = 'activities/' + commons.Escaper.ecapeVariable('$activityId') + '/comments';
+ _url = 'activities/' +
+ commons.Escaper.ecapeVariable('$activityId') +
+ '/comments';
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Comment.fromJson(data));
}
- /**
- * List all of the comments for an activity.
- *
- * Request parameters:
- *
- * [activityId] - The ID of the activity to get comments for.
- *
- * [maxResults] - The maximum number of comments to include in the response,
- * which is used for paging. For any response, the actual number returned
- * might be less than the specified maxResults.
- * Value must be between "0" and "500".
- *
- * [pageToken] - The continuation token, which is used to page through large
- * result sets. To get the next page of results, set this parameter to the
- * value of "nextPageToken" from the previous response.
- *
- * [sortOrder] - The order in which to sort the list of comments.
- * Possible string values are:
- * - "ascending" : Sort oldest comments first.
- * - "descending" : Sort newest comments first.
- *
- * Completes with a [CommentFeed].
- *
- * 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<CommentFeed> list(core.String activityId, {core.int maxResults, core.String pageToken, core.String sortOrder}) {
+ /// List all of the comments for an activity.
+ ///
+ /// Request parameters:
+ ///
+ /// [activityId] - The ID of the activity to get comments for.
+ ///
+ /// [maxResults] - The maximum number of comments to include in the response,
+ /// which is used for paging. For any response, the actual number returned
+ /// might be less than the specified maxResults.
+ /// Value must be between "0" and "500".
+ ///
+ /// [pageToken] - The continuation token, which is used to page through large
+ /// result sets. To get the next page of results, set this parameter to the
+ /// value of "nextPageToken" from the previous response.
+ ///
+ /// [sortOrder] - The order in which to sort the list of comments.
+ /// Possible string values are:
+ /// - "ascending" : Sort oldest comments first.
+ /// - "descending" : Sort newest comments first.
+ ///
+ /// Completes with a [CommentFeed].
+ ///
+ /// 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<CommentFeed> list(core.String activityId,
+ {core.int maxResults, core.String pageToken, core.String sortOrder}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -812,57 +783,57 @@ class CommentsResourceApi {
_queryParams["sortOrder"] = [sortOrder];
}
- _url = 'activities/' + commons.Escaper.ecapeVariable('$activityId') + '/comments';
+ _url = 'activities/' +
+ commons.Escaper.ecapeVariable('$activityId') +
+ '/comments';
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new CommentFeed.fromJson(data));
}
-
}
-
class MediaResourceApi {
final commons.ApiRequester _requester;
- MediaResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Add a new media item to an album. The current upload size limitations are
- * 36MB for a photo and 1GB for a video. Uploads do not count against quota if
- * photos are less than 2048 pixels on their longest side or videos are less
- * than 15 minutes in length.
- *
- * [request] - The metadata request object.
- *
- * Request parameters:
- *
- * [userId] - The ID of the user to create the activity on behalf of.
- *
- * [collection] - null
- * Possible string values are:
- * - "cloud" : Upload the media to share on Google+.
- *
- * [uploadMedia] - The media to upload.
- *
- * [uploadOptions] - Options for the media upload. Streaming Media without the
- * length being known ahead of time is only supported via resumable uploads.
- *
- * Completes with a [Media].
- *
- * 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<Media> insert(Media request, core.String userId, core.String collection, {commons.UploadOptions uploadOptions : commons.UploadOptions.Default, commons.Media uploadMedia}) {
+ MediaResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Add a new media item to an album. The current upload size limitations are
+ /// 36MB for a photo and 1GB for a video. Uploads do not count against quota
+ /// if photos are less than 2048 pixels on their longest side or videos are
+ /// less than 15 minutes in length.
+ ///
+ /// [request] - The metadata request object.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - The ID of the user to create the activity on behalf of.
+ ///
+ /// [collection] - null
+ /// Possible string values are:
+ /// - "cloud" : Upload the media to share on Google+.
+ ///
+ /// [uploadMedia] - The media to upload.
+ ///
+ /// [uploadOptions] - Options for the media upload. Streaming Media without
+ /// the length being known ahead of time is only supported via resumable
+ /// uploads.
+ ///
+ /// Completes with a [Media].
+ ///
+ /// 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<Media> insert(
+ Media request, core.String userId, core.String collection,
+ {commons.UploadOptions uploadOptions: commons.UploadOptions.Default,
+ commons.Media uploadMedia}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -880,53 +851,55 @@ class MediaResourceApi {
throw new core.ArgumentError("Parameter collection is required.");
}
- _uploadMedia = uploadMedia;
- _uploadOptions = uploadOptions;
+ _uploadMedia = uploadMedia;
+ _uploadOptions = uploadOptions;
if (_uploadMedia == null) {
- _url = 'people/' + commons.Escaper.ecapeVariable('$userId') + '/media/' + commons.Escaper.ecapeVariable('$collection');
+ _url = 'people/' +
+ commons.Escaper.ecapeVariable('$userId') +
+ '/media/' +
+ commons.Escaper.ecapeVariable('$collection');
} else if (_uploadOptions is commons.ResumableUploadOptions) {
- _url = '/resumable/upload/plusDomains/v1/people/' + commons.Escaper.ecapeVariable('$userId') + '/media/' + commons.Escaper.ecapeVariable('$collection');
+ _url = '/resumable/upload/plusDomains/v1/people/' +
+ commons.Escaper.ecapeVariable('$userId') +
+ '/media/' +
+ commons.Escaper.ecapeVariable('$collection');
} else {
- _url = '/upload/plusDomains/v1/people/' + commons.Escaper.ecapeVariable('$userId') + '/media/' + commons.Escaper.ecapeVariable('$collection');
- }
-
-
- var _response = _requester.request(_url,
- "POST",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ _url = '/upload/plusDomains/v1/people/' +
+ commons.Escaper.ecapeVariable('$userId') +
+ '/media/' +
+ commons.Escaper.ecapeVariable('$collection');
+ }
+
+ var _response = _requester.request(_url, "POST",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Media.fromJson(data));
}
-
}
-
class PeopleResourceApi {
final commons.ApiRequester _requester;
- PeopleResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Get a person's profile.
- *
- * Request parameters:
- *
- * [userId] - The ID of the person to get the profile for. The special value
- * "me" can be used to indicate the authenticated user.
- *
- * Completes with a [Person].
- *
- * 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.
- */
+ PeopleResourceApi(commons.ApiRequester client) : _requester = client;
+
+ /// Get a person's profile.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - The ID of the person to get the profile for. The special value
+ /// "me" can be used to indicate the authenticated user.
+ ///
+ /// Completes with a [Person].
+ ///
+ /// 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<Person> get(core.String userId) {
var _url = null;
var _queryParams = new core.Map();
@@ -941,52 +914,50 @@ class PeopleResourceApi {
_url = 'people/' + commons.Escaper.ecapeVariable('$userId');
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new Person.fromJson(data));
}
- /**
- * List all of the people in the specified collection.
- *
- * Request parameters:
- *
- * [userId] - Get the collection of people for the person identified. Use "me"
- * to indicate the authenticated user.
- *
- * [collection] - The collection of people to list.
- * Possible string values are:
- * - "circled" : The list of people who this user has added to one or more
- * circles.
- *
- * [maxResults] - The maximum number of people to include in the response,
- * which is used for paging. For any response, the actual number returned
- * might be less than the specified maxResults.
- * Value must be between "1" and "100".
- *
- * [orderBy] - The order to return people in.
- * Possible string values are:
- * - "alphabetical" : Order the people by their display name.
- * - "best" : Order people based on the relevence to the viewer.
- *
- * [pageToken] - The continuation token, which is used to page through large
- * result sets. To get the next page of results, set this parameter to the
- * value of "nextPageToken" from the previous response.
- *
- * Completes with a [PeopleFeed].
- *
- * 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<PeopleFeed> list(core.String userId, core.String collection, {core.int maxResults, core.String orderBy, core.String pageToken}) {
+ /// List all of the people in the specified collection.
+ ///
+ /// Request parameters:
+ ///
+ /// [userId] - Get the collection of people for the person identified. Use
+ /// "me" to indicate the authenticated user.
+ ///
+ /// [collection] - The collection of people to list.
+ /// Possible string values are:
+ /// - "circled" : The list of people who this user has added to one or more
+ /// circles.
+ ///
+ /// [maxResults] - The maximum number of people to include in the response,
+ /// which is used for paging. For any response, the actual number returned
+ /// might be less than the specified maxResults.
+ /// Value must be between "1" and "100".
+ ///
+ /// [orderBy] - The order to return people in.
+ /// Possible string values are:
+ /// - "alphabetical" : Order the people by their display name.
+ /// - "best" : Order people based on the relevence to the viewer.
+ ///
+ /// [pageToken] - The continuation token, which is used to page through large
+ /// result sets. To get the next page of results, set this parameter to the
+ /// value of "nextPageToken" from the previous response.
+ ///
+ /// Completes with a [PeopleFeed].
+ ///
+ /// 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<PeopleFeed> list(core.String userId, core.String collection,
+ {core.int maxResults, core.String orderBy, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1010,50 +981,52 @@ class PeopleResourceApi {
_queryParams["pageToken"] = [pageToken];
}
- _url = 'people/' + commons.Escaper.ecapeVariable('$userId') + '/people/' + commons.Escaper.ecapeVariable('$collection');
+ _url = 'people/' +
+ commons.Escaper.ecapeVariable('$userId') +
+ '/people/' +
+ commons.Escaper.ecapeVariable('$collection');
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new PeopleFeed.fromJson(data));
}
- /**
- * List all of the people in the specified collection for a particular
- * activity.
- *
- * Request parameters:
- *
- * [activityId] - The ID of the activity to get the list of people for.
- *
- * [collection] - The collection of people to list.
- * Possible string values are:
- * - "plusoners" : List all people who have +1'd this activity.
- * - "resharers" : List all people who have reshared this activity.
- * - "sharedto" : List all people who this activity was shared to.
- *
- * [maxResults] - The maximum number of people to include in the response,
- * which is used for paging. For any response, the actual number returned
- * might be less than the specified maxResults.
- * Value must be between "1" and "100".
- *
- * [pageToken] - The continuation token, which is used to page through large
- * result sets. To get the next page of results, set this parameter to the
- * value of "nextPageToken" from the previous response.
- *
- * Completes with a [PeopleFeed].
- *
- * 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<PeopleFeed> listByActivity(core.String activityId, core.String collection, {core.int maxResults, core.String pageToken}) {
+ /// List all of the people in the specified collection for a particular
+ /// activity.
+ ///
+ /// Request parameters:
+ ///
+ /// [activityId] - The ID of the activity to get the list of people for.
+ ///
+ /// [collection] - The collection of people to list.
+ /// Possible string values are:
+ /// - "plusoners" : List all people who have +1'd this activity.
+ /// - "resharers" : List all people who have reshared this activity.
+ /// - "sharedto" : List all people who this activity was shared to.
+ ///
+ /// [maxResults] - The maximum number of people to include in the response,
+ /// which is used for paging. For any response, the actual number returned
+ /// might be less than the specified maxResults.
+ /// Value must be between "1" and "100".
+ ///
+ /// [pageToken] - The continuation token, which is used to page through large
+ /// result sets. To get the next page of results, set this parameter to the
+ /// value of "nextPageToken" from the previous response.
+ ///
+ /// Completes with a [PeopleFeed].
+ ///
+ /// 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<PeopleFeed> listByActivity(
+ core.String activityId, core.String collection,
+ {core.int maxResults, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1074,43 +1047,44 @@ class PeopleResourceApi {
_queryParams["pageToken"] = [pageToken];
}
- _url = 'activities/' + commons.Escaper.ecapeVariable('$activityId') + '/people/' + commons.Escaper.ecapeVariable('$collection');
+ _url = 'activities/' +
+ commons.Escaper.ecapeVariable('$activityId') +
+ '/people/' +
+ commons.Escaper.ecapeVariable('$collection');
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new PeopleFeed.fromJson(data));
}
- /**
- * List all of the people who are members of a circle.
- *
- * Request parameters:
- *
- * [circleId] - The ID of the circle to get the members of.
- *
- * [maxResults] - The maximum number of people to include in the response,
- * which is used for paging. For any response, the actual number returned
- * might be less than the specified maxResults.
- * Value must be between "1" and "100".
- *
- * [pageToken] - The continuation token, which is used to page through large
- * result sets. To get the next page of results, set this parameter to the
- * value of "nextPageToken" from the previous response.
- *
- * Completes with a [PeopleFeed].
- *
- * 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<PeopleFeed> listByCircle(core.String circleId, {core.int maxResults, core.String pageToken}) {
+ /// List all of the people who are members of a circle.
+ ///
+ /// Request parameters:
+ ///
+ /// [circleId] - The ID of the circle to get the members of.
+ ///
+ /// [maxResults] - The maximum number of people to include in the response,
+ /// which is used for paging. For any response, the actual number returned
+ /// might be less than the specified maxResults.
+ /// Value must be between "1" and "100".
+ ///
+ /// [pageToken] - The continuation token, which is used to page through large
+ /// result sets. To get the next page of results, set this parameter to the
+ /// value of "nextPageToken" from the previous response.
+ ///
+ /// Completes with a [PeopleFeed].
+ ///
+ /// 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<PeopleFeed> listByCircle(core.String circleId,
+ {core.int maxResults, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1130,31 +1104,28 @@ class PeopleResourceApi {
_url = 'circles/' + commons.Escaper.ecapeVariable('$circleId') + '/people';
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
+ var _response = _requester.request(_url, "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
return _response.then((data) => new PeopleFeed.fromJson(data));
}
-
}
-
-
class Acl {
- /** Description of the access granted, suitable for display. */
+ /// Description of the access granted, suitable for display.
core.String description;
- /** Whether access is restricted to the domain. */
+
+ /// Whether access is restricted to the domain.
core.bool domainRestricted;
- /** The list of access entries. */
+
+ /// The list of access entries.
core.List<PlusDomainsAclentryResource> items;
- /**
- * Identifies this resource as a collection of access controls. Value:
- * "plus#acl".
- */
+
+ /// Identifies this resource as a collection of access controls. Value:
+ /// "plus#acl".
core.String kind;
Acl();
@@ -1167,7 +1138,9 @@ class Acl {
domainRestricted = _json["domainRestricted"];
}
if (_json.containsKey("items")) {
- items = _json["items"].map((value) => new PlusDomainsAclentryResource.fromJson(value)).toList();
+ items = _json["items"]
+ .map((value) => new PlusDomainsAclentryResource.fromJson(value))
+ .toList();
}
if (_json.containsKey("kind")) {
kind = _json["kind"];
@@ -1175,7 +1148,8 @@ class Acl {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (description != null) {
_json["description"] = description;
}
@@ -1192,21 +1166,23 @@ class Acl {
}
}
-/** Actor info specific to YouTube clients. */
+/// Actor info specific to YouTube clients.
class ActivityActorClientSpecificActorInfoYoutubeActorInfo {
- /** ID of the YouTube channel owned by the Actor. */
+ /// ID of the YouTube channel owned by the Actor.
core.String channelId;
ActivityActorClientSpecificActorInfoYoutubeActorInfo();
- ActivityActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _json) {
+ ActivityActorClientSpecificActorInfoYoutubeActorInfo.fromJson(
+ core.Map _json) {
if (_json.containsKey("channelId")) {
channelId = _json["channelId"];
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (channelId != null) {
_json["channelId"] = channelId;
}
@@ -1214,21 +1190,24 @@ class ActivityActorClientSpecificActorInfoYoutubeActorInfo {
}
}
-/** Actor info specific to particular clients. */
+/// Actor info specific to particular clients.
class ActivityActorClientSpecificActorInfo {
- /** Actor info specific to YouTube clients. */
+ /// Actor info specific to YouTube clients.
ActivityActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo;
ActivityActorClientSpecificActorInfo();
ActivityActorClientSpecificActorInfo.fromJson(core.Map _json) {
if (_json.containsKey("youtubeActorInfo")) {
- youtubeActorInfo = new ActivityActorClientSpecificActorInfoYoutubeActorInfo.fromJson(_json["youtubeActorInfo"]);
+ youtubeActorInfo =
+ new ActivityActorClientSpecificActorInfoYoutubeActorInfo.fromJson(
+ _json["youtubeActorInfo"]);
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (youtubeActorInfo != null) {
_json["youtubeActorInfo"] = (youtubeActorInfo).toJson();
}
@@ -1236,13 +1215,11 @@ class ActivityActorClientSpecificActorInfo {
}
}
-/** The image representation of the actor. */
+/// The image representation of the actor.
class ActivityActorImage {
- /**
- * The URL of the actor's profile photo. To resize the image and crop it to a
- * square, append the query string ?sz=x, where x is the dimension in pixels
- * of each side.
- */
+ /// The URL of the actor's profile photo. To resize the image and crop it to
+ /// a square, append the query string ?sz=x, where x is the dimension in
+ /// pixels of each side.
core.String url;
ActivityActorImage();
@@ -1254,7 +1231,8 @@ class ActivityActorImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (url != null) {
_json["url"] = url;
}
@@ -1262,11 +1240,12 @@ class ActivityActorImage {
}
}
-/** An object representation of the individual components of name. */
+/// An object representation of the individual components of name.
class ActivityActorName {
- /** The family name ("last name") of the actor. */
+ /// The family name ("last name") of the actor.
core.String familyName;
- /** The given name ("first name") of the actor. */
+
+ /// The given name ("first name") of the actor.
core.String givenName;
ActivityActorName();
@@ -1281,7 +1260,8 @@ class ActivityActorName {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (familyName != null) {
_json["familyName"] = familyName;
}
@@ -1292,9 +1272,9 @@ class ActivityActorName {
}
}
-/** Verification status of actor. */
+/// Verification status of actor.
class ActivityActorVerification {
- /** Verification for one-time or manual processes. */
+ /// Verification for one-time or manual processes.
core.String adHocVerified;
ActivityActorVerification();
@@ -1306,7 +1286,8 @@ class ActivityActorVerification {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (adHocVerified != null) {
_json["adHocVerified"] = adHocVerified;
}
@@ -1314,28 +1295,36 @@ class ActivityActorVerification {
}
}
-/** The person who performed this activity. */
+/// The person who performed this activity.
class ActivityActor {
- /** Actor info specific to particular clients. */
+ /// Actor info specific to particular clients.
ActivityActorClientSpecificActorInfo clientSpecificActorInfo;
- /** The name of the actor, suitable for display. */
+
+ /// The name of the actor, suitable for display.
core.String displayName;
- /** The ID of the actor's Person resource. */
+
+ /// The ID of the actor's Person resource.
core.String id;
- /** The image representation of the actor. */
+
+ /// The image representation of the actor.
ActivityActorImage image;
- /** An object representation of the individual components of name. */
+
+ /// An object representation of the individual components of name.
ActivityActorName name;
- /** The link to the actor's Google profile. */
+
+ /// The link to the actor's Google profile.
core.String url;
- /** Verification status of actor. */
+
+ /// Verification status of actor.
ActivityActorVerification verification;
ActivityActor();
ActivityActor.fromJson(core.Map _json) {
if (_json.containsKey("clientSpecificActorInfo")) {
- clientSpecificActorInfo = new ActivityActorClientSpecificActorInfo.fromJson(_json["clientSpecificActorInfo"]);
+ clientSpecificActorInfo =
+ new ActivityActorClientSpecificActorInfo.fromJson(
+ _json["clientSpecificActorInfo"]);
}
if (_json.containsKey("displayName")) {
displayName = _json["displayName"];
@@ -1353,12 +1342,14 @@ class ActivityActor {
url = _json["url"];
}
if (_json.containsKey("verification")) {
- verification = new ActivityActorVerification.fromJson(_json["verification"]);
+ verification =
+ new ActivityActorVerification.fromJson(_json["verification"]);
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (clientSpecificActorInfo != null) {
_json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson();
}
@@ -1384,21 +1375,23 @@ class ActivityActor {
}
}
-/** Actor info specific to YouTube clients. */
+/// Actor info specific to YouTube clients.
class ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo {
- /** ID of the YouTube channel owned by the Actor. */
+ /// ID of the YouTube channel owned by the Actor.
core.String channelId;
ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo();
- ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.fromJson(core.Map _json) {
+ ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.fromJson(
+ core.Map _json) {
if (_json.containsKey("channelId")) {
channelId = _json["channelId"];
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (channelId != null) {
_json["channelId"] = channelId;
}
@@ -1406,21 +1399,24 @@ class ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo {
}
}
-/** Actor info specific to particular clients. */
+/// Actor info specific to particular clients.
class ActivityObjectActorClientSpecificActorInfo {
- /** Actor info specific to YouTube clients. */
+ /// Actor info specific to YouTube clients.
ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo;
ActivityObjectActorClientSpecificActorInfo();
ActivityObjectActorClientSpecificActorInfo.fromJson(core.Map _json) {
if (_json.containsKey("youtubeActorInfo")) {
- youtubeActorInfo = new ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo.fromJson(_json["youtubeActorInfo"]);
+ youtubeActorInfo =
+ new ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo
+ .fromJson(_json["youtubeActorInfo"]);
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (youtubeActorInfo != null) {
_json["youtubeActorInfo"] = (youtubeActorInfo).toJson();
}
@@ -1428,9 +1424,9 @@ class ActivityObjectActorClientSpecificActorInfo {
}
}
-/** The image representation of the original actor. */
+/// The image representation of the original actor.
class ActivityObjectActorImage {
- /** A URL that points to a thumbnail photo of the original actor. */
+ /// A URL that points to a thumbnail photo of the original actor.
core.String url;
ActivityObjectActorImage();
@@ -1442,7 +1438,8 @@ class ActivityObjectActorImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (url != null) {
_json["url"] = url;
}
@@ -1450,9 +1447,9 @@ class ActivityObjectActorImage {
}
}
-/** Verification status of actor. */
+/// Verification status of actor.
class ActivityObjectActorVerification {
- /** Verification for one-time or manual processes. */
+ /// Verification for one-time or manual processes.
core.String adHocVerified;
ActivityObjectActorVerification();
@@ -1464,7 +1461,8 @@ class ActivityObjectActorVerification {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (adHocVerified != null) {
_json["adHocVerified"] = adHocVerified;
}
@@ -1472,29 +1470,35 @@ class ActivityObjectActorVerification {
}
}
-/**
- * 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.
- */
+/// 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.
class ActivityObjectActor {
- /** Actor info specific to particular clients. */
+ /// Actor info specific to particular clients.
ActivityObjectActorClientSpecificActorInfo clientSpecificActorInfo;
- /** The original actor's name, which is suitable for display. */
+
+ /// The original actor's name, which is suitable for display.
core.String displayName;
- /** ID of the original actor. */
+
+ /// ID of the original actor.
core.String id;
- /** The image representation of the original actor. */
+
+ /// The image representation of the original actor.
ActivityObjectActorImage image;
- /** A link to the original actor's Google profile. */
+
+ /// A link to the original actor's Google profile.
core.String url;
- /** Verification status of actor. */
+
+ /// Verification status of actor.
ActivityObjectActorVerification verification;
ActivityObjectActor();
ActivityObjectActor.fromJson(core.Map _json) {
if (_json.containsKey("clientSpecificActorInfo")) {
- clientSpecificActorInfo = new ActivityObjectActorClientSpecificActorInfo.fromJson(_json["clientSpecificActorInfo"]);
+ clientSpecificActorInfo =
+ new ActivityObjectActorClientSpecificActorInfo.fromJson(
+ _json["clientSpecificActorInfo"]);
}
if (_json.containsKey("displayName")) {
displayName = _json["displayName"];
@@ -1509,12 +1513,14 @@ class ActivityObjectActor {
url = _json["url"];
}
if (_json.containsKey("verification")) {
- verification = new ActivityObjectActorVerification.fromJson(_json["verification"]);
+ verification =
+ new ActivityObjectActorVerification.fromJson(_json["verification"]);
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (clientSpecificActorInfo != null) {
_json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson();
}
@@ -1537,11 +1543,12 @@ class ActivityObjectActor {
}
}
-/** If the attachment is a video, the embeddable link. */
+/// If the attachment is a video, the embeddable link.
class ActivityObjectAttachmentsEmbed {
- /** Media type of the link. */
+ /// Media type of the link.
core.String type;
- /** URL of the link. */
+
+ /// URL of the link.
core.String url;
ActivityObjectAttachmentsEmbed();
@@ -1556,7 +1563,8 @@ class ActivityObjectAttachmentsEmbed {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (type != null) {
_json["type"] = type;
}
@@ -1567,15 +1575,18 @@ class ActivityObjectAttachmentsEmbed {
}
}
-/** The full image URL for photo attachments. */
+/// The full image URL for photo attachments.
class ActivityObjectAttachmentsFullImage {
- /** The height, in pixels, of the linked resource. */
+ /// The height, in pixels, of the linked resource.
core.int height;
- /** Media type of the link. */
+
+ /// Media type of the link.
core.String type;
- /** URL of the image. */
+
+ /// URL of the image.
core.String url;
- /** The width, in pixels, of the linked resource. */
+
+ /// The width, in pixels, of the linked resource.
core.int width;
ActivityObjectAttachmentsFullImage();
@@ -1596,7 +1607,8 @@ class ActivityObjectAttachmentsFullImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (height != null) {
_json["height"] = height;
}
@@ -1613,15 +1625,18 @@ class ActivityObjectAttachmentsFullImage {
}
}
-/** The preview image for photos or videos. */
+/// The preview image for photos or videos.
class ActivityObjectAttachmentsImage {
- /** The height, in pixels, of the linked resource. */
+ /// The height, in pixels, of the linked resource.
core.int height;
- /** Media type of the link. */
+
+ /// Media type of the link.
core.String type;
- /** Image URL. */
+
+ /// Image URL.
core.String url;
- /** The width, in pixels, of the linked resource. */
+
+ /// The width, in pixels, of the linked resource.
core.int width;
ActivityObjectAttachmentsImage();
@@ -1642,7 +1657,8 @@ class ActivityObjectAttachmentsImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (height != null) {
_json["height"] = height;
}
@@ -1660,7 +1676,7 @@ class ActivityObjectAttachmentsImage {
}
class ActivityObjectAttachmentsPreviewThumbnails {
- /** URL of the thumbnail image. */
+ /// URL of the thumbnail image.
core.String url;
ActivityObjectAttachmentsPreviewThumbnails();
@@ -1672,7 +1688,8 @@ class ActivityObjectAttachmentsPreviewThumbnails {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (url != null) {
_json["url"] = url;
}
@@ -1680,15 +1697,18 @@ class ActivityObjectAttachmentsPreviewThumbnails {
}
}
-/** Image resource. */
+/// Image resource.
class ActivityObjectAttachmentsThumbnailsImage {
- /** The height, in pixels, of the linked resource. */
+ /// The height, in pixels, of the linked resource.
core.int height;
- /** Media type of the link. */
+
+ /// Media type of the link.
core.String type;
- /** Image url. */
+
+ /// Image url.
core.String url;
- /** The width, in pixels, of the linked resource. */
+
+ /// The width, in pixels, of the linked resource.
core.int width;
ActivityObjectAttachmentsThumbnailsImage();
@@ -1709,7 +1729,8 @@ class ActivityObjectAttachmentsThumbnailsImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (height != null) {
_json["height"] = height;
}
@@ -1727,11 +1748,13 @@ class ActivityObjectAttachmentsThumbnailsImage {
}
class ActivityObjectAttachmentsThumbnails {
- /** Potential name of the thumbnail. */
+ /// Potential name of the thumbnail.
core.String description;
- /** Image resource. */
+
+ /// Image resource.
ActivityObjectAttachmentsThumbnailsImage image;
- /** URL of the webpage containing the image. */
+
+ /// URL of the webpage containing the image.
core.String url;
ActivityObjectAttachmentsThumbnails();
@@ -1741,7 +1764,8 @@ class ActivityObjectAttachmentsThumbnails {
description = _json["description"];
}
if (_json.containsKey("image")) {
- image = new ActivityObjectAttachmentsThumbnailsImage.fromJson(_json["image"]);
+ image =
+ new ActivityObjectAttachmentsThumbnailsImage.fromJson(_json["image"]);
}
if (_json.containsKey("url")) {
url = _json["url"];
@@ -1749,7 +1773,8 @@ class ActivityObjectAttachmentsThumbnails {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (description != null) {
_json["description"] = description;
}
@@ -1764,44 +1789,43 @@ class ActivityObjectAttachmentsThumbnails {
}
class ActivityObjectAttachments {
- /**
- * If the attachment is an article, this property contains a snippet of text
- * from the article. It can also include descriptions for other types.
- */
+ /// If the attachment is an article, this property contains a snippet of text
+ /// from the article. It can also include descriptions for other types.
core.String content;
- /**
- * The title of the attachment, such as a photo caption or an article title.
- */
+
+ /// The title of the attachment, such as a photo caption or an article title.
core.String displayName;
- /** If the attachment is a video, the embeddable link. */
+
+ /// If the attachment is a video, the embeddable link.
ActivityObjectAttachmentsEmbed embed;
- /** The full image URL for photo attachments. */
+
+ /// The full image URL for photo attachments.
ActivityObjectAttachmentsFullImage fullImage;
- /** The ID of the attachment. */
+
+ /// The ID of the attachment.
core.String id;
- /** The preview image for photos or videos. */
+
+ /// The preview image for photos or videos.
ActivityObjectAttachmentsImage image;
- /**
- * The type of media object. Possible values include, but are not limited to,
- * the following values:
- * - "photo" - A photo.
- * - "album" - A photo album.
- * - "video" - A video.
- * - "article" - An article, specified by a link.
- */
+
+ /// The type of media object. Possible values include, but are not limited
+ /// to, the following values:
+ /// - "photo" - A photo.
+ /// - "album" - A photo album.
+ /// - "video" - A video.
+ /// - "article" - An article, specified by a link.
core.String objectType;
- /**
- * When previewing, these are the optional thumbnails for the post. When
- * posting an article, choose one by setting the attachment.image.url
- * property. If you don't choose one, one will be chosen for you.
- */
+
+ /// When previewing, these are the optional thumbnails for the post. When
+ /// posting an article, choose one by setting the attachment.image.url
+ /// property. If you don't choose one, one will be chosen for you.
core.List<ActivityObjectAttachmentsPreviewThumbnails> previewThumbnails;
- /**
- * If the attachment is an album, this property is a list of potential
- * additional thumbnails from the album.
- */
+
+ /// If the attachment is an album, this property is a list of potential
+ /// additional thumbnails from the album.
core.List<ActivityObjectAttachmentsThumbnails> thumbnails;
- /** The link to the attachment, which should be of type text/html. */
+
+ /// The link to the attachment, which should be of type text/html.
core.String url;
ActivityObjectAttachments();
@@ -1817,7 +1841,8 @@ class ActivityObjectAttachments {
embed = new ActivityObjectAttachmentsEmbed.fromJson(_json["embed"]);
}
if (_json.containsKey("fullImage")) {
- fullImage = new ActivityObjectAttachmentsFullImage.fromJson(_json["fullImage"]);
+ fullImage =
+ new ActivityObjectAttachmentsFullImage.fromJson(_json["fullImage"]);
}
if (_json.containsKey("id")) {
id = _json["id"];
@@ -1829,10 +1854,16 @@ class ActivityObjectAttachments {
objectType = _json["objectType"];
}
if (_json.containsKey("previewThumbnails")) {
- previewThumbnails = _json["previewThumbnails"].map((value) => new ActivityObjectAttachmentsPreviewThumbnails.fromJson(value)).toList();
+ previewThumbnails = _json["previewThumbnails"]
+ .map((value) =>
+ new ActivityObjectAttachmentsPreviewThumbnails.fromJson(value))
+ .toList();
}
if (_json.containsKey("thumbnails")) {
- thumbnails = _json["thumbnails"].map((value) => new ActivityObjectAttachmentsThumbnails.fromJson(value)).toList();
+ thumbnails = _json["thumbnails"]
+ .map((value) =>
+ new ActivityObjectAttachmentsThumbnails.fromJson(value))
+ .toList();
}
if (_json.containsKey("url")) {
url = _json["url"];
@@ -1840,7 +1871,8 @@ class ActivityObjectAttachments {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (content != null) {
_json["content"] = content;
}
@@ -1863,10 +1895,12 @@ class ActivityObjectAttachments {
_json["objectType"] = objectType;
}
if (previewThumbnails != null) {
- _json["previewThumbnails"] = previewThumbnails.map((value) => (value).toJson()).toList();
+ _json["previewThumbnails"] =
+ previewThumbnails.map((value) => (value).toJson()).toList();
}
if (thumbnails != null) {
- _json["thumbnails"] = thumbnails.map((value) => (value).toJson()).toList();
+ _json["thumbnails"] =
+ thumbnails.map((value) => (value).toJson()).toList();
}
if (url != null) {
_json["url"] = url;
@@ -1875,11 +1909,12 @@ class ActivityObjectAttachments {
}
}
-/** People who +1'd this activity. */
+/// People who +1'd this activity.
class ActivityObjectPlusoners {
- /** The URL for the collection of people who +1'd this activity. */
+ /// The URL for the collection of people who +1'd this activity.
core.String selfLink;
- /** Total number of people who +1'd this activity. */
+
+ /// Total number of people who +1'd this activity.
core.int totalItems;
ActivityObjectPlusoners();
@@ -1894,7 +1929,8 @@ class ActivityObjectPlusoners {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
@@ -1905,11 +1941,12 @@ class ActivityObjectPlusoners {
}
}
-/** Comments in reply to this activity. */
+/// Comments in reply to this activity.
class ActivityObjectReplies {
- /** The URL for the collection of comments in reply to this activity. */
+ /// The URL for the collection of comments in reply to this activity.
core.String selfLink;
- /** Total number of comments on this activity. */
+
+ /// Total number of comments on this activity.
core.int totalItems;
ActivityObjectReplies();
@@ -1924,7 +1961,8 @@ class ActivityObjectReplies {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
@@ -1935,11 +1973,12 @@ class ActivityObjectReplies {
}
}
-/** People who reshared this activity. */
+/// People who reshared this activity.
class ActivityObjectResharers {
- /** The URL for the collection of resharers. */
+ /// The URL for the collection of resharers.
core.String selfLink;
- /** Total number of people who reshared this activity. */
+
+ /// Total number of people who reshared this activity.
core.int totalItems;
ActivityObjectResharers();
@@ -1954,7 +1993,8 @@ class ActivityObjectResharers {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (selfLink != null) {
_json["selfLink"] = selfLink;
}
@@ -1965,17 +2005,21 @@ class ActivityObjectResharers {
}
}
-/** Status of the activity as seen by the viewer. */
+/// Status of the activity as seen by the viewer.
class ActivityObjectStatusForViewer {
- /** Whether the viewer can comment on the activity. */
+ /// Whether the viewer can comment on the activity.
core.bool canComment;
- /** Whether the viewer can +1 the activity. */
+
+ /// Whether the viewer can +1 the activity.
core.bool canPlusone;
- /** Whether the viewer can edit or delete the activity. */
+
+ /// Whether the viewer can edit or delete the activity.
core.bool canUpdate;
- /** Whether the viewer has +1'd the activity. */
+
+ /// Whether the viewer has +1'd the activity.
core.bool isPlusOned;
- /** Whether reshares are disabled for the activity. */
+
+ /// Whether reshares are disabled for the activity.
core.bool resharingDisabled;
ActivityObjectStatusForViewer();
@@ -1999,7 +2043,8 @@ class ActivityObjectStatusForViewer {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (canComment != null) {
_json["canComment"] = canComment;
}
@@ -2019,45 +2064,47 @@ class ActivityObjectStatusForViewer {
}
}
-/** The object of this activity. */
+/// The object of this activity.
class ActivityObject {
- /**
- * 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.
- */
+ /// 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.
ActivityObjectActor actor;
- /** The media objects attached to this activity. */
+
+ /// The media objects attached to this activity.
core.List<ActivityObjectAttachments> attachments;
- /** The HTML-formatted content, which is suitable for display. */
+
+ /// The HTML-formatted content, which is suitable for display.
core.String content;
- /**
- * The ID of the object. When resharing an activity, this is the ID of the
- * activity that is being reshared.
- */
+
+ /// The ID of the object. When resharing an activity, this is the ID of the
+ /// activity that is being reshared.
core.String id;
- /**
- * The type of the object. Possible values include, but are not limited to,
- * the following values:
- * - "note" - Textual content.
- * - "activity" - A Google+ activity.
- */
+
+ /// The type of the object. Possible values include, but are not limited to,
+ /// the following values:
+ /// - "note" - Textual content.
+ /// - "activity" - A Google+ activity.
core.String objectType;
- /**
- * The content (text) as provided by the author, which is stored without any
- * HTML formatting. When creating or updating an activity, this value must be
- * supplied as plain text in the request.
- */
+
+ /// The content (text) as provided by the author, which is stored without any
+ /// HTML formatting. When creating or updating an activity, this value must
+ /// be supplied as plain text in the request.
core.String originalContent;
- /** People who +1'd this activity. */
+
+ /// People who +1'd this activity.
ActivityObjectPlusoners plusoners;
- /** Comments in reply to this activity. */
+
+ /// Comments in reply to this activity.
ActivityObjectReplies replies;
- /** People who reshared this activity. */
+
+ /// People who reshared this activity.
ActivityObjectResharers resharers;
- /** Status of the activity as seen by the viewer. */
+
+ /// Status of the activity as seen by the viewer.
ActivityObjectStatusForViewer statusForViewer;
- /** The URL that points to the linked resource. */
+
+ /// The URL that points to the linked resource.
core.String url;
ActivityObject();
@@ -2067,7 +2114,9 @@ class ActivityObject {
actor = new ActivityObjectActor.fromJson(_json["actor"]);
}
if (_json.containsKey("attachments")) {
- attachments = _json["attachments"].map((value) => new ActivityObjectAttachments.fromJson(value)).toList();
+ attachments = _json["attachments"]
+ .map((value) => new ActivityObjectAttachments.fromJson(value))
+ .toList();
}
if (_json.containsKey("content")) {
content = _json["content"];
@@ -2091,7 +2140,8 @@ class ActivityObject {
resharers = new ActivityObjectResharers.fromJson(_json["resharers"]);
}
if (_json.containsKey("statusForViewer")) {
- statusForViewer = new ActivityObjectStatusForViewer.fromJson(_json["statusForViewer"]);
+ statusForViewer =
+ new ActivityObjectStatusForViewer.fromJson(_json["statusForViewer"]);
}
if (_json.containsKey("url")) {
url = _json["url"];
@@ -2099,12 +2149,14 @@ class ActivityObject {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (actor != null) {
_json["actor"] = (actor).toJson();
}
if (attachments != null) {
- _json["attachments"] = attachments.map((value) => (value).toJson()).toList();
+ _json["attachments"] =
+ attachments.map((value) => (value).toJson()).toList();
}
if (content != null) {
_json["content"] = content;
@@ -2137,9 +2189,9 @@ class ActivityObject {
}
}
-/** The service provider that initially published this activity. */
+/// The service provider that initially published this activity.
class ActivityProvider {
- /** Name of the service provider. */
+ /// Name of the service provider.
core.String title;
ActivityProvider();
@@ -2151,7 +2203,8 @@ class ActivityProvider {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (title != null) {
_json["title"] = title;
}
@@ -2160,68 +2213,73 @@ class ActivityProvider {
}
class Activity {
- /** Identifies who has access to see this activity. */
+ /// Identifies who has access to see this activity.
Acl access;
- /** The person who performed this activity. */
+
+ /// The person who performed this activity.
ActivityActor actor;
- /** Street address where this activity occurred. */
+
+ /// Street address where this activity occurred.
core.String address;
- /**
- * Additional content added by the person who shared this activity, applicable
- * only when resharing an activity.
- */
+
+ /// Additional content added by the person who shared this activity,
+ /// applicable only when resharing an activity.
core.String annotation;
- /**
- * If this activity is a crosspost from another system, this property
- * specifies the ID of the original activity.
- */
+
+ /// If this activity is a crosspost from another system, this property
+ /// specifies the ID of the original activity.
core.String crosspostSource;
- /** ETag of this response for caching purposes. */
+
+ /// ETag of this response for caching purposes.
core.String etag;
- /**
- * Latitude and longitude where this activity occurred. Format is latitude
- * followed by longitude, space separated.
- */
+
+ /// Latitude and longitude where this activity occurred. Format is latitude
+ /// followed by longitude, space separated.
core.String geocode;
- /** The ID of this activity. */
+
+ /// The ID of this activity.
core.String id;
- /** Identifies this resource as an activity. Value: "plus#activity". */
+
+ /// Identifies this resource as an activity. Value: "plus#activity".
core.String kind;
- /** The location where this activity occurred. */
+
+ /// The location where this activity occurred.
Place location;
- /** The object of this activity. */
+
+ /// The object of this activity.
ActivityObject object;
- /** ID of the place where this activity occurred. */
+
+ /// ID of the place where this activity occurred.
core.String placeId;
- /** Name of the place where this activity occurred. */
+
+ /// Name of the place where this activity occurred.
core.String placeName;
- /** The service provider that initially published this activity. */
+
+ /// The service provider that initially published this activity.
ActivityProvider provider;
- /**
- * The time at which this activity was initially published. Formatted as an
- * RFC 3339 timestamp.
- */
+
+ /// The time at which this activity was initially published. Formatted as an
+ /// RFC 3339 timestamp.
core.DateTime published;
- /**
- * Radius, in meters, of the region where this activity occurred, centered at
- * the latitude and longitude identified in geocode.
- */
+
+ /// Radius, in meters, of the region where this activity occurred, centered
+ /// at the latitude and longitude identified in geocode.
core.String radius;
- /** Title of this activity. */
+
+ /// Title of this activity.
core.String title;
- /**
- * The time at which this activity was last updated. Formatted as an RFC 3339
- * timestamp.
- */
+
+ /// The time at which this activity was last updated. Formatted as an RFC
+ /// 3339 timestamp.
core.DateTime updated;
- /** The link to this activity. */
+
+ /// The link to this activity.
core.String url;
- /**
- * This activity's verb, which indicates the action that was performed.
- * Possible values include, but are not limited to, the following values:
- * - "post" - Publish content to the stream.
- * - "share" - Reshare an activity.
- */
+
+ /// This activity's verb, which indicates the action that was performed.
+ /// Possible values include, but are not limited to, the following values:
+ /// - "post" - Publish content to the stream.
+ /// - "share" - Reshare an activity.
core.String verb;
Activity();
@@ -2290,7 +2348,8 @@ class Activity {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (access != null) {
_json["access"] = (access).toJson();
}
@@ -2356,36 +2415,36 @@ class Activity {
}
class ActivityFeed {
- /** ETag of this response for caching purposes. */
+ /// ETag of this response for caching purposes.
core.String etag;
- /** The ID of this collection of activities. Deprecated. */
+
+ /// The ID of this collection of activities. Deprecated.
core.String id;
- /** The activities in this page of results. */
+
+ /// The activities in this page of results.
core.List<Activity> items;
- /**
- * Identifies this resource as a collection of activities. Value:
- * "plus#activityFeed".
- */
+
+ /// Identifies this resource as a collection of activities. Value:
+ /// "plus#activityFeed".
core.String kind;
- /** Link to the next page of activities. */
+
+ /// Link to the next page of activities.
core.String nextLink;
- /**
- * The continuation token, which is used to page through large result sets.
- * Provide this value in a subsequent request to return the next page of
- * results.
- */
+
+ /// The continuation token, which is used to page through large result sets.
+ /// Provide this value in a subsequent request to return the next page of
+ /// results.
core.String nextPageToken;
- /** Link to this activity resource. */
+
+ /// Link to this activity resource.
core.String selfLink;
- /**
- * The title of this collection of activities, which is a truncated portion of
- * the content.
- */
+
+ /// The title of this collection of activities, which is a truncated portion
+ /// of the content.
core.String title;
- /**
- * The time at which this collection of activities was last updated. Formatted
- * as an RFC 3339 timestamp.
- */
+
+ /// The time at which this collection of activities was last updated.
+ /// Formatted as an RFC 3339 timestamp.
core.DateTime updated;
ActivityFeed();
@@ -2398,7 +2457,8 @@ class ActivityFeed {
id = _json["id"];
}
if (_json.containsKey("items")) {
- items = _json["items"].map((value) => new Activity.fromJson(value)).toList();
+ items =
+ _json["items"].map((value) => new Activity.fromJson(value)).toList();
}
if (_json.containsKey("kind")) {
kind = _json["kind"];
@@ -2421,7 +2481,8 @@ class ActivityFeed {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (etag != null) {
_json["etag"] = etag;
}
@@ -2454,25 +2515,25 @@ class ActivityFeed {
}
class Audience {
- /** ETag of this response for caching purposes. */
+ /// ETag of this response for caching purposes.
core.String etag;
- /** The access control list entry. */
+
+ /// The access control list entry.
PlusDomainsAclentryResource item;
- /** Identifies this resource as an audience. Value: "plus#audience". */
+
+ /// Identifies this resource as an audience. Value: "plus#audience".
core.String kind;
- /**
- * The number of people in this circle. This only applies if entity_type is
- * CIRCLE.
- */
+
+ /// The number of people in this circle. This only applies if entity_type is
+ /// CIRCLE.
core.int memberCount;
- /**
- * The circle members' visibility as chosen by the owner of the circle. This
- * only applies for items with "item.type" equals "circle". Possible values
- * are:
- * - "public" - Members are visible to the public.
- * - "limited" - Members are visible to a limited audience.
- * - "private" - Members are visible to the owner only.
- */
+
+ /// The circle members' visibility as chosen by the owner of the circle. This
+ /// only applies for items with "item.type" equals "circle". Possible values
+ /// are:
+ /// - "public" - Members are visible to the public.
+ /// - "limited" - Members are visible to a limited audience.
+ /// - "private" - Members are visible to the owner only.
core.String visibility;
Audience();
@@ -2496,7 +2557,8 @@ class Audience {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (etag != null) {
_json["etag"] = etag;
}
@@ -2517,25 +2579,23 @@ class Audience {
}
class AudiencesFeed {
- /** ETag of this response for caching purposes. */
+ /// ETag of this response for caching purposes.
core.String etag;
- /** The audiences in this result. */
+
+ /// The audiences in this result.
core.List<Audience> items;
- /**
- * Identifies this resource as a collection of audiences. Value:
- * "plus#audienceFeed".
- */
+
+ /// Identifies this resource as a collection of audiences. Value:
+ /// "plus#audienceFeed".
core.String kind;
- /**
- * The continuation token, which is used to page through large result sets.
- * Provide this value in a subsequent request to return the next page of
- * results.
- */
+
+ /// The continuation token, which is used to page through large result sets.
+ /// Provide this value in a subsequent request to return the next page of
+ /// results.
core.String nextPageToken;
- /**
- * The total number of ACL entries. The number of entries in this response may
- * be smaller due to paging.
- */
+
+ /// The total number of ACL entries. The number of entries in this response
+ /// may be smaller due to paging.
core.int totalItems;
AudiencesFeed();
@@ -2545,7 +2605,8 @@ class AudiencesFeed {
etag = _json["etag"];
}
if (_json.containsKey("items")) {
- items = _json["items"].map((value) => new Audience.fromJson(value)).toList();
+ items =
+ _json["items"].map((value) => new Audience.fromJson(value)).toList();
}
if (_json.containsKey("kind")) {
kind = _json["kind"];
@@ -2559,7 +2620,8 @@ class AudiencesFeed {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (etag != null) {
_json["etag"] = etag;
}
@@ -2579,9 +2641,9 @@ class AudiencesFeed {
}
}
-/** The people in this circle. */
+/// The people in this circle.
class CirclePeople {
- /** The total number of people in this circle. */
+ /// The total number of people in this circle.
core.int totalItems;
CirclePeople();
@@ -2593,7 +2655,8 @@ class CirclePeople {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (totalItems != null) {
_json["totalItems"] = totalItems;
}
@@ -2602,19 +2665,25 @@ class CirclePeople {
}
class Circle {
- /** The description of this circle. */
+ /// The description of this circle.
core.String description;
- /** The circle name. */
+
+ /// The circle name.
core.String displayName;
- /** ETag of this response for caching purposes. */
+
+ /// ETag of this response for caching purposes.
core.String etag;
- /** The ID of the circle. */
+
+ /// The ID of the circle.
core.String id;
- /** Identifies this resource as a circle. Value: "plus#circle". */
+
+ /// Identifies this resource as a circle. Value: "plus#circle".
core.String kind;
- /** The people in this circle. */
+
+ /// The people in this circle.
CirclePeople people;
- /** Link to this circle resource */
+
+ /// Link to this circle resource
core.String selfLink;
Circle();
@@ -2644,7 +2713,8 @@ class Circle {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (description != null) {
_json["description"] = description;
}
@@ -2671,31 +2741,32 @@ class Circle {
}
class CircleFeed {
- /** ETag of this response for caching purposes. */
+ /// ETag of this response for caching purposes.
core.String etag;
- /** The circles in this page of results. */
+
+ /// The circles in this page of results.
core.List<Circle> items;
- /**
- * Identifies this resource as a collection of circles. Value:
- * "plus#circleFeed".
- */
+
+ /// Identifies this resource as a collection of circles. Value:
+ /// "plus#circleFeed".
core.String kind;
- /** Link to the next page of circles. */
+
+ /// Link to the next page of circles.
core.String nextLink;
- /**
- * The continuation token, which is used to page through large result sets.
- * Provide this value in a subsequent request to return the next page of
- * results.
- */
+
+ /// The continuation token, which is used to page through large result sets.
+ /// Provide this value in a subsequent request to return the next page of
+ /// results.
core.String nextPageToken;
- /** Link to this page of circles. */
+
+ /// Link to this page of circles.
core.String selfLink;
- /** The title of this list of resources. */
+
+ /// The title of this list of resources.
core.String title;
- /**
- * The total number of circles. The number of circles in this response may be
- * smaller due to paging.
- */
+
+ /// The total number of circles. The number of circles in this response may
+ /// be smaller due to paging.
core.int totalItems;
CircleFeed();
@@ -2705,7 +2776,8 @@ class CircleFeed {
etag = _json["etag"];
}
if (_json.containsKey("items")) {
- items = _json["items"].map((value) => new Circle.fromJson(value)).toList();
+ items =
+ _json["items"].map((value) => new Circle.fromJson(value)).toList();
}
if (_json.containsKey("kind")) {
kind = _json["kind"];
@@ -2728,7 +2800,8 @@ class CircleFeed {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (etag != null) {
_json["etag"] = etag;
}
@@ -2757,9 +2830,9 @@ class CircleFeed {
}
}
-/** Actor info specific to YouTube clients. */
+/// Actor info specific to YouTube clients.
class CommentActorClientSpecificActorInfoYoutubeActorInfo {
- /** ID of the YouTube channel owned by the Actor. */
+ /// ID of the YouTube channel owned by the Actor.
core.String channelId;
CommentActorClientSpecificActorInfoYoutubeActorInfo();
@@ -2771,7 +2844,8 @@ class CommentActorClientSpecificActorInfoYoutubeActorInfo {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (channelId != null) {
_json["channelId"] = channelId;
}
@@ -2779,21 +2853,24 @@ class CommentActorClientSpecificActorInfoYoutubeActorInfo {
}
}
-/** Actor info specific to particular clients. */
+/// Actor info specific to particular clients.
class CommentActorClientSpecificActorInfo {
- /** Actor info specific to YouTube clients. */
+ /// Actor info specific to YouTube clients.
CommentActorClientSpecificActorInfoYoutubeActorInfo youtubeActorInfo;
CommentActorClientSpecificActorInfo();
CommentActorClientSpecificActorInfo.fromJson(core.Map _json) {
if (_json.containsKey("youtubeActorInfo")) {
- youtubeActorInfo = new CommentActorClientSpecificActorInfoYoutubeActorInfo.fromJson(_json["youtubeActorInfo"]);
+ youtubeActorInfo =
+ new CommentActorClientSpecificActorInfoYoutubeActorInfo.fromJson(
+ _json["youtubeActorInfo"]);
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (youtubeActorInfo != null) {
_json["youtubeActorInfo"] = (youtubeActorInfo).toJson();
}
@@ -2801,13 +2878,11 @@ class CommentActorClientSpecificActorInfo {
}
}
-/** The image representation of this actor. */
+/// The image representation of this actor.
class CommentActorImage {
- /**
- * The URL of the actor's profile photo. To resize the image and crop it to a
- * square, append the query string ?sz=x, where x is the dimension in pixels
- * of each side.
- */
+ /// The URL of the actor's profile photo. To resize the image and crop it to
+ /// a square, append the query string ?sz=x, where x is the dimension in
+ /// pixels of each side.
core.String url;
CommentActorImage();
@@ -2819,7 +2894,8 @@ class CommentActorImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (url != null) {
_json["url"] = url;
}
@@ -2827,9 +2903,9 @@ class CommentActorImage {
}
}
-/** Verification status of actor. */
+/// Verification status of actor.
class CommentActorVerification {
- /** Verification for one-time or manual processes. */
+ /// Verification for one-time or manual processes.
core.String adHocVerified;
CommentActorVerification();
@@ -2841,7 +2917,8 @@ class CommentActorVerification {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (adHocVerified != null) {
_json["adHocVerified"] = adHocVerified;
}
@@ -2849,26 +2926,33 @@ class CommentActorVerification {
}
}
-/** The person who posted this comment. */
+/// The person who posted this comment.
class CommentActor {
- /** Actor info specific to particular clients. */
+ /// Actor info specific to particular clients.
CommentActorClientSpecificActorInfo clientSpecificActorInfo;
- /** The name of this actor, suitable for display. */
+
+ /// The name of this actor, suitable for display.
core.String displayName;
- /** The ID of the actor. */
+
+ /// The ID of the actor.
core.String id;
- /** The image representation of this actor. */
+
+ /// The image representation of this actor.
CommentActorImage image;
- /** A link to the Person resource for this actor. */
+
+ /// A link to the Person resource for this actor.
core.String url;
- /** Verification status of actor. */
+
+ /// Verification status of actor.
CommentActorVerification verification;
CommentActor();
CommentActor.fromJson(core.Map _json) {
if (_json.containsKey("clientSpecificActorInfo")) {
- clientSpecificActorInfo = new CommentActorClientSpecificActorInfo.fromJson(_json["clientSpecificActorInfo"]);
+ clientSpecificActorInfo =
+ new CommentActorClientSpecificActorInfo.fromJson(
+ _json["clientSpecificActorInfo"]);
}
if (_json.containsKey("displayName")) {
displayName = _json["displayName"];
@@ -2883,12 +2967,14 @@ class CommentActor {
url = _json["url"];
}
if (_json.containsKey("verification")) {
- verification = new CommentActorVerification.fromJson(_json["verification"]);
+ verification =
+ new CommentActorVerification.fromJson(_json["verification"]);
}
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (clientSpecificActorInfo != null) {
_json["clientSpecificActorInfo"] = (clientSpecificActorInfo).toJson();
}
@@ -2912,9 +2998,10 @@ class CommentActor {
}
class CommentInReplyTo {
- /** The ID of the activity. */
+ /// The ID of the activity.
core.String id;
- /** The URL of the activity. */
+
+ /// The URL of the activity.
core.String url;
CommentInReplyTo();
@@ -2929,7 +3016,8 @@ class CommentInReplyTo {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (id != null) {
_json["id"] = id;
}
@@ -2940,20 +3028,18 @@ class CommentInReplyTo {
}
}
-/** The object of this comment. */
+/// The object of this comment.
class CommentObject {
- /** The HTML-formatted content, suitable for display. */
+ /// The HTML-formatted content, suitable for display.
core.String content;
- /**
- * The object type of this comment. Possible values are:
- * - "comment" - A comment in reply to an activity.
- */
+
+ /// The object type of this comment. Possible values are:
+ /// - "comment" - A comment in reply to an activity.
core.String objectType;
- /**
- * The content (text) as provided by the author, stored without any HTML
- * formatting. When creating or updating a comment, this value must be
- * supplied as plain text in the request.
- */
+
+ /// The content (text) as provided by the author, stored without any HTML
+ /// formatting. When creating or updating a comment, this value must be
+ /// supplied as plain text in the request.
core.String originalContent;
CommentObject();
@@ -2971,7 +3057,8 @@ class CommentObject {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (content != null) {
_json["content"] = content;
}
@@ -2985,9 +3072,9 @@ class CommentObject {
}
}
-/** People who +1'd this comment. */
+/// People who +1'd this comment.
class CommentPlusoners {
- /** Total number of people who +1'd this comment. */
+ /// Total number of people who +1'd this comment.
core.int totalItems;
CommentPlusoners();
@@ -2999,7 +3086,8 @@ class CommentPlusoners {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (totalItems != null) {
_json["totalItems"] = totalItems;
}
@@ -3008,37 +3096,41 @@ class CommentPlusoners {
}
class Comment {
- /** The person who posted this comment. */
+ /// The person who posted this comment.
CommentActor actor;
- /** ETag of this response for caching purposes. */
+
+ /// ETag of this response for caching purposes.
core.String etag;
- /** The ID of this comment. */
+
+ /// The ID of this comment.
core.String id;
- /** The activity this comment replied to. */
+
+ /// The activity this comment replied to.
core.List<CommentInReplyTo> inReplyTo;
- /** Identifies this resource as a comment. Value: "plus#comment". */
+
+ /// Identifies this resource as a comment. Value: "plus#comment".
core.String kind;
- /** The object of this comment. */
+
+ /// The object of this comment.
CommentObject object;
- /** People who +1'd this comment. */
+
+ /// People who +1'd this comment.
CommentPlusoners plusoners;
- /**
- * The time at which this comment was initially published. Formatted as an RFC
- * 3339 timestamp.
- */
+
+ /// The time at which this comment was initially published. Formatted as an
+ /// RFC 3339 timestamp.
core.DateTime published;
- /** Link to this comment resource. */
+
+ /// Link to this comment resource.
core.String selfLink;
- /**
- * The time at which this comment was last updated. Formatted as an RFC 3339
- * timestamp.
- */
+
+ /// The time at which this comment was last updated. Formatted as an RFC 3339
+ /// timestamp.
core.DateTime updated;
- /**
- * This comment's verb, indicating what action was performed. Possible values
- * are:
- * - "post" - Publish content to the stream.
- */
+
+ /// This comment's verb, indicating what action was performed. Possible
+ /// values are:
+ /// - "post" - Publish content to the stream.
core.String verb;
Comment();
@@ -3054,7 +3146,9 @@ class Comment {
id = _json["id"];
}
if (_json.containsKey("inReplyTo")) {
- inReplyTo = _json["inReplyTo"].map((value) => new CommentInReplyTo.fromJson(value)).toList();
+ inReplyTo = _json["inReplyTo"]
+ .map((value) => new CommentInReplyTo.fromJson(value))
+ .toList();
}
if (_json.containsKey("kind")) {
kind = _json["kind"];
@@ -3080,7 +3174,8 @@ class Comment {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (actor != null) {
_json["actor"] = (actor).toJson();
}
@@ -3119,31 +3214,32 @@ class Comment {
}
class CommentFeed {
- /** ETag of this response for caching purposes. */
+ /// ETag of this response for caching purposes.
core.String etag;
- /** The ID of this collection of comments. */
+
+ /// The ID of this collection of comments.
core.String id;
- /** The comments in this page of results. */
+
+ /// The comments in this page of results.
core.List<Comment> items;
- /**
- * Identifies this resource as a collection of comments. Value:
- * "plus#commentFeed".
- */
+
+ /// Identifies this resource as a collection of comments. Value:
+ /// "plus#commentFeed".
core.String kind;
- /** Link to the next page of activities. */
+
+ /// Link to the next page of activities.
core.String nextLink;
- /**
- * The continuation token, which is used to page through large result sets.
- * Provide this value in a subsequent request to return the next page of
- * results.
- */
+
+ /// The continuation token, which is used to page through large result sets.
+ /// Provide this value in a subsequent request to return the next page of
+ /// results.
core.String nextPageToken;
- /** The title of this collection of comments. */
+
+ /// The title of this collection of comments.
core.String title;
- /**
- * The time at which this collection of comments was last updated. Formatted
- * as an RFC 3339 timestamp.
- */
+
+ /// The time at which this collection of comments was last updated. Formatted
+ /// as an RFC 3339 timestamp.
core.DateTime updated;
CommentFeed();
@@ -3156,7 +3252,8 @@ class CommentFeed {
id = _json["id"];
}
if (_json.containsKey("items")) {
- items = _json["items"].map((value) => new Comment.fromJson(value)).toList();
+ items =
+ _json["items"].map((value) => new Comment.fromJson(value)).toList();
}
if (_json.containsKey("kind")) {
kind = _json["kind"];
@@ -3176,7 +3273,8 @@ class CommentFeed {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (etag != null) {
_json["etag"] = etag;
}
@@ -3205,13 +3303,11 @@ class CommentFeed {
}
}
-/** The author's Google profile image. */
+/// The author's Google profile image.
class MediaAuthorImage {
- /**
- * The URL of the author's profile photo. To resize the image and crop it to a
- * square, append the query string ?sz=x, where x is the dimension in pixels
- * of each side.
- */
+ /// The URL of the author's profile photo. To resize the image and crop it to
+ /// a square, append the query string ?sz=x, where x is the dimension in
+ /// pixels of each side.
core.String url;
MediaAuthorImage();
@@ -3223,7 +3319,8 @@ class MediaAuthorImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (url != null) {
_json["url"] = url;
}
@@ -3231,15 +3328,18 @@ class MediaAuthorImage {
}
}
-/** The person who uploaded this media. */
+/// The person who uploaded this media.
class MediaAuthor {
- /** The author's name. */
+ /// The author's name.
core.String displayName;
- /** ID of the author. */
+
+ /// ID of the author.
core.String id;
- /** The author's Google profile image. */
+
+ /// The author's Google profile image.
MediaAuthorImage image;
- /** A link to the author's Google profile. */
+
+ /// A link to the author's Google profile.
core.String url;
MediaAuthor();
@@ -3260,7 +3360,8 @@ class MediaAuthor {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (displayName != null) {
_json["displayName"] = displayName;
}
@@ -3277,9 +3378,9 @@ class MediaAuthor {
}
}
-/** Exif information of the media item. */
+/// Exif information of the media item.
class MediaExif {
- /** The time the media was captured. Formatted as an RFC 3339 timestamp. */
+ /// The time the media was captured. Formatted as an RFC 3339 timestamp.
core.DateTime time;
MediaExif();
@@ -3291,7 +3392,8 @@ class MediaExif {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (time != null) {
_json["time"] = (time).toIso8601String();
}
@@ -3300,61 +3402,68 @@ class MediaExif {
}
class Media {
- /** The person who uploaded this media. */
+ /// The person who uploaded this media.
MediaAuthor author;
- /** The display name for this media. */
+
+ /// The display name for this media.
core.String displayName;
- /** ETag of this response for caching purposes. */
+
+ /// ETag of this response for caching purposes.
core.String etag;
- /** Exif information of the media item. */
+
+ /// Exif information of the media item.
MediaExif exif;
- /** The height in pixels of the original image. */
+
+ /// The height in pixels of the original image.
core.int height;
- /** ID of this media, which is generated by the API. */
+
+ /// ID of this media, which is generated by the API.
core.String id;
- /** The type of resource. */
+
+ /// The type of resource.
core.String kind;
- /**
- * The time at which this media was originally created in UTC. Formatted as an
- * RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z
- */
+
+ /// The time at which this media was originally created in UTC. Formatted as
+ /// an RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z
core.DateTime mediaCreatedTime;
- /** The URL of this photo or video's still image. */
+
+ /// The URL of this photo or video's still image.
core.String mediaUrl;
- /**
- * The time at which this media was uploaded. Formatted as an RFC 3339
- * timestamp.
- */
+
+ /// The time at which this media was uploaded. Formatted as an RFC 3339
+ /// timestamp.
core.DateTime published;
- /** The size in bytes of this video. */
+
+ /// The size in bytes of this video.
core.String sizeBytes;
- /**
- * The list of video streams for this video. There might be several different
- * streams available for a single video, either Flash or MPEG, of various
- * sizes
- */
+
+ /// The list of video streams for this video. There might be several
+ /// different streams available for a single video, either Flash or MPEG, of
+ /// various sizes
core.List<Videostream> streams;
- /** A description, or caption, for this media. */
+
+ /// A description, or caption, for this media.
core.String summary;
- /**
- * The time at which this media was last updated. This includes changes to
- * media metadata. Formatted as an RFC 3339 timestamp.
- */
+
+ /// The time at which this media was last updated. This includes changes to
+ /// media metadata. Formatted as an RFC 3339 timestamp.
core.DateTime updated;
- /** The URL for the page that hosts this media. */
+
+ /// The URL for the page that hosts this media.
core.String url;
- /** The duration in milliseconds of this video. */
+
+ /// The duration in milliseconds of this video.
core.String videoDuration;
- /**
- * The encoding status of this video. Possible values are:
- * - "UPLOADING" - Not all the video bytes have been received.
- * - "PENDING" - Video not yet processed.
- * - "FAILED" - Video processing failed.
- * - "READY" - A single video stream is playable.
- * - "FINAL" - All video streams are playable.
- */
+
+ /// The encoding status of this video. Possible values are:
+ /// - "UPLOADING" - Not all the video bytes have been received.
+ /// - "PENDING" - Video not yet processed.
+ /// - "FAILED" - Video processing failed.
+ /// - "READY" - A single video stream is playable.
+ /// - "FINAL" - All video streams are playable.
core.String videoStatus;
- /** The width in pixels of the original image. */
+
+ /// The width in pixels of the original image.
core.int width;
Media();
@@ -3394,7 +3503,9 @@ class Media {
sizeBytes = _json["sizeBytes"];
}
if (_json.containsKey("streams")) {
- streams = _json["streams"].map((value) => new Videostream.fromJson(value)).toList();
+ streams = _json["streams"]
+ .map((value) => new Videostream.fromJson(value))
+ .toList();
}
if (_json.containsKey("summary")) {
summary = _json["summary"];
@@ -3417,7 +3528,8 @@ class Media {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (author != null) {
_json["author"] = (author).toJson();
}
@@ -3477,34 +3589,32 @@ class Media {
}
class PeopleFeed {
- /** ETag of this response for caching purposes. */
+ /// ETag of this response for caching purposes.
core.String etag;
- /**
- * The people in this page of results. Each item includes the id, displayName,
- * image, and url for the person. To retrieve additional profile data, see the
- * people.get method.
- */
+
+ /// The people in this page of results. Each item includes the id,
+ /// displayName, image, and url for the person. To retrieve additional
+ /// profile data, see the people.get method.
core.List<Person> items;
- /**
- * Identifies this resource as a collection of people. Value:
- * "plus#peopleFeed".
- */
+
+ /// Identifies this resource as a collection of people. Value:
+ /// "plus#peopleFeed".
core.String kind;
- /**
- * The continuation token, which is used to page through large result sets.
- * Provide this value in a subsequent request to return the next page of
- * results.
- */
+
+ /// The continuation token, which is used to page through large result sets.
+ /// Provide this value in a subsequent request to return the next page of
+ /// results.
core.String nextPageToken;
- /** Link to this resource. */
+
+ /// Link to this resource.
core.String selfLink;
- /** The title of this collection of people. */
+
+ /// The title of this collection of people.
core.String title;
- /**
- * The total number of people available in this list. The number of people in
- * a response might be smaller due to paging. This might not be set for all
- * collections.
- */
+
+ /// The total number of people available in this list. The number of people
+ /// in a response might be smaller due to paging. This might not be set for
+ /// all collections.
core.int totalItems;
PeopleFeed();
@@ -3514,7 +3624,8 @@ class PeopleFeed {
etag = _json["etag"];
}
if (_json.containsKey("items")) {
- items = _json["items"].map((value) => new Person.fromJson(value)).toList();
+ items =
+ _json["items"].map((value) => new Person.fromJson(value)).toList();
}
if (_json.containsKey("kind")) {
kind = _json["kind"];
@@ -3534,7 +3645,8 @@ class PeopleFeed {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (etag != null) {
_json["etag"] = etag;
}
@@ -3560,17 +3672,14 @@ class PeopleFeed {
}
}
-/** Extra information about the cover photo. */
+/// Extra information about the cover photo.
class PersonCoverCoverInfo {
- /**
- * The difference between the left position of the cover image and the actual
- * displayed cover image. Only valid for banner layout.
- */
+ /// The difference between the left position of the cover image and the
+ /// actual displayed cover image. Only valid for banner layout.
core.int leftImageOffset;
- /**
- * The difference between the top position of the cover image and the actual
- * displayed cover image. Only valid for banner layout.
- */
+
+ /// The difference between the top position of the cover image and the actual
+ /// displayed cover image. Only valid for banner layout.
core.int topImageOffset;
PersonCoverCoverInfo();
@@ -3585,7 +3694,8 @@ class PersonCoverCoverInfo {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (leftImageOffset != null) {
_json["leftImageOffset"] = leftImageOffset;
}
@@ -3596,13 +3706,15 @@ class PersonCoverCoverInfo {
}
}
-/** The person's primary cover image. */
+/// The person's primary cover image.
class PersonCoverCoverPhoto {
- /** The height of the image. */
+ /// The height of the image.
core.int height;
- /** The URL of the image. */
+
+ /// The URL of the image.
core.String url;
- /** The width of the image. */
+
+ /// The width of the image.
core.int width;
PersonCoverCoverPhoto();
@@ -3620,7 +3732,8 @@ class PersonCoverCoverPhoto {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (height != null) {
_json["height"] = height;
}
@@ -3634,17 +3747,17 @@ class PersonCoverCoverPhoto {
}
}
-/** The cover photo content. */
+/// The cover photo content.
class PersonCover {
- /** Extra information about the cover photo. */
+ /// Extra information about the cover photo.
PersonCoverCoverInfo coverInfo;
- /** The person's primary cover image. */
+
+ /// The person's primary cover image.
PersonCoverCoverPhoto coverPhoto;
- /**
- * The layout of the cover art. Possible values include, but are not limited
- * to, the following values:
- * - "banner" - One large image banner.
- */
+
+ /// The layout of the cover art. Possible values include, but are not limited
+ /// to, the following values:
+ /// - "banner" - One large image banner.
core.String layout;
PersonCover();
@@ -3662,7 +3775,8 @@ class PersonCover {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (coverInfo != null) {
_json["coverInfo"] = (coverInfo).toJson();
}
@@ -3677,16 +3791,15 @@ class PersonCover {
}
class PersonEmails {
- /**
- * The type of address. Possible values include, but are not limited to, the
- * following values:
- * - "account" - Google account email address.
- * - "home" - Home email address.
- * - "work" - Work email address.
- * - "other" - Other.
- */
+ /// The type of address. Possible values include, but are not limited to, the
+ /// following values:
+ /// - "account" - Google account email address.
+ /// - "home" - Home email address.
+ /// - "work" - Work email address.
+ /// - "other" - Other.
core.String type;
- /** The email address. */
+
+ /// The email address.
core.String value;
PersonEmails();
@@ -3701,7 +3814,8 @@ class PersonEmails {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (type != null) {
_json["type"] = type;
}
@@ -3712,15 +3826,14 @@ class PersonEmails {
}
}
-/** The representation of the person's profile photo. */
+/// The representation of the person's profile photo.
class PersonImage {
- /** Whether the person's profile photo is the default one */
+ /// Whether the person's profile photo is the default one
core.bool isDefault;
- /**
- * The URL of the person's profile photo. To resize the image and crop it to a
- * square, append the query string ?sz=x, where x is the dimension in pixels
- * of each side.
- */
+
+ /// The URL of the person's profile photo. To resize the image and crop it to
+ /// a square, append the query string ?sz=x, where x is the dimension in
+ /// pixels of each side.
core.String url;
PersonImage();
@@ -3735,7 +3848,8 @@ class PersonImage {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (isDefault != null) {
_json["isDefault"] = isDefault;
}
@@ -3746,21 +3860,24 @@ class PersonImage {
}
}
-/**
- * An object representation of the individual components of a person's name.
- */
+/// An object representation of the individual components of a person's name.
class PersonName {
- /** The family name (last name) of this person. */
+ /// The family name (last name) of this person.
core.String familyName;
- /** The full name of this person, including middle names, suffixes, etc. */
+
+ /// The full name of this person, including middle names, suffixes, etc.
core.String formatted;
- /** The given name (first name) of this person. */
+
+ /// The given name (first name) of this person.
core.String givenName;
- /** The honorific prefixes (such as "Dr." or "Mrs.") for this person. */
+
+ /// The honorific prefixes (such as "Dr." or "Mrs.") for this person.
core.String honorificPrefix;
- /** The honorific suffixes (such as "Jr.") for this person. */
+
+ /// The honorific suffixes (such as "Jr.") for this person.
core.String honorificSuffix;
- /** The middle name of this person. */
+
+ /// The middle name of this person.
core.String middleName;
PersonName();
@@ -3787,7 +3904,8 @@ class PersonName {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (familyName != null) {
_json["familyName"] = familyName;
}
@@ -3811,33 +3929,36 @@ class PersonName {
}
class PersonOrganizations {
- /** The department within the organization. Deprecated. */
+ /// The department within the organization. Deprecated.
core.String department;
- /**
- * A short description of the person's role in this organization. Deprecated.
- */
+
+ /// A short description of the person's role in this organization.
+ /// Deprecated.
core.String description;
- /** The date that the person left this organization. */
+
+ /// The date that the person left this organization.
core.String endDate;
- /** The location of this organization. Deprecated. */
+
+ /// The location of this organization. Deprecated.
core.String location;
- /** The name of the organization. */
+
+ /// The name of the organization.
core.String name;
- /**
- * If "true", indicates this organization is the person's primary one, which
- * is typically interpreted as the current one.
- */
+
+ /// If "true", indicates this organization is the person's primary one, which
+ /// is typically interpreted as the current one.
core.bool primary;
- /** The date that the person joined this organization. */
+
+ /// The date that the person joined this organization.
core.String startDate;
- /** The person's job title or role within the organization. */
+
+ /// The person's job title or role within the organization.
core.String title;
- /**
- * The type of organization. Possible values include, but are not limited to,
- * the following values:
- * - "work" - Work.
- * - "school" - School.
- */
+
+ /// The type of organization. Possible values include, but are not limited
+ /// to, the following values:
+ /// - "work" - Work.
+ /// - "school" - School.
core.String type;
PersonOrganizations();
@@ -3873,7 +3994,8 @@ class PersonOrganizations {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (department != null) {
_json["department"] = department;
}
@@ -3906,12 +4028,11 @@ class PersonOrganizations {
}
class PersonPlacesLived {
- /** If "true", this place of residence is this person's primary residence. */
+ /// If "true", this place of residence is this person's primary residence.
core.bool primary;
- /**
- * A place where this person has lived. For example: "Seattle, WA", "Near
- * Toronto".
- */
+
+ /// A place where this person has lived. For example: "Seattle, WA", "Near
+ /// Toronto".
core.String value;
PersonPlacesLived();
@@ -3926,7 +4047,8 @@ class PersonPlacesLived {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (primary != null) {
_json["primary"] = primary;
}
@@ -3938,18 +4060,18 @@ class PersonPlacesLived {
}
class PersonUrls {
- /** The label of the URL. */
+ /// The label of the URL.
core.String label;
- /**
- * The type of URL. Possible values include, but are not limited to, the
- * following values:
- * - "otherProfile" - URL for another profile.
- * - "contributor" - URL to a site for which this person is a contributor.
- * - "website" - URL for this Google+ Page's primary website.
- * - "other" - Other URL.
- */
+
+ /// The type of URL. Possible values include, but are not limited to, the
+ /// following values:
+ /// - "otherProfile" - URL for another profile.
+ /// - "contributor" - URL to a site for which this person is a contributor.
+ /// - "website" - URL for this Google+ Page's primary website.
+ /// - "other" - Other URL.
core.String type;
- /** The URL value. */
+
+ /// The URL value.
core.String value;
PersonUrls();
@@ -3967,7 +4089,8 @@ class PersonUrls {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (label != null) {
_json["label"] = label;
}
@@ -3982,102 +4105,113 @@ class PersonUrls {
}
class Person {
- /** A short biography for this person. */
+ /// A short biography for this person.
core.String aboutMe;
- /** The person's date of birth, represented as YYYY-MM-DD. */
+
+ /// The person's date of birth, represented as YYYY-MM-DD.
core.String birthday;
- /** The "bragging rights" line of this person. */
+
+ /// The "bragging rights" line of this person.
core.String braggingRights;
- /**
- * For followers who are visible, the number of people who have added this
- * person or page to a circle.
- */
+
+ /// For followers who are visible, the number of people who have added this
+ /// person or page to a circle.
core.int circledByCount;
- /** The cover photo content. */
+
+ /// The cover photo content.
PersonCover cover;
- /** (this field is not currently used) */
+
+ /// (this field is not currently used)
core.String currentLocation;
- /** The name of this person, which is suitable for display. */
+
+ /// The name of this person, which is suitable for display.
core.String displayName;
- /**
- * The hosted domain name for the user's Google Apps account. For instance,
- * example.com. The plus.profile.emails.read or email scope is needed to get
- * this domain name.
- */
+
+ /// The hosted domain name for the user's Google Apps account. For instance,
+ /// example.com. The plus.profile.emails.read or email scope is needed to get
+ /// this domain name.
core.String domain;
- /**
- * A list of email addresses that this person has, including their Google
- * account email address, and the public verified email addresses on their
- * Google+ profile. The plus.profile.emails.read scope is needed to retrieve
- * these email addresses, or the email scope can be used to retrieve just the
- * Google account email address.
- */
+
+ /// A list of email addresses that this person has, including their Google
+ /// account email address, and the public verified email addresses on their
+ /// Google+ profile. The plus.profile.emails.read scope is needed to retrieve
+ /// these email addresses, or the email scope can be used to retrieve just
+ /// the Google account email address.
core.List<PersonEmails> emails;
- /** ETag of this response for caching purposes. */
+
+ /// ETag of this response for caching purposes.
core.String etag;
- /**
- * The person's gender. Possible values include, but are not limited to, the
- * following values:
- * - "male" - Male gender.
- * - "female" - Female gender.
- * - "other" - Other.
- */
+
+ /// The person's gender. Possible values include, but are not limited to, the
+ /// following values:
+ /// - "male" - Male gender.
+ /// - "female" - Female gender.
+ /// - "other" - Other.
core.String gender;
- /** The ID of this person. */
+
+ /// The ID of this person.
core.String id;
- /** The representation of the person's profile photo. */
+
+ /// The representation of the person's profile photo.
PersonImage image;
- /** Whether this user has signed up for Google+. */
+
+ /// Whether this user has signed up for Google+.
core.bool isPlusUser;
- /** Identifies this resource as a person. Value: "plus#person". */
+
+ /// Identifies this resource as a person. Value: "plus#person".
core.String kind;
- /**
- * An object representation of the individual components of a person's name.
- */
+
+ /// An object representation of the individual components of a person's name.
PersonName name;
- /** The nickname of this person. */
+
+ /// The nickname of this person.
core.String nickname;
- /**
- * Type of person within Google+. Possible values include, but are not limited
- * to, the following values:
- * - "person" - represents an actual person.
- * - "page" - represents a page.
- */
+
+ /// Type of person within Google+. Possible values include, but are not
+ /// limited to, the following values:
+ /// - "person" - represents an actual person.
+ /// - "page" - represents a page.
core.String objectType;
- /** The occupation of this person. */
+
+ /// The occupation of this person.
core.String occupation;
- /**
- * A list of current or past organizations with which this person is
- * associated.
- */
+
+ /// A list of current or past organizations with which this person is
+ /// associated.
core.List<PersonOrganizations> organizations;
- /** A list of places where this person has lived. */
+
+ /// A list of places where this person has lived.
core.List<PersonPlacesLived> placesLived;
- /** If a Google+ Page, the number of people who have +1'd this page. */
+
+ /// If a Google+ Page, the number of people who have +1'd this page.
core.int plusOneCount;
- /**
- * The person's relationship status. Possible values include, but are not
- * limited to, the following values:
- * - "single" - Person is single.
- * - "in_a_relationship" - Person is in a relationship.
- * - "engaged" - Person is engaged.
- * - "married" - Person is married.
- * - "its_complicated" - The relationship is complicated.
- * - "open_relationship" - Person is in an open relationship.
- * - "widowed" - Person is widowed.
- * - "in_domestic_partnership" - Person is in a domestic partnership.
- * - "in_civil_union" - Person is in a civil union.
- */
+
+ /// The person's relationship status. Possible values include, but are not
+ /// limited to, the following values:
+ /// - "single" - Person is single.
+ /// - "in_a_relationship" - Person is in a relationship.
+ /// - "engaged" - Person is engaged.
+ /// - "married" - Person is married.
+ /// - "its_complicated" - The relationship is complicated.
+ /// - "open_relationship" - Person is in an open relationship.
+ /// - "widowed" - Person is widowed.
+ /// - "in_domestic_partnership" - Person is in a domestic partnership.
+ /// - "in_civil_union" - Person is in a civil union.
core.String relationshipStatus;
- /** The person's skills. */
+
+ /// The person's skills.
core.String skills;
- /** The brief description (tagline) of this person. */
+
+ /// The brief description (tagline) of this person.
core.String tagline;
- /** The URL of this person's profile. */
+
+ /// The URL of this person's profile.
core.String url;
- /** A list of URLs for this person. */
+
+ /// A list of URLs for this person.
core.List<PersonUrls> urls;
- /** Whether the person or Google+ Page has been verified. */
+
+ /// Whether the person or Google+ Page has been verified.
core.bool verified;
Person();
@@ -4108,7 +4242,9 @@ class Person {
domain = _json["domain"];
}
if (_json.containsKey("emails")) {
- emails = _json["emails"].map((value) => new PersonEmails.fromJson(value)).toList();
+ emails = _json["emails"]
+ .map((value) => new PersonEmails.fromJson(value))
+ .toList();
}
if (_json.containsKey("etag")) {
etag = _json["etag"];
@@ -4141,10 +4277,14 @@ class Person {
occupation = _json["occupation"];
}
if (_json.containsKey("organizations")) {
- organizations = _json["organizations"].map((value) => new PersonOrganizations.fromJson(value)).toList();
+ organizations = _json["organizations"]
+ .map((value) => new PersonOrganizations.fromJson(value))
+ .toList();
}
if (_json.containsKey("placesLived")) {
- placesLived = _json["placesLived"].map((value) => new PersonPlacesLived.fromJson(value)).toList();
+ placesLived = _json["placesLived"]
+ .map((value) => new PersonPlacesLived.fromJson(value))
+ .toList();
}
if (_json.containsKey("plusOneCount")) {
plusOneCount = _json["plusOneCount"];
@@ -4162,7 +4302,8 @@ class Person {
url = _json["url"];
}
if (_json.containsKey("urls")) {
- urls = _json["urls"].map((value) => new PersonUrls.fromJson(value)).toList();
+ urls =
+ _json["urls"].map((value) => new PersonUrls.fromJson(value)).toList();
}
if (_json.containsKey("verified")) {
verified = _json["verified"];
@@ -4170,7 +4311,8 @@ class Person {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (aboutMe != null) {
_json["aboutMe"] = aboutMe;
}
@@ -4229,10 +4371,12 @@ class Person {
_json["occupation"] = occupation;
}
if (organizations != null) {
- _json["organizations"] = organizations.map((value) => (value).toJson()).toList();
+ _json["organizations"] =
+ organizations.map((value) => (value).toJson()).toList();
}
if (placesLived != null) {
- _json["placesLived"] = placesLived.map((value) => (value).toJson()).toList();
+ _json["placesLived"] =
+ placesLived.map((value) => (value).toJson()).toList();
}
if (plusOneCount != null) {
_json["plusOneCount"] = plusOneCount;
@@ -4259,9 +4403,9 @@ class Person {
}
}
-/** The physical address of the place. */
+/// The physical address of the place.
class PlaceAddress {
- /** The formatted address for display. */
+ /// The formatted address for display.
core.String formatted;
PlaceAddress();
@@ -4273,7 +4417,8 @@ class PlaceAddress {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (formatted != null) {
_json["formatted"] = formatted;
}
@@ -4281,11 +4426,12 @@ class PlaceAddress {
}
}
-/** The position of the place. */
+/// The position of the place.
class PlacePosition {
- /** The latitude of this position. */
+ /// The latitude of this position.
core.double latitude;
- /** The longitude of this position. */
+
+ /// The longitude of this position.
core.double longitude;
PlacePosition();
@@ -4300,7 +4446,8 @@ class PlacePosition {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (latitude != null) {
_json["latitude"] = latitude;
}
@@ -4312,15 +4459,19 @@ class PlacePosition {
}
class Place {
- /** The physical address of the place. */
+ /// The physical address of the place.
PlaceAddress address;
- /** The display name of the place. */
+
+ /// The display name of the place.
core.String displayName;
- /** The id of the place. */
+
+ /// The id of the place.
core.String id;
- /** Identifies this resource as a place. Value: "plus#place". */
+
+ /// Identifies this resource as a place. Value: "plus#place".
core.String kind;
- /** The position of the place. */
+
+ /// The position of the place.
PlacePosition position;
Place();
@@ -4344,7 +4495,8 @@ class Place {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (address != null) {
_json["address"] = (address).toJson();
}
@@ -4365,24 +4517,22 @@ class Place {
}
class PlusDomainsAclentryResource {
- /** A descriptive name for this entry. Suitable for display. */
+ /// A descriptive name for this entry. Suitable for display.
core.String displayName;
- /**
- * The ID of the entry. For entries of type "person" or "circle", this is the
- * ID of the resource. For other types, this property is not set.
- */
+
+ /// The ID of the entry. For entries of type "person" or "circle", this is
+ /// the ID of the resource. For other types, this property is not set.
core.String id;
- /**
- * The type of entry describing to whom access is granted. Possible values
- * are:
- * - "person" - Access to an individual.
- * - "circle" - Access to members of a circle.
- * - "myCircles" - Access to members of all the person's circles.
- * - "extendedCircles" - Access to members of all the person's circles, plus
- * all of the people in their circles.
- * - "domain" - Access to members of the person's Google Apps domain.
- * - "public" - Access to anyone on the web.
- */
+
+ /// The type of entry describing to whom access is granted. Possible values
+ /// are:
+ /// - "person" - Access to an individual.
+ /// - "circle" - Access to members of a circle.
+ /// - "myCircles" - Access to members of all the person's circles.
+ /// - "extendedCircles" - Access to members of all the person's circles, plus
+ /// all of the people in their circles.
+ /// - "domain" - Access to members of the person's Google Apps domain.
+ /// - "public" - Access to anyone on the web.
core.String type;
PlusDomainsAclentryResource();
@@ -4400,7 +4550,8 @@ class PlusDomainsAclentryResource {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (displayName != null) {
_json["displayName"] = displayName;
}
@@ -4415,13 +4566,16 @@ class PlusDomainsAclentryResource {
}
class Videostream {
- /** The height, in pixels, of the video resource. */
+ /// The height, in pixels, of the video resource.
core.int height;
- /** MIME type of the video stream. */
+
+ /// MIME type of the video stream.
core.String type;
- /** URL of the video stream. */
+
+ /// URL of the video stream.
core.String url;
- /** The width, in pixels, of the video resource. */
+
+ /// The width, in pixels, of the video resource.
core.int width;
Videostream();
@@ -4442,7 +4596,8 @@ class Videostream {
}
core.Map<core.String, core.Object> toJson() {
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
+ final core.Map<core.String, core.Object> _json =
+ new core.Map<core.String, core.Object>();
if (height != null) {
_json["height"] = height;
}
« no previous file with comments | « generated/googleapis/lib/plus/v1.dart ('k') | generated/googleapis/lib/prediction/v1_6.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698