ListOSPolicyAssignmentsResponse.fromJson constructor

ListOSPolicyAssignmentsResponse.fromJson(
  1. Map json_
)

Implementation

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