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