| OLD | NEW |
| 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 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 * | 1611 * |
| 1612 * [corpus] - The body of items (files/documents) to which the query applies. | 1612 * [corpus] - The body of items (files/documents) to which the query applies. |
| 1613 * Deprecated: use 'corpora' instead. | 1613 * Deprecated: use 'corpora' instead. |
| 1614 * Possible string values are: | 1614 * Possible string values are: |
| 1615 * - "DEFAULT" : The items that the user has accessed. | 1615 * - "DEFAULT" : The items that the user has accessed. |
| 1616 * - "DOMAIN" : Items shared to the user's domain. | 1616 * - "DOMAIN" : Items shared to the user's domain. |
| 1617 * | 1617 * |
| 1618 * [includeTeamDriveItems] - Whether Team Drive items should be included in | 1618 * [includeTeamDriveItems] - Whether Team Drive items should be included in |
| 1619 * results. | 1619 * results. |
| 1620 * | 1620 * |
| 1621 * [maxResults] - Maximum number of files to return. | 1621 * [maxResults] - The maximum number of files to return per page. Partial or |
| 1622 * empty result pages are possible even before the end of the files list has |
| 1623 * been reached. |
| 1622 * | 1624 * |
| 1623 * [orderBy] - A comma-separated list of sort keys. Valid keys are | 1625 * [orderBy] - A comma-separated list of sort keys. Valid keys are |
| 1624 * 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', | 1626 * 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', |
| 1625 * 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', | 1627 * 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', |
| 1626 * and 'title'. Each key sorts ascending by default, but may be reversed with | 1628 * and 'title'. Each key sorts ascending by default, but may be reversed with |
| 1627 * the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate | 1629 * the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate |
| 1628 * desc,title. Please note that there is a current limitation for users with | 1630 * desc,title. Please note that there is a current limitation for users with |
| 1629 * approximately one million files in which the requested sort order is | 1631 * approximately one million files in which the requested sort order is |
| 1630 * ignored. | 1632 * ignored. |
| 1631 * | 1633 * |
| (...skipping 2622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4254 if (bytesUsed != null) { | 4256 if (bytesUsed != null) { |
| 4255 _json["bytesUsed"] = bytesUsed; | 4257 _json["bytesUsed"] = bytesUsed; |
| 4256 } | 4258 } |
| 4257 if (serviceName != null) { | 4259 if (serviceName != null) { |
| 4258 _json["serviceName"] = serviceName; | 4260 _json["serviceName"] = serviceName; |
| 4259 } | 4261 } |
| 4260 return _json; | 4262 return _json; |
| 4261 } | 4263 } |
| 4262 } | 4264 } |
| 4263 | 4265 |
| 4266 class AboutTeamDriveThemes { |
| 4267 /** A link to this Team Drive theme's background image. */ |
| 4268 core.String backgroundImageLink; |
| 4269 /** The color of this Team Drive theme as an RGB hex string. */ |
| 4270 core.String colorRgb; |
| 4271 /** The ID of the theme. */ |
| 4272 core.String id; |
| 4273 |
| 4274 AboutTeamDriveThemes(); |
| 4275 |
| 4276 AboutTeamDriveThemes.fromJson(core.Map _json) { |
| 4277 if (_json.containsKey("backgroundImageLink")) { |
| 4278 backgroundImageLink = _json["backgroundImageLink"]; |
| 4279 } |
| 4280 if (_json.containsKey("colorRgb")) { |
| 4281 colorRgb = _json["colorRgb"]; |
| 4282 } |
| 4283 if (_json.containsKey("id")) { |
| 4284 id = _json["id"]; |
| 4285 } |
| 4286 } |
| 4287 |
| 4288 core.Map toJson() { |
| 4289 var _json = new core.Map(); |
| 4290 if (backgroundImageLink != null) { |
| 4291 _json["backgroundImageLink"] = backgroundImageLink; |
| 4292 } |
| 4293 if (colorRgb != null) { |
| 4294 _json["colorRgb"] = colorRgb; |
| 4295 } |
| 4296 if (id != null) { |
| 4297 _json["id"] = id; |
| 4298 } |
| 4299 return _json; |
| 4300 } |
| 4301 } |
| 4302 |
| 4264 /** An item with user information and settings. */ | 4303 /** An item with user information and settings. */ |
| 4265 class About { | 4304 class About { |
| 4266 /** | 4305 /** |
| 4267 * Information about supported additional roles per file type. The most | 4306 * Information about supported additional roles per file type. The most |
| 4268 * specific type takes precedence. | 4307 * specific type takes precedence. |
| 4269 */ | 4308 */ |
| 4270 core.List<AboutAdditionalRoleInfo> additionalRoleInfo; | 4309 core.List<AboutAdditionalRoleInfo> additionalRoleInfo; |
| 4271 /** | 4310 /** |
| 4272 * The domain sharing policy for the current user. Possible values are: | 4311 * The domain sharing policy for the current user. Possible values are: |
| 4273 * - allowed | 4312 * - allowed |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4327 * - LIMITED | 4366 * - LIMITED |
| 4328 * - UNLIMITED | 4367 * - UNLIMITED |
| 4329 */ | 4368 */ |
| 4330 core.String quotaType; | 4369 core.String quotaType; |
| 4331 /** The number of remaining change ids, limited to no more than 2500. */ | 4370 /** The number of remaining change ids, limited to no more than 2500. */ |
| 4332 core.String remainingChangeIds; | 4371 core.String remainingChangeIds; |
| 4333 /** The id of the root folder. */ | 4372 /** The id of the root folder. */ |
| 4334 core.String rootFolderId; | 4373 core.String rootFolderId; |
| 4335 /** A link back to this item. */ | 4374 /** A link back to this item. */ |
| 4336 core.String selfLink; | 4375 core.String selfLink; |
| 4376 /** A list of themes that are supported for Team Drives. */ |
| 4377 core.List<AboutTeamDriveThemes> teamDriveThemes; |
| 4337 /** The authenticated user. */ | 4378 /** The authenticated user. */ |
| 4338 User user; | 4379 User user; |
| 4339 | 4380 |
| 4340 About(); | 4381 About(); |
| 4341 | 4382 |
| 4342 About.fromJson(core.Map _json) { | 4383 About.fromJson(core.Map _json) { |
| 4343 if (_json.containsKey("additionalRoleInfo")) { | 4384 if (_json.containsKey("additionalRoleInfo")) { |
| 4344 additionalRoleInfo = _json["additionalRoleInfo"].map((value) => new AboutA
dditionalRoleInfo.fromJson(value)).toList(); | 4385 additionalRoleInfo = _json["additionalRoleInfo"].map((value) => new AboutA
dditionalRoleInfo.fromJson(value)).toList(); |
| 4345 } | 4386 } |
| 4346 if (_json.containsKey("domainSharingPolicy")) { | 4387 if (_json.containsKey("domainSharingPolicy")) { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4402 } | 4443 } |
| 4403 if (_json.containsKey("remainingChangeIds")) { | 4444 if (_json.containsKey("remainingChangeIds")) { |
| 4404 remainingChangeIds = _json["remainingChangeIds"]; | 4445 remainingChangeIds = _json["remainingChangeIds"]; |
| 4405 } | 4446 } |
| 4406 if (_json.containsKey("rootFolderId")) { | 4447 if (_json.containsKey("rootFolderId")) { |
| 4407 rootFolderId = _json["rootFolderId"]; | 4448 rootFolderId = _json["rootFolderId"]; |
| 4408 } | 4449 } |
| 4409 if (_json.containsKey("selfLink")) { | 4450 if (_json.containsKey("selfLink")) { |
| 4410 selfLink = _json["selfLink"]; | 4451 selfLink = _json["selfLink"]; |
| 4411 } | 4452 } |
| 4453 if (_json.containsKey("teamDriveThemes")) { |
| 4454 teamDriveThemes = _json["teamDriveThemes"].map((value) => new AboutTeamDri
veThemes.fromJson(value)).toList(); |
| 4455 } |
| 4412 if (_json.containsKey("user")) { | 4456 if (_json.containsKey("user")) { |
| 4413 user = new User.fromJson(_json["user"]); | 4457 user = new User.fromJson(_json["user"]); |
| 4414 } | 4458 } |
| 4415 } | 4459 } |
| 4416 | 4460 |
| 4417 core.Map toJson() { | 4461 core.Map toJson() { |
| 4418 var _json = new core.Map(); | 4462 var _json = new core.Map(); |
| 4419 if (additionalRoleInfo != null) { | 4463 if (additionalRoleInfo != null) { |
| 4420 _json["additionalRoleInfo"] = additionalRoleInfo.map((value) => (value).to
Json()).toList(); | 4464 _json["additionalRoleInfo"] = additionalRoleInfo.map((value) => (value).to
Json()).toList(); |
| 4421 } | 4465 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4478 } | 4522 } |
| 4479 if (remainingChangeIds != null) { | 4523 if (remainingChangeIds != null) { |
| 4480 _json["remainingChangeIds"] = remainingChangeIds; | 4524 _json["remainingChangeIds"] = remainingChangeIds; |
| 4481 } | 4525 } |
| 4482 if (rootFolderId != null) { | 4526 if (rootFolderId != null) { |
| 4483 _json["rootFolderId"] = rootFolderId; | 4527 _json["rootFolderId"] = rootFolderId; |
| 4484 } | 4528 } |
| 4485 if (selfLink != null) { | 4529 if (selfLink != null) { |
| 4486 _json["selfLink"] = selfLink; | 4530 _json["selfLink"] = selfLink; |
| 4487 } | 4531 } |
| 4532 if (teamDriveThemes != null) { |
| 4533 _json["teamDriveThemes"] = teamDriveThemes.map((value) => (value).toJson()
).toList(); |
| 4534 } |
| 4488 if (user != null) { | 4535 if (user != null) { |
| 4489 _json["user"] = (user).toJson(); | 4536 _json["user"] = (user).toJson(); |
| 4490 } | 4537 } |
| 4491 return _json; | 4538 return _json; |
| 4492 } | 4539 } |
| 4493 } | 4540 } |
| 4494 | 4541 |
| 4495 class AppIcons { | 4542 class AppIcons { |
| 4496 /** | 4543 /** |
| 4497 * Category of the icon. Allowed values are: | 4544 * Category of the icon. Allowed values are: |
| (...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5638 _json["nextPageToken"] = nextPageToken; | 5685 _json["nextPageToken"] = nextPageToken; |
| 5639 } | 5686 } |
| 5640 if (selfLink != null) { | 5687 if (selfLink != null) { |
| 5641 _json["selfLink"] = selfLink; | 5688 _json["selfLink"] = selfLink; |
| 5642 } | 5689 } |
| 5643 return _json; | 5690 return _json; |
| 5644 } | 5691 } |
| 5645 } | 5692 } |
| 5646 | 5693 |
| 5647 /** | 5694 /** |
| 5648 * Capabilities the current user has on the file. Each capability corresponds to | 5695 * Capabilities the current user has on this file. Each capability corresponds |
| 5649 * a fine-grained action that a user may take. | 5696 * to a fine-grained action that a user may take. |
| 5650 */ | 5697 */ |
| 5651 class FileCapabilities { | 5698 class FileCapabilities { |
| 5652 /** | 5699 /** |
| 5653 * Whether the current user can add children to this folder. This is always | 5700 * Whether the current user can add children to this folder. This is always |
| 5654 * false when the item is not a folder. | 5701 * false when the item is not a folder. |
| 5655 */ | 5702 */ |
| 5656 core.bool canAddChildren; | 5703 core.bool canAddChildren; |
| 5657 /** Whether the current user can comment on the file. */ | 5704 /** Whether the current user can comment on this file. */ |
| 5658 core.bool canComment; | 5705 core.bool canComment; |
| 5659 /** | 5706 /** |
| 5660 * Whether the file can be copied by the current user. For a Team Drive item, | 5707 * Whether the current user can copy this file. For a Team Drive item, whether |
| 5661 * whether non-folder descendants of this item, or this item itself if it is | 5708 * the current user can copy non-folder descendants of this item, or this item |
| 5662 * not a folder, can be copied. | 5709 * itself if it is not a folder. |
| 5663 */ | 5710 */ |
| 5664 core.bool canCopy; | 5711 core.bool canCopy; |
| 5665 /** Whether the file can be deleted by the current user. */ | 5712 /** Whether the current user can delete this file. */ |
| 5666 core.bool canDelete; | 5713 core.bool canDelete; |
| 5667 /** Whether the file can be downloaded by the current user. */ | 5714 /** Whether the current user can download this file. */ |
| 5668 core.bool canDownload; | 5715 core.bool canDownload; |
| 5669 /** Whether the file can be edited by the current user. */ | 5716 /** Whether the current user can edit this file. */ |
| 5670 core.bool canEdit; | 5717 core.bool canEdit; |
| 5671 /** | 5718 /** |
| 5672 * Whether the current user can list the children of this folder. This is | 5719 * Whether the current user can list the children of this folder. This is |
| 5673 * always false when the item is not a folder. | 5720 * always false when the item is not a folder. |
| 5674 */ | 5721 */ |
| 5675 core.bool canListChildren; | 5722 core.bool canListChildren; |
| 5676 /** | 5723 /** |
| 5677 * Whether the current user can move this item into a Team Drive. If the item | 5724 * Whether the current user can move this item into a Team Drive. If the item |
| 5678 * is in a Team Drive, this field is equivalent to canMoveTeamDriveItem. | 5725 * is in a Team Drive, this field is equivalent to canMoveTeamDriveItem. |
| 5679 */ | 5726 */ |
| 5680 core.bool canMoveItemIntoTeamDrive; | 5727 core.bool canMoveItemIntoTeamDrive; |
| 5681 /** | 5728 /** |
| 5682 * Whether the current user can move this Team Drive item by changing its | 5729 * Whether the current user can move this Team Drive item by changing its |
| 5683 * parent. Note that a request to change the parent for this item may still | 5730 * parent. Note that a request to change the parent for this item may still |
| 5684 * fail depending on the new parent that is being added. Only populated for | 5731 * fail depending on the new parent that is being added. Only populated for |
| 5685 * Team Drive files. | 5732 * Team Drive files. |
| 5686 */ | 5733 */ |
| 5687 core.bool canMoveTeamDriveItem; | 5734 core.bool canMoveTeamDriveItem; |
| 5688 /** | 5735 /** |
| 5689 * Whether the current user has read access to the Revisions resource of the | 5736 * Whether the current user can read the revisions resource of this file. For |
| 5690 * file. For a Team Drive item, whether revisions of non-folder descendants of | 5737 * a Team Drive item, whether revisions of non-folder descendants of this |
| 5691 * this item, or this item itself if it is not a folder, can be read. | 5738 * item, or this item itself if it is not a folder, can be read. |
| 5692 */ | 5739 */ |
| 5693 core.bool canReadRevisions; | 5740 core.bool canReadRevisions; |
| 5694 /** | 5741 /** |
| 5695 * Whether the current user has read access to the Team Drive to which this | 5742 * Whether the current user can read the Team Drive to which this file |
| 5696 * file belongs. Only populated for Team Drive files. | 5743 * belongs. Only populated for Team Drive files. |
| 5697 */ | 5744 */ |
| 5698 core.bool canReadTeamDrive; | 5745 core.bool canReadTeamDrive; |
| 5699 /** | 5746 /** |
| 5700 * Whether the current user can remove children from this folder. This is | 5747 * Whether the current user can remove children from this folder. This is |
| 5701 * always false when the item is not a folder. | 5748 * always false when the item is not a folder. |
| 5702 */ | 5749 */ |
| 5703 core.bool canRemoveChildren; | 5750 core.bool canRemoveChildren; |
| 5704 /** Whether the file can be renamed by the current user. */ | 5751 /** Whether the current user can rename this file. */ |
| 5705 core.bool canRename; | 5752 core.bool canRename; |
| 5706 /** | 5753 /** |
| 5707 * Whether the file's sharing settings can be modified by the current user. | 5754 * Whether the current user can modify the sharing settings for this file. |
| 5708 */ | 5755 */ |
| 5709 core.bool canShare; | 5756 core.bool canShare; |
| 5710 /** Whether the file can be trashed by the current user. */ | 5757 /** Whether the current user can move this file to trash. */ |
| 5711 core.bool canTrash; | 5758 core.bool canTrash; |
| 5712 /** Whether the file can be restored from the trash by the current user. */ | 5759 /** Whether the current user can restore this file from trash. */ |
| 5713 core.bool canUntrash; | 5760 core.bool canUntrash; |
| 5714 | 5761 |
| 5715 FileCapabilities(); | 5762 FileCapabilities(); |
| 5716 | 5763 |
| 5717 FileCapabilities.fromJson(core.Map _json) { | 5764 FileCapabilities.fromJson(core.Map _json) { |
| 5718 if (_json.containsKey("canAddChildren")) { | 5765 if (_json.containsKey("canAddChildren")) { |
| 5719 canAddChildren = _json["canAddChildren"]; | 5766 canAddChildren = _json["canAddChildren"]; |
| 5720 } | 5767 } |
| 5721 if (_json.containsKey("canComment")) { | 5768 if (_json.containsKey("canComment")) { |
| 5722 canComment = _json["canComment"]; | 5769 canComment = _json["canComment"]; |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6218 return _json; | 6265 return _json; |
| 6219 } | 6266 } |
| 6220 } | 6267 } |
| 6221 | 6268 |
| 6222 /** The metadata for a file. */ | 6269 /** The metadata for a file. */ |
| 6223 class File { | 6270 class File { |
| 6224 /** A link for opening the file in a relevant Google editor or viewer. */ | 6271 /** A link for opening the file in a relevant Google editor or viewer. */ |
| 6225 core.String alternateLink; | 6272 core.String alternateLink; |
| 6226 /** Whether this file is in the Application Data folder. */ | 6273 /** Whether this file is in the Application Data folder. */ |
| 6227 core.bool appDataContents; | 6274 core.bool appDataContents; |
| 6228 /** | 6275 /** Deprecated: use capabilities/canComment. */ |
| 6229 * Whether the current user can comment on the file. Deprecated: use | |
| 6230 * capabilities/canComment. | |
| 6231 */ | |
| 6232 core.bool canComment; | 6276 core.bool canComment; |
| 6233 /** | 6277 /** Deprecated: use capabilities/canReadRevisions. */ |
| 6234 * Whether the current user has read access to the Revisions resource of the | |
| 6235 * file. Deprecated: use capabilities/canReadRevisions. | |
| 6236 */ | |
| 6237 core.bool canReadRevisions; | 6278 core.bool canReadRevisions; |
| 6238 /** | 6279 /** |
| 6239 * Capabilities the current user has on the file. Each capability corresponds | 6280 * Capabilities the current user has on this file. Each capability corresponds |
| 6240 * to a fine-grained action that a user may take. | 6281 * to a fine-grained action that a user may take. |
| 6241 */ | 6282 */ |
| 6242 FileCapabilities capabilities; | 6283 FileCapabilities capabilities; |
| 6243 /** | 6284 /** Deprecated: use capabilities/canCopy. */ |
| 6244 * Whether the file can be copied by the current user. Deprecated: use | |
| 6245 * capabilities/canCopy. | |
| 6246 */ | |
| 6247 core.bool copyable; | 6285 core.bool copyable; |
| 6248 /** Create time for this file (formatted RFC 3339 timestamp). */ | 6286 /** Create time for this file (formatted RFC 3339 timestamp). */ |
| 6249 core.DateTime createdDate; | 6287 core.DateTime createdDate; |
| 6250 /** | 6288 /** |
| 6251 * A link to open this file with the user's default app for this file. Only | 6289 * A link to open this file with the user's default app for this file. Only |
| 6252 * populated when the drive.apps.readonly scope is used. | 6290 * populated when the drive.apps.readonly scope is used. |
| 6253 */ | 6291 */ |
| 6254 core.String defaultOpenWithLink; | 6292 core.String defaultOpenWithLink; |
| 6255 /** A short description of the file. */ | 6293 /** A short description of the file. */ |
| 6256 core.String description; | 6294 core.String description; |
| 6257 core.String downloadUrl; | 6295 core.String downloadUrl; |
| 6258 /** | 6296 /** Deprecated: use capabilities/canEdit. */ |
| 6259 * Whether the file can be edited by the current user. Deprecated: use | |
| 6260 * capabilities/canEdit. | |
| 6261 */ | |
| 6262 core.bool editable; | 6297 core.bool editable; |
| 6263 /** A link for embedding the file. */ | 6298 /** A link for embedding the file. */ |
| 6264 core.String embedLink; | 6299 core.String embedLink; |
| 6265 /** ETag of the file. */ | 6300 /** ETag of the file. */ |
| 6266 core.String etag; | 6301 core.String etag; |
| 6267 /** | 6302 /** |
| 6268 * Whether this file has been explicitly trashed, as opposed to recursively | 6303 * Whether this file has been explicitly trashed, as opposed to recursively |
| 6269 * trashed. | 6304 * trashed. |
| 6270 */ | 6305 */ |
| 6271 core.bool explicitlyTrashed; | 6306 core.bool explicitlyTrashed; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6396 * The list of permissions for users with access to this file. Not populated | 6431 * The list of permissions for users with access to this file. Not populated |
| 6397 * for Team Drive files. | 6432 * for Team Drive files. |
| 6398 */ | 6433 */ |
| 6399 core.List<Permission> permissions; | 6434 core.List<Permission> permissions; |
| 6400 /** The list of properties. */ | 6435 /** The list of properties. */ |
| 6401 core.List<Property> properties; | 6436 core.List<Property> properties; |
| 6402 /** The number of quota bytes used by this file. */ | 6437 /** The number of quota bytes used by this file. */ |
| 6403 core.String quotaBytesUsed; | 6438 core.String quotaBytesUsed; |
| 6404 /** A link back to this file. */ | 6439 /** A link back to this file. */ |
| 6405 core.String selfLink; | 6440 core.String selfLink; |
| 6406 /** | 6441 /** Deprecated: use capabilities/canShare. */ |
| 6407 * Whether the file's sharing settings can be modified by the current user. | |
| 6408 * Deprecated: use capabilities/canShare. | |
| 6409 */ | |
| 6410 core.bool shareable; | 6442 core.bool shareable; |
| 6411 /** Whether the file has been shared. Not populated for Team Drive files. */ | 6443 /** Whether the file has been shared. Not populated for Team Drive files. */ |
| 6412 core.bool shared; | 6444 core.bool shared; |
| 6413 /** | 6445 /** |
| 6414 * Time at which this file was shared with the user (formatted RFC 3339 | 6446 * Time at which this file was shared with the user (formatted RFC 3339 |
| 6415 * timestamp). | 6447 * timestamp). |
| 6416 */ | 6448 */ |
| 6417 core.DateTime sharedWithMeDate; | 6449 core.DateTime sharedWithMeDate; |
| 6418 /** User that shared the item with the current user, if available. */ | 6450 /** User that shared the item with the current user, if available. */ |
| 6419 User sharingUser; | 6451 User sharingUser; |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7180 /** A permission for a file. */ | 7212 /** A permission for a file. */ |
| 7181 class Permission { | 7213 class Permission { |
| 7182 /** | 7214 /** |
| 7183 * Additional roles for this user. Only commenter is currently allowed, though | 7215 * Additional roles for this user. Only commenter is currently allowed, though |
| 7184 * more may be supported in the future. | 7216 * more may be supported in the future. |
| 7185 */ | 7217 */ |
| 7186 core.List<core.String> additionalRoles; | 7218 core.List<core.String> additionalRoles; |
| 7187 /** The authkey parameter required for this permission. */ | 7219 /** The authkey parameter required for this permission. */ |
| 7188 core.String authKey; | 7220 core.String authKey; |
| 7189 /** | 7221 /** |
| 7222 * Whether the account of the permission has been deleted. This field only |
| 7223 * pertains to user and group permissions. |
| 7224 */ |
| 7225 core.bool deleted; |
| 7226 /** |
| 7190 * The domain name of the entity this permission refers to. This is an | 7227 * The domain name of the entity this permission refers to. This is an |
| 7191 * output-only field which is present when the permission type is user, group | 7228 * output-only field which is present when the permission type is user, group |
| 7192 * or domain. | 7229 * or domain. |
| 7193 */ | 7230 */ |
| 7194 core.String domain; | 7231 core.String domain; |
| 7195 /** | 7232 /** |
| 7196 * The email address of the user or group this permission refers to. This is | 7233 * The email address of the user or group this permission refers to. This is |
| 7197 * an output-only field which is present when the permission type is user or | 7234 * an output-only field which is present when the permission type is user or |
| 7198 * group. | 7235 * group. |
| 7199 */ | 7236 */ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 7228 * future, the following are currently allowed: | 7265 * future, the following are currently allowed: |
| 7229 * - organizer | 7266 * - organizer |
| 7230 * - owner | 7267 * - owner |
| 7231 * - reader | 7268 * - reader |
| 7232 * - writer | 7269 * - writer |
| 7233 */ | 7270 */ |
| 7234 core.String role; | 7271 core.String role; |
| 7235 /** A link back to this permission. */ | 7272 /** A link back to this permission. */ |
| 7236 core.String selfLink; | 7273 core.String selfLink; |
| 7237 /** | 7274 /** |
| 7238 * Details of whether the Permissions on this Team Drive item are inherited or | 7275 * Details of whether the permissions on this Team Drive item are inherited or |
| 7239 * directly on this item. This is an output-only field which is present only | 7276 * directly on this item. This is an output-only field which is present only |
| 7240 * for Team Drive items. | 7277 * for Team Drive items. |
| 7241 */ | 7278 */ |
| 7242 core.List<PermissionTeamDrivePermissionDetails> teamDrivePermissionDetails; | 7279 core.List<PermissionTeamDrivePermissionDetails> teamDrivePermissionDetails; |
| 7243 /** | 7280 /** |
| 7244 * The account type. Allowed values are: | 7281 * The account type. Allowed values are: |
| 7245 * - user | 7282 * - user |
| 7246 * - group | 7283 * - group |
| 7247 * - domain | 7284 * - domain |
| 7248 * - anyone | 7285 * - anyone |
| (...skipping 12 matching lines...) Expand all Loading... |
| 7261 | 7298 |
| 7262 Permission(); | 7299 Permission(); |
| 7263 | 7300 |
| 7264 Permission.fromJson(core.Map _json) { | 7301 Permission.fromJson(core.Map _json) { |
| 7265 if (_json.containsKey("additionalRoles")) { | 7302 if (_json.containsKey("additionalRoles")) { |
| 7266 additionalRoles = _json["additionalRoles"]; | 7303 additionalRoles = _json["additionalRoles"]; |
| 7267 } | 7304 } |
| 7268 if (_json.containsKey("authKey")) { | 7305 if (_json.containsKey("authKey")) { |
| 7269 authKey = _json["authKey"]; | 7306 authKey = _json["authKey"]; |
| 7270 } | 7307 } |
| 7308 if (_json.containsKey("deleted")) { |
| 7309 deleted = _json["deleted"]; |
| 7310 } |
| 7271 if (_json.containsKey("domain")) { | 7311 if (_json.containsKey("domain")) { |
| 7272 domain = _json["domain"]; | 7312 domain = _json["domain"]; |
| 7273 } | 7313 } |
| 7274 if (_json.containsKey("emailAddress")) { | 7314 if (_json.containsKey("emailAddress")) { |
| 7275 emailAddress = _json["emailAddress"]; | 7315 emailAddress = _json["emailAddress"]; |
| 7276 } | 7316 } |
| 7277 if (_json.containsKey("etag")) { | 7317 if (_json.containsKey("etag")) { |
| 7278 etag = _json["etag"]; | 7318 etag = _json["etag"]; |
| 7279 } | 7319 } |
| 7280 if (_json.containsKey("expirationDate")) { | 7320 if (_json.containsKey("expirationDate")) { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7313 } | 7353 } |
| 7314 | 7354 |
| 7315 core.Map toJson() { | 7355 core.Map toJson() { |
| 7316 var _json = new core.Map(); | 7356 var _json = new core.Map(); |
| 7317 if (additionalRoles != null) { | 7357 if (additionalRoles != null) { |
| 7318 _json["additionalRoles"] = additionalRoles; | 7358 _json["additionalRoles"] = additionalRoles; |
| 7319 } | 7359 } |
| 7320 if (authKey != null) { | 7360 if (authKey != null) { |
| 7321 _json["authKey"] = authKey; | 7361 _json["authKey"] = authKey; |
| 7322 } | 7362 } |
| 7363 if (deleted != null) { |
| 7364 _json["deleted"] = deleted; |
| 7365 } |
| 7323 if (domain != null) { | 7366 if (domain != null) { |
| 7324 _json["domain"] = domain; | 7367 _json["domain"] = domain; |
| 7325 } | 7368 } |
| 7326 if (emailAddress != null) { | 7369 if (emailAddress != null) { |
| 7327 _json["emailAddress"] = emailAddress; | 7370 _json["emailAddress"] = emailAddress; |
| 7328 } | 7371 } |
| 7329 if (etag != null) { | 7372 if (etag != null) { |
| 7330 _json["etag"] = etag; | 7373 _json["etag"] = etag; |
| 7331 } | 7374 } |
| 7332 if (expirationDate != null) { | 7375 if (expirationDate != null) { |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7847 if (kind != null) { | 7890 if (kind != null) { |
| 7848 _json["kind"] = kind; | 7891 _json["kind"] = kind; |
| 7849 } | 7892 } |
| 7850 if (startPageToken != null) { | 7893 if (startPageToken != null) { |
| 7851 _json["startPageToken"] = startPageToken; | 7894 _json["startPageToken"] = startPageToken; |
| 7852 } | 7895 } |
| 7853 return _json; | 7896 return _json; |
| 7854 } | 7897 } |
| 7855 } | 7898 } |
| 7856 | 7899 |
| 7900 /** |
| 7901 * An image file and cropping parameters from which a background image for this |
| 7902 * Team Drive is set. This is a write only field that can only be set on a |
| 7903 * drive.teamdrives.update request that does not set themeId. When specified, |
| 7904 * all fields of the backgroundImageFile must be set. |
| 7905 */ |
| 7906 class TeamDriveBackgroundImageFile { |
| 7907 /** The ID of an image file in Drive to use for the background image. */ |
| 7908 core.String id; |
| 7909 /** |
| 7910 * The width of the cropped image in the closed range of 0 to 1, which is the |
| 7911 * width of the cropped image divided by the width of the entire image. The |
| 7912 * height is computed by applying a width to height aspect ratio of 80 to 9. |
| 7913 * The resulting image must be at least 1280 pixels wide and 144 pixels high. |
| 7914 */ |
| 7915 core.double width; |
| 7916 /** |
| 7917 * The X coordinate of the upper left corner of the cropping area in the |
| 7918 * background image. This is a value in the closed range of 0 to 1 which is |
| 7919 * the horizontal distance from the left side of the entire image to the left |
| 7920 * side of the cropping area divided by the width of the entire image. |
| 7921 */ |
| 7922 core.double xCoordinate; |
| 7923 /** |
| 7924 * The Y coordinate of the upper left corner of the cropping area in the |
| 7925 * background image. This is a value in the closed range of 0 to 1 which is |
| 7926 * the vertical distance from the top side of the entire image to the top side |
| 7927 * of the cropping area divided by the height of the entire image. |
| 7928 */ |
| 7929 core.double yCoordinate; |
| 7930 |
| 7931 TeamDriveBackgroundImageFile(); |
| 7932 |
| 7933 TeamDriveBackgroundImageFile.fromJson(core.Map _json) { |
| 7934 if (_json.containsKey("id")) { |
| 7935 id = _json["id"]; |
| 7936 } |
| 7937 if (_json.containsKey("width")) { |
| 7938 width = _json["width"]; |
| 7939 } |
| 7940 if (_json.containsKey("xCoordinate")) { |
| 7941 xCoordinate = _json["xCoordinate"]; |
| 7942 } |
| 7943 if (_json.containsKey("yCoordinate")) { |
| 7944 yCoordinate = _json["yCoordinate"]; |
| 7945 } |
| 7946 } |
| 7947 |
| 7948 core.Map toJson() { |
| 7949 var _json = new core.Map(); |
| 7950 if (id != null) { |
| 7951 _json["id"] = id; |
| 7952 } |
| 7953 if (width != null) { |
| 7954 _json["width"] = width; |
| 7955 } |
| 7956 if (xCoordinate != null) { |
| 7957 _json["xCoordinate"] = xCoordinate; |
| 7958 } |
| 7959 if (yCoordinate != null) { |
| 7960 _json["yCoordinate"] = yCoordinate; |
| 7961 } |
| 7962 return _json; |
| 7963 } |
| 7964 } |
| 7965 |
| 7857 /** Capabilities the current user has on this Team Drive. */ | 7966 /** Capabilities the current user has on this Team Drive. */ |
| 7858 class TeamDriveCapabilities { | 7967 class TeamDriveCapabilities { |
| 7859 /** | 7968 /** |
| 7860 * Whether the current user can add children to folders in this Team Drive. | 7969 * Whether the current user can add children to folders in this Team Drive. |
| 7861 */ | 7970 */ |
| 7862 core.bool canAddChildren; | 7971 core.bool canAddChildren; |
| 7972 /** Whether the current user can change the background of this Team Drive. */ |
| 7973 core.bool canChangeTeamDriveBackground; |
| 7863 /** Whether the current user can comment on files in this Team Drive. */ | 7974 /** Whether the current user can comment on files in this Team Drive. */ |
| 7864 core.bool canComment; | 7975 core.bool canComment; |
| 7865 /** Whether files in this Team Drive can be copied by the current user. */ | 7976 /** Whether the current user can copy files in this Team Drive. */ |
| 7866 core.bool canCopy; | 7977 core.bool canCopy; |
| 7867 /** Whether this Team Drive can be deleted by the current user. */ | 7978 /** |
| 7979 * Whether the current user can delete this Team Drive. Attempting to delete |
| 7980 * the Team Drive may still fail if there are untrashed items inside the Team |
| 7981 * Drive. |
| 7982 */ |
| 7868 core.bool canDeleteTeamDrive; | 7983 core.bool canDeleteTeamDrive; |
| 7869 /** | 7984 /** Whether the current user can download files in this Team Drive. */ |
| 7870 * Whether files in this Team Drive can be downloaded by the current user. | |
| 7871 */ | |
| 7872 core.bool canDownload; | 7985 core.bool canDownload; |
| 7873 /** Whether files in this Team Drive can be edited by the current user. */ | 7986 /** Whether the current user can edit files in this Team Drive */ |
| 7874 core.bool canEdit; | 7987 core.bool canEdit; |
| 7875 /** | 7988 /** |
| 7876 * Whether the current user can list the children of folders in this Team | 7989 * Whether the current user can list the children of folders in this Team |
| 7877 * Drive. | 7990 * Drive. |
| 7878 */ | 7991 */ |
| 7879 core.bool canListChildren; | 7992 core.bool canListChildren; |
| 7880 /** | 7993 /** |
| 7881 * Whether the current user can add members to this Team Drive or remove them | 7994 * Whether the current user can add members to this Team Drive or remove them |
| 7882 * or change their role. | 7995 * or change their role. |
| 7883 */ | 7996 */ |
| 7884 core.bool canManageMembers; | 7997 core.bool canManageMembers; |
| 7885 /** | 7998 /** |
| 7886 * Whether the current user has read access to the Revisions resource of files | 7999 * Whether the current user can read the revisions resource of files in this |
| 7887 * in this Team Drive. | 8000 * Team Drive. |
| 7888 */ | 8001 */ |
| 7889 core.bool canReadRevisions; | 8002 core.bool canReadRevisions; |
| 7890 /** | 8003 /** |
| 7891 * Whether the current user can remove children from folders in this Team | 8004 * Whether the current user can remove children from folders in this Team |
| 7892 * Drive. | 8005 * Drive. |
| 7893 */ | 8006 */ |
| 7894 core.bool canRemoveChildren; | 8007 core.bool canRemoveChildren; |
| 7895 /** | 8008 /** |
| 7896 * Whether files or folders in this Team Drive can be renamed by the current | 8009 * Whether the current user can rename files or folders in this Team Drive. |
| 7897 * user. | |
| 7898 */ | 8010 */ |
| 7899 core.bool canRename; | 8011 core.bool canRename; |
| 7900 /** Whether this Team Drive can be renamed by the current user. */ | 8012 /** Whether the current user can rename this Team Drive. */ |
| 7901 core.bool canRenameTeamDrive; | 8013 core.bool canRenameTeamDrive; |
| 7902 /** | 8014 /** |
| 7903 * Whether the current user can share files or folders in this Team Drive. | 8015 * Whether the current user can share files or folders in this Team Drive. |
| 7904 */ | 8016 */ |
| 7905 core.bool canShare; | 8017 core.bool canShare; |
| 7906 | 8018 |
| 7907 TeamDriveCapabilities(); | 8019 TeamDriveCapabilities(); |
| 7908 | 8020 |
| 7909 TeamDriveCapabilities.fromJson(core.Map _json) { | 8021 TeamDriveCapabilities.fromJson(core.Map _json) { |
| 7910 if (_json.containsKey("canAddChildren")) { | 8022 if (_json.containsKey("canAddChildren")) { |
| 7911 canAddChildren = _json["canAddChildren"]; | 8023 canAddChildren = _json["canAddChildren"]; |
| 7912 } | 8024 } |
| 8025 if (_json.containsKey("canChangeTeamDriveBackground")) { |
| 8026 canChangeTeamDriveBackground = _json["canChangeTeamDriveBackground"]; |
| 8027 } |
| 7913 if (_json.containsKey("canComment")) { | 8028 if (_json.containsKey("canComment")) { |
| 7914 canComment = _json["canComment"]; | 8029 canComment = _json["canComment"]; |
| 7915 } | 8030 } |
| 7916 if (_json.containsKey("canCopy")) { | 8031 if (_json.containsKey("canCopy")) { |
| 7917 canCopy = _json["canCopy"]; | 8032 canCopy = _json["canCopy"]; |
| 7918 } | 8033 } |
| 7919 if (_json.containsKey("canDeleteTeamDrive")) { | 8034 if (_json.containsKey("canDeleteTeamDrive")) { |
| 7920 canDeleteTeamDrive = _json["canDeleteTeamDrive"]; | 8035 canDeleteTeamDrive = _json["canDeleteTeamDrive"]; |
| 7921 } | 8036 } |
| 7922 if (_json.containsKey("canDownload")) { | 8037 if (_json.containsKey("canDownload")) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 7946 if (_json.containsKey("canShare")) { | 8061 if (_json.containsKey("canShare")) { |
| 7947 canShare = _json["canShare"]; | 8062 canShare = _json["canShare"]; |
| 7948 } | 8063 } |
| 7949 } | 8064 } |
| 7950 | 8065 |
| 7951 core.Map toJson() { | 8066 core.Map toJson() { |
| 7952 var _json = new core.Map(); | 8067 var _json = new core.Map(); |
| 7953 if (canAddChildren != null) { | 8068 if (canAddChildren != null) { |
| 7954 _json["canAddChildren"] = canAddChildren; | 8069 _json["canAddChildren"] = canAddChildren; |
| 7955 } | 8070 } |
| 8071 if (canChangeTeamDriveBackground != null) { |
| 8072 _json["canChangeTeamDriveBackground"] = canChangeTeamDriveBackground; |
| 8073 } |
| 7956 if (canComment != null) { | 8074 if (canComment != null) { |
| 7957 _json["canComment"] = canComment; | 8075 _json["canComment"] = canComment; |
| 7958 } | 8076 } |
| 7959 if (canCopy != null) { | 8077 if (canCopy != null) { |
| 7960 _json["canCopy"] = canCopy; | 8078 _json["canCopy"] = canCopy; |
| 7961 } | 8079 } |
| 7962 if (canDeleteTeamDrive != null) { | 8080 if (canDeleteTeamDrive != null) { |
| 7963 _json["canDeleteTeamDrive"] = canDeleteTeamDrive; | 8081 _json["canDeleteTeamDrive"] = canDeleteTeamDrive; |
| 7964 } | 8082 } |
| 7965 if (canDownload != null) { | 8083 if (canDownload != null) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 7988 } | 8106 } |
| 7989 if (canShare != null) { | 8107 if (canShare != null) { |
| 7990 _json["canShare"] = canShare; | 8108 _json["canShare"] = canShare; |
| 7991 } | 8109 } |
| 7992 return _json; | 8110 return _json; |
| 7993 } | 8111 } |
| 7994 } | 8112 } |
| 7995 | 8113 |
| 7996 /** Representation of a Team Drive. */ | 8114 /** Representation of a Team Drive. */ |
| 7997 class TeamDrive { | 8115 class TeamDrive { |
| 8116 /** |
| 8117 * An image file and cropping parameters from which a background image for |
| 8118 * this Team Drive is set. This is a write only field that can only be set on |
| 8119 * a drive.teamdrives.update request that does not set themeId. When |
| 8120 * specified, all fields of the backgroundImageFile must be set. |
| 8121 */ |
| 8122 TeamDriveBackgroundImageFile backgroundImageFile; |
| 8123 /** A short-lived link to this Team Drive's background image. */ |
| 8124 core.String backgroundImageLink; |
| 7998 /** Capabilities the current user has on this Team Drive. */ | 8125 /** Capabilities the current user has on this Team Drive. */ |
| 7999 TeamDriveCapabilities capabilities; | 8126 TeamDriveCapabilities capabilities; |
| 8000 /** | 8127 /** |
| 8128 * The color of this Team Drive as an RGB hex string. It can only be set on a |
| 8129 * drive.teamdrives.update request that does not set themeId. |
| 8130 */ |
| 8131 core.String colorRgb; |
| 8132 /** |
| 8001 * The ID of this Team Drive which is also the ID of the top level folder for | 8133 * The ID of this Team Drive which is also the ID of the top level folder for |
| 8002 * this Team Drive. | 8134 * this Team Drive. |
| 8003 */ | 8135 */ |
| 8004 core.String id; | 8136 core.String id; |
| 8005 /** This is always drive#teamDrive */ | 8137 /** This is always drive#teamDrive */ |
| 8006 core.String kind; | 8138 core.String kind; |
| 8007 /** The name of this Team Drive. */ | 8139 /** The name of this Team Drive. */ |
| 8008 core.String name; | 8140 core.String name; |
| 8141 /** |
| 8142 * The ID of the theme from which the background image and color will be set. |
| 8143 * The set of possible teamDriveThemes can be retrieved from a drive.about.get |
| 8144 * response. When not specified on a drive.teamdrives.insert request, a random |
| 8145 * theme is chosen from which the background image and color are set. This is |
| 8146 * a write only field that can only be set on a request that does not set |
| 8147 * colorRgb or backgroundImageFile. |
| 8148 */ |
| 8149 core.String themeId; |
| 8009 | 8150 |
| 8010 TeamDrive(); | 8151 TeamDrive(); |
| 8011 | 8152 |
| 8012 TeamDrive.fromJson(core.Map _json) { | 8153 TeamDrive.fromJson(core.Map _json) { |
| 8154 if (_json.containsKey("backgroundImageFile")) { |
| 8155 backgroundImageFile = new TeamDriveBackgroundImageFile.fromJson(_json["bac
kgroundImageFile"]); |
| 8156 } |
| 8157 if (_json.containsKey("backgroundImageLink")) { |
| 8158 backgroundImageLink = _json["backgroundImageLink"]; |
| 8159 } |
| 8013 if (_json.containsKey("capabilities")) { | 8160 if (_json.containsKey("capabilities")) { |
| 8014 capabilities = new TeamDriveCapabilities.fromJson(_json["capabilities"]); | 8161 capabilities = new TeamDriveCapabilities.fromJson(_json["capabilities"]); |
| 8015 } | 8162 } |
| 8163 if (_json.containsKey("colorRgb")) { |
| 8164 colorRgb = _json["colorRgb"]; |
| 8165 } |
| 8016 if (_json.containsKey("id")) { | 8166 if (_json.containsKey("id")) { |
| 8017 id = _json["id"]; | 8167 id = _json["id"]; |
| 8018 } | 8168 } |
| 8019 if (_json.containsKey("kind")) { | 8169 if (_json.containsKey("kind")) { |
| 8020 kind = _json["kind"]; | 8170 kind = _json["kind"]; |
| 8021 } | 8171 } |
| 8022 if (_json.containsKey("name")) { | 8172 if (_json.containsKey("name")) { |
| 8023 name = _json["name"]; | 8173 name = _json["name"]; |
| 8024 } | 8174 } |
| 8175 if (_json.containsKey("themeId")) { |
| 8176 themeId = _json["themeId"]; |
| 8177 } |
| 8025 } | 8178 } |
| 8026 | 8179 |
| 8027 core.Map toJson() { | 8180 core.Map toJson() { |
| 8028 var _json = new core.Map(); | 8181 var _json = new core.Map(); |
| 8182 if (backgroundImageFile != null) { |
| 8183 _json["backgroundImageFile"] = (backgroundImageFile).toJson(); |
| 8184 } |
| 8185 if (backgroundImageLink != null) { |
| 8186 _json["backgroundImageLink"] = backgroundImageLink; |
| 8187 } |
| 8029 if (capabilities != null) { | 8188 if (capabilities != null) { |
| 8030 _json["capabilities"] = (capabilities).toJson(); | 8189 _json["capabilities"] = (capabilities).toJson(); |
| 8031 } | 8190 } |
| 8191 if (colorRgb != null) { |
| 8192 _json["colorRgb"] = colorRgb; |
| 8193 } |
| 8032 if (id != null) { | 8194 if (id != null) { |
| 8033 _json["id"] = id; | 8195 _json["id"] = id; |
| 8034 } | 8196 } |
| 8035 if (kind != null) { | 8197 if (kind != null) { |
| 8036 _json["kind"] = kind; | 8198 _json["kind"] = kind; |
| 8037 } | 8199 } |
| 8038 if (name != null) { | 8200 if (name != null) { |
| 8039 _json["name"] = name; | 8201 _json["name"] = name; |
| 8040 } | 8202 } |
| 8203 if (themeId != null) { |
| 8204 _json["themeId"] = themeId; |
| 8205 } |
| 8041 return _json; | 8206 return _json; |
| 8042 } | 8207 } |
| 8043 } | 8208 } |
| 8044 | 8209 |
| 8045 /** A list of Team Drives. */ | 8210 /** A list of Team Drives. */ |
| 8046 class TeamDriveList { | 8211 class TeamDriveList { |
| 8047 /** The list of Team Drives. */ | 8212 /** The list of Team Drives. */ |
| 8048 core.List<TeamDrive> items; | 8213 core.List<TeamDrive> items; |
| 8049 /** This is always drive#teamDriveList */ | 8214 /** This is always drive#teamDriveList */ |
| 8050 core.String kind; | 8215 core.String kind; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8159 } | 8324 } |
| 8160 if (permissionId != null) { | 8325 if (permissionId != null) { |
| 8161 _json["permissionId"] = permissionId; | 8326 _json["permissionId"] = permissionId; |
| 8162 } | 8327 } |
| 8163 if (picture != null) { | 8328 if (picture != null) { |
| 8164 _json["picture"] = (picture).toJson(); | 8329 _json["picture"] = (picture).toJson(); |
| 8165 } | 8330 } |
| 8166 return _json; | 8331 return _json; |
| 8167 } | 8332 } |
| 8168 } | 8333 } |
| OLD | NEW |