toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
if (description != null) 'description': description!,
if (diskConsistencyGroupPolicy != null)
'diskConsistencyGroupPolicy': diskConsistencyGroupPolicy!,
if (groupPlacementPolicy != null)
'groupPlacementPolicy': groupPlacementPolicy!,
if (id != null) 'id': id!,
if (instanceSchedulePolicy != null)
'instanceSchedulePolicy': instanceSchedulePolicy!,
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (region != null) 'region': region!,
if (resourceStatus != null) 'resourceStatus': resourceStatus!,
if (selfLink != null) 'selfLink': selfLink!,
if (snapshotSchedulePolicy != null)
'snapshotSchedulePolicy': snapshotSchedulePolicy!,
if (status != null) 'status': status!,
};