toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'approval': approval.toMap(),
'artifacts': artifacts.toMap(),
'availableSecrets': availableSecrets.toMap(),
'buildTriggerId': buildTriggerId,
'createTime': createTime,
'failureInfo': failureInfo.toMap(),
'finishTime': finishTime,
'images': images,
'logUrl': logUrl,
'logsBucket': logsBucket,
'name': name,
'options': options.toMap(),
'project': project,
'queueTtl': queueTtl,
'results': results.toMap(),
'secrets': pulumi.Input.encodeList<SecretResponse, Map<String, dynamic>>(secrets, (value) => value.toMap()),
'serviceAccount': serviceAccount,
'source': source.toMap(),
'sourceProvenance': sourceProvenance.toMap(),
'startTime': startTime,
'status': status,
'statusDetail': statusDetail,
'steps': pulumi.Input.encodeList<BuildStepResponse, Map<String, dynamic>>(steps, (value) => value.toMap()),
'substitutions': substitutions,
'tags': tags,
'timeout': timeout,
'timing': timing,
'warnings': pulumi.Input.encodeList<WarningResponse, Map<String, dynamic>>(warnings, (value) => value.toMap()),
};
}