toJson method
Implementation
Map<String, dynamic> toJson() {
final scalingAdjustment = this.scalingAdjustment;
final metricIntervalLowerBound = this.metricIntervalLowerBound;
final metricIntervalUpperBound = this.metricIntervalUpperBound;
return {
'ScalingAdjustment': scalingAdjustment,
if (metricIntervalLowerBound != null)
'MetricIntervalLowerBound': metricIntervalLowerBound,
if (metricIntervalUpperBound != null)
'MetricIntervalUpperBound': metricIntervalUpperBound,
};
}