PredefinedScalingMetricSpecification.fromJson constructor

PredefinedScalingMetricSpecification.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PredefinedScalingMetricSpecification.fromJson(
    Map<String, dynamic> json) {
  return PredefinedScalingMetricSpecification(
    predefinedScalingMetricType:
        (json['PredefinedScalingMetricType'] as String).toScalingMetricType(),
    resourceLabel: json['ResourceLabel'] as String?,
  );
}