LoadBasedAutoScalingConfiguration.fromJson constructor
LoadBasedAutoScalingConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory LoadBasedAutoScalingConfiguration.fromJson(
Map<String, dynamic> json) {
return LoadBasedAutoScalingConfiguration(
downScaling: json['DownScaling'] != null
? AutoScalingThresholds.fromJson(
json['DownScaling'] as Map<String, dynamic>)
: null,
enable: json['Enable'] as bool?,
layerId: json['LayerId'] as String?,
upScaling: json['UpScaling'] != null
? AutoScalingThresholds.fromJson(
json['UpScaling'] as Map<String, dynamic>)
: null,
);
}