PatchComplianceData.fromJson constructor

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

Implementation

factory PatchComplianceData.fromJson(Map<String, dynamic> json) {
  return PatchComplianceData(
    classification: json['Classification'] as String,
    installedTime:
        nonNullableTimeStampFromJson(json['InstalledTime'] as Object),
    kBId: json['KBId'] as String,
    severity: json['Severity'] as String,
    state: (json['State'] as String).toPatchComplianceDataState(),
    title: json['Title'] as String,
    cVEIds: json['CVEIds'] as String?,
  );
}