BuildEventData constructor
BuildEventData({
- String? id,
- BuildEventData_Status? status,
- Source? source,
- Timestamp? createTime,
- Timestamp? startTime,
- Timestamp? finishTime,
- Results? results,
- Iterable<
BuildStep> ? steps, - Duration? timeout,
- Iterable<
String> ? images, - String? projectId,
- String? logsBucket,
- SourceProvenance? sourceProvenance,
- String? buildTriggerId,
- BuildOptions? options,
- String? statusDetail,
- String? logUrl,
- Map<
String, String> ? substitutions, - Iterable<
String> ? tags, - Iterable<
Secret> ? secrets, - Map<
String, TimeSpan> ? timing, - Artifacts? artifacts,
- Duration? queueTtl,
Implementation
factory BuildEventData({
$core.String? id,
BuildEventData_Status? status,
Source? source,
$2.Timestamp? createTime,
$2.Timestamp? startTime,
$2.Timestamp? finishTime,
Results? results,
$core.Iterable<BuildStep>? steps,
$10.Duration? timeout,
$core.Iterable<$core.String>? images,
$core.String? projectId,
$core.String? logsBucket,
SourceProvenance? sourceProvenance,
$core.String? buildTriggerId,
BuildOptions? options,
$core.String? statusDetail,
$core.String? logUrl,
$core.Map<$core.String, $core.String>? substitutions,
$core.Iterable<$core.String>? tags,
$core.Iterable<Secret>? secrets,
$core.Map<$core.String, TimeSpan>? timing,
Artifacts? artifacts,
$10.Duration? queueTtl,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (status != null) {
$result.status = status;
}
if (source != null) {
$result.source = source;
}
if (createTime != null) {
$result.createTime = createTime;
}
if (startTime != null) {
$result.startTime = startTime;
}
if (finishTime != null) {
$result.finishTime = finishTime;
}
if (results != null) {
$result.results = results;
}
if (steps != null) {
$result.steps.addAll(steps);
}
if (timeout != null) {
$result.timeout = timeout;
}
if (images != null) {
$result.images.addAll(images);
}
if (projectId != null) {
$result.projectId = projectId;
}
if (logsBucket != null) {
$result.logsBucket = logsBucket;
}
if (sourceProvenance != null) {
$result.sourceProvenance = sourceProvenance;
}
if (buildTriggerId != null) {
$result.buildTriggerId = buildTriggerId;
}
if (options != null) {
$result.options = options;
}
if (statusDetail != null) {
$result.statusDetail = statusDetail;
}
if (logUrl != null) {
$result.logUrl = logUrl;
}
if (substitutions != null) {
$result.substitutions.addAll(substitutions);
}
if (tags != null) {
$result.tags.addAll(tags);
}
if (secrets != null) {
$result.secrets.addAll(secrets);
}
if (timing != null) {
$result.timing.addAll(timing);
}
if (artifacts != null) {
$result.artifacts = artifacts;
}
if (queueTtl != null) {
$result.queueTtl = queueTtl;
}
return $result;
}