AutoscalingPolicyScalingSchedule.fromJson constructor

AutoscalingPolicyScalingSchedule.fromJson(
  1. Map json_
)

Implementation

AutoscalingPolicyScalingSchedule.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        disabled: json_.containsKey('disabled')
            ? json_['disabled'] as core.bool
            : null,
        durationSec: json_.containsKey('durationSec')
            ? json_['durationSec'] as core.int
            : null,
        minRequiredReplicas: json_.containsKey('minRequiredReplicas')
            ? json_['minRequiredReplicas'] as core.int
            : null,
        schedule: json_.containsKey('schedule')
            ? json_['schedule'] as core.String
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
      );