AggregatedSourceStatus.fromJson constructor

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

Implementation

factory AggregatedSourceStatus.fromJson(Map<String, dynamic> json) {
  return AggregatedSourceStatus(
    awsRegion: json['AwsRegion'] as String?,
    lastErrorCode: json['LastErrorCode'] as String?,
    lastErrorMessage: json['LastErrorMessage'] as String?,
    lastUpdateStatus:
        (json['LastUpdateStatus'] as String?)?.toAggregatedSourceStatusType(),
    lastUpdateTime: timeStampFromJson(json['LastUpdateTime']),
    sourceId: json['SourceId'] as String?,
    sourceType: (json['SourceType'] as String?)?.toAggregatedSourceType(),
  );
}