AnalyzeOrgPoliciesResponse.fromJson constructor

AnalyzeOrgPoliciesResponse.fromJson(
  1. Map json_
)

Implementation

AnalyzeOrgPoliciesResponse.fromJson(core.Map json_)
    : this(
        constraint: json_.containsKey('constraint')
            ? AnalyzerOrgPolicyConstraint.fromJson(
                json_['constraint'] as core.Map<core.String, core.dynamic>)
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        orgPolicyResults: json_.containsKey('orgPolicyResults')
            ? (json_['orgPolicyResults'] as core.List)
                .map((value) => OrgPolicyResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );