OutlierDetection.fromJson constructor
OutlierDetection.fromJson(
- Map json_
Implementation
OutlierDetection.fromJson(core.Map json_)
: this(
baseEjectionTime: json_.containsKey('baseEjectionTime')
? Duration.fromJson(json_['baseEjectionTime']
as core.Map<core.String, core.dynamic>)
: null,
consecutiveErrors: json_.containsKey('consecutiveErrors')
? json_['consecutiveErrors'] as core.int
: null,
consecutiveGatewayFailure:
json_.containsKey('consecutiveGatewayFailure')
? json_['consecutiveGatewayFailure'] as core.int
: null,
enforcingConsecutiveErrors:
json_.containsKey('enforcingConsecutiveErrors')
? json_['enforcingConsecutiveErrors'] as core.int
: null,
enforcingConsecutiveGatewayFailure:
json_.containsKey('enforcingConsecutiveGatewayFailure')
? json_['enforcingConsecutiveGatewayFailure'] as core.int
: null,
enforcingSuccessRate: json_.containsKey('enforcingSuccessRate')
? json_['enforcingSuccessRate'] as core.int
: null,
interval: json_.containsKey('interval')
? Duration.fromJson(
json_['interval'] as core.Map<core.String, core.dynamic>)
: null,
maxEjectionPercent: json_.containsKey('maxEjectionPercent')
? json_['maxEjectionPercent'] as core.int
: null,
successRateMinimumHosts: json_.containsKey('successRateMinimumHosts')
? json_['successRateMinimumHosts'] as core.int
: null,
successRateRequestVolume:
json_.containsKey('successRateRequestVolume')
? json_['successRateRequestVolume'] as core.int
: null,
successRateStdevFactor: json_.containsKey('successRateStdevFactor')
? json_['successRateStdevFactor'] as core.int
: null,
);