GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest.fromJson constructor

GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest.fromJson(
    core.Map json_)
    : this(
        deployedModelId: json_.containsKey('deployedModelId')
            ? json_['deployedModelId'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        featureDisplayName: json_.containsKey('featureDisplayName')
            ? json_['featureDisplayName'] as core.String
            : null,
        objectives: json_.containsKey('objectives')
            ? (json_['objectives'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );