RestorePlan constructor

RestorePlan({
  1. String? name,
  2. String? uid,
  3. Timestamp? createTime,
  4. Timestamp? updateTime,
  5. String? description,
  6. String? backupPlan,
  7. String? cluster,
  8. RestoreConfig? restoreConfig,
  9. Map<String, String>? labels,
  10. String? etag,
})

Implementation

factory RestorePlan({
  $core.String? name,
  $core.String? uid,
  $2.Timestamp? createTime,
  $2.Timestamp? updateTime,
  $core.String? description,
  $core.String? backupPlan,
  $core.String? cluster,
  RestoreConfig? restoreConfig,
  $core.Map<$core.String, $core.String>? labels,
  $core.String? etag,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (uid != null) {
    $result.uid = uid;
  }
  if (createTime != null) {
    $result.createTime = createTime;
  }
  if (updateTime != null) {
    $result.updateTime = updateTime;
  }
  if (description != null) {
    $result.description = description;
  }
  if (backupPlan != null) {
    $result.backupPlan = backupPlan;
  }
  if (cluster != null) {
    $result.cluster = cluster;
  }
  if (restoreConfig != null) {
    $result.restoreConfig = restoreConfig;
  }
  if (labels != null) {
    $result.labels.addAll(labels);
  }
  if (etag != null) {
    $result.etag = etag;
  }
  return $result;
}