toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotations != null) 'annotations': annotations!,
if (artifactsGcsBucket != null)
'artifactsGcsBucket': artifactsGcsBucket!,
if (createTime != null) 'createTime': createTime!,
if (deleteBuild != null) 'deleteBuild': deleteBuild!,
if (deleteLogs != null) 'deleteLogs': deleteLogs!,
if (deleteResults != null) 'deleteResults': deleteResults!,
if (errorCode != null) 'errorCode': errorCode!,
if (errorLogs != null) 'errorLogs': errorLogs!,
if (importExistingResources != null)
'importExistingResources': importExistingResources!,
if (labels != null) 'labels': labels!,
if (latestRevision != null) 'latestRevision': latestRevision!,
if (lockState != null) 'lockState': lockState!,
if (name != null) 'name': name!,
if (quotaValidation != null) 'quotaValidation': quotaValidation!,
if (serviceAccount != null) 'serviceAccount': serviceAccount!,
if (state != null) 'state': state!,
if (stateDetail != null) 'stateDetail': stateDetail!,
if (terraformBlueprint != null)
'terraformBlueprint': terraformBlueprint!,
if (tfErrors != null) 'tfErrors': tfErrors!,
if (tfVersion != null) 'tfVersion': tfVersion!,
if (tfVersionConstraint != null)
'tfVersionConstraint': tfVersionConstraint!,
if (updateTime != null) 'updateTime': updateTime!,
if (workerPool != null) 'workerPool': workerPool!,
};