GoogleCloudPolicysimulatorV1OrgPolicyOverlay.fromJson constructor

GoogleCloudPolicysimulatorV1OrgPolicyOverlay.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPolicysimulatorV1OrgPolicyOverlay.fromJson(core.Map json_)
    : this(
        customConstraints: json_.containsKey('customConstraints')
            ? (json_['customConstraints'] as core.List)
                .map((value) =>
                    GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        policies: json_.containsKey('policies')
            ? (json_['policies'] as core.List)
                .map((value) =>
                    GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );