DescribePipelineExecutionResponse.fromJson constructor

DescribePipelineExecutionResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DescribePipelineExecutionResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribePipelineExecutionResponse(
    createdBy: json['CreatedBy'] != null
        ? UserContext.fromJson(json['CreatedBy'] as Map<String, dynamic>)
        : null,
    creationTime: timeStampFromJson(json['CreationTime']),
    lastModifiedBy: json['LastModifiedBy'] != null
        ? UserContext.fromJson(json['LastModifiedBy'] as Map<String, dynamic>)
        : null,
    lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
    pipelineArn: json['PipelineArn'] as String?,
    pipelineExecutionArn: json['PipelineExecutionArn'] as String?,
    pipelineExecutionDescription:
        json['PipelineExecutionDescription'] as String?,
    pipelineExecutionDisplayName:
        json['PipelineExecutionDisplayName'] as String?,
    pipelineExecutionStatus: (json['PipelineExecutionStatus'] as String?)
        ?.toPipelineExecutionStatus(),
  );
}