RecommendationExportJob.fromJson constructor
RecommendationExportJob.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RecommendationExportJob.fromJson(Map<String, dynamic> json) {
return RecommendationExportJob(
creationTimestamp: timeStampFromJson(json['creationTimestamp']),
destination: json['destination'] != null
? ExportDestination.fromJson(
json['destination'] as Map<String, dynamic>)
: null,
failureReason: json['failureReason'] as String?,
jobId: json['jobId'] as String?,
lastUpdatedTimestamp: timeStampFromJson(json['lastUpdatedTimestamp']),
resourceType: (json['resourceType'] as String?)?.toResourceType(),
status: (json['status'] as String?)?.toJobStatus(),
);
}