toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (architecture != null) 'architecture': architecture!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (region != null) 'region': region!,
      if (resourceStatus != null) 'resourceStatus': resourceStatus!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (selfLinkWithId != null) 'selfLinkWithId': selfLinkWithId!,
      if (sourceDisk != null) 'sourceDisk': sourceDisk!,
      if (sourceDiskId != null) 'sourceDiskId': sourceDiskId!,
      if (status != null) 'status': status!,
      if (zone != null) 'zone': zone!,
    };