PatchStatus.fromJson constructor

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

Implementation

factory PatchStatus.fromJson(Map<String, dynamic> json) {
  return PatchStatus(
    approvalDate: timeStampFromJson(json['ApprovalDate']),
    complianceLevel:
        (json['ComplianceLevel'] as String?)?.toPatchComplianceLevel(),
    deploymentStatus:
        (json['DeploymentStatus'] as String?)?.toPatchDeploymentStatus(),
  );
}