toJson method
Implementation
Map<String, dynamic> toJson() {
final autoImportPolicy = this.autoImportPolicy;
final automaticBackupRetentionDays = this.automaticBackupRetentionDays;
final dailyAutomaticBackupStartTime = this.dailyAutomaticBackupStartTime;
final weeklyMaintenanceStartTime = this.weeklyMaintenanceStartTime;
return {
if (autoImportPolicy != null)
'AutoImportPolicy': autoImportPolicy.toValue(),
if (automaticBackupRetentionDays != null)
'AutomaticBackupRetentionDays': automaticBackupRetentionDays,
if (dailyAutomaticBackupStartTime != null)
'DailyAutomaticBackupStartTime': dailyAutomaticBackupStartTime,
if (weeklyMaintenanceStartTime != null)
'WeeklyMaintenanceStartTime': weeklyMaintenanceStartTime,
};
}