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,
      );