toJson method
Implementation
Map<String, dynamic> toJson() {
final scalingAdjustment = this.scalingAdjustment;
final adjustmentType = this.adjustmentType;
final coolDown = this.coolDown;
return {
'ScalingAdjustment': scalingAdjustment,
if (adjustmentType != null) 'AdjustmentType': adjustmentType.toValue(),
if (coolDown != null) 'CoolDown': coolDown,
};
}