GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse.fromJson constructor

GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse.fromJson(
    core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        orgPolicyViolations: json_.containsKey('orgPolicyViolations')
            ? (json_['orgPolicyViolations'] as core.List)
                .map((value) =>
                    GoogleCloudPolicysimulatorV1OrgPolicyViolation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );