AutoscalingPolicyScaleInControl.fromJson constructor

AutoscalingPolicyScaleInControl.fromJson(
  1. Map json_
)

Implementation

AutoscalingPolicyScaleInControl.fromJson(core.Map json_)
    : this(
        maxScaledInReplicas: json_.containsKey('maxScaledInReplicas')
            ? FixedOrPercent.fromJson(json_['maxScaledInReplicas']
                as core.Map<core.String, core.dynamic>)
            : null,
        timeWindowSec: json_.containsKey('timeWindowSec')
            ? json_['timeWindowSec'] as core.int
            : null,
      );