GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus.fromJson constructor

GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus.fromJson(core.Map json_)
    : this(
        acknowledgedResourceViolationCount:
            json_.containsKey('acknowledgedResourceViolationCount')
                ? json_['acknowledgedResourceViolationCount'] as core.int
                : null,
        acknowledgedViolationCount:
            json_.containsKey('acknowledgedViolationCount')
                ? json_['acknowledgedViolationCount'] as core.int
                : null,
        activeResourceViolationCount:
            json_.containsKey('activeResourceViolationCount')
                ? json_['activeResourceViolationCount'] as core.int
                : null,
        activeViolationCount: json_.containsKey('activeViolationCount')
            ? json_['activeViolationCount'] as core.int
            : null,
      );