Chromium Code Reviews

Side by Side Diff: generated/googleapis/lib/storage/v1.dart

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « generated/googleapis/lib/slides/v1.dart ('k') | generated/googleapis/lib/tagmanager/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.storage.v1; 3 library googleapis.storage.v1;
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 3772 matching lines...)
3783 core.String size; 3783 core.String size;
3784 /** Storage class of the object. */ 3784 /** Storage class of the object. */
3785 core.String storageClass; 3785 core.String storageClass;
3786 /** The creation time of the object in RFC 3339 format. */ 3786 /** The creation time of the object in RFC 3339 format. */
3787 core.DateTime timeCreated; 3787 core.DateTime timeCreated;
3788 /** 3788 /**
3789 * The deletion time of the object in RFC 3339 format. Will be returned if and 3789 * The deletion time of the object in RFC 3339 format. Will be returned if and
3790 * only if this version of the object has been deleted. 3790 * only if this version of the object has been deleted.
3791 */ 3791 */
3792 core.DateTime timeDeleted; 3792 core.DateTime timeDeleted;
3793 /**
3794 * The time at which the object's storage class was last changed. When the
3795 * object is initially created, it will be set to timeCreated.
3796 */
3797 core.DateTime timeStorageClassUpdated;
3793 /** The modification time of the object metadata in RFC 3339 format. */ 3798 /** The modification time of the object metadata in RFC 3339 format. */
3794 core.DateTime updated; 3799 core.DateTime updated;
3795 3800
3796 Object(); 3801 Object();
3797 3802
3798 Object.fromJson(core.Map _json) { 3803 Object.fromJson(core.Map _json) {
3799 if (_json.containsKey("acl")) { 3804 if (_json.containsKey("acl")) {
3800 acl = _json["acl"].map((value) => new ObjectAccessControl.fromJson(value)) .toList(); 3805 acl = _json["acl"].map((value) => new ObjectAccessControl.fromJson(value)) .toList();
3801 } 3806 }
3802 if (_json.containsKey("bucket")) { 3807 if (_json.containsKey("bucket")) {
(...skipping 61 matching lines...)
3864 } 3869 }
3865 if (_json.containsKey("storageClass")) { 3870 if (_json.containsKey("storageClass")) {
3866 storageClass = _json["storageClass"]; 3871 storageClass = _json["storageClass"];
3867 } 3872 }
3868 if (_json.containsKey("timeCreated")) { 3873 if (_json.containsKey("timeCreated")) {
3869 timeCreated = core.DateTime.parse(_json["timeCreated"]); 3874 timeCreated = core.DateTime.parse(_json["timeCreated"]);
3870 } 3875 }
3871 if (_json.containsKey("timeDeleted")) { 3876 if (_json.containsKey("timeDeleted")) {
3872 timeDeleted = core.DateTime.parse(_json["timeDeleted"]); 3877 timeDeleted = core.DateTime.parse(_json["timeDeleted"]);
3873 } 3878 }
3879 if (_json.containsKey("timeStorageClassUpdated")) {
3880 timeStorageClassUpdated = core.DateTime.parse(_json["timeStorageClassUpdat ed"]);
3881 }
3874 if (_json.containsKey("updated")) { 3882 if (_json.containsKey("updated")) {
3875 updated = core.DateTime.parse(_json["updated"]); 3883 updated = core.DateTime.parse(_json["updated"]);
3876 } 3884 }
3877 } 3885 }
3878 3886
3879 core.Map toJson() { 3887 core.Map toJson() {
3880 var _json = new core.Map(); 3888 var _json = new core.Map();
3881 if (acl != null) { 3889 if (acl != null) {
3882 _json["acl"] = acl.map((value) => (value).toJson()).toList(); 3890 _json["acl"] = acl.map((value) => (value).toJson()).toList();
3883 } 3891 }
(...skipping 62 matching lines...)
3946 } 3954 }
3947 if (storageClass != null) { 3955 if (storageClass != null) {
3948 _json["storageClass"] = storageClass; 3956 _json["storageClass"] = storageClass;
3949 } 3957 }
3950 if (timeCreated != null) { 3958 if (timeCreated != null) {
3951 _json["timeCreated"] = (timeCreated).toIso8601String(); 3959 _json["timeCreated"] = (timeCreated).toIso8601String();
3952 } 3960 }
3953 if (timeDeleted != null) { 3961 if (timeDeleted != null) {
3954 _json["timeDeleted"] = (timeDeleted).toIso8601String(); 3962 _json["timeDeleted"] = (timeDeleted).toIso8601String();
3955 } 3963 }
3964 if (timeStorageClassUpdated != null) {
3965 _json["timeStorageClassUpdated"] = (timeStorageClassUpdated).toIso8601Stri ng();
3966 }
3956 if (updated != null) { 3967 if (updated != null) {
3957 _json["updated"] = (updated).toIso8601String(); 3968 _json["updated"] = (updated).toIso8601String();
3958 } 3969 }
3959 return _json; 3970 return _json;
3960 } 3971 }
3961 } 3972 }
3962 3973
3963 /** The project team associated with the entity, if any. */ 3974 /** The project team associated with the entity, if any. */
3964 class ObjectAccessControlProjectTeam { 3975 class ObjectAccessControlProjectTeam {
3965 /** The project number. */ 3976 /** The project number. */
(...skipping 317 matching lines...)
4283 } 4294 }
4284 if (rewriteToken != null) { 4295 if (rewriteToken != null) {
4285 _json["rewriteToken"] = rewriteToken; 4296 _json["rewriteToken"] = rewriteToken;
4286 } 4297 }
4287 if (totalBytesRewritten != null) { 4298 if (totalBytesRewritten != null) {
4288 _json["totalBytesRewritten"] = totalBytesRewritten; 4299 _json["totalBytesRewritten"] = totalBytesRewritten;
4289 } 4300 }
4290 return _json; 4301 return _json;
4291 } 4302 }
4292 } 4303 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/slides/v1.dart ('k') | generated/googleapis/lib/tagmanager/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine