toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (awsSourceVmDetails != null)
        'awsSourceVmDetails': awsSourceVmDetails!,
      if (azureSourceVmDetails != null)
        'azureSourceVmDetails': azureSourceVmDetails!,
      if (computeEngineDisksTargetDefaults != null)
        'computeEngineDisksTargetDefaults': computeEngineDisksTargetDefaults!,
      if (computeEngineTargetDefaults != null)
        'computeEngineTargetDefaults': computeEngineTargetDefaults!,
      if (createTime != null) 'createTime': createTime!,
      if (currentSyncInfo != null) 'currentSyncInfo': currentSyncInfo!,
      if (cutoverForecast != null) 'cutoverForecast': cutoverForecast!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (error != null) 'error': error!,
      if (group != null) 'group': group!,
      if (labels != null) 'labels': labels!,
      if (lastReplicationCycle != null)
        'lastReplicationCycle': lastReplicationCycle!,
      if (lastSync != null) 'lastSync': lastSync!,
      if (name != null) 'name': name!,
      if (policy != null) 'policy': policy!,
      if (recentCloneJobs != null) 'recentCloneJobs': recentCloneJobs!,
      if (recentCutoverJobs != null) 'recentCutoverJobs': recentCutoverJobs!,
      if (sourceVmId != null) 'sourceVmId': sourceVmId!,
      if (state != null) 'state': state!,
      if (stateTime != null) 'stateTime': stateTime!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (vmwareSourceVmDetails != null)
        'vmwareSourceVmDetails': vmwareSourceVmDetails!,
    };