DescribeAuditSuppressionResponse.fromJson constructor

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

Implementation

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