SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.fromJson constructor
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.fromJson(
- Map json_
Implementation
SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig.fromJson(
core.Map json_)
: this(
autoDeployConfidenceThreshold: json_
.containsKey('autoDeployConfidenceThreshold')
? (json_['autoDeployConfidenceThreshold'] as core.num).toDouble()
: null,
autoDeployExpirationSec: json_.containsKey('autoDeployExpirationSec')
? json_['autoDeployExpirationSec'] as core.int
: null,
autoDeployImpactedBaselineThreshold:
json_.containsKey('autoDeployImpactedBaselineThreshold')
? (json_['autoDeployImpactedBaselineThreshold'] as core.num)
.toDouble()
: null,
autoDeployLoadThreshold: json_.containsKey('autoDeployLoadThreshold')
? (json_['autoDeployLoadThreshold'] as core.num).toDouble()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);