GoogleCloudAiplatformV1ExportFeatureValuesRequest.fromJson constructor

GoogleCloudAiplatformV1ExportFeatureValuesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExportFeatureValuesRequest.fromJson(core.Map json_)
    : this(
        destination: json_.containsKey('destination')
            ? GoogleCloudAiplatformV1FeatureValueDestination.fromJson(
                json_['destination'] as core.Map<core.String, core.dynamic>)
            : null,
        featureSelector: json_.containsKey('featureSelector')
            ? GoogleCloudAiplatformV1FeatureSelector.fromJson(
                json_['featureSelector']
                    as core.Map<core.String, core.dynamic>)
            : null,
        fullExport: json_.containsKey('fullExport')
            ? GoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport
                .fromJson(json_['fullExport']
                    as core.Map<core.String, core.dynamic>)
            : null,
        settings: json_.containsKey('settings')
            ? (json_['settings'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1DestinationFeatureSetting.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        snapshotExport: json_.containsKey('snapshotExport')
            ? GoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport
                .fromJson(json_['snapshotExport']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );