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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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
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.v3; 3 library googleapis.drive.v3;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 2411 matching lines...) Expand 10 before | Expand all | Expand 10 after
2422 usage = _json["usage"]; 2422 usage = _json["usage"];
2423 } 2423 }
2424 if (_json.containsKey("usageInDrive")) { 2424 if (_json.containsKey("usageInDrive")) {
2425 usageInDrive = _json["usageInDrive"]; 2425 usageInDrive = _json["usageInDrive"];
2426 } 2426 }
2427 if (_json.containsKey("usageInDriveTrash")) { 2427 if (_json.containsKey("usageInDriveTrash")) {
2428 usageInDriveTrash = _json["usageInDriveTrash"]; 2428 usageInDriveTrash = _json["usageInDriveTrash"];
2429 } 2429 }
2430 } 2430 }
2431 2431
2432 core.Map toJson() { 2432 core.Map<core.String, core.Object> toJson() {
2433 var _json = new core.Map(); 2433 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2434 if (limit != null) { 2434 if (limit != null) {
2435 _json["limit"] = limit; 2435 _json["limit"] = limit;
2436 } 2436 }
2437 if (usage != null) { 2437 if (usage != null) {
2438 _json["usage"] = usage; 2438 _json["usage"] = usage;
2439 } 2439 }
2440 if (usageInDrive != null) { 2440 if (usageInDrive != null) {
2441 _json["usageInDrive"] = usageInDrive; 2441 _json["usageInDrive"] = usageInDrive;
2442 } 2442 }
2443 if (usageInDriveTrash != null) { 2443 if (usageInDriveTrash != null) {
(...skipping 18 matching lines...) Expand all
2462 backgroundImageLink = _json["backgroundImageLink"]; 2462 backgroundImageLink = _json["backgroundImageLink"];
2463 } 2463 }
2464 if (_json.containsKey("colorRgb")) { 2464 if (_json.containsKey("colorRgb")) {
2465 colorRgb = _json["colorRgb"]; 2465 colorRgb = _json["colorRgb"];
2466 } 2466 }
2467 if (_json.containsKey("id")) { 2467 if (_json.containsKey("id")) {
2468 id = _json["id"]; 2468 id = _json["id"];
2469 } 2469 }
2470 } 2470 }
2471 2471
2472 core.Map toJson() { 2472 core.Map<core.String, core.Object> toJson() {
2473 var _json = new core.Map(); 2473 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2474 if (backgroundImageLink != null) { 2474 if (backgroundImageLink != null) {
2475 _json["backgroundImageLink"] = backgroundImageLink; 2475 _json["backgroundImageLink"] = backgroundImageLink;
2476 } 2476 }
2477 if (colorRgb != null) { 2477 if (colorRgb != null) {
2478 _json["colorRgb"] = colorRgb; 2478 _json["colorRgb"] = colorRgb;
2479 } 2479 }
2480 if (id != null) { 2480 if (id != null) {
2481 _json["id"] = id; 2481 _json["id"] = id;
2482 } 2482 }
2483 return _json; 2483 return _json;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2545 storageQuota = new AboutStorageQuota.fromJson(_json["storageQuota"]); 2545 storageQuota = new AboutStorageQuota.fromJson(_json["storageQuota"]);
2546 } 2546 }
2547 if (_json.containsKey("teamDriveThemes")) { 2547 if (_json.containsKey("teamDriveThemes")) {
2548 teamDriveThemes = _json["teamDriveThemes"].map((value) => new AboutTeamDri veThemes.fromJson(value)).toList(); 2548 teamDriveThemes = _json["teamDriveThemes"].map((value) => new AboutTeamDri veThemes.fromJson(value)).toList();
2549 } 2549 }
2550 if (_json.containsKey("user")) { 2550 if (_json.containsKey("user")) {
2551 user = new User.fromJson(_json["user"]); 2551 user = new User.fromJson(_json["user"]);
2552 } 2552 }
2553 } 2553 }
2554 2554
2555 core.Map toJson() { 2555 core.Map<core.String, core.Object> toJson() {
2556 var _json = new core.Map(); 2556 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2557 if (appInstalled != null) { 2557 if (appInstalled != null) {
2558 _json["appInstalled"] = appInstalled; 2558 _json["appInstalled"] = appInstalled;
2559 } 2559 }
2560 if (exportFormats != null) { 2560 if (exportFormats != null) {
2561 _json["exportFormats"] = exportFormats; 2561 _json["exportFormats"] = exportFormats;
2562 } 2562 }
2563 if (folderColorPalette != null) { 2563 if (folderColorPalette != null) {
2564 _json["folderColorPalette"] = folderColorPalette; 2564 _json["folderColorPalette"] = folderColorPalette;
2565 } 2565 }
2566 if (importFormats != null) { 2566 if (importFormats != null) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
2642 teamDriveId = _json["teamDriveId"]; 2642 teamDriveId = _json["teamDriveId"];
2643 } 2643 }
2644 if (_json.containsKey("time")) { 2644 if (_json.containsKey("time")) {
2645 time = core.DateTime.parse(_json["time"]); 2645 time = core.DateTime.parse(_json["time"]);
2646 } 2646 }
2647 if (_json.containsKey("type")) { 2647 if (_json.containsKey("type")) {
2648 type = _json["type"]; 2648 type = _json["type"];
2649 } 2649 }
2650 } 2650 }
2651 2651
2652 core.Map toJson() { 2652 core.Map<core.String, core.Object> toJson() {
2653 var _json = new core.Map(); 2653 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2654 if (file != null) { 2654 if (file != null) {
2655 _json["file"] = (file).toJson(); 2655 _json["file"] = (file).toJson();
2656 } 2656 }
2657 if (fileId != null) { 2657 if (fileId != null) {
2658 _json["fileId"] = fileId; 2658 _json["fileId"] = fileId;
2659 } 2659 }
2660 if (kind != null) { 2660 if (kind != null) {
2661 _json["kind"] = kind; 2661 _json["kind"] = kind;
2662 } 2662 }
2663 if (removed != null) { 2663 if (removed != null) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2714 kind = _json["kind"]; 2714 kind = _json["kind"];
2715 } 2715 }
2716 if (_json.containsKey("newStartPageToken")) { 2716 if (_json.containsKey("newStartPageToken")) {
2717 newStartPageToken = _json["newStartPageToken"]; 2717 newStartPageToken = _json["newStartPageToken"];
2718 } 2718 }
2719 if (_json.containsKey("nextPageToken")) { 2719 if (_json.containsKey("nextPageToken")) {
2720 nextPageToken = _json["nextPageToken"]; 2720 nextPageToken = _json["nextPageToken"];
2721 } 2721 }
2722 } 2722 }
2723 2723
2724 core.Map toJson() { 2724 core.Map<core.String, core.Object> toJson() {
2725 var _json = new core.Map(); 2725 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2726 if (changes != null) { 2726 if (changes != null) {
2727 _json["changes"] = changes.map((value) => (value).toJson()).toList(); 2727 _json["changes"] = changes.map((value) => (value).toJson()).toList();
2728 } 2728 }
2729 if (kind != null) { 2729 if (kind != null) {
2730 _json["kind"] = kind; 2730 _json["kind"] = kind;
2731 } 2731 }
2732 if (newStartPageToken != null) { 2732 if (newStartPageToken != null) {
2733 _json["newStartPageToken"] = newStartPageToken; 2733 _json["newStartPageToken"] = newStartPageToken;
2734 } 2734 }
2735 if (nextPageToken != null) { 2735 if (nextPageToken != null) {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2802 resourceUri = _json["resourceUri"]; 2802 resourceUri = _json["resourceUri"];
2803 } 2803 }
2804 if (_json.containsKey("token")) { 2804 if (_json.containsKey("token")) {
2805 token = _json["token"]; 2805 token = _json["token"];
2806 } 2806 }
2807 if (_json.containsKey("type")) { 2807 if (_json.containsKey("type")) {
2808 type = _json["type"]; 2808 type = _json["type"];
2809 } 2809 }
2810 } 2810 }
2811 2811
2812 core.Map toJson() { 2812 core.Map<core.String, core.Object> toJson() {
2813 var _json = new core.Map(); 2813 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2814 if (address != null) { 2814 if (address != null) {
2815 _json["address"] = address; 2815 _json["address"] = address;
2816 } 2816 }
2817 if (expiration != null) { 2817 if (expiration != null) {
2818 _json["expiration"] = expiration; 2818 _json["expiration"] = expiration;
2819 } 2819 }
2820 if (id != null) { 2820 if (id != null) {
2821 _json["id"] = id; 2821 _json["id"] = id;
2822 } 2822 }
2823 if (kind != null) { 2823 if (kind != null) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
2863 2863
2864 CommentQuotedFileContent.fromJson(core.Map _json) { 2864 CommentQuotedFileContent.fromJson(core.Map _json) {
2865 if (_json.containsKey("mimeType")) { 2865 if (_json.containsKey("mimeType")) {
2866 mimeType = _json["mimeType"]; 2866 mimeType = _json["mimeType"];
2867 } 2867 }
2868 if (_json.containsKey("value")) { 2868 if (_json.containsKey("value")) {
2869 value = _json["value"]; 2869 value = _json["value"];
2870 } 2870 }
2871 } 2871 }
2872 2872
2873 core.Map toJson() { 2873 core.Map<core.String, core.Object> toJson() {
2874 var _json = new core.Map(); 2874 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2875 if (mimeType != null) { 2875 if (mimeType != null) {
2876 _json["mimeType"] = mimeType; 2876 _json["mimeType"] = mimeType;
2877 } 2877 }
2878 if (value != null) { 2878 if (value != null) {
2879 _json["value"] = value; 2879 _json["value"] = value;
2880 } 2880 }
2881 return _json; 2881 return _json;
2882 } 2882 }
2883 } 2883 }
2884 2884
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
2961 quotedFileContent = new CommentQuotedFileContent.fromJson(_json["quotedFil eContent"]); 2961 quotedFileContent = new CommentQuotedFileContent.fromJson(_json["quotedFil eContent"]);
2962 } 2962 }
2963 if (_json.containsKey("replies")) { 2963 if (_json.containsKey("replies")) {
2964 replies = _json["replies"].map((value) => new Reply.fromJson(value)).toLis t(); 2964 replies = _json["replies"].map((value) => new Reply.fromJson(value)).toLis t();
2965 } 2965 }
2966 if (_json.containsKey("resolved")) { 2966 if (_json.containsKey("resolved")) {
2967 resolved = _json["resolved"]; 2967 resolved = _json["resolved"];
2968 } 2968 }
2969 } 2969 }
2970 2970
2971 core.Map toJson() { 2971 core.Map<core.String, core.Object> toJson() {
2972 var _json = new core.Map(); 2972 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2973 if (anchor != null) { 2973 if (anchor != null) {
2974 _json["anchor"] = anchor; 2974 _json["anchor"] = anchor;
2975 } 2975 }
2976 if (author != null) { 2976 if (author != null) {
2977 _json["author"] = (author).toJson(); 2977 _json["author"] = (author).toJson();
2978 } 2978 }
2979 if (content != null) { 2979 if (content != null) {
2980 _json["content"] = content; 2980 _json["content"] = content;
2981 } 2981 }
2982 if (createdTime != null) { 2982 if (createdTime != null) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
3037 comments = _json["comments"].map((value) => new Comment.fromJson(value)).t oList(); 3037 comments = _json["comments"].map((value) => new Comment.fromJson(value)).t oList();
3038 } 3038 }
3039 if (_json.containsKey("kind")) { 3039 if (_json.containsKey("kind")) {
3040 kind = _json["kind"]; 3040 kind = _json["kind"];
3041 } 3041 }
3042 if (_json.containsKey("nextPageToken")) { 3042 if (_json.containsKey("nextPageToken")) {
3043 nextPageToken = _json["nextPageToken"]; 3043 nextPageToken = _json["nextPageToken"];
3044 } 3044 }
3045 } 3045 }
3046 3046
3047 core.Map toJson() { 3047 core.Map<core.String, core.Object> toJson() {
3048 var _json = new core.Map(); 3048 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3049 if (comments != null) { 3049 if (comments != null) {
3050 _json["comments"] = comments.map((value) => (value).toJson()).toList(); 3050 _json["comments"] = comments.map((value) => (value).toJson()).toList();
3051 } 3051 }
3052 if (kind != null) { 3052 if (kind != null) {
3053 _json["kind"] = kind; 3053 _json["kind"] = kind;
3054 } 3054 }
3055 if (nextPageToken != null) { 3055 if (nextPageToken != null) {
3056 _json["nextPageToken"] = nextPageToken; 3056 _json["nextPageToken"] = nextPageToken;
3057 } 3057 }
3058 return _json; 3058 return _json;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
3181 canShare = _json["canShare"]; 3181 canShare = _json["canShare"];
3182 } 3182 }
3183 if (_json.containsKey("canTrash")) { 3183 if (_json.containsKey("canTrash")) {
3184 canTrash = _json["canTrash"]; 3184 canTrash = _json["canTrash"];
3185 } 3185 }
3186 if (_json.containsKey("canUntrash")) { 3186 if (_json.containsKey("canUntrash")) {
3187 canUntrash = _json["canUntrash"]; 3187 canUntrash = _json["canUntrash"];
3188 } 3188 }
3189 } 3189 }
3190 3190
3191 core.Map toJson() { 3191 core.Map<core.String, core.Object> toJson() {
3192 var _json = new core.Map(); 3192 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3193 if (canAddChildren != null) { 3193 if (canAddChildren != null) {
3194 _json["canAddChildren"] = canAddChildren; 3194 _json["canAddChildren"] = canAddChildren;
3195 } 3195 }
3196 if (canChangeViewersCanCopyContent != null) { 3196 if (canChangeViewersCanCopyContent != null) {
3197 _json["canChangeViewersCanCopyContent"] = canChangeViewersCanCopyContent; 3197 _json["canChangeViewersCanCopyContent"] = canChangeViewersCanCopyContent;
3198 } 3198 }
3199 if (canComment != null) { 3199 if (canComment != null) {
3200 _json["canComment"] = canComment; 3200 _json["canComment"] = canComment;
3201 } 3201 }
3202 if (canCopy != null) { 3202 if (canCopy != null) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
3266 3266
3267 FileContentHintsThumbnail.fromJson(core.Map _json) { 3267 FileContentHintsThumbnail.fromJson(core.Map _json) {
3268 if (_json.containsKey("image")) { 3268 if (_json.containsKey("image")) {
3269 image = _json["image"]; 3269 image = _json["image"];
3270 } 3270 }
3271 if (_json.containsKey("mimeType")) { 3271 if (_json.containsKey("mimeType")) {
3272 mimeType = _json["mimeType"]; 3272 mimeType = _json["mimeType"];
3273 } 3273 }
3274 } 3274 }
3275 3275
3276 core.Map toJson() { 3276 core.Map<core.String, core.Object> toJson() {
3277 var _json = new core.Map(); 3277 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3278 if (image != null) { 3278 if (image != null) {
3279 _json["image"] = image; 3279 _json["image"] = image;
3280 } 3280 }
3281 if (mimeType != null) { 3281 if (mimeType != null) {
3282 _json["mimeType"] = mimeType; 3282 _json["mimeType"] = mimeType;
3283 } 3283 }
3284 return _json; 3284 return _json;
3285 } 3285 }
3286 } 3286 }
3287 3287
(...skipping 17 matching lines...) Expand all
3305 3305
3306 FileContentHints.fromJson(core.Map _json) { 3306 FileContentHints.fromJson(core.Map _json) {
3307 if (_json.containsKey("indexableText")) { 3307 if (_json.containsKey("indexableText")) {
3308 indexableText = _json["indexableText"]; 3308 indexableText = _json["indexableText"];
3309 } 3309 }
3310 if (_json.containsKey("thumbnail")) { 3310 if (_json.containsKey("thumbnail")) {
3311 thumbnail = new FileContentHintsThumbnail.fromJson(_json["thumbnail"]); 3311 thumbnail = new FileContentHintsThumbnail.fromJson(_json["thumbnail"]);
3312 } 3312 }
3313 } 3313 }
3314 3314
3315 core.Map toJson() { 3315 core.Map<core.String, core.Object> toJson() {
3316 var _json = new core.Map(); 3316 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3317 if (indexableText != null) { 3317 if (indexableText != null) {
3318 _json["indexableText"] = indexableText; 3318 _json["indexableText"] = indexableText;
3319 } 3319 }
3320 if (thumbnail != null) { 3320 if (thumbnail != null) {
3321 _json["thumbnail"] = (thumbnail).toJson(); 3321 _json["thumbnail"] = (thumbnail).toJson();
3322 } 3322 }
3323 return _json; 3323 return _json;
3324 } 3324 }
3325 } 3325 }
3326 3326
(...skipping 13 matching lines...) Expand all
3340 altitude = _json["altitude"]; 3340 altitude = _json["altitude"];
3341 } 3341 }
3342 if (_json.containsKey("latitude")) { 3342 if (_json.containsKey("latitude")) {
3343 latitude = _json["latitude"]; 3343 latitude = _json["latitude"];
3344 } 3344 }
3345 if (_json.containsKey("longitude")) { 3345 if (_json.containsKey("longitude")) {
3346 longitude = _json["longitude"]; 3346 longitude = _json["longitude"];
3347 } 3347 }
3348 } 3348 }
3349 3349
3350 core.Map toJson() { 3350 core.Map<core.String, core.Object> toJson() {
3351 var _json = new core.Map(); 3351 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3352 if (altitude != null) { 3352 if (altitude != null) {
3353 _json["altitude"] = altitude; 3353 _json["altitude"] = altitude;
3354 } 3354 }
3355 if (latitude != null) { 3355 if (latitude != null) {
3356 _json["latitude"] = latitude; 3356 _json["latitude"] = latitude;
3357 } 3357 }
3358 if (longitude != null) { 3358 if (longitude != null) {
3359 _json["longitude"] = longitude; 3359 _json["longitude"] = longitude;
3360 } 3360 }
3361 return _json; 3361 return _json;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
3473 time = _json["time"]; 3473 time = _json["time"];
3474 } 3474 }
3475 if (_json.containsKey("whiteBalance")) { 3475 if (_json.containsKey("whiteBalance")) {
3476 whiteBalance = _json["whiteBalance"]; 3476 whiteBalance = _json["whiteBalance"];
3477 } 3477 }
3478 if (_json.containsKey("width")) { 3478 if (_json.containsKey("width")) {
3479 width = _json["width"]; 3479 width = _json["width"];
3480 } 3480 }
3481 } 3481 }
3482 3482
3483 core.Map toJson() { 3483 core.Map<core.String, core.Object> toJson() {
3484 var _json = new core.Map(); 3484 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3485 if (aperture != null) { 3485 if (aperture != null) {
3486 _json["aperture"] = aperture; 3486 _json["aperture"] = aperture;
3487 } 3487 }
3488 if (cameraMake != null) { 3488 if (cameraMake != null) {
3489 _json["cameraMake"] = cameraMake; 3489 _json["cameraMake"] = cameraMake;
3490 } 3490 }
3491 if (cameraModel != null) { 3491 if (cameraModel != null) {
3492 _json["cameraModel"] = cameraModel; 3492 _json["cameraModel"] = cameraModel;
3493 } 3493 }
3494 if (colorSpace != null) { 3494 if (colorSpace != null) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
3568 durationMillis = _json["durationMillis"]; 3568 durationMillis = _json["durationMillis"];
3569 } 3569 }
3570 if (_json.containsKey("height")) { 3570 if (_json.containsKey("height")) {
3571 height = _json["height"]; 3571 height = _json["height"];
3572 } 3572 }
3573 if (_json.containsKey("width")) { 3573 if (_json.containsKey("width")) {
3574 width = _json["width"]; 3574 width = _json["width"];
3575 } 3575 }
3576 } 3576 }
3577 3577
3578 core.Map toJson() { 3578 core.Map<core.String, core.Object> toJson() {
3579 var _json = new core.Map(); 3579 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3580 if (durationMillis != null) { 3580 if (durationMillis != null) {
3581 _json["durationMillis"] = durationMillis; 3581 _json["durationMillis"] = durationMillis;
3582 } 3582 }
3583 if (height != null) { 3583 if (height != null) {
3584 _json["height"] = height; 3584 _json["height"] = height;
3585 } 3585 }
3586 if (width != null) { 3586 if (width != null) {
3587 _json["width"] = width; 3587 _json["width"] = width;
3588 } 3588 }
3589 return _json; 3589 return _json;
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
3967 webContentLink = _json["webContentLink"]; 3967 webContentLink = _json["webContentLink"];
3968 } 3968 }
3969 if (_json.containsKey("webViewLink")) { 3969 if (_json.containsKey("webViewLink")) {
3970 webViewLink = _json["webViewLink"]; 3970 webViewLink = _json["webViewLink"];
3971 } 3971 }
3972 if (_json.containsKey("writersCanShare")) { 3972 if (_json.containsKey("writersCanShare")) {
3973 writersCanShare = _json["writersCanShare"]; 3973 writersCanShare = _json["writersCanShare"];
3974 } 3974 }
3975 } 3975 }
3976 3976
3977 core.Map toJson() { 3977 core.Map<core.String, core.Object> toJson() {
3978 var _json = new core.Map(); 3978 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3979 if (appProperties != null) { 3979 if (appProperties != null) {
3980 _json["appProperties"] = appProperties; 3980 _json["appProperties"] = appProperties;
3981 } 3981 }
3982 if (capabilities != null) { 3982 if (capabilities != null) {
3983 _json["capabilities"] = (capabilities).toJson(); 3983 _json["capabilities"] = (capabilities).toJson();
3984 } 3984 }
3985 if (contentHints != null) { 3985 if (contentHints != null) {
3986 _json["contentHints"] = (contentHints).toJson(); 3986 _json["contentHints"] = (contentHints).toJson();
3987 } 3987 }
3988 if (createdTime != null) { 3988 if (createdTime != null) {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
4172 incompleteSearch = _json["incompleteSearch"]; 4172 incompleteSearch = _json["incompleteSearch"];
4173 } 4173 }
4174 if (_json.containsKey("kind")) { 4174 if (_json.containsKey("kind")) {
4175 kind = _json["kind"]; 4175 kind = _json["kind"];
4176 } 4176 }
4177 if (_json.containsKey("nextPageToken")) { 4177 if (_json.containsKey("nextPageToken")) {
4178 nextPageToken = _json["nextPageToken"]; 4178 nextPageToken = _json["nextPageToken"];
4179 } 4179 }
4180 } 4180 }
4181 4181
4182 core.Map toJson() { 4182 core.Map<core.String, core.Object> toJson() {
4183 var _json = new core.Map(); 4183 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4184 if (files != null) { 4184 if (files != null) {
4185 _json["files"] = files.map((value) => (value).toJson()).toList(); 4185 _json["files"] = files.map((value) => (value).toJson()).toList();
4186 } 4186 }
4187 if (incompleteSearch != null) { 4187 if (incompleteSearch != null) {
4188 _json["incompleteSearch"] = incompleteSearch; 4188 _json["incompleteSearch"] = incompleteSearch;
4189 } 4189 }
4190 if (kind != null) { 4190 if (kind != null) {
4191 _json["kind"] = kind; 4191 _json["kind"] = kind;
4192 } 4192 }
4193 if (nextPageToken != null) { 4193 if (nextPageToken != null) {
(...skipping 22 matching lines...) Expand all
4216 ids = _json["ids"]; 4216 ids = _json["ids"];
4217 } 4217 }
4218 if (_json.containsKey("kind")) { 4218 if (_json.containsKey("kind")) {
4219 kind = _json["kind"]; 4219 kind = _json["kind"];
4220 } 4220 }
4221 if (_json.containsKey("space")) { 4221 if (_json.containsKey("space")) {
4222 space = _json["space"]; 4222 space = _json["space"];
4223 } 4223 }
4224 } 4224 }
4225 4225
4226 core.Map toJson() { 4226 core.Map<core.String, core.Object> toJson() {
4227 var _json = new core.Map(); 4227 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4228 if (ids != null) { 4228 if (ids != null) {
4229 _json["ids"] = ids; 4229 _json["ids"] = ids;
4230 } 4230 }
4231 if (kind != null) { 4231 if (kind != null) {
4232 _json["kind"] = kind; 4232 _json["kind"] = kind;
4233 } 4233 }
4234 if (space != null) { 4234 if (space != null) {
4235 _json["space"] = space; 4235 _json["space"] = space;
4236 } 4236 }
4237 return _json; 4237 return _json;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
4276 inheritedFrom = _json["inheritedFrom"]; 4276 inheritedFrom = _json["inheritedFrom"];
4277 } 4277 }
4278 if (_json.containsKey("role")) { 4278 if (_json.containsKey("role")) {
4279 role = _json["role"]; 4279 role = _json["role"];
4280 } 4280 }
4281 if (_json.containsKey("teamDrivePermissionType")) { 4281 if (_json.containsKey("teamDrivePermissionType")) {
4282 teamDrivePermissionType = _json["teamDrivePermissionType"]; 4282 teamDrivePermissionType = _json["teamDrivePermissionType"];
4283 } 4283 }
4284 } 4284 }
4285 4285
4286 core.Map toJson() { 4286 core.Map<core.String, core.Object> toJson() {
4287 var _json = new core.Map(); 4287 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4288 if (inherited != null) { 4288 if (inherited != null) {
4289 _json["inherited"] = inherited; 4289 _json["inherited"] = inherited;
4290 } 4290 }
4291 if (inheritedFrom != null) { 4291 if (inheritedFrom != null) {
4292 _json["inheritedFrom"] = inheritedFrom; 4292 _json["inheritedFrom"] = inheritedFrom;
4293 } 4293 }
4294 if (role != null) { 4294 if (role != null) {
4295 _json["role"] = role; 4295 _json["role"] = role;
4296 } 4296 }
4297 if (teamDrivePermissionType != null) { 4297 if (teamDrivePermissionType != null) {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
4403 role = _json["role"]; 4403 role = _json["role"];
4404 } 4404 }
4405 if (_json.containsKey("teamDrivePermissionDetails")) { 4405 if (_json.containsKey("teamDrivePermissionDetails")) {
4406 teamDrivePermissionDetails = _json["teamDrivePermissionDetails"].map((valu e) => new PermissionTeamDrivePermissionDetails.fromJson(value)).toList(); 4406 teamDrivePermissionDetails = _json["teamDrivePermissionDetails"].map((valu e) => new PermissionTeamDrivePermissionDetails.fromJson(value)).toList();
4407 } 4407 }
4408 if (_json.containsKey("type")) { 4408 if (_json.containsKey("type")) {
4409 type = _json["type"]; 4409 type = _json["type"];
4410 } 4410 }
4411 } 4411 }
4412 4412
4413 core.Map toJson() { 4413 core.Map<core.String, core.Object> toJson() {
4414 var _json = new core.Map(); 4414 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4415 if (allowFileDiscovery != null) { 4415 if (allowFileDiscovery != null) {
4416 _json["allowFileDiscovery"] = allowFileDiscovery; 4416 _json["allowFileDiscovery"] = allowFileDiscovery;
4417 } 4417 }
4418 if (deleted != null) { 4418 if (deleted != null) {
4419 _json["deleted"] = deleted; 4419 _json["deleted"] = deleted;
4420 } 4420 }
4421 if (displayName != null) { 4421 if (displayName != null) {
4422 _json["displayName"] = displayName; 4422 _json["displayName"] = displayName;
4423 } 4423 }
4424 if (domain != null) { 4424 if (domain != null) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
4479 kind = _json["kind"]; 4479 kind = _json["kind"];
4480 } 4480 }
4481 if (_json.containsKey("nextPageToken")) { 4481 if (_json.containsKey("nextPageToken")) {
4482 nextPageToken = _json["nextPageToken"]; 4482 nextPageToken = _json["nextPageToken"];
4483 } 4483 }
4484 if (_json.containsKey("permissions")) { 4484 if (_json.containsKey("permissions")) {
4485 permissions = _json["permissions"].map((value) => new Permission.fromJson( value)).toList(); 4485 permissions = _json["permissions"].map((value) => new Permission.fromJson( value)).toList();
4486 } 4486 }
4487 } 4487 }
4488 4488
4489 core.Map toJson() { 4489 core.Map<core.String, core.Object> toJson() {
4490 var _json = new core.Map(); 4490 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4491 if (kind != null) { 4491 if (kind != null) {
4492 _json["kind"] = kind; 4492 _json["kind"] = kind;
4493 } 4493 }
4494 if (nextPageToken != null) { 4494 if (nextPageToken != null) {
4495 _json["nextPageToken"] = nextPageToken; 4495 _json["nextPageToken"] = nextPageToken;
4496 } 4496 }
4497 if (permissions != null) { 4497 if (permissions != null) {
4498 _json["permissions"] = permissions.map((value) => (value).toJson()).toList (); 4498 _json["permissions"] = permissions.map((value) => (value).toJson()).toList ();
4499 } 4499 }
4500 return _json; 4500 return _json;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
4558 id = _json["id"]; 4558 id = _json["id"];
4559 } 4559 }
4560 if (_json.containsKey("kind")) { 4560 if (_json.containsKey("kind")) {
4561 kind = _json["kind"]; 4561 kind = _json["kind"];
4562 } 4562 }
4563 if (_json.containsKey("modifiedTime")) { 4563 if (_json.containsKey("modifiedTime")) {
4564 modifiedTime = core.DateTime.parse(_json["modifiedTime"]); 4564 modifiedTime = core.DateTime.parse(_json["modifiedTime"]);
4565 } 4565 }
4566 } 4566 }
4567 4567
4568 core.Map toJson() { 4568 core.Map<core.String, core.Object> toJson() {
4569 var _json = new core.Map(); 4569 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4570 if (action != null) { 4570 if (action != null) {
4571 _json["action"] = action; 4571 _json["action"] = action;
4572 } 4572 }
4573 if (author != null) { 4573 if (author != null) {
4574 _json["author"] = (author).toJson(); 4574 _json["author"] = (author).toJson();
4575 } 4575 }
4576 if (content != null) { 4576 if (content != null) {
4577 _json["content"] = content; 4577 _json["content"] = content;
4578 } 4578 }
4579 if (createdTime != null) { 4579 if (createdTime != null) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
4625 kind = _json["kind"]; 4625 kind = _json["kind"];
4626 } 4626 }
4627 if (_json.containsKey("nextPageToken")) { 4627 if (_json.containsKey("nextPageToken")) {
4628 nextPageToken = _json["nextPageToken"]; 4628 nextPageToken = _json["nextPageToken"];
4629 } 4629 }
4630 if (_json.containsKey("replies")) { 4630 if (_json.containsKey("replies")) {
4631 replies = _json["replies"].map((value) => new Reply.fromJson(value)).toLis t(); 4631 replies = _json["replies"].map((value) => new Reply.fromJson(value)).toLis t();
4632 } 4632 }
4633 } 4633 }
4634 4634
4635 core.Map toJson() { 4635 core.Map<core.String, core.Object> toJson() {
4636 var _json = new core.Map(); 4636 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4637 if (kind != null) { 4637 if (kind != null) {
4638 _json["kind"] = kind; 4638 _json["kind"] = kind;
4639 } 4639 }
4640 if (nextPageToken != null) { 4640 if (nextPageToken != null) {
4641 _json["nextPageToken"] = nextPageToken; 4641 _json["nextPageToken"] = nextPageToken;
4642 } 4642 }
4643 if (replies != null) { 4643 if (replies != null) {
4644 _json["replies"] = replies.map((value) => (value).toJson()).toList(); 4644 _json["replies"] = replies.map((value) => (value).toJson()).toList();
4645 } 4645 }
4646 return _json; 4646 return _json;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
4734 published = _json["published"]; 4734 published = _json["published"];
4735 } 4735 }
4736 if (_json.containsKey("publishedOutsideDomain")) { 4736 if (_json.containsKey("publishedOutsideDomain")) {
4737 publishedOutsideDomain = _json["publishedOutsideDomain"]; 4737 publishedOutsideDomain = _json["publishedOutsideDomain"];
4738 } 4738 }
4739 if (_json.containsKey("size")) { 4739 if (_json.containsKey("size")) {
4740 size = _json["size"]; 4740 size = _json["size"];
4741 } 4741 }
4742 } 4742 }
4743 4743
4744 core.Map toJson() { 4744 core.Map<core.String, core.Object> toJson() {
4745 var _json = new core.Map(); 4745 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4746 if (id != null) { 4746 if (id != null) {
4747 _json["id"] = id; 4747 _json["id"] = id;
4748 } 4748 }
4749 if (keepForever != null) { 4749 if (keepForever != null) {
4750 _json["keepForever"] = keepForever; 4750 _json["keepForever"] = keepForever;
4751 } 4751 }
4752 if (kind != null) { 4752 if (kind != null) {
4753 _json["kind"] = kind; 4753 _json["kind"] = kind;
4754 } 4754 }
4755 if (lastModifyingUser != null) { 4755 if (lastModifyingUser != null) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
4810 kind = _json["kind"]; 4810 kind = _json["kind"];
4811 } 4811 }
4812 if (_json.containsKey("nextPageToken")) { 4812 if (_json.containsKey("nextPageToken")) {
4813 nextPageToken = _json["nextPageToken"]; 4813 nextPageToken = _json["nextPageToken"];
4814 } 4814 }
4815 if (_json.containsKey("revisions")) { 4815 if (_json.containsKey("revisions")) {
4816 revisions = _json["revisions"].map((value) => new Revision.fromJson(value) ).toList(); 4816 revisions = _json["revisions"].map((value) => new Revision.fromJson(value) ).toList();
4817 } 4817 }
4818 } 4818 }
4819 4819
4820 core.Map toJson() { 4820 core.Map<core.String, core.Object> toJson() {
4821 var _json = new core.Map(); 4821 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4822 if (kind != null) { 4822 if (kind != null) {
4823 _json["kind"] = kind; 4823 _json["kind"] = kind;
4824 } 4824 }
4825 if (nextPageToken != null) { 4825 if (nextPageToken != null) {
4826 _json["nextPageToken"] = nextPageToken; 4826 _json["nextPageToken"] = nextPageToken;
4827 } 4827 }
4828 if (revisions != null) { 4828 if (revisions != null) {
4829 _json["revisions"] = revisions.map((value) => (value).toJson()).toList(); 4829 _json["revisions"] = revisions.map((value) => (value).toJson()).toList();
4830 } 4830 }
4831 return _json; 4831 return _json;
(...skipping 13 matching lines...) Expand all
4845 4845
4846 StartPageToken.fromJson(core.Map _json) { 4846 StartPageToken.fromJson(core.Map _json) {
4847 if (_json.containsKey("kind")) { 4847 if (_json.containsKey("kind")) {
4848 kind = _json["kind"]; 4848 kind = _json["kind"];
4849 } 4849 }
4850 if (_json.containsKey("startPageToken")) { 4850 if (_json.containsKey("startPageToken")) {
4851 startPageToken = _json["startPageToken"]; 4851 startPageToken = _json["startPageToken"];
4852 } 4852 }
4853 } 4853 }
4854 4854
4855 core.Map toJson() { 4855 core.Map<core.String, core.Object> toJson() {
4856 var _json = new core.Map(); 4856 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4857 if (kind != null) { 4857 if (kind != null) {
4858 _json["kind"] = kind; 4858 _json["kind"] = kind;
4859 } 4859 }
4860 if (startPageToken != null) { 4860 if (startPageToken != null) {
4861 _json["startPageToken"] = startPageToken; 4861 _json["startPageToken"] = startPageToken;
4862 } 4862 }
4863 return _json; 4863 return _json;
4864 } 4864 }
4865 } 4865 }
4866 4866
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
4908 width = _json["width"]; 4908 width = _json["width"];
4909 } 4909 }
4910 if (_json.containsKey("xCoordinate")) { 4910 if (_json.containsKey("xCoordinate")) {
4911 xCoordinate = _json["xCoordinate"]; 4911 xCoordinate = _json["xCoordinate"];
4912 } 4912 }
4913 if (_json.containsKey("yCoordinate")) { 4913 if (_json.containsKey("yCoordinate")) {
4914 yCoordinate = _json["yCoordinate"]; 4914 yCoordinate = _json["yCoordinate"];
4915 } 4915 }
4916 } 4916 }
4917 4917
4918 core.Map toJson() { 4918 core.Map<core.String, core.Object> toJson() {
4919 var _json = new core.Map(); 4919 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4920 if (id != null) { 4920 if (id != null) {
4921 _json["id"] = id; 4921 _json["id"] = id;
4922 } 4922 }
4923 if (width != null) { 4923 if (width != null) {
4924 _json["width"] = width; 4924 _json["width"] = width;
4925 } 4925 }
4926 if (xCoordinate != null) { 4926 if (xCoordinate != null) {
4927 _json["xCoordinate"] = xCoordinate; 4927 _json["xCoordinate"] = xCoordinate;
4928 } 4928 }
4929 if (yCoordinate != null) { 4929 if (yCoordinate != null) {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
5026 canRename = _json["canRename"]; 5026 canRename = _json["canRename"];
5027 } 5027 }
5028 if (_json.containsKey("canRenameTeamDrive")) { 5028 if (_json.containsKey("canRenameTeamDrive")) {
5029 canRenameTeamDrive = _json["canRenameTeamDrive"]; 5029 canRenameTeamDrive = _json["canRenameTeamDrive"];
5030 } 5030 }
5031 if (_json.containsKey("canShare")) { 5031 if (_json.containsKey("canShare")) {
5032 canShare = _json["canShare"]; 5032 canShare = _json["canShare"];
5033 } 5033 }
5034 } 5034 }
5035 5035
5036 core.Map toJson() { 5036 core.Map<core.String, core.Object> toJson() {
5037 var _json = new core.Map(); 5037 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5038 if (canAddChildren != null) { 5038 if (canAddChildren != null) {
5039 _json["canAddChildren"] = canAddChildren; 5039 _json["canAddChildren"] = canAddChildren;
5040 } 5040 }
5041 if (canChangeTeamDriveBackground != null) { 5041 if (canChangeTeamDriveBackground != null) {
5042 _json["canChangeTeamDriveBackground"] = canChangeTeamDriveBackground; 5042 _json["canChangeTeamDriveBackground"] = canChangeTeamDriveBackground;
5043 } 5043 }
5044 if (canComment != null) { 5044 if (canComment != null) {
5045 _json["canComment"] = canComment; 5045 _json["canComment"] = canComment;
5046 } 5046 }
5047 if (canCopy != null) { 5047 if (canCopy != null) {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
5143 kind = _json["kind"]; 5143 kind = _json["kind"];
5144 } 5144 }
5145 if (_json.containsKey("name")) { 5145 if (_json.containsKey("name")) {
5146 name = _json["name"]; 5146 name = _json["name"];
5147 } 5147 }
5148 if (_json.containsKey("themeId")) { 5148 if (_json.containsKey("themeId")) {
5149 themeId = _json["themeId"]; 5149 themeId = _json["themeId"];
5150 } 5150 }
5151 } 5151 }
5152 5152
5153 core.Map toJson() { 5153 core.Map<core.String, core.Object> toJson() {
5154 var _json = new core.Map(); 5154 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5155 if (backgroundImageFile != null) { 5155 if (backgroundImageFile != null) {
5156 _json["backgroundImageFile"] = (backgroundImageFile).toJson(); 5156 _json["backgroundImageFile"] = (backgroundImageFile).toJson();
5157 } 5157 }
5158 if (backgroundImageLink != null) { 5158 if (backgroundImageLink != null) {
5159 _json["backgroundImageLink"] = backgroundImageLink; 5159 _json["backgroundImageLink"] = backgroundImageLink;
5160 } 5160 }
5161 if (capabilities != null) { 5161 if (capabilities != null) {
5162 _json["capabilities"] = (capabilities).toJson(); 5162 _json["capabilities"] = (capabilities).toJson();
5163 } 5163 }
5164 if (colorRgb != null) { 5164 if (colorRgb != null) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
5207 kind = _json["kind"]; 5207 kind = _json["kind"];
5208 } 5208 }
5209 if (_json.containsKey("nextPageToken")) { 5209 if (_json.containsKey("nextPageToken")) {
5210 nextPageToken = _json["nextPageToken"]; 5210 nextPageToken = _json["nextPageToken"];
5211 } 5211 }
5212 if (_json.containsKey("teamDrives")) { 5212 if (_json.containsKey("teamDrives")) {
5213 teamDrives = _json["teamDrives"].map((value) => new TeamDrive.fromJson(val ue)).toList(); 5213 teamDrives = _json["teamDrives"].map((value) => new TeamDrive.fromJson(val ue)).toList();
5214 } 5214 }
5215 } 5215 }
5216 5216
5217 core.Map toJson() { 5217 core.Map<core.String, core.Object> toJson() {
5218 var _json = new core.Map(); 5218 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5219 if (kind != null) { 5219 if (kind != null) {
5220 _json["kind"] = kind; 5220 _json["kind"] = kind;
5221 } 5221 }
5222 if (nextPageToken != null) { 5222 if (nextPageToken != null) {
5223 _json["nextPageToken"] = nextPageToken; 5223 _json["nextPageToken"] = nextPageToken;
5224 } 5224 }
5225 if (teamDrives != null) { 5225 if (teamDrives != null) {
5226 _json["teamDrives"] = teamDrives.map((value) => (value).toJson()).toList() ; 5226 _json["teamDrives"] = teamDrives.map((value) => (value).toJson()).toList() ;
5227 } 5227 }
5228 return _json; 5228 return _json;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
5266 me = _json["me"]; 5266 me = _json["me"];
5267 } 5267 }
5268 if (_json.containsKey("permissionId")) { 5268 if (_json.containsKey("permissionId")) {
5269 permissionId = _json["permissionId"]; 5269 permissionId = _json["permissionId"];
5270 } 5270 }
5271 if (_json.containsKey("photoLink")) { 5271 if (_json.containsKey("photoLink")) {
5272 photoLink = _json["photoLink"]; 5272 photoLink = _json["photoLink"];
5273 } 5273 }
5274 } 5274 }
5275 5275
5276 core.Map toJson() { 5276 core.Map<core.String, core.Object> toJson() {
5277 var _json = new core.Map(); 5277 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5278 if (displayName != null) { 5278 if (displayName != null) {
5279 _json["displayName"] = displayName; 5279 _json["displayName"] = displayName;
5280 } 5280 }
5281 if (emailAddress != null) { 5281 if (emailAddress != null) {
5282 _json["emailAddress"] = emailAddress; 5282 _json["emailAddress"] = emailAddress;
5283 } 5283 }
5284 if (kind != null) { 5284 if (kind != null) {
5285 _json["kind"] = kind; 5285 _json["kind"] = kind;
5286 } 5286 }
5287 if (me != null) { 5287 if (me != null) {
5288 _json["me"] = me; 5288 _json["me"] = me;
5289 } 5289 }
5290 if (permissionId != null) { 5290 if (permissionId != null) {
5291 _json["permissionId"] = permissionId; 5291 _json["permissionId"] = permissionId;
5292 } 5292 }
5293 if (photoLink != null) { 5293 if (photoLink != null) {
5294 _json["photoLink"] = photoLink; 5294 _json["photoLink"] = photoLink;
5295 } 5295 }
5296 return _json; 5296 return _json;
5297 } 5297 }
5298 } 5298 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/drive/v2.dart ('k') | generated/googleapis/lib/firebasedynamiclinks/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698