RestorePlan constructor
RestorePlan({})
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;
}