ListOSPolicyAssignmentReportsResponse.fromJson constructor

ListOSPolicyAssignmentReportsResponse.fromJson(
  1. Map json_
)

Implementation

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