SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.fromJson constructor
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.fromJson(
- Map json_
Implementation
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.fromJson(
core.Map json_)
: this(
enable:
json_.containsKey('enable') ? json_['enable'] as core.bool : null,
ruleVisibility: json_.containsKey('ruleVisibility')
? json_['ruleVisibility'] as core.String
: null,
thresholdConfigs: json_.containsKey('thresholdConfigs')
? (json_['thresholdConfigs'] as core.List)
.map((value) =>
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);