MetricPolicyRule.fromJson constructor

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

Implementation

factory MetricPolicyRule.fromJson(Map<String, dynamic> json) {
  return MetricPolicyRule(
    objectGroup: json['ObjectGroup'] as String,
    objectGroupName: json['ObjectGroupName'] as String,
  );
}