OSPolicyAssignmentReport.fromJson constructor
OSPolicyAssignmentReport.fromJson(
- Map json_
Implementation
OSPolicyAssignmentReport.fromJson(core.Map json_)
: this(
instance: json_.containsKey('instance')
? json_['instance'] as core.String
: null,
lastRunId: json_.containsKey('lastRunId')
? json_['lastRunId'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
osPolicyAssignment: json_.containsKey('osPolicyAssignment')
? json_['osPolicyAssignment'] as core.String
: null,
osPolicyCompliances: json_.containsKey('osPolicyCompliances')
? (json_['osPolicyCompliances'] as core.List)
.map((value) =>
OSPolicyAssignmentReportOSPolicyCompliance.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);