toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (clusterLocation != null) 'clusterLocation': clusterLocation!,
  if (createTime != null) 'createTime': createTime!,
  if (description != null) 'description': description!,
  if (destinationVolume != null) 'destinationVolume': destinationVolume!,
  if (destinationVolumeParameters != null)
    'destinationVolumeParameters': destinationVolumeParameters!,
  if (healthy != null) 'healthy': healthy!,
  if (hybridPeeringDetails != null)
    'hybridPeeringDetails': hybridPeeringDetails!,
  if (hybridReplicationType != null)
    'hybridReplicationType': hybridReplicationType!,
  if (hybridReplicationUserCommands != null)
    'hybridReplicationUserCommands': hybridReplicationUserCommands!,
  if (labels != null) 'labels': labels!,
  if (mirrorState != null) 'mirrorState': mirrorState!,
  if (name != null) 'name': name!,
  if (replicationSchedule != null)
    'replicationSchedule': replicationSchedule!,
  if (role != null) 'role': role!,
  if (sourceVolume != null) 'sourceVolume': sourceVolume!,
  if (state != null) 'state': state!,
  if (stateDetails != null) 'stateDetails': stateDetails!,
  if (transferStats != null) 'transferStats': transferStats!,
};