GoogleCloudAiplatformV1AggregationResult.fromJson constructor

GoogleCloudAiplatformV1AggregationResult.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1AggregationResult.fromJson(core.Map json_)
  : this(
      aggregationMetric: json_['aggregationMetric'] as core.String?,
      bleuMetricValue: json_.containsKey('bleuMetricValue')
          ? GoogleCloudAiplatformV1BleuMetricValue.fromJson(
              json_['bleuMetricValue'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      customCodeExecutionResult:
          json_.containsKey('customCodeExecutionResult')
          ? GoogleCloudAiplatformV1CustomCodeExecutionResult.fromJson(
              json_['customCodeExecutionResult']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      exactMatchMetricValue: json_.containsKey('exactMatchMetricValue')
          ? GoogleCloudAiplatformV1ExactMatchMetricValue.fromJson(
              json_['exactMatchMetricValue']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      pairwiseMetricResult: json_.containsKey('pairwiseMetricResult')
          ? GoogleCloudAiplatformV1PairwiseMetricResult.fromJson(
              json_['pairwiseMetricResult']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      pointwiseMetricResult: json_.containsKey('pointwiseMetricResult')
          ? GoogleCloudAiplatformV1PointwiseMetricResult.fromJson(
              json_['pointwiseMetricResult']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      rougeMetricValue: json_.containsKey('rougeMetricValue')
          ? GoogleCloudAiplatformV1RougeMetricValue.fromJson(
              json_['rougeMetricValue']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );