PutAutoScalingPolicyOutput.fromJson constructor
PutAutoScalingPolicyOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PutAutoScalingPolicyOutput.fromJson(Map<String, dynamic> json) {
return PutAutoScalingPolicyOutput(
autoScalingPolicy: json['AutoScalingPolicy'] != null
? AutoScalingPolicyDescription.fromJson(
json['AutoScalingPolicy'] as Map<String, dynamic>)
: null,
clusterArn: json['ClusterArn'] as String?,
clusterId: json['ClusterId'] as String?,
instanceGroupId: json['InstanceGroupId'] as String?,
);
}