SimulationJobBatchSummary.fromJson constructor
SimulationJobBatchSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SimulationJobBatchSummary.fromJson(Map<String, dynamic> json) {
return SimulationJobBatchSummary(
arn: json['arn'] as String?,
createdAt: timeStampFromJson(json['createdAt']),
createdRequestCount: json['createdRequestCount'] as int?,
failedRequestCount: json['failedRequestCount'] as int?,
lastUpdatedAt: timeStampFromJson(json['lastUpdatedAt']),
pendingRequestCount: json['pendingRequestCount'] as int?,
status: (json['status'] as String?)?.toSimulationJobBatchStatus(),
);
}