toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final backup = this.backup;
  final cluster = this.cluster;
  final completeTime = this.completeTime;
  final createTime = this.createTime;
  final description = this.description;
  final etag = this.etag;
  final filter = this.filter;
  final labels = this.labels;
  final name = this.name;
  final resourcesExcludedCount = this.resourcesExcludedCount;
  final resourcesFailedCount = this.resourcesFailedCount;
  final resourcesRestoredCount = this.resourcesRestoredCount;
  final restoreConfig = this.restoreConfig;
  final state = this.state;
  final stateReason = this.stateReason;
  final troubleshootingInfo = this.troubleshootingInfo;
  final uid = this.uid;
  final updateTime = this.updateTime;
  final volumeDataRestorePolicyOverrides =
      this.volumeDataRestorePolicyOverrides;
  final volumesRestoredCount = this.volumesRestoredCount;
  return {
    'backup': ?backup,
    'cluster': ?cluster,
    'completeTime': ?completeTime,
    'createTime': ?createTime,
    'description': ?description,
    'etag': ?etag,
    'filter': ?filter,
    'labels': ?labels,
    'name': ?name,
    'resourcesExcludedCount': ?resourcesExcludedCount,
    'resourcesFailedCount': ?resourcesFailedCount,
    'resourcesRestoredCount': ?resourcesRestoredCount,
    'restoreConfig': ?restoreConfig,
    'state': ?state,
    'stateReason': ?stateReason,
    'troubleshootingInfo': ?troubleshootingInfo,
    'uid': ?uid,
    'updateTime': ?updateTime,
    'volumeDataRestorePolicyOverrides': ?volumeDataRestorePolicyOverrides,
    'volumesRestoredCount': ?volumesRestoredCount,
  };
}