GoogleCloudMlV1AutomatedStoppingConfig.fromJson constructor

GoogleCloudMlV1AutomatedStoppingConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1AutomatedStoppingConfig.fromJson(core.Map json_)
  : this(
      decayCurveStoppingConfig:
          json_.containsKey('decayCurveStoppingConfig')
              ? GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig.fromJson(
                json_['decayCurveStoppingConfig']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      medianAutomatedStoppingConfig:
          json_.containsKey('medianAutomatedStoppingConfig')
              ? GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig.fromJson(
                json_['medianAutomatedStoppingConfig']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );