StartBuildRequest constructor
Implementation
factory StartBuildRequest({
$core.String? repo,
$core.String? ref,
$core.Iterable<$core.String>? platforms,
$core.String? moduleId,
$core.String? moduleVersion,
$core.String? token,
$core.String? workdir,
}) {
final $result = create();
if (repo != null) {
$result.repo = repo;
}
if (ref != null) {
$result.ref = ref;
}
if (platforms != null) {
$result.platforms.addAll(platforms);
}
if (moduleId != null) {
$result.moduleId = moduleId;
}
if (moduleVersion != null) {
$result.moduleVersion = moduleVersion;
}
if (token != null) {
$result.token = token;
}
if (workdir != null) {
$result.workdir = workdir;
}
return $result;
}