ScalingRule.fromJson constructor
Implementation
factory ScalingRule.fromJson(Map<String, dynamic> json) {
return ScalingRule(
action: ScalingAction.fromJson(json['Action'] as Map<String, dynamic>),
name: json['Name'] as String,
trigger: ScalingTrigger.fromJson(json['Trigger'] as Map<String, dynamic>),
description: json['Description'] as String?,
);
}