toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (baseEjectionTime != null) 'baseEjectionTime': baseEjectionTime!,
if (consecutiveErrors != null) 'consecutiveErrors': consecutiveErrors!,
if (consecutiveGatewayFailure != null)
'consecutiveGatewayFailure': consecutiveGatewayFailure!,
if (enforcingConsecutiveErrors != null)
'enforcingConsecutiveErrors': enforcingConsecutiveErrors!,
if (enforcingConsecutiveGatewayFailure != null)
'enforcingConsecutiveGatewayFailure':
enforcingConsecutiveGatewayFailure!,
if (enforcingSuccessRate != null)
'enforcingSuccessRate': enforcingSuccessRate!,
if (interval != null) 'interval': interval!,
if (maxEjectionPercent != null)
'maxEjectionPercent': maxEjectionPercent!,
if (successRateMinimumHosts != null)
'successRateMinimumHosts': successRateMinimumHosts!,
if (successRateRequestVolume != null)
'successRateRequestVolume': successRateRequestVolume!,
if (successRateStdevFactor != null)
'successRateStdevFactor': successRateStdevFactor!,
};