DescribePipelineResponse.fromJson constructor
DescribePipelineResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribePipelineResponse.fromJson(Map<String, dynamic> json) {
return DescribePipelineResponse(
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']),
lastRunTime: timeStampFromJson(json['LastRunTime']),
pipelineArn: json['PipelineArn'] as String?,
pipelineDefinition: json['PipelineDefinition'] as String?,
pipelineDescription: json['PipelineDescription'] as String?,
pipelineDisplayName: json['PipelineDisplayName'] as String?,
pipelineName: json['PipelineName'] as String?,
pipelineStatus: (json['PipelineStatus'] as String?)?.toPipelineStatus(),
roleArn: json['RoleArn'] as String?,
);
}