toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (backupConfigDetails != null)
'backupConfigDetails': backupConfigDetails!,
if (lastSuccessfulBackup != null)
'lastSuccessfulBackup': lastSuccessfulBackup!,
if (lastSuccessfulBackupTime != null)
'lastSuccessfulBackupTime': lastSuccessfulBackupTime!,
if (nextScheduledBackupTime != null)
'nextScheduledBackupTime': nextScheduledBackupTime!,
if (protectedPodCount != null) 'protectedPodCount': protectedPodCount!,
if (retentionPolicyDetails != null)
'retentionPolicyDetails': retentionPolicyDetails!,
if (rpoRiskLevel != null) 'rpoRiskLevel': rpoRiskLevel!,
if (state != null) 'state': state!,
};