PatchSummary.fromJson constructor

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

Implementation

factory PatchSummary.fromJson(Map<String, dynamic> json) {
  return PatchSummary(
    id: json['Id'] as String,
    failedCount: json['FailedCount'] as int?,
    installedCount: json['InstalledCount'] as int?,
    installedOtherCount: json['InstalledOtherCount'] as int?,
    installedPendingReboot: json['InstalledPendingReboot'] as int?,
    installedRejectedCount: json['InstalledRejectedCount'] as int?,
    missingCount: json['MissingCount'] as int?,
    operation: json['Operation'] as String?,
    operationEndTime: json['OperationEndTime'] as String?,
    operationStartTime: json['OperationStartTime'] as String?,
    rebootOption: json['RebootOption'] as String?,
  );
}