AuditSuppression.fromJson constructor

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

Implementation

factory AuditSuppression.fromJson(Map<String, dynamic> json) {
  return AuditSuppression(
    checkName: json['checkName'] as String,
    resourceIdentifier: ResourceIdentifier.fromJson(
        json['resourceIdentifier'] as Map<String, dynamic>),
    description: json['description'] as String?,
    expirationDate: timeStampFromJson(json['expirationDate']),
    suppressIndefinitely: json['suppressIndefinitely'] as bool?,
  );
}