SecurityGroupRemediationAction.fromJson constructor
SecurityGroupRemediationAction.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SecurityGroupRemediationAction.fromJson(Map<String, dynamic> json) {
return SecurityGroupRemediationAction(
description: json['Description'] as String?,
isDefaultAction: json['IsDefaultAction'] as bool?,
remediationActionType:
(json['RemediationActionType'] as String?)?.toRemediationActionType(),
remediationResult: json['RemediationResult'] != null
? SecurityGroupRuleDescription.fromJson(
json['RemediationResult'] as Map<String, dynamic>)
: null,
);
}