DescribeHarvestJobResponse.fromJson constructor

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

Implementation

factory DescribeHarvestJobResponse.fromJson(Map<String, dynamic> json) {
  return DescribeHarvestJobResponse(
    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(),
  );
}