toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final blockPublicSecurityGroupRules = this.blockPublicSecurityGroupRules;
  final permittedPublicSecurityGroupRuleRanges =
      this.permittedPublicSecurityGroupRuleRanges;
  return {
    'BlockPublicSecurityGroupRules': blockPublicSecurityGroupRules,
    if (permittedPublicSecurityGroupRuleRanges != null)
      'PermittedPublicSecurityGroupRuleRanges':
          permittedPublicSecurityGroupRuleRanges,
  };
}