DescribeEdgePackagingJobResponse.fromJson constructor

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

Implementation

factory DescribeEdgePackagingJobResponse.fromJson(Map<String, dynamic> json) {
  return DescribeEdgePackagingJobResponse(
    edgePackagingJobArn: json['EdgePackagingJobArn'] as String,
    edgePackagingJobName: json['EdgePackagingJobName'] as String,
    edgePackagingJobStatus:
        (json['EdgePackagingJobStatus'] as String).toEdgePackagingJobStatus(),
    compilationJobName: json['CompilationJobName'] as String?,
    creationTime: timeStampFromJson(json['CreationTime']),
    edgePackagingJobStatusMessage:
        json['EdgePackagingJobStatusMessage'] as String?,
    lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
    modelArtifact: json['ModelArtifact'] as String?,
    modelName: json['ModelName'] as String?,
    modelSignature: json['ModelSignature'] as String?,
    modelVersion: json['ModelVersion'] as String?,
    outputConfig: json['OutputConfig'] != null
        ? EdgeOutputConfig.fromJson(
            json['OutputConfig'] as Map<String, dynamic>)
        : null,
    resourceKey: json['ResourceKey'] as String?,
    roleArn: json['RoleArn'] as String?,
  );
}