GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec.fromJson constructor

GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec.fromJson(
    core.Map json_)
    : this(
        parameterSpec: json_.containsKey('parameterSpec')
            ? GoogleCloudAiplatformV1StudySpecParameterSpec.fromJson(
                json_['parameterSpec'] as core.Map<core.String, core.dynamic>)
            : null,
        parentCategoricalValues: json_.containsKey('parentCategoricalValues')
            ? GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition
                .fromJson(json_['parentCategoricalValues']
                    as core.Map<core.String, core.dynamic>)
            : null,
        parentDiscreteValues: json_.containsKey('parentDiscreteValues')
            ? GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition
                .fromJson(json_['parentDiscreteValues']
                    as core.Map<core.String, core.dynamic>)
            : null,
        parentIntValues: json_.containsKey('parentIntValues')
            ? GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition
                .fromJson(json_['parentIntValues']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );