RestoreConfig_SubstitutionRule constructor
RestoreConfig_SubstitutionRule({})
Implementation
factory RestoreConfig_SubstitutionRule({
$core.Iterable<$core.String>? targetNamespaces,
$core.Iterable<RestoreConfig_GroupKind>? targetGroupKinds,
$core.String? targetJsonPath,
$core.String? originalValuePattern,
$core.String? newValue,
}) {
final $result = create();
if (targetNamespaces != null) {
$result.targetNamespaces.addAll(targetNamespaces);
}
if (targetGroupKinds != null) {
$result.targetGroupKinds.addAll(targetGroupKinds);
}
if (targetJsonPath != null) {
$result.targetJsonPath = targetJsonPath;
}
if (originalValuePattern != null) {
$result.originalValuePattern = originalValuePattern;
}
if (newValue != null) {
$result.newValue = newValue;
}
return $result;
}