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

Side by Side Diff: generated/googleapis/lib/drive/v2.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/dns/v1.dart ('k') | generated/googleapis/lib/genomics/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.drive.v2; 3 library googleapis.drive.v2;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert_1; 7 import 'dart:convert' as convert_1;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 6226 matching lines...) Expand 10 before | Expand all | Expand 10 after
6237 */ 6237 */
6238 core.String emailAddress; 6238 core.String emailAddress;
6239 /** The ETag of the permission. */ 6239 /** The ETag of the permission. */
6240 core.String etag; 6240 core.String etag;
6241 /** The time at which this permission will expire (RFC 3339 date-time). */ 6241 /** The time at which this permission will expire (RFC 3339 date-time). */
6242 core.DateTime expirationDate; 6242 core.DateTime expirationDate;
6243 /** 6243 /**
6244 * The ID of the user this permission refers to, and identical to the 6244 * The ID of the user this permission refers to, and identical to the
6245 * permissionId in the About and Files resources. When making a 6245 * permissionId in the About and Files resources. When making a
6246 * drive.permissions.insert request, exactly one of the id or value fields 6246 * drive.permissions.insert request, exactly one of the id or value fields
6247 * must be specified. 6247 * must be specified unless the permission type anyone, in which case both id
6248 * and value are ignored.
6248 */ 6249 */
6249 core.String id; 6250 core.String id;
6250 /** This is always drive#permission. */ 6251 /** This is always drive#permission. */
6251 core.String kind; 6252 core.String kind;
6252 /** The name for this permission. */ 6253 /** The name for this permission. */
6253 core.String name; 6254 core.String name;
6254 /** A link to the profile photo, if available. */ 6255 /** A link to the profile photo, if available. */
6255 core.String photoLink; 6256 core.String photoLink;
6256 /** 6257 /**
6257 * The primary role for this user. Allowed values are: 6258 * The primary role for this user. Allowed values are:
6258 * - owner 6259 * - owner
6259 * - reader 6260 * - reader
6260 * - writer 6261 * - writer
6261 */ 6262 */
6262 core.String role; 6263 core.String role;
6263 /** A link back to this permission. */ 6264 /** A link back to this permission. */
6264 core.String selfLink; 6265 core.String selfLink;
6265 /** 6266 /**
6266 * The account type. Allowed values are: 6267 * The account type. Allowed values are:
6267 * - user 6268 * - user
6268 * - group 6269 * - group
6269 * - domain 6270 * - domain
6270 * - anyone 6271 * - anyone
6271 */ 6272 */
6272 core.String type; 6273 core.String type;
6273 /** 6274 /**
6274 * The email address or domain name for the entity. This is used during 6275 * The email address or domain name for the entity. This is used during
6275 * inserts and is not populated in responses. When making a 6276 * inserts and is not populated in responses. When making a
6276 * drive.permissions.insert request, exactly one of the id or value fields 6277 * drive.permissions.insert request, exactly one of the id or value fields
6277 * must be specified. 6278 * must be specified unless the permission type anyone, in which case both id
6279 * and value are ignored.
6278 */ 6280 */
6279 core.String value; 6281 core.String value;
6280 /** Whether the link is required for this permission. */ 6282 /** Whether the link is required for this permission. */
6281 core.bool withLink; 6283 core.bool withLink;
6282 6284
6283 Permission(); 6285 Permission();
6284 6286
6285 Permission.fromJson(core.Map _json) { 6287 Permission.fromJson(core.Map _json) {
6286 if (_json.containsKey("additionalRoles")) { 6288 if (_json.containsKey("additionalRoles")) {
6287 additionalRoles = _json["additionalRoles"]; 6289 additionalRoles = _json["additionalRoles"];
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
6887 } 6889 }
6888 if (permissionId != null) { 6890 if (permissionId != null) {
6889 _json["permissionId"] = permissionId; 6891 _json["permissionId"] = permissionId;
6890 } 6892 }
6891 if (picture != null) { 6893 if (picture != null) {
6892 _json["picture"] = (picture).toJson(); 6894 _json["picture"] = (picture).toJson();
6893 } 6895 }
6894 return _json; 6896 return _json;
6895 } 6897 }
6896 } 6898 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/dns/v1.dart ('k') | generated/googleapis/lib/genomics/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698