CreateHarvestJobResponse.fromJson constructor
CreateHarvestJobResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateHarvestJobResponse.fromJson(Map<String, dynamic> json) {
return CreateHarvestJobResponse(
arn: json['arn'] as String?,
channelId: json['channelId'] as String?,
createdAt: json['createdAt'] as String?,
endTime: json['endTime'] as String?,
id: json['id'] as String?,
originEndpointId: json['originEndpointId'] as String?,
s3Destination: json['s3Destination'] != null
? S3Destination.fromJson(
json['s3Destination'] as Map<String, dynamic>)
: null,
startTime: json['startTime'] as String?,
status: (json['status'] as String?)?.toStatus(),
);
}