GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies.fromJson constructor

GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies.fromJson(core.Map json_)
    : this(
        anomalyCount: json_.containsKey('anomalyCount')
            ? json_['anomalyCount'] as core.int
            : null,
        deployedModelId: json_.containsKey('deployedModelId')
            ? json_['deployedModelId'] as core.String
            : null,
        featureStats: json_.containsKey('featureStats')
            ? (json_['featureStats'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        objective: json_.containsKey('objective')
            ? json_['objective'] as core.String
            : null,
      );