ResourceViolation.fromJson constructor
ResourceViolation.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ResourceViolation.fromJson(Map<String, dynamic> json) {
return ResourceViolation(
awsEc2InstanceViolation: json['AwsEc2InstanceViolation'] != null
? AwsEc2InstanceViolation.fromJson(
json['AwsEc2InstanceViolation'] as Map<String, dynamic>)
: null,
awsEc2NetworkInterfaceViolation:
json['AwsEc2NetworkInterfaceViolation'] != null
? AwsEc2NetworkInterfaceViolation.fromJson(
json['AwsEc2NetworkInterfaceViolation']
as Map<String, dynamic>)
: null,
awsVPCSecurityGroupViolation: json['AwsVPCSecurityGroupViolation'] != null
? AwsVPCSecurityGroupViolation.fromJson(
json['AwsVPCSecurityGroupViolation'] as Map<String, dynamic>)
: null,
networkFirewallMissingExpectedRTViolation:
json['NetworkFirewallMissingExpectedRTViolation'] != null
? NetworkFirewallMissingExpectedRTViolation.fromJson(
json['NetworkFirewallMissingExpectedRTViolation']
as Map<String, dynamic>)
: null,
networkFirewallMissingFirewallViolation:
json['NetworkFirewallMissingFirewallViolation'] != null
? NetworkFirewallMissingFirewallViolation.fromJson(
json['NetworkFirewallMissingFirewallViolation']
as Map<String, dynamic>)
: null,
networkFirewallMissingSubnetViolation:
json['NetworkFirewallMissingSubnetViolation'] != null
? NetworkFirewallMissingSubnetViolation.fromJson(
json['NetworkFirewallMissingSubnetViolation']
as Map<String, dynamic>)
: null,
networkFirewallPolicyModifiedViolation:
json['NetworkFirewallPolicyModifiedViolation'] != null
? NetworkFirewallPolicyModifiedViolation.fromJson(
json['NetworkFirewallPolicyModifiedViolation']
as Map<String, dynamic>)
: null,
);
}