DescribeImageVersionResponse.fromJson constructor

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

Implementation

factory DescribeImageVersionResponse.fromJson(Map<String, dynamic> json) {
  return DescribeImageVersionResponse(
    baseImage: json['BaseImage'] as String?,
    containerImage: json['ContainerImage'] as String?,
    creationTime: timeStampFromJson(json['CreationTime']),
    failureReason: json['FailureReason'] as String?,
    imageArn: json['ImageArn'] as String?,
    imageVersionArn: json['ImageVersionArn'] as String?,
    imageVersionStatus:
        (json['ImageVersionStatus'] as String?)?.toImageVersionStatus(),
    lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
    version: json['Version'] as int?,
  );
}