toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'clientRequestId': clientRequestId,
    'createTime': createTime,
    'createdFromSnapshotId': createdFromSnapshotId,
    'currentState': currentState,
    'currentStateTime': currentStateTime,
    'environment': environment.toMap(),
    'executionInfo': executionInfo.toMap(),
    'jobMetadata': jobMetadata.toMap(),
    'labels': labels,
    'location': location,
    'name': name,
    'pipelineDescription': pipelineDescription.toMap(),
    'project': project,
    'replaceJobId': replaceJobId,
    'replacedByJobId': replacedByJobId,
    'requestedState': requestedState,
    'runtimeUpdatableParams': runtimeUpdatableParams.toMap(),
    'satisfiesPzi': satisfiesPzi,
    'satisfiesPzs': satisfiesPzs,
    'stageStates': pulumi.Input.encodeList<ExecutionStageStateResponse, Map<String, dynamic>>(stageStates, (value) => value.toMap()),
    'startTime': startTime,
    'steps': pulumi.Input.encodeList<StepResponse, Map<String, dynamic>>(steps, (value) => value.toMap()),
    'stepsLocation': stepsLocation,
    'tempFiles': tempFiles,
    'transformNameMapping': transformNameMapping,
    'type': type,
  };
}