toJson method
Implementation
Map<String, dynamic> toJson() {
final predefinedScalingMetricType = this.predefinedScalingMetricType;
final resourceLabel = this.resourceLabel;
return {
'PredefinedScalingMetricType': predefinedScalingMetricType.toValue(),
if (resourceLabel != null) 'ResourceLabel': resourceLabel,
};
}