GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies.fromJson constructor

GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies.fromJson(
    core.Map json_)
    : this(
        featureDisplayName: json_.containsKey('featureDisplayName')
            ? json_['featureDisplayName'] as core.String
            : null,
        predictionStats: json_.containsKey('predictionStats')
            ? (json_['predictionStats'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1FeatureStatsAnomaly.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        threshold: json_.containsKey('threshold')
            ? GoogleCloudAiplatformV1ThresholdConfig.fromJson(
                json_['threshold'] as core.Map<core.String, core.dynamic>)
            : null,
        trainingStats: json_.containsKey('trainingStats')
            ? GoogleCloudAiplatformV1FeatureStatsAnomaly.fromJson(
                json_['trainingStats'] as core.Map<core.String, core.dynamic>)
            : null,
      );