toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (action != null) 'action': action!,
  if (applyResults != null) 'applyResults': applyResults!,
  if (build != null) 'build': build!,
  if (createTime != null) 'createTime': createTime!,
  if (errorCode != null) 'errorCode': errorCode!,
  if (errorLogs != null) 'errorLogs': errorLogs!,
  if (importExistingResources != null)
    'importExistingResources': importExistingResources!,
  if (logs != null) 'logs': logs!,
  if (name != null) 'name': name!,
  if (providerConfig != null) 'providerConfig': providerConfig!,
  if (quotaValidation != null) 'quotaValidation': quotaValidation!,
  if (quotaValidationResults != null)
    'quotaValidationResults': quotaValidationResults!,
  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!,
};