AuditMitigationActionExecutionMetadata.fromJson constructor

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

Implementation

factory AuditMitigationActionExecutionMetadata.fromJson(
    Map<String, dynamic> json) {
  return AuditMitigationActionExecutionMetadata(
    actionId: json['actionId'] as String?,
    actionName: json['actionName'] as String?,
    endTime: timeStampFromJson(json['endTime']),
    errorCode: json['errorCode'] as String?,
    findingId: json['findingId'] as String?,
    message: json['message'] as String?,
    startTime: timeStampFromJson(json['startTime']),
    status: (json['status'] as String?)
        ?.toAuditMitigationActionsExecutionStatus(),
    taskId: json['taskId'] as String?,
  );
}