toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final acl = this.acl;
  final autoclass = this.autoclass;
  final billing = this.billing;
  final cors = this.cors;
  final customPlacementConfig = this.customPlacementConfig;
  final defaultEventBasedHold = this.defaultEventBasedHold;
  final defaultObjectAcl = this.defaultObjectAcl;
  final encryption = this.encryption;
  final etag = this.etag;
  final generation = this.generation;
  final hardDeleteTime = this.hardDeleteTime;
  final hierarchicalNamespace = this.hierarchicalNamespace;
  final iamConfiguration = this.iamConfiguration;
  final id = this.id;
  final ipFilter = this.ipFilter;
  final kind = this.kind;
  final labels = this.labels;
  final lifecycle = this.lifecycle;
  final location = this.location;
  final locationType = this.locationType;
  final logging = this.logging;
  final metageneration = this.metageneration;
  final name = this.name;
  final objectRetention = this.objectRetention;
  final owner = this.owner;
  final projectNumber = this.projectNumber;
  final retentionPolicy = this.retentionPolicy;
  final rpo = this.rpo;
  final satisfiesPZI = this.satisfiesPZI;
  final satisfiesPZS = this.satisfiesPZS;
  final selfLink = this.selfLink;
  final softDeletePolicy = this.softDeletePolicy;
  final softDeleteTime = this.softDeleteTime;
  final storageClass = this.storageClass;
  final timeCreated = this.timeCreated;
  final updated = this.updated;
  final versioning = this.versioning;
  final website = this.website;
  return {
    'acl': ?acl,
    'autoclass': ?autoclass,
    'billing': ?billing,
    'cors': ?cors,
    'customPlacementConfig': ?customPlacementConfig,
    'defaultEventBasedHold': ?defaultEventBasedHold,
    'defaultObjectAcl': ?defaultObjectAcl,
    'encryption': ?encryption,
    'etag': ?etag,
    'generation': ?generation,
    'hardDeleteTime': ?hardDeleteTime?.toUtc().toIso8601String(),
    'hierarchicalNamespace': ?hierarchicalNamespace,
    'iamConfiguration': ?iamConfiguration,
    'id': ?id,
    'ipFilter': ?ipFilter,
    'kind': ?kind,
    'labels': ?labels,
    'lifecycle': ?lifecycle,
    'location': ?location,
    'locationType': ?locationType,
    'logging': ?logging,
    'metageneration': ?metageneration,
    'name': ?name,
    'objectRetention': ?objectRetention,
    'owner': ?owner,
    'projectNumber': ?projectNumber,
    'retentionPolicy': ?retentionPolicy,
    'rpo': ?rpo,
    'satisfiesPZI': ?satisfiesPZI,
    'satisfiesPZS': ?satisfiesPZS,
    'selfLink': ?selfLink,
    'softDeletePolicy': ?softDeletePolicy,
    'softDeleteTime': ?softDeleteTime?.toUtc().toIso8601String(),
    'storageClass': ?storageClass,
    'timeCreated': ?timeCreated?.toUtc().toIso8601String(),
    'updated': ?updated?.toUtc().toIso8601String(),
    'versioning': ?versioning,
    'website': ?website,
  };
}