ManagedScaling.fromJson constructor
Implementation
factory ManagedScaling.fromJson(Map<String, dynamic> json) {
return ManagedScaling(
instanceWarmupPeriod: json['instanceWarmupPeriod'] as int?,
maximumScalingStepSize: json['maximumScalingStepSize'] as int?,
minimumScalingStepSize: json['minimumScalingStepSize'] as int?,
status: (json['status'] as String?)?.toManagedScalingStatus(),
targetCapacity: json['targetCapacity'] as int?,
);
}