AutoscalingPolicy.fromJson constructor
AutoscalingPolicy.fromJson(
- Map json_
Implementation
AutoscalingPolicy.fromJson(core.Map json_)
: this(
consumedMemoryThresholds:
json_.containsKey('consumedMemoryThresholds')
? Thresholds.fromJson(json_['consumedMemoryThresholds']
as core.Map<core.String, core.dynamic>)
: null,
cpuThresholds: json_.containsKey('cpuThresholds')
? Thresholds.fromJson(
json_['cpuThresholds'] as core.Map<core.String, core.dynamic>)
: null,
grantedMemoryThresholds: json_.containsKey('grantedMemoryThresholds')
? Thresholds.fromJson(json_['grantedMemoryThresholds']
as core.Map<core.String, core.dynamic>)
: null,
nodeTypeId: json_['nodeTypeId'] as core.String?,
scaleOutSize: json_['scaleOutSize'] as core.int?,
storageThresholds: json_.containsKey('storageThresholds')
? Thresholds.fromJson(json_['storageThresholds']
as core.Map<core.String, core.dynamic>)
: null,
);