AutoscalingEvent.fromJson constructor
AutoscalingEvent.fromJson(
- Map json_
Implementation
AutoscalingEvent.fromJson(core.Map json_)
: this(
currentNumWorkers: json_.containsKey('currentNumWorkers')
? json_['currentNumWorkers'] as core.String
: null,
description: json_.containsKey('description')
? StructuredMessage.fromJson(
json_['description'] as core.Map<core.String, core.dynamic>)
: null,
eventType: json_.containsKey('eventType')
? json_['eventType'] as core.String
: null,
targetNumWorkers: json_.containsKey('targetNumWorkers')
? json_['targetNumWorkers'] as core.String
: null,
time: json_.containsKey('time') ? json_['time'] as core.String : null,
workerPool: json_.containsKey('workerPool')
? json_['workerPool'] as core.String
: null,
);