AutoscalingPolicyScaleInControl.fromJson constructor
AutoscalingPolicyScaleInControl.fromJson(
- Object? j
Implementation
factory AutoscalingPolicyScaleInControl.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return AutoscalingPolicyScaleInControl(
maxScaledInReplicas: switch (json['maxScaledInReplicas']) {
null => null,
Object $1 => FixedOrPercent.fromJson($1),
},
timeWindowSec: switch (json['timeWindowSec']) {
null => null,
Object $1 => decodeInt($1),
},
);
}