ConfigRuleEvaluationStatus.fromJson constructor

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

Implementation

factory ConfigRuleEvaluationStatus.fromJson(Map<String, dynamic> json) {
  return ConfigRuleEvaluationStatus(
    configRuleArn: json['ConfigRuleArn'] as String?,
    configRuleId: json['ConfigRuleId'] as String?,
    configRuleName: json['ConfigRuleName'] as String?,
    firstActivatedTime: timeStampFromJson(json['FirstActivatedTime']),
    firstEvaluationStarted: json['FirstEvaluationStarted'] as bool?,
    lastDeactivatedTime: timeStampFromJson(json['LastDeactivatedTime']),
    lastErrorCode: json['LastErrorCode'] as String?,
    lastErrorMessage: json['LastErrorMessage'] as String?,
    lastFailedEvaluationTime:
        timeStampFromJson(json['LastFailedEvaluationTime']),
    lastFailedInvocationTime:
        timeStampFromJson(json['LastFailedInvocationTime']),
    lastSuccessfulEvaluationTime:
        timeStampFromJson(json['LastSuccessfulEvaluationTime']),
    lastSuccessfulInvocationTime:
        timeStampFromJson(json['LastSuccessfulInvocationTime']),
  );
}