OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance.fromJson constructor
OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance.fromJson(
- Map json_
Implementation
OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance.fromJson(
core.Map json_)
: this(
complianceState: json_.containsKey('complianceState')
? json_['complianceState'] as core.String
: null,
complianceStateReason: json_.containsKey('complianceStateReason')
? json_['complianceStateReason'] as core.String
: null,
configSteps: json_.containsKey('configSteps')
? (json_['configSteps'] as core.List)
.map((value) =>
OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
execResourceOutput: json_.containsKey('execResourceOutput')
? OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput
.fromJson(json_['execResourceOutput']
as core.Map<core.String, core.dynamic>)
: null,
osPolicyResourceId: json_.containsKey('osPolicyResourceId')
? json_['osPolicyResourceId'] as core.String
: null,
);