GoogleCloudAiplatformV1Feature.fromJson constructor

GoogleCloudAiplatformV1Feature.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1Feature.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        disableMonitoring: json_.containsKey('disableMonitoring')
            ? json_['disableMonitoring'] as core.bool
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        monitoringStatsAnomalies: json_
                .containsKey('monitoringStatsAnomalies')
            ? (json_['monitoringStatsAnomalies'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pointOfContact: json_.containsKey('pointOfContact')
            ? json_['pointOfContact'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        valueType: json_.containsKey('valueType')
            ? json_['valueType'] as core.String
            : null,
        versionColumnName: json_.containsKey('versionColumnName')
            ? json_['versionColumnName'] as core.String
            : null,
      );