toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final backupChannel = this.backupChannel;
final backupConfig = this.backupConfig;
final backupSchedule = this.backupSchedule;
final cluster = this.cluster;
final createTime = this.createTime;
final deactivated = this.deactivated;
final description = this.description;
final etag = this.etag;
final labels = this.labels;
final lastSuccessfulBackupTime = this.lastSuccessfulBackupTime;
final name = this.name;
final protectedPodCount = this.protectedPodCount;
final retentionPolicy = this.retentionPolicy;
final rpoRiskLevel = this.rpoRiskLevel;
final rpoRiskReason = this.rpoRiskReason;
final state = this.state;
final stateReason = this.stateReason;
final uid = this.uid;
final updateTime = this.updateTime;
return {
'backupChannel': ?backupChannel,
'backupConfig': ?backupConfig,
'backupSchedule': ?backupSchedule,
'cluster': ?cluster,
'createTime': ?createTime,
'deactivated': ?deactivated,
'description': ?description,
'etag': ?etag,
'labels': ?labels,
'lastSuccessfulBackupTime': ?lastSuccessfulBackupTime,
'name': ?name,
'protectedPodCount': ?protectedPodCount,
'retentionPolicy': ?retentionPolicy,
'rpoRiskLevel': ?rpoRiskLevel,
'rpoRiskReason': ?rpoRiskReason,
'state': ?state,
'stateReason': ?stateReason,
'uid': ?uid,
'updateTime': ?updateTime,
};
}