TimeBasedAutoScalingConfiguration.fromJson constructor

TimeBasedAutoScalingConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TimeBasedAutoScalingConfiguration.fromJson(
    Map<String, dynamic> json) {
  return TimeBasedAutoScalingConfiguration(
    autoScalingSchedule: json['AutoScalingSchedule'] != null
        ? WeeklyAutoScalingSchedule.fromJson(
            json['AutoScalingSchedule'] as Map<String, dynamic>)
        : null,
    instanceId: json['InstanceId'] as String?,
  );
}